gnome-terminal crashed with SIGSEGV in vte_terminal_extend_selection()

Bug #256769 reported by Anders Kaseorg
104
Affects Status Importance Assigned to Milestone
Gnome Virtual Terminal Emulator
Fix Released
Critical
vte (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Nominated for Intrepid by Anders Kaseorg

Bug Description

This is probably the same as #256248, which had a falied apport retrace. I’ve now gotten a better trace manually using -dbgsym packages. Here’s the top; the full trace is attached.

Program received signal SIGSEGV, Segmentation fault.
#0 vte_terminal_extend_selection (terminal=0x7d60b0, x=379, y=251,
    always_grow=102, force=<value optimized out>)
    at /build/buildd/vte-0.17.1/./src/vte.c:6178
#1 0x00007f3aca473e1f in vte_terminal_motion_notify (widget=0x0,
    event=0xb12350) at /build/buildd/vte-0.17.1/./src/vte.c:6632

Versions:
gnome-terminal 2.23.6-0ubuntu1
libvte9 1:0.17.1-0ubuntu1

Related branches

Revision history for this message
Anders Kaseorg (andersk) wrote :
Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

Could you please tell us what you were doing when this crash happened? Steps to reproduce would help us.

Changed in vte:
status: New → Incomplete
Revision history for this message
Anders Kaseorg (andersk) wrote :

I’ve now figured out a reliable way to reproduce this. Make the terminal display a blank line:

anders@balanced-tree:~$ echo

anders@balanced-tree:~$

and then drag with the mouse to create a selection that includes the blank line.

Changed in vte:
status: Incomplete → New
Revision history for this message
Greg Grossmeier (greg.grossmeier) wrote :

I can't reproduce with gnome-terminal 2.22.1-0ubuntu2 (Hardy). Possible regression.

Revision history for this message
Anders Kaseorg (andersk) wrote :

Yeah, it’s a very recent regression in Intrepid. The bug goes away after downgrading to libvte9 0.16.14-1ubuntu2 and gnome-terminal 2.23.4.2-0ubuntu2. (Downgrading libvte9 alone doesn’t work, and the bug remains after downgrading gnome-terminal alone.)

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for the report, that's known upstream you can track it here: http://bugzilla.gnome.org/show_bug.cgi?id=546940

Changed in vte:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Changed in vte:
status: Unknown → New
Revision history for this message
Jean.c.h (slug71) wrote :

No problem, sorry i didnt know i was supposed to check back on these. I am using Intrepid Ibex though. Not quite sure what i was doing but ive been messing with the sound and network manager a bit as i cant get my wireless going or my internal mic. So it could very well be when i was doing something there.

Changed in vte:
status: New → Fix Released
Revision history for this message
Pedro Villavicencio (pedro) wrote :

This is fixed upstream now, thanks everybody for reporting.

Changed in vte:
status: Triaged → Fix Committed
Revision history for this message
Anders Kaseorg (andersk) wrote :

Works for me. Obviously this will be in the next version, but here’s a debdiff if you don’t want to wait.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vte - 1:0.17.2-0ubuntu1

---------------
vte (1:0.17.2-0ubuntu1) intrepid; urgency=low

  * New upstream release:
    - Fix crasher on 64bit systems
    - Fix a bunch of warnings
    - Bugs fixed in this release:
      Bug 546940 – Crash when selecting text (LP: #256769)

 -- Michael Vogt <email address hidden> Thu, 14 Aug 2008 16:56:15 +0200

Changed in vte:
status: Fix Committed → Fix Released
Changed in vte:
importance: Unknown → Critical
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.