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 645816 - gnome-shell instability related to libjpeg
gnome-shell instability related to libjpeg
Status: RESOLVED DUPLICATE of bug 636138
Product: gdk-pixbuf
Classification: Platform
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2011-03-27 11:09 UTC by Dirk-Jan C. Binnema
Modified: 2011-03-28 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dirk-Jan C. Binnema 2011-03-27 11:09:14 UTC
Using gnome-shell (on Ubuntu 10.10) seems to cause instabilities related to libjpeg. Below is the dump I get from Rhythmbox, but the same happens with gnome-shell itself (the part starting with gdk_pixbuf_loader_write and up I see for the gnome-shell case as well).

I'm compiling gnome-shell daily using jhbuild; I have seen this problem for a few months at least. Frequency is maybe a few times per day, and it seems to happen when playing a new song -- looking at the trace it's likely to be related to displaying the album art for the new song. I haven't been able to catch a specific image that causes this though.

Also note that this only happens when running under gnome-shell -- I have not seen this when running under compiz or metacity.

My current guess is that there is some issue with combining the system-provided gtk (/usr/lib/libgtk-x11-2.0.so.0) with the gnome-shell-versions of glib, gdk-pixbuf etc. Maybe some binary incompatibility?

 *** longjmp causes uninitialized stack frame ***: rhythmbox terminated
