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 684999 - Segmentation fault in pango_glyph_item_split
Segmentation fault in pango_glyph_item_split
Status: RESOLVED DUPLICATE of bug 684959
Product: pango
Classification: Platform
Component: general
1.32.x
Other Linux
: Normal major
: ---
Assigned To: pango-maint
pango-maint
Depends on:
Blocks:
 
 
Reported: 2012-09-27 20:26 UTC by Armin K.
Modified: 2012-09-27 21:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Armin K. 2012-09-27 20:26:43 UTC
Hello there.

While running transmission bittorent client, I get segmentation fault when I click torrent properties.

The segfault happens in Pango library. It did not happen in 1.30.1 version, but it happens with 1.32.0 version.

Here's relevant backtrace

~/src/debug/usr$ LD_LIBRARY_PATH=./lib gdb bin/transmission-gtk
GNU gdb (GDB) 7.5
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/armin/src/debug/usr/bin/transmission-gtk...done.
(gdb) run
Starting program: /home/armin/src/debug/usr/bin/transmission-gtk 
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
[New Thread 0xb4ec2b40 (LWP 11040)]
[New Thread 0xb4498b40 (LWP 11041)]
[New Thread 0xb3affb40 (LWP 11042)]
[New Thread 0xb30ffb40 (LWP 11043)]
[New Thread 0xb26ffb40 (LWP 11044)]

(transmission-gtk:11036): Pango-CRITICAL **: pango_glyph_item_split: assertion `split_index < orig->item->length' failed

Program received signal SIGSEGV, Segmentation fault.
split_before_cluster_start (state=state@entry=0xbfffea7c)
    at pango-glyph-item.c:830
830	}
(gdb) bt
  • #0 split_before_cluster_start
    at pango-glyph-item.c line 830
  • #1 pango_glyph_item_apply_attrs
    at pango-glyph-item.c line 634
  • #2 apply_no_shape_attributes
    at pango-layout.c line 3779
  • #3 pango_layout_check_lines
    at pango-layout.c line 3945
  • #4 pango_layout_check_lines
    at pango-layout.c line 3791
  • #5 pango_layout_get_extents_internal
    at pango-layout.c line 2491
  • #6 pango_layout_get_extents
    at pango-layout.c line 2673
  • #7 gtk_cell_renderer_text_get_preferred_width
    at gtkcellrenderertext.c line 2160
  • #8 gtk_cell_renderer_get_preferred_width
    at gtkcellrenderer.c line 1468
  • #9 gtk_cell_area_request_renderer
    at gtkcellarea.c line 3600
  • #10 compute_size
    at gtkcellareabox.c line 1531
  • #11 gtk_cell_area_box_get_preferred_width
    at gtkcellareabox.c line 1820
  • #12 gtk_cell_area_get_preferred_width
    at gtkcellarea.c line 2096
  • #13 gtk_tree_view_column_cell_get_size
    at gtktreeviewcolumn.c line 2906
  • #14 validate_row
    at gtktreeview.c line 6106
  • #15 validate_visible_area
    at gtktreeview.c line 6426
  • #16 do_presize_handler
    at gtktreeview.c line 6782
  • #17 presize_handler_callback
    at gtktreeview.c line 6805
  • #18 gdk_threads_dispatch
    at gdk.c line 788
  • #19 g_idle_dispatch
    at gmain.c line 4806
  • #20 g_main_dispatch
    at gmain.c line 2715
  • #21 g_main_context_dispatch
    at gmain.c line 3219
  • #22 g_main_context_iterate
    at gmain.c line 3290
  • #23 g_main_context_iteration
    at gmain.c line 3351
  • #24 g_application_run
    at gapplication.c line 1620
  • #25 main
    at main.c line 661

Comment 1 Behdad Esfahbod 2012-09-27 21:22:48 UTC
Fixed already.  Release coming soon (today).

*** This bug has been marked as a duplicate of bug 684959 ***