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 120891 - gnome-terminal crashes in Pango when signal received
gnome-terminal crashes in Pango when signal received
Status: RESOLVED DUPLICATE of bug 89541
Product: pango
Classification: Platform
Component: general
unspecified
Other other
: Normal normal
: ---
Assigned To: pango-maint
pango-maint
: 107262 108482 116108 126897 127225 130108 132488 150686 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-08-28 01:51 UTC by BRPocock-Bugzilla-GNOME
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Expose a segfault in pango_layout_iter_get_char_extents (1.54 KB, text/plain)
2003-10-31 08:38 UTC, Mariano Suárez-Alvarez
Details

Description BRPocock-Bugzilla-GNOME 2003-08-28 01:53:45 UTC
Package: pango
Severity: major
Version: 2.2.1
Synopsis: gnome-terminal crashes in Pango when signal received
Bugzilla-Product: pango
Bugzilla-Component: general
BugBuddy-GnomeVersion: 2.0 (2.2.0.1)

Description:
Description of Problem:
gnome-terminal crashes if a signal is received while inside the Pango
routines

Steps to reproduce the problem:
1. Load some complex UTF-8 text, e.g. Japanese, in one tab
2. Have a SIGCHLD (or other?) signal hit precisely while Pango is
rendering

Actual Results:
Crash!

Expected Results:
Happiness

How often does this happen?
Irregularly. On heavily-loaded machine (load 4.5 frequently), running
gnome-terminal 24x7, crashes about every day or two.

Additional Information:
Running blended mass of source builds from Red Hat 9, Yellow Dog 3 (Red
Hat 8), and nobody can tell where else. GNOME-2.2 mostly.



Debugging Information:

Backtrace was generated from '/usr/bin/gnome-terminal'

(no debugging symbols found)...[New Thread 16384 (LWP 12035)]
0x0f0432c4 in __libc_waitpid (pid=31667, 
    stat_loc=0x7fffdb58, options=0) at
../sysdeps/unix/sysv/linux/waitpid.c:28
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 16384 (LWP 12035))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 28
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 __pthread_sighandler
    at sighandler.c line 38
  • #3 <signal handler called>
  • #4 pango_layout_iter_get_char_extents
    from /usr/lib/libpango-1.0.so.0
  • #5 pango_layout_iter_get_char_extents
    from /usr/lib/libpango-1.0.so.0
  • #6 eel_string_ellipsize_end
  • #7 eel_pango_layout_set_text_ellipsized
  • #8 real_size_allocate
  • #9 g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #10 g_type_class_meta_marshal
    at gclosure.c line 514
  • #11 g_closure_invoke
    at gclosure.c line 437
  • #12 signal_emit_unlocked_R
    at gsignal.c line 2752
  • #13 g_signal_emit_valist
    at gsignal.c line 2554
  • #14 g_signal_emit
    at gsignal.c line 2612
  • #15 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 gtk_notebook_page_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #17 gtk_notebook_pages_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #18 gtk_notebook_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #20 g_type_class_meta_marshal
    at gclosure.c line 514
  • #21 g_closure_invoke
    at gclosure.c line 437
  • #22 signal_emit_unlocked_R
    at gsignal.c line 2752
  • #23 g_signal_emit_valist
    at gsignal.c line 2554
  • #24 g_signal_emit
    at gsignal.c line 2612
  • #25 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #26 gtk_vbox_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #27 g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #28 g_type_class_meta_marshal
    at gclosure.c line 514
  • #29 g_closure_invoke
    at gclosure.c line 437
  • #30 signal_emit_unlocked_R
    at gsignal.c line 2752
  • #31 g_signal_emit_valist
    at gsignal.c line 2554
  • #32 g_signal_emit
    at gsignal.c line 2612
  • #33 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #34 gtk_window_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #35 g_cclosure_marshal_VOID__BOXED
    at gmarshal.c line 566
  • #36 g_type_class_meta_marshal
    at gclosure.c line 514
  • #37 g_closure_invoke
    at gclosure.c line 437
  • #38 signal_emit_unlocked_R
    at gsignal.c line 2752
  • #39 g_signal_emit_valist
    at gsignal.c line 2554
  • #40 g_signal_emit
    at gsignal.c line 2612
  • #41 gtk_widget_size_allocate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #42 gtk_window_move_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #43 gtk_window_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 g_cclosure_marshal_VOID__VOID
    at gmarshal.c line 77
  • #45 g_type_class_meta_marshal
    at gclosure.c line 514
  • #46 g_closure_invoke
    at gclosure.c line 437
  • #47 signal_emit_unlocked_R
    at gsignal.c line 2860
  • #48 g_signal_emit_valist
    at gsignal.c line 2554
  • #49 g_signal_emit
    at gsignal.c line 2612
  • #50 gtk_container_check_resize
    from /usr/lib/libgtk-x11-2.0.so.0
  • #51 gtk_container_idle_sizer
    from /usr/lib/libgtk-x11-2.0.so.0
  • #52 g_idle_dispatch
    at gmain.c line 3164
  • #53 g_main_dispatch
    at gmain.c line 1653
  • #54 g_main_context_dispatch
    at gmain.c line 2197
  • #55 g_main_context_iterate
    at gmain.c line 2278
  • #56 g_main_loop_run
    at gmain.c line 2498
  • #57 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #58 main
  • #59 __libc_start_main
    at ../sysdeps/powerpc/elf/libc-start.c line 178