======= Backtrace: =========
/lib/libc.so.6(__fortify_fail+0x50)[0x81da970]
/lib/libc.so.6(+0xe58da)[0x81da8da]
/opt/gnome-shell/install/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so(+0x1ad9)[0x1ad4ad9]
/usr/lib/libjpeg.so.62(jpeg_CreateDecompress+0x69)[0x1373309]
/opt/gnome-shell/install/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-jpeg.so(+0x2119)[0x1ad5119]
/opt/gnome-shell/install/lib/libgdk_pixbuf-2.0.so.0(+0xa83a)[0x56883a]
/opt/gnome-shell/install/lib/libgdk_pixbuf-2.0.so.0(gdk_pixbuf_loader_write+0x195)[0x569535]
/usr/lib/librhythmbox-core.so.1(rb_gst_process_embedded_image+0xb2)[0xac1cd2]
/usr/lib/librhythmbox-core.so.1(+0xc8b4e)[0xab9b4e]
/usr/lib/libgstreamer-0.10.so.0(+0x77038)[0xda9038]
/usr/lib/libgstreamer-0.10.so.0(gst_structure_foreach+0x53)[0xda2503]
/usr/lib/libgstreamer-0.10.so.0(gst_tag_list_foreach+0x89)[0xdaaf19]
/usr/lib/librhythmbox-core.so.1(+0xcbf59)[0xabcf59]
/usr/lib/libgstreamer-0.10.so.0(+0x28915)[0xd5a915]
/opt/gnome-shell/install/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1d5)[0xea4fc5]
/opt/gnome-shell/install/lib/libglib-2.0.so.0(+0x42578)[0xea9578]
/opt/gnome-shell/install/lib/libglib-2.0.so.0(g_main_loop_run+0x187)[0xea9ab7]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb9)[0x2bd1d9]
rhythmbox(main+0x4d7)[0x804b0f7]
/lib/libc.so.6(__libc_start_main+0xe7)[0x810bce7]
rhythmbox[0x804aab1]
======= Memory map: ========
00110000-00134000 r-xp 00000000 08:01 5270836    /opt/gnome-shell/install/lib/libpangoft2-1.0.so.0.2900.0
00134000-00135000 r--p 00024000 08:01 5270836    /opt/gnome-shell/install/lib/libpangoft2-1.0.so.0.2900.0
00135000-00136000 rw-p 00025000 08:01 5270836    /opt/gnome-shell/install/lib/libpangoft2-1.0.so.0.2900.0
00136000-00140000 r-xp 00000000 08:01 5270846    /opt/gnome-shell/install/lib/libpangocairo-1.0.so.0.2900.0
00140000-00141000 r--p 0000a000 08:01 5270846    /opt/gnome-shell/install/lib/libpangocairo-1.0.so.0.2900.0
00141000-00142000 rw-p 0000b000 08:01 5270846    /opt/gnome-shell/install/lib/libpangocairo-1.0.so.0.2900.0
00142000-00145000 r-xp 00000000 08:01 5269375    /opt/gnome-shell/install/lib/libsoup-gnome-2.4.so.1.3.0
00145000-00146000 r--p 00003000 08:01 5269375    /opt/gnome-shell/install/lib/libsoup-gnome-2.4.so.1.3.0
00146000-00147000 rw-p 00004000 08:01 5269375    /opt/gnome-shell/install/lib/libsoup-gnome-2.4.so.1.3.0
00147000-00154000 r-xp 00000000 08:01 2091288    /usr/lib/libgstinterfaces-0.10.so.0.21.0
00154000-00155000 r--p 0000c000 08:01 2091288    /usr/lib/libgstinterfaces-0.10.so.0.21.0
00155000-00156000 rw-p 0000d000 08:01 2091288    /usr/lib/libgstinterfaces-0.10.so.0.21.0
00156000-00158000 r-xp 00000000 08:01 6594736    /lib/libdl-2.12.1.so
00158000-00159000 r--p 00001000 08:01 6594736    /lib/libdl-2.12.1.so
00159000-0015a000 rw-p 00002000 08:01 6594736    /lib/libdl-2.12.1.so
0015c000-0018b000 r-xp 00000000 08:01 5273573    /opt/gnome-shell/install/lib/libgconf-2.so.4.1.5
0018b000-0018c000 r--p 0002f000 08:01 5273573    /opt/gnome-shell/install/lib/libgconf-2.so.4.1.5
0018c000-0018e000 rw-p 00030000 08:01 5273573    /opt/gnome-shell/install/lib/libgconf-2.so.4.1.5
0018e000-00556000 r-xp 00000000 08:01 2094361    /usr/lib/libgtk-x11-2.0.so.0.2200.0
00556000-0055a000 r--p 003c8000 08:01 2094361    /usr/lib/libgtk-x11-2.0.so.0.2200.0
0055a000-0055c000 rw-p 003cc000 08:01 2094361    /usr/lib/libgtk-x11-2.0.so.0.2200.0
0055c000-0055e000 rw-p 00000000 00:00 0 
0055e000-00577000 r-xp 00000000 08:01 6995788    /opt/gnome-shell/install/lib/libgdk_pixbuf-2.0.so.0.2301.0
00577000-00578000 r--p 00019000 08:01 6995788    /opt/gnome-shell/install/lib/libgdk_pixbuf-2.0.so.0.2301.0
00578000-00579000 rw-p 0001a000 08:01 6995788    /opt/gnome-shell/install/lib/libgdk_pixbuf-2.0.so.0.2301.0
00579000-0059d000 r-xp 00000000 08:01 6594737    /lib/libm-2.12.1.so
0059d000-0059e000 r--p 00023000 08:01 6594737    /lib/libm-2.12.1.so
0059e000-0059f000 rw-p 00024000 08:01 6594737    /lib/libm-2.12.1.so
0059f000-005c2000 r-xp 00000000 08:01 5595250    /lib/libpng12.so.0.44.0
005c2000-005c3000 r--p 00022000 08:01 5595250    /lib/libpng12.so.0.44.0
005c3000-005c4000 rw-p 00023000 08:01 5595250    /lib/libpng12.so.0.44.0
005c4000-005c6000 r-xp 00000000 08:01 6594752    /lib/libutil-2.12.1.so
005c6000-005c7000 r--p 00001000 08:01 6594752    /lib/libutil-2.12.1.so
005c7000-005c8000 rw-p 00002000 08:01 6594752    /lib/libutil-2.12.1.so
005c8000-0065c000 r-xp 00000000 08:01 2092140    /usr/lib/libgdk-x11-2.0.so.0.2200.0
0065c000-0065e000 r--p 00094000 08:01 2092140    /usr/lib/libgdk-x11-2.0.so.0.2200.0
0065e000-0065f000 rw-p 00096000 08:01 2092140    /usr/lib/libgdk-x11-2.0.so.0.2200.0
0065f000-006fc000 r-xp 00000000 08:01 7024469    /opt/gnome-shell/install/lib/libcairo.so.2.11000.0
006fc000-006fd000 r--p 0009d000 08:01 7024469    /opt/gnome-shell/install/lib/libcairo.so.2.11000.0
006fd000-006fe000 rw-p 0009e000 08:01 7024469    /opt/gnome-shell/install/lib/libcairo.so.2.11000.0
006fe000-00700000 rw-p 00000000 00:00 0 
00700000-00740000 r-xp 00000000 08:01 5270596    /opt/gnome-shell/install/lib/libpango-1.0.so.0.2900.0
00740000-00741000 ---p 00040000 08:01 5270596    /opt/gnome-shell/install/lib/libpango-1.0.so.0.2900.0
00741000-00742000 r--p 00040000 08:01 5270596    /opt/gnome-shell/install/lib/libpango-1.0.so.0.2900.0
00742000-00743000 rw-p 00041000 08:01 5270596    /opt/gnome-shell/install/lib/libpango-1.0.so.0.2900.0
00743000-007b5000 r-xp 00000000 08:01 2089206    /usr/lib/libfreetype.so.6.6.0
007b5000-007b9000 r--p 00071000 08:01 2089206    /usr/lib/libfreetype.so.6.6.0
007b9000-007ba000 rw-p 00075000 08:01 2089206    /usr/lib/libfreetype.so.6.6.0
007ba000-007d7000 r-xp 00000000 08:01 2092092    /usr/lib/libdbus-glib-1.so.2.1.0
007d7000-007d8000 r--p 0001c000 08:01 2092092    /usr/lib/libdbus-glib-1.so.2.1.0
007d8000-007d9000 rw-p 0001d000 08:01 2092092    /usr/lib/libdbus-glib-1.so.2.1.0
007d9000-007de000 r-xp 00000000 08:01 2093234    /usr/lib/libgudev-1.0.so.0.0.1
007de000-007df000 r--p 00004000 08:01 2093234    /usr/lib/libgudev-1.0.so.0.0.1
007df000-007e0000 rw-p 00005000 08:01 2093234    /usr/lib/libgudev-1.0.so.0.0.1
007e1000-007ee000 r-xp 00000000 08:01 2090132    /usr/lib/libgnome-media-profiles.so.0.0.0
007ee000-007ef000 r--p 0000c000 08:01 2090132    /usr/lib/libgnome-media-profiles.so.0.0.0
007ef000-007f0000 rw-p 0000d000 08:01 2090132    /usr/lib/libgnome-media-profiles.so.0.0.0
007f0000-0081e000 r-xp 00000000 08:01 2090814    /usr/lib/libfontconfig.so.1.4.4
0081e000-0081f000 r--p 0002d000 08:01 2090814    /usr/lib/libfontconfig.so.1.4.4
0081f000-00820000 rw-p 0002e000 08:01 2090814    /usr/lib/libfontconfig.so.1.4.4
Comment 1 Giovanni Campagna 2011-03-27 12:46:46 UTC
Reassigning to gdk-pixbuf, as this not a gnome-shell bug (and the backtrace is unusable for us anyway).
Comment 2 Matthias Clasen 2011-03-27 15:03:25 UTC
Might be the same as bug 636138 
Can you try if the patch in that bug helps ?
Comment 3 Dirk-Jan C. Binnema 2011-03-27 19:47:14 UTC
thanks -- I've applied the patch, and after a few hours of running gnome-shell, i haven't seen any more of these crashes. I'll try a bit more and will report again.
Comment 4 Dirk-Jan C. Binnema 2011-03-28 17:09:56 UTC
ok, i've tried it all day and the problem has disappeared. so indeed, this is a likely a duplicate of bug #636138, and the patch attached to that one fixes this bug.

Hopefully the patch can be merged soon, I bet this is affecting stability for quite a few people.

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