Menu

#31 gdkpixbuf new from file not thread safe

4.8.0
closed
rodent (23)
6
2012-06-27
2012-06-26
No

I get this crash now and then. I cannot reproduce it at will. Apparently gdkpixbuf new from file is not thread safe (probably because XLib server/client is not thread safe since resources must be allocated on server). here's an example trace back from 4.8.0 release

(gdb) where
#0 0x00000040 in ?? ()
#1 0xb683e5ac in pixman_image_unref () from /usr/lib/libpixman-1.so.0
#2 0xb6f211fc in ?? () from /usr/lib/libcairo.so.2
#3 0xb6f21c86 in ?? () from /usr/lib/libcairo.so.2
#4 0xb6f238c6 in ?? () from /usr/lib/libcairo.so.2
#5 0xb6f26631 in ?? () from /usr/lib/libcairo.so.2
#6 0xb6f2747d in ?? () from /usr/lib/libcairo.so.2
#7 0xb6f27758 in ?? () from /usr/lib/libcairo.so.2
#8 0xb6f486e8 in ?? () from /usr/lib/libcairo.so.2
#9 0xb6f1e7bf in ?? () from /usr/lib/libcairo.so.2
#10 0xb6f142cd in cairo_fill_preserve () from /usr/lib/libcairo.so.2
#11 0xb1fd5235 in ?? () from /usr/lib/librsvg-2.so.2
#12 0xb1fd180e in ?? () from /usr/lib/librsvg-2.so.2
#13 0xb1fc4efb in ?? () from /usr/lib/librsvg-2.so.2
#14 0xb1fc8281 in ?? () from /usr/lib/librsvg-2.so.2
#15 0xb1fc865b in ?? () from /usr/lib/librsvg-2.so.2
#16 0xb1fc8281 in ?? () from /usr/lib/librsvg-2.so.2
#17 0xb1fd5d9e in rsvg_handle_render_cairo_sub () from /usr/lib/librsvg-2.so.2
#18 0xb1fd634d in rsvg_handle_get_pixbuf_sub () from /usr/lib/librsvg-2.so.2
#19 0xb1fd6405 in rsvg_handle_get_pixbuf () from /usr/lib/librsvg-2.so.2
#20 0xb5b45ba4 in ?? ()
from /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so
#21 0xb6fdc523 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#22 0xb6fdc6c3 in gdk_pixbuf_new_from_file ()
from /usr/lib/libgdk_pixbuf-2.0.so.0
#23 0xb7739904 in make_pixbuf_from_id (hash=1, size=400,
id=0xb5ad8cb8 "application/x-compressed-tar")
at ../../libs/rfm/primary/primary-icons.i:464
#24 get_pixbuf (key=0xb5ad8cb8 "application/x-compressed-tar", size=400,
hash=1) at ../../libs/rfm/primary/primary-icons.i:950
#25 0xb77116a0 in preliminary_tip (activate_tip_p=<optimized out>)
at ../../libs/rfm/rodent/rodent_mouse.i:963
#26 activate_tip_thread (data=0xb5a4ece8)
at ../../libs/rfm/rodent/rodent_mouse.i:1156

Discussion

  • Edscott Wilson Garcia

    • priority: 5 --> 6
     
  • Edscott Wilson Garcia

    • milestone: --> 4.8.0
     
  • Edscott Wilson Garcia

    Tentative fix in 4.8.0rc4, released today to the public.

     
  • Edscott Wilson Garcia

    • status: open --> closed
     

Log in to post a comment.

Auth0 Logo