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 438814 - synaptic crash with pango 1.17.0
synaptic crash with pango 1.17.0
Status: RESOLVED FIXED
Product: pango
Classification: Platform
Component: general
1.17.x
Other Linux
: Normal critical
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2007-05-16 07:47 UTC by Sebastien Bacher
Modified: 2007-05-16 13:54 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Sebastien Bacher 2007-05-16 07:47:46 UTC
The crash happens since the pango update to 1.17.0. Debug backtrace of the crash:

Pango-ERROR **: file /build/buildd/pango1.0-1.17.0/pango/pango-layout.c: line 3444 (process_line): assertion failed: (result == BREAK_SOME_FIT || result == BREAK_EMPTY_FIT)
aborting...

Program received signal SIGABRT, Aborted.
[Switching to Thread -1223145776 (LWP 9517)]
0xffffe410 in __kernel_vsyscall ()
(gdb) thread apply all bt full

Thread 1 (Thread -1223145776 (LWP 9517))

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 IA__g_logv
  • #4 IA__g_log
  • #5 IA__g_assert_warning
    at /build/buildd/glib2.0-2.12.12/glib/gmessages.c line 552
  • #6 pango_layout_check_lines
    at /build/buildd/pango1.0-1.17.0/pango/pango-layout.c line 3661
  • #7 pango_layout_get_extents_internal
    at /build/buildd/pango1.0-1.17.0/pango/pango-layout.c line 2322
  • #8 gtk_label_ensure_layout
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtklabel.c line 1990
  • #9 gtk_label_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtklabel.c line 2098
  • #10 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.12.12/gobject/gmarshal.c line 566
  • #11 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 567
  • #12 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 490
  • #13 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2370
  • #14 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2199
  • #15 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2267
  • #16 do_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 592
  • #17 _gtk_size_group_compute_requisition
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 792
  • #18 IA__gtk_widget_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c line 2880
  • #19 gtk_vbox_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkvbox.c line 95
  • #20 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.12.12/gobject/gmarshal.c line 566
  • #21 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 567
  • #22 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 490
  • #23 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2370
  • #24 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2199
  • #25 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2267
  • #26 do_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 592
  • #27 _gtk_size_group_compute_requisition
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 792
  • #28 IA__gtk_widget_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c line 2880
  • #29 gtk_vbox_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkvbox.c line 95
  • #30 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.12.12/gobject/gmarshal.c line 566
  • #31 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 567
  • #32 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 490
  • #33 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2370
  • #34 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2199
  • #35 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2267
  • #36 do_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 592
  • #37 _gtk_size_group_compute_requisition
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 792
  • #38 IA__gtk_widget_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c line 2880
  • #39 gtk_vbox_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkvbox.c line 95
  • #40 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.12.12/gobject/gmarshal.c line 566
  • #41 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 567
  • #42 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 490
  • #43 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2370
  • #44 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2199
  • #45 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2267
  • #46 do_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 592
  • #47 _gtk_size_group_compute_requisition
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 792
  • #48 IA__gtk_widget_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c line 2880
  • #49 gtk_window_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwindow.c line 4444
  • #50 IA__g_cclosure_marshal_VOID__BOXED
    at /build/buildd/glib2.0-2.12.12/gobject/gmarshal.c line 566
  • #51 g_type_class_meta_marshal
  • #52 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 490
  • #53 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2370
  • #54 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2199
  • #55 IA__g_signal_emit_by_name
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2267
  • #56 do_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 592
  • #57 _gtk_size_group_compute_requisition
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtksizegroup.c line 792
  • #58 IA__gtk_widget_size_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c line 2880
  • #59 gtk_window_compute_configure_request
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwindow.c line 5297
  • #60 gtk_window_show
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwindow.c line 4022
  • #61 IA__g_cclosure_marshal_VOID__VOID
    at /build/buildd/glib2.0-2.12.12/gobject/gmarshal.c line 77
  • #62 g_type_class_meta_marshal
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 567
  • #63 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.12.12/gobject/gclosure.c line 490
  • #64 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2370
  • #65 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2199
  • #66 IA__g_signal_emit
    at /build/buildd/glib2.0-2.12.12/gobject/gsignal.c line 2243
  • #67 IA__gtk_widget_show
    at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c line 2224
  • #68 ??
  • #69 pkgAcquire::Run
    at acquire.cc line 368
  • #70 ??
  • #71 ??
  • #72 ??
  • #73 __libc_start_main
    from /lib/tls/i686/cmov/libc.so.6
  • #74 ??

Comment 1 Behdad Esfahbod 2007-05-16 11:57:20 UTC
If you can reproduce this, can you see what the value of result is before the assert failing (pangolayout.c:3444)?
Comment 2 Behdad Esfahbod 2007-05-16 12:35:57 UTC
I committed a fix that I believe should fix this bug.  Please test.

2007-05-16  Behdad Esfahbod  <behdad@gnome.org>

        Bug 438814 – synaptic crash with pango 1.17.0

        * pango/pango-layout.c (process_item): Make sure we find some break
        point even if overflowing the line.

Comment 3 Sebastien Bacher 2007-05-16 13:54:37 UTC
result = 2 and the patch fixes the crasch