0x0f0432c4	28	in ../sysdeps/unix/sysv/linux/waitpid.c




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-08-27 21:53 -------

The original reporter (BRPocock-Bugzilla-GNOME@Sidereal.Net) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, pango-maint@bugzilla.gnome.org.

Comment 1 Owen Taylor 2003-08-28 16:38:52 UTC
It's barely possible that some place in Pango/fontconfig/freetype
doesn't handle EINTR correctly; though I can't imagine what
that would be. Generally, Pango doesn't make any system calls
when rendering.

To have any chance of debugging this, I need a backtrace with
debugging symbols for Pango.
Comment 2 Mariano Suárez-Alvarez 2003-10-31 08:32:20 UTC
*** Bug 116108 has been marked as a duplicate of this bug. ***
Comment 3 Mariano Suárez-Alvarez 2003-10-31 08:36:48 UTC
Trying to find what causes bug 116108, I found I could reproduce this
bug independently of gnome-terminal. Here follows a patch that
segfaults systematically for me using pango 1.2.* and 1.3.0; the
string comes from  an example posted by a reporter somewhere.
Comment 4 Mariano Suárez-Alvarez 2003-10-31 08:38:46 UTC
Created attachment 21079 [details]
Expose a segfault in pango_layout_iter_get_char_extents
Comment 5 Owen Taylor 2003-10-31 17:31:14 UTC
Generally, just part of the breakage in bug 85941. I think
I can come up with a fix for this particular crash, but
especially when you add RTL text, I bet there are lots
of others.


*** This bug has been marked as a duplicate of 89541 ***
Comment 6 Mariano Suárez-Alvarez 2003-11-05 23:23:47 UTC
*** Bug 107262 has been marked as a duplicate of this bug. ***
Comment 7 Mariano Suárez-Alvarez 2003-11-13 20:08:23 UTC
*** Bug 126897 has been marked as a duplicate of this bug. ***
Comment 8 Mariano Suárez-Alvarez 2003-11-17 22:20:05 UTC
*** Bug 127225 has been marked as a duplicate of this bug. ***
Comment 9 Martin Wehner 2004-01-25 08:51:51 UTC
*** Bug 108482 has been marked as a duplicate of this bug. ***
Comment 10 Mariano Suárez-Alvarez 2004-01-25 17:40:21 UTC
*** Bug 132488 has been marked as a duplicate of this bug. ***
Comment 11 Owen Taylor 2004-03-02 03:11:33 UTC
*** Bug 130108 has been marked as a duplicate of this bug. ***
Comment 12 Martin Wehner 2004-08-21 14:27:54 UTC
*** Bug 150686 has been marked as a duplicate of this bug. ***