GNOME Bugzilla – Bug 356666
pango is not thread-safe, nautilus does not honour that
Last modified: 2007-12-19 04:46:00 UTC
Version: 2.16.0.1 What were you doing when the application crashed? Opened an Image Distribution: Ubuntu 6.10 (edgy) Gnome Release: 2.16.0 2006-09-04 (Ubuntu) BugBuddy Version: 2.16.0 Memory status: size: 84451328 vsize: 0 resident: 84451328 share: 0 rss: 15204352 rss_rlim: 0 CPU usage: start_time: 1158632351 rtime: 0 utime: 112 stime: 0 cutime:100 cstime: 0 timeout: 12 it_real_value: 0 frequency: 0 Backtrace was generated from '/usr/bin/eog' (no debugging symbols found) Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1225492288 (LWP 6877)] [New Thread -1280660576 (LWP 6880)] [New Thread -1227002976 (LWP 6878)] 0xffffe410 in __kernel_vsyscall ()
+ Trace 72707
Thread 1 (Thread -1225492288 (LWP 6877))
*** Bug 357176 has been marked as a duplicate of this bug. ***
*** Bug 357972 has been marked as a duplicate of this bug. ***
Moving to Pango. Have fun, guys. ;)
Memory corruption somewhere else.
*** Bug 360999 has been marked as a duplicate of this bug. ***
*** Bug 361602 has been marked as a duplicate of this bug. ***
*** Bug 361601 has been marked as a duplicate of this bug. ***
*** Bug 365322 has been marked as a duplicate of this bug. ***
*** Bug 365783 has been marked as a duplicate of this bug. ***
*** Bug 365858 has been marked as a duplicate of this bug. ***
more then enough duplicates to confirm this bug.
*** Bug 365983 has been marked as a duplicate of this bug. ***
*** Bug 363786 has been marked as a duplicate of this bug. ***
bug 360691 is probably the same issue.
*** Bug 366365 has been marked as a duplicate of this bug. ***
*** Bug 366539 has been marked as a duplicate of this bug. ***
*** Bug 367922 has been marked as a duplicate of this bug. ***
*** Bug 368402 has been marked as a duplicate of this bug. ***
*** Bug 360691 has been marked as a duplicate of this bug. ***
*** Bug 369145 has been marked as a duplicate of this bug. ***
*** Bug 369713 has been marked as a duplicate of this bug. ***
*** Bug 372012 has been marked as a duplicate of this bug. ***
*** Bug 371901 has been marked as a duplicate of this bug. ***
*** Bug 372194 has been marked as a duplicate of this bug. ***
*** Bug 372782 has been marked as a duplicate of this bug. ***
*** Bug 373170 has been marked as a duplicate of this bug. ***
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so. Thanks in advance! please install the pango and cairo debugging packages and repost the trace here.
*** Bug 373407 has been marked as a duplicate of this bug. ***
*** Bug 373886 has been marked as a duplicate of this bug. ***
*** Bug 374075 has been marked as a duplicate of this bug. ***
*** Bug 374088 has been marked as a duplicate of this bug. ***
*** Bug 373812 has been marked as a duplicate of this bug. ***
*** Bug 374696 has been marked as a duplicate of this bug. ***
*** Bug 374877 has been marked as a duplicate of this bug. ***
*** Bug 375289 has been marked as a duplicate of this bug. ***
Behdad, shall we blame librsvg then if it is not cairo nor pango?
It's just that Pango is not thread-safe. That's been known all time. Dom says the gdk-pixbuf SVG loader knows about that and takes care. So, is it the case that Nautilus is using librsvg directly? While most of the traces have librsvg, the one at the top of this bug doesn't. Anyway, blaming Nautilus seems more direct to me. In the long term, yes, I want to fix it in Pango.
*** Bug 375121 has been marked as a duplicate of this bug. ***
*** Bug 375417 has been marked as a duplicate of this bug. ***
Good news: downstream report with debuginfo: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=215415 I now fully understand the problem. Working on it. With the dupe, this bug has received like 80 dupes in two months.
*** Bug 376284 has been marked as a duplicate of this bug. ***
*** Bug 375894 has been marked as a duplicate of this bug. ***
*** Bug 376539 has been marked as a duplicate of this bug. ***
*** Bug 376794 has been marked as a duplicate of this bug. ***
*** Bug 376870 has been marked as a duplicate of this bug. ***
Created attachment 76925 [details] [review] suggested patch
Fixed in CVS. Will be in Pango 1.14.8 and GNOME 2.16.2. 2006-11-20 Behdad Esfahbod <behdad@gnome.org> Bug 356666 – pango is not thread-safe, nautilus does not honour that * pango/pangocairo-render.c (acquire_renderer), (release_renderer), (_pango_cairo_do_glyph_string), (_pango_cairo_do_layout_line), (_pango_cairo_do_layout): Instead of using a per-fontmap renderer, use a locally cached one, but make sure only one thread uses the cached renderer. Fixes the raciest point in pangocairo.
Created attachment 76942 [details] test case Here is the test case for the curious.
*** Bug 377415 has been marked as a duplicate of this bug. ***
*** Bug 378504 has been marked as a duplicate of this bug. ***
*** Bug 378934 has been marked as a duplicate of this bug. ***
*** Bug 378781 has been marked as a duplicate of this bug. ***
*** Bug 378905 has been marked as a duplicate of this bug. ***
*** Bug 379041 has been marked as a duplicate of this bug. ***
*** Bug 379052 has been marked as a duplicate of this bug. ***
*** Bug 379053 has been marked as a duplicate of this bug. ***
*** Bug 379054 has been marked as a duplicate of this bug. ***
*** Bug 379097 has been marked as a duplicate of this bug. ***
*** Bug 379178 has been marked as a duplicate of this bug. ***
*** Bug 379499 has been marked as a duplicate of this bug. ***
*** Bug 379216 has been marked as a duplicate of this bug. ***
*** Bug 379689 has been marked as a duplicate of this bug. ***
*** Bug 379738 has been marked as a duplicate of this bug. ***
*** Bug 380085 has been marked as a duplicate of this bug. ***
*** Bug 380320 has been marked as a duplicate of this bug. ***
*** Bug 380355 has been marked as a duplicate of this bug. ***
*** Bug 380496 has been marked as a duplicate of this bug. ***
*** Bug 381126 has been marked as a duplicate of this bug. ***
*** Bug 381324 has been marked as a duplicate of this bug. ***
*** Bug 382433 has been marked as a duplicate of this bug. ***
*** Bug 382132 has been marked as a duplicate of this bug. ***
*** Bug 381953 has been marked as a duplicate of this bug. ***
*** Bug 382141 has been marked as a duplicate of this bug. ***
*** Bug 384004 has been marked as a duplicate of this bug. ***
*** Bug 384193 has been marked as a duplicate of this bug. ***
*** Bug 384811 has been marked as a duplicate of this bug. ***
*** Bug 384840 has been marked as a duplicate of this bug. ***
*** Bug 385126 has been marked as a duplicate of this bug. ***
*** Bug 385620 has been marked as a duplicate of this bug. ***
*** Bug 385992 has been marked as a duplicate of this bug. ***
*** Bug 386039 has been marked as a duplicate of this bug. ***
*** Bug 386781 has been marked as a duplicate of this bug. ***
*** Bug 386840 has been marked as a duplicate of this bug. ***
*** Bug 387389 has been marked as a duplicate of this bug. ***
*** Bug 387392 has been marked as a duplicate of this bug. ***
*** Bug 387679 has been marked as a duplicate of this bug. ***
*** Bug 387918 has been marked as a duplicate of this bug. ***
*** Bug 388109 has been marked as a duplicate of this bug. ***
*** Bug 388791 has been marked as a duplicate of this bug. ***
*** Bug 388807 has been marked as a duplicate of this bug. ***
*** Bug 388763 has been marked as a duplicate of this bug. ***
*** Bug 389062 has been marked as a duplicate of this bug. ***
*** Bug 389169 has been marked as a duplicate of this bug. ***
*** Bug 388576 has been marked as a duplicate of this bug. ***
*** Bug 388355 has been marked as a duplicate of this bug. ***
*** Bug 390683 has been marked as a duplicate of this bug. ***
*** Bug 390678 has been marked as a duplicate of this bug. ***
*** Bug 390750 has been marked as a duplicate of this bug. ***
*** Bug 391251 has been marked as a duplicate of this bug. ***
*** Bug 387880 has been marked as a duplicate of this bug. ***
*** Bug 392468 has been marked as a duplicate of this bug. ***
*** Bug 392502 has been marked as a duplicate of this bug. ***
*** Bug 393756 has been marked as a duplicate of this bug. ***
*** Bug 393763 has been marked as a duplicate of this bug. ***
*** Bug 394321 has been marked as a duplicate of this bug. ***
*** Bug 394600 has been marked as a duplicate of this bug. ***
*** Bug 394246 has been marked as a duplicate of this bug. ***
*** Bug 393332 has been marked as a duplicate of this bug. ***
*** Bug 393115 has been marked as a duplicate of this bug. ***
*** Bug 393784 has been marked as a duplicate of this bug. ***
*** Bug 397408 has been marked as a duplicate of this bug. ***
*** Bug 397413 has been marked as a duplicate of this bug. ***
*** Bug 397867 has been marked as a duplicate of this bug. ***
*** Bug 397573 has been marked as a duplicate of this bug. ***
*** Bug 397032 has been marked as a duplicate of this bug. ***
*** Bug 425466 has been marked as a duplicate of this bug. ***
*** Bug 420049 has been marked as a duplicate of this bug. ***
*** Bug 433394 has been marked as a duplicate of this bug. ***
*** Bug 438469 has been marked as a duplicate of this bug. ***
*** Bug 468148 has been marked as a duplicate of this bug. ***
no rejected duplicates for the last 40 days. removing from auto-rejecter list, 283 rejected reports so far.