GNOME Bugzilla – Bug 636764
Crash in mark and sweep GC
Last modified: 2011-01-21 19:01:20 UTC
At some moment I started getting crashes of gnome-shell - i.e. it worked some time, then it crashed, and then it crashed at every startup of gnome-shell. My version of gjs is 0.7.7 + 60ae0e2 + 5259356 + 1f2cfe8. Starting program: /usr/bin/mutter --mutter-plugins=libgnome-shell --replace [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.1/libstdc++.so.6.0.14-gdb.py", line 59, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers [New Thread 0x7fffeb4bd710 (LWP 15745)] [New Thread 0x7fffe2c68710 (LWP 15826)] [New Thread 0x7fffdd2b9710 (LWP 15828)] [New Thread 0x7fffd0877710 (LWP 15830)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffea33e2ed in markIfUnmarked (trc=0x7fffffffd7d0, thing=0x7ffff7e40010, kind=<value optimized out>) at jsgc.h:191 191 jsgc.h: No such file or directory. in jsgc.h
+ Trace 225030
Thread 1 (Thread 0x7ffff7fad780 (LWP 15534))
Inferior 1 [process 15534] will be killed. Quit anyway? (y or n)
Stack trace with snapshot from 7 Dec: Starting program: /usr/bin/mutter --mutter-plugins=libgnome-shell --replace [Thread debugging using libthread_db enabled] Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/gcc/x86_64-pc-linux-gnu/4.5.1/libstdc++.so.6.0.14-gdb.py", line 59, in <module> from libstdcxx.v6.printers import register_libstdcxx_printers ImportError: No module named libstdcxx.v6.printers [New Thread 0x7fffeb4bd710 (LWP 15745)] [New Thread 0x7fffe2c68710 (LWP 15826)] [New Thread 0x7fffdd2b9710 (LWP 15828)] [New Thread 0x7fffd0877710 (LWP 15830)] Program received signal SIGSEGV, Segmentation fault. 0x00007fffea33e2ed in markIfUnmarked (trc=0x7fffffffd7d0, thing=0x7ffff7e40010, kind=<value optimized out>) at jsgc.h:191 191 jsgc.h: No such file or directory. in jsgc.h
+ Trace 225041
Thread 1 (Thread 0x7ffff7fad780 (LWP 24052))
Ups. Sorry - please ignore last comment - I looked into wrong file.
What I need is information on when this started happening. Most useful would be to back down (or upgrade) your SpiderMonkey version, and tell me if it still crashes.
(In reply to comment #3) > What I need is information on when this started happening. Most useful would > be to back down (or upgrade) your SpiderMonkey version, and tell me if it still > crashes. xulrunner version: % xulrunner-2.0 --version Mozilla XULRunner 2.0b8pre - 20101207014904 Also xulrunner 2.8b7pre. When did it started: It wasn't connected to any upgrade IIRC. My previous update was on 26 Nov and it happens since less then week. gnome-shell just crashed at some point and keeped crashing at each point after.
(In reply to comment #4) > It wasn't connected to any upgrade IIRC. My previous update was on 26 Nov and > it happens since less then week. But the point is that if it worked for you before, something changed. You need to help me figure out the "what changed". Again, please try downgrading xulrunner first. If that does work, try checking out both gnome-shell and gjs from Nov 25 or whatever. Just get me whatever information you can to try to narrow down the component.
(In reply to comment #5) > (In reply to comment #4) > > > It wasn't connected to any upgrade IIRC. My previous update was on 26 Nov and > > it happens since less then week. > > But the point is that if it worked for you before, something changed. You need > to help me figure out the "what changed". Sorry - I only meant that most obvious factors stayed the same. > Again, please try downgrading > xulrunner first. If that does work, try checking out both gnome-shell and gjs > from Nov 25 or whatever. > > Just get me whatever information you can to try to narrow down the component. I will try. For sure I will have time to do this next week and I cannot promise any feedback before. PS. I mark it as NEEDINFO to remember.
At Colin's request (via IRC), trying to add my data: Xulrunner is 1.9.2, and has been for all of my Shell usage since October (since I'm on Ubuntu Maverick). First time I experienced a crash was after recompiling at 1:00PM CST on December 4th. http://eduke32.pastebin.com/raw.php?i=7aFe6s55 This was (iirc) around the time the GtkStyleContext branch was pushed to master in gtk+ (don't recall what else was pushed then). The crash is consistent with the same bt. It will either occur immediate upon starting the shell, or (if not then) when restarting the shell. Commenting out the call to shell_global_maybe_gc() in run_leisure_functions() seems to prevent the crash: http://eduke32.pastebin.com/raw.php?i=MXunfQvc (not posting as a patch because it's a hack)
I cannot reproduce immidiatly the crash with newest gjs/mutter/gnome-shell.