GNOME Bugzilla – Bug 727369
Segmentation fault when toggling Preferences -> Display -> Show visual effects when an audio file is played
Last modified: 2014-04-12 09:08:38 UTC
Toggle the setting (i.e., on and then off) twice and it will segfault. In other words, click the toggle four times. I just installed this from the [gnome-unstable] repo on Arch Linux, but I will try to build it with debugging enabled in jhbuild soon.
Created attachment 273310 [details] Video showing the segmentation fault Note that, in this video, the bug occurs after only toggling on and off once. This is what happened the first time I encountered the bug, but it sometimes doesn't occur when toggling once.
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff5b4266f in _cogl_rectangle_map_remove (map=0x13e000001eb00, rectangle=0x268cdb4) at ./cogl-rectangle-map.c:486 486 CoglRectangleMapNode *node = map->root;
(gdb) bt
+ Trace 233417
I am getting the same backtrace. However in my case it is enough to play a FLAC file (MP3/MP4 appear to be unaffected). It will crash shortly after the seekbar is hidden. If I keep the seekbar visible by moving the mouse it plays fine. Visual effects are disabled, so the cover will be displayed.
Looks like a bug in cogl. The crash actually happens quite a bit of time before. It works fine on my system after I've updated to cogl 1.18.0. Which version of cogl are you using? (It was working on my system-wide version of totem, but not in jhbuild because cogl wasn't updated).
(In reply to comment #5) > Looks like a bug in cogl. The crash actually happens quite a bit of time > before. Looks like it. Apparently my last try got a little further and printed this critical (after lots of criticals referring to Grilo) before crashing: (totem:19674): Cogl-CRITICAL **: file ./cogl-rectangle-map.c: line 514 (_cogl_rectangle_map_remove): should not be reached > It works fine on my system after I've updated to cogl 1.18.0. Which version of > cogl are you using? (It was working on my system-wide version of totem, but not > in jhbuild because cogl wasn't updated). For me that would be the one from the F20 COPR which should be 1.18.0 as well. But I also gave the one in jhbuild a try and the result's the same.
I was using 1.18.0 in Arch Linux' [gnome-unstable] repository, but I got the same result with jhbuild.
Given that the problem only seems to happen on Arch Linux, and I can't reproduce the problem at all in Fedora 20 + COPR (that's GNOME 3.12), I'd encourage you to file a bug against your distribution. Hopefully you'll find a sure fire way to reproduce the bug that I can use. FWIW, I'd point towards a Mesa, X driver or kernel bug that's hardware specific. Might be good to check in that direction. Reopen this bug when you have some more debugging information, or a reproducer.
JFYI, I could reproduce it on two different F20 + COPR machines here and may have spotted the cause of it in Cogl (not entirely sure though): bug 728064.