GNOME Bugzilla – Bug 663231
memory corruption leading to a crash
Last modified: 2015-04-03 05:51:12 UTC
With gnome-settings-daemon-3.2.1-3.fc16.i686 on uptodate F16, gnome-settings-daemon crashes frequently with apparent memory corruption (crash in the gslice allocator). Happened just now again about 10 min after resume, while not changing any settings or doing anything. [New LWP 1677] [New LWP 1681] [New LWP 1682] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/libthread_db.so.1". Core was generated by `/usr/libexec/gnome-settings-daemon'. Program terminated with signal 6, Aborted.
+ Trace 228967
Thread 1 (Thread 0xb7863840 (LWP 1677))
If it occurs this often, any chance you could valgrind gnome-settings-daemon? The performance impact should be fairly minimal on a recent machine.
(In reply to comment #1) > If it occurs this often, any chance you could valgrind gnome-settings-daemon? I say that because it certainly doesn't crash every 10 minutes for me, or the other people working on gnome-settings-daemon, otherwise we would have been hunting this bug down already.
'Frquently' as in at least once a day. This isn't a 'recent' machine however, so valgrinding it while using the desktop isn't feasible, unfortunately.
I've succeeded running just g-s-d under valgrind, but it's going slow. Hasn't crashed yet, but the log is already chock full of invalid reads, and I've already identified one possible source of the problem in packagekit-glib.
Done?
I guess so, yes. At least valgrinding didn't turn up anything else.
Env: linux-kernel: 3.10 cpu: arm cortex-A15 core gstreamer version: 1.2.3 gst-omx version: 1.0 pipeline structure: filesrc ! typefind ! queue ! mpegvparse ! omxmpeg2dec ! (convert and scale) ! waylandsink Operation: 1. Played a short mpeg-2 video, the length is about 6s. 2. Playback completed. 3. Play it a again without terminating the process. After I repeated step 2 and 3 for about 5~10 time, the program was aborted and print out this error message: ========================================================================== ***MEMORY-ERROR***: test_arm[468]: GSlice: assertion failed: sinfo->n_allocated > 0 ========================================================================== Here is the gdb backtrace info: ========================================================================== (gdb) bt
+ Trace 234935
Then set the environment variable G_SLICE=always-malloc. In this situation I could play the same video for about 50 times. No problem happened this time. I'm not quite sure is this a gstreamer bug or a glib bug. This is my first bug. If the info is not enough, please notice me. Thanks,