gmusicbrowser Forum

Main board => Questions => Topic started by: DarkSkyGhost on March 16, 2010, 16:23:29

Title: 1.1.4 alpha randomly closes
Post by: DarkSkyGhost on March 16, 2010, 16:23:29
Using build posted in git on 03-14.

I only recently moved to Kubuntu, so please bear with me.

Noticed that, when listening, player just randomly closes. So decided to launch through konsole.
After a long wait, got this when player closed:


playing /media/2music/#Lossy/Unkle/2008 - Restless (Promo)/05 - UNKLE - Restless (Future Funk Squad Remix).mp3
ReReadFile(15726) called from : main:/home/darkskyghost/gmusicbrowser/gmusicbrowser.pl:2565
Songs::Set(15726 skipcount 1 lastskip 1268723071) called from : main:/home/darkskyghost/gmusicbrowser/gmusicbrowser.pl:2057
Songs::Changed : IDs=15726 fields=skipcount lastskip
Update :  at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1222.
has changed : skipcount lastskip at /home/darkskyghost/gmusicbrowser/gmusicbrowser_songs.pm line 1184.
playing /media/2music/#Lossless/Jens Buchert/Jens Buchert - My Heaven [2006]/10 - Jelly Fish.flac
ReReadFile(10098) called from : main:/home/darkskyghost/gmusicbrowser/gmusicbrowser.pl:2565
Writing tags in /home/darkskyghost/.config/gmusicbrowser/gmbrc ...
*** glibc detected *** /usr/bin/perl: double free or corruption (fasttop): 0x00007f5eb009a3f0 ***
======= Backtrace: =========
/lib/libc.so.6[0x7f5ecd041dd6]
/lib/libc.so.6(cfree+0x6c)[0x7f5ecd04674c]
/usr/lib/libperl.so.5.10(Perl_sv_clear+0x675)[0x7f5ecda9c885]
/usr/lib/libperl.so.5.10(Perl_sv_free2+0x52)[0x7f5ecda9ca82]
/usr/lib/libperl.so.5.10(Perl_free_tmps+0x50)[0x7f5ecdab84d0]
/usr/lib/libperl.so.5.10(Perl_pp_nextstate+0x50)[0x7f5ecda8b280]
/usr/lib/libperl.so.5.10(Perl_runops_standard+0x16)[0x7f5ecda87f86]
/usr/lib/libperl.so.5.10(Perl_call_sv+0x47d)[0x7f5ecda859ed]
/usr/lib/perl5/auto/Glib/Glib.so[0x7f5eccb5fa8f]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5ecc8f75ae]
/usr/lib/libgobject-2.0.so.0[0x7f5ecc90c983]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7f9)[0x7f5ecc90dd39]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f5ecc90e283]
/usr/lib/gstreamer-0.10/libgstplaybin.so[0x7f5ebad4f812]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5ecc8f75ae]
/usr/lib/libgobject-2.0.so.0[0x7f5ecc90c983]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7f9)[0x7f5ecc90dd39]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f5ecc90e283]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5ecc8f75ae]
/usr/lib/libgobject-2.0.so.0[0x7f5ecc90c983]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x7f9)[0x7f5ecc90dd39]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x7f5ecc90e283]
/usr/lib/gstreamer-0.10/libgstdecodebin2.so[0x7f5eb93ae95d]
/usr/lib/libgstreamer-0.10.so.0(gst_marshal_BOOLEAN__POINTER+0x98)[0x7f5ec31341e8]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x15e)[0x7f5ecc8f75ae]
/usr/lib/libgobject-2.0.so.0[0x7f5ecc90c983]
/usr/lib/libgstreamer-0.10.so.0[0x7f5ec30f56f3]
/usr/lib/libgstreamer-0.10.so.0(gst_pad_push_event+0x13e)[0x7f5ec30fe93e]
/usr/lib/libgstreamer-0.10.so.0(gst_pad_send_event+0x410)[0x7f5ec30fe4c0]
/usr/lib/libgstreamer-0.10.so.0(gst_pad_push_event+0x280)[0x7f5ec30fea80]
/usr/lib/gstreamer-0.10/libgstflac.so[0x7f5eb8d583ba]
/usr/lib/libgstreamer-0.10.so.0[0x7f5ec311b417]
/lib/libglib-2.0.so.0[0x7f5ecc689142]
/lib/libglib-2.0.so.0[0x7f5ecc687b44]
/lib/libpthread.so.0[0x7f5ecd341a04]
/lib/libc.so.6(clone+0x6d)[0x7f5ecd0ab80d]
======= Memory map: ========
00400000-00401000 r-xp 00000000 08:12 131838                             /usr/bin/perl
00601000-00602000 r--p 00001000 08:12 131838                             /usr/bin/perl
00602000-00603000 rw-p 00002000 08:12 131838                             /usr/bin/perl
0230f000-08886000 rw-p 00000000 00:00 0                                  [heap]
7f5eacd44000-7f5eacd46000 r-xp 00000000 08:12 199069                     /usr/lib/gstreamer-0.10/libgstxdgmime.so
7f5eacd46000-7f5eacf45000 ---p 00002000 08:12 199069                     /usr/lib/gstreamer-0.10/libgstxdgmime.so
7f5eacf45000-7f5eacf46000 r--p 00001000 08:12 199069                     /usr/lib/gstreamer-0.10/libgstxdgmime.so
7f5eacf46000-7f5eacf47000 rw-p 00002000 08:12 199069                     /usr/lib/gstreamer-0.10/libgstxdgmime.so
7f5ead14a000-7f5ead157000 r-xp 00000000 08:12 196659                     /usr/lib/gstreamer-0.10/libgstsubparse.so
7f5ead157000-7f5ead356000 ---p 0000d000 08:12 196659                     /usr/lib/gstreamer-0.10/libgstsubparse.so
7f5ead356000-7f5ead357000 r--p 0000c000 08:12 196659                     /usr/lib/gstreamer-0.10/libgstsubparse.so
7f5ead357000-7f5ead358000 rw-p 0000d000 08:12 196659                     /usr/lib/gstreamer-0.10/libgstsubparse.so
7f5ead358000-7f5ead3f2000 r-xp 00000000 08:12 189074                     /usr/lib/libxvidcore.so.4.2
7f5ead3f2000-7f5ead5f2000 ---p 0009a000 08:12 189074                     /usr/lib/libxvidcore.so.4.2
7f5ead5f2000-7f5ead5f3000 r--p 0009a000 08:12 189074                     /usr/lib/libxvidcore.so.4.2
7f5ead5f3000-7f5ead5fd000 rw-p 0009b000 08:12 189074                     /usr/lib/libxvidcore.so.4.2
7f5ead5fd000-7f5ead667000 rw-p 00000000 00:00 0
7f5ead667000-7f5ead6f5000 r-xp 00000000 08:12 180161                     /usr/lib/libx264.so.67
7f5ead6f5000-7f5ead8f4000 ---p 0008e000 08:12 180161                     /usr/lib/libx264.so.67
7f5ead8f4000-7f5ead8f6000 r--p 0008d000 08:12 180161                     /usr/lib/libx264.so.67
7f5ead8f6000-7f5ead8f7000 rw-p 0008f000 08:12 180161                     /usr/lib/libx264.so.67
7f5ead8f7000-7f5ead8ff000 rw-p 00000000 00:00 0
7f5ead8ff000-7f5ead91e000 r-xp 00000000 08:12 176022                     /usr/lib/libvorbis.so.0.4.0
7f5ead91e000-7f5eadb1d000 ---p 0001f000 08:12 176022                     /usr/lib/libvorbis.so.0.4.0
7f5eadb1d000-7f5eadb1e000 r--p 0001e000 08:12 176022                     /usr/lib/libvorbis.so.0.4.0
7f5eadb1e000-7f5eadb2c000 rw-p 0001f000 08:12 176022                     /usr/lib/libvorbis.so.0.4.0
7f5eadb2c000-7f5eadb46000 r-xp 00000000 08:12 180280                     /usr/lib/libvorbisenc.so.2.0.3
7f5eadb46000-7f5eadd45000 ---p 0001a000 08:12 180280                     /usr/lib/libvorbisenc.so.2.0.3
7f5eadd45000-7f5eadd46000 r--p 00019000 08:12 180280                     /usr/lib/libvorbisenc.so.2.0.3
7f5eadd46000-7f5eadf06000 rw-p 0001a000 08:12 180280                     /usr/lib/libvorbisenc.so.2.0.3
7f5eadf06000-7f5eadf53000 r-xp 00000000 08:12 167496                     /usr/lib/libtheora.so.0.3.10
7f5eadf53000-7f5eae152000 ---p 0004d000 08:12 167496                     /usr/lib/libtheora.so.0.3.10
7f5eae152000-7f5eae153000 r--p 0004c000 08:12 167496                     /usr/lib/libtheora.so.0.3.10
7f5eae153000-7f5eae154000 rw-p 0004d000 08:12 167496                     /usr/lib/libtheora.so.0.3.10
7f5eae154000-7f5eae16c000 r-xp 00000000 08:12 180751                     /usr/lib/libspeex.so.1.5.0
7f5eae16c000-7f5eae36c000 ---p 00018000 08:12 180751                     /usr/lib/libspeex.so.1.5.0
7f5eae36c000-7f5eae36d000 r--p 00018000 08:12 180751                     /usr/lib/libspeex.so.1.5.0
7f5eae36d000-7f5eae36e000 rw-p 00019000 08:12 180751                     /usr/lib/libspeex.so.1.5.0
7f5eae36e000-7f5eae3eb000 r-xp 00000000 08:12 180154                     /usr/lib/libschroedinger-1.0.so.0.2.0
7f5eae3eb000-7f5eae5ea000 ---p 0007d000 08:12 180154                     /usr/lib/libschroedinger-1.0.so.0.2.0
7f5eae5ea000-7f5eae5ec000 r--p 0007c000 08:12 180154                     /usr/lib/libschroedinger-1.0.so.0.2.0
7f5eae5ec000-7f5eae5ed000 rw-p 0007e000 08:12 180154                     /usr/lib/libschroedinger-1.0.so.0.2.0
7f5eae5ed000-7f5eae60b000 r-xp 00000000 08:12 180139                     /usr/lib/libopenjpeg-2.1.3.0.so
7f5eae60b000-7f5eae80b000 ---p 0001e000 08:12 180139                     /usr/lib/libopenjpeg-2.1.3.0.so
7f5eae80b000-7f5eae80c000 r--p 0001e000 08:12 180139                     /usr/lib/libopenjpeg-2.1.3.0.so
7f5eae80c000-7f5eae80d000 rw-p 0001f000 08:12 180139                     /usr/lib/libopenjpeg-2.1.3.0.so
7f5eae80d000-7f5eae852000 r-xp 00000000 08:12 180133                     /usr/lib/libmp3lame.so.0.0.0Aborted


*** glibc detected *** /usr/bin/perl: double free or corruption (fasttop): 0x00007f5eb009a3f0 ***

Maybe I have some corrupted library or using incompatible version of it?

And, of course, I can provide any additional info you may need.
Title: Re: 1.1.4 alpha randomly closes
Post by: Quentin Sculo on March 16, 2010, 17:23:43
I think this have to do with using the gapless mode. I noticed such crashes when the track change occurs while the autosave plugin is busy saving. Which is your case as the "Writing tags in /home/darkskyghost/.config/gmusicbrowser/gmbrc ..." is not followed by "Writing tags in /home/darkskyghost/.config/gmusicbrowser/gmbrc ... done".
The gapless mode uses gstreamer's playbin2 feature which is still not considered as stable.
So I don't know what part is responsible for this bug : gstreamer, the gstreamer perl bindings or gmb. I'll investigate, but I really need to finish a few other things first.
Title: Re: 1.1.4 alpha randomly closes
Post by: DarkSkyGhost on March 16, 2010, 17:47:58
Gapless mode is not an essential thing. It can be easily deactivated.
Now the player won't crash that often.

Thanks for help!