After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 409241 - gnome-terminal crashed with SIGSEGV in vte_terminal_draw_graphic()
gnome-terminal crashed with SIGSEGV in vte_terminal_draw_graphic()
Status: RESOLVED FIXED
Product: vte
Classification: Core
Component: general
0.15.x
Other Linux
: Normal critical
: ---
Assigned To: VTE Maintainers
VTE Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-02-18 11:57 UTC by Sebastien Bacher
Modified: 2007-02-19 09:53 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
Lookup fore/back before drawing the graphic. (1.37 KB, patch)
2007-02-19 09:52 UTC, Chris Wilson
committed Details | Review

Description Sebastien Bacher 2007-02-18 11:57:45 UTC
That bug has been described on https://launchpad.net/bugs/85956

"Binary package hint: gnome-terminal

Steps that seem to cause it
1. Open gnome-terminal
2. Run aptitude
3. Go to Mouse Preferences
4. Enable Locate Pointer function
5. Move pointer over gnome-terminal window
6. Press CTRL+T to open an aptitude menu
7. Press CTRL key
...
Package: gnome-terminal 2.17.91-0ubuntu1
...
libvte9 1:0.15.3-0ubuntu2
...
"

Debug backtrace for the crash:

  • #0 vte_terminal_draw_graphic
    at /build/buildd/vte-0.15.3/./src/vte.c line 7906
  • #1 vte_terminal_expose
    at /build/buildd/vte-0.15.3/./src/vte.c line 9637
  • #2 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 84
  • #3 g_type_class_meta_marshal
    at gclosure.c line 567
  • #4 IA__g_closure_invoke
    at gclosure.c line 490
  • #5 signal_emit_unlocked_R
    at gsignal.c line 2478
  • #6 IA__g_signal_emit_valist
    at gsignal.c line 2209
  • #7 IA__g_signal_emit
    at gsignal.c line 2243
  • #8 gtk_widget_event_internal
    at gtkwidget.c line 3915
  • #9 IA__gtk_main_do_event
    at gtkmain.c line 1550

Comment 1 Chris Wilson 2007-02-19 09:51:09 UTC
2007-02-19  Chris Wilson  <chris@chris-wilson.co.uk>

	Bug 409241 – gnome-terminal crashed with SIGSEGV in vte_terminal_draw_graphic()

	* src/vte.c: (vte_terminal_paint):
		Lookup fore/back colours before attempting to draw the graphic
		character behind the unfocused cursor.
Comment 2 Chris Wilson 2007-02-19 09:52:55 UTC
Created attachment 82871 [details] [review]
Lookup fore/back before drawing the graphic.

And the commit as an attachment for convenience.