#72: Liquidsoap crashes in a strange way
--------------------------------+-------------------------------------------
Reporter: MarcinLewandowski | Owner: admin
Type: Bugs | Status: new
Priority: 1 | Milestone:
Component: Liquidsoap | Version: 0.3.5+svn
Resolution: | Keywords: crash
--------------------------------+-------------------------------------------
Comment (by MarcinLewandowski):
Again :( :( :(
I am using just a PC. AMD Athlon XP 1700+, 512MB SDRAM etc.
I use gentoo with NPTL. Kernel is maybe not the newest one but stable:
2.6.14-gentoo-r5
Next backtrace:
{{{
*** glibc detected *** liquidsoap: double free or corruption (!prev):
0x080c3340 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7aef3af]
/lib/libc.so.6(cfree+0x89)[0xb7af00e9]
liquidsoap[0x805bd1d]
liquidsoap[0x807d1af]
liquidsoap(caml_finish_major_cycle+0x5a)[0x807d51a]
liquidsoap(caml_compact_heap_maybe+0x15f)[0x807923f]
liquidsoap(caml_major_collection_slice+0x2b0)[0x807d490]
liquidsoap(caml_minor_collection+0x41)[0x806b3f1]
liquidsoap(caml_array_unsafe_get_float+0x45)[0x8070135]
liquidsoap(caml_interprete+0x6d4)[0x807aa64]
liquidsoap(caml_callbackN_exn+0x88)[0x8077928]
liquidsoap(caml_callback_exn+0x27)[0x80779a7]
liquidsoap[0x8068d6c]
/lib/libpthread.so.0[0xb7c304e1]
/lib/libc.so.6(clone+0x5e)[0xb7b4b48e]
======= Memory map: ========
08048000-08083000 r-xp 00000000 03:02 766782 /usr/bin/liquidsoap
08083000-08086000 rw-p 0003b000 03:02 766782 /usr/bin/liquidsoap
08086000-0a6d6000 rw-p 08086000 00:00 0 [heap]
b4b00000-b4b21000 rw-p b4b00000 00:00 0
b4b21000-b4c00000 ---p b4b21000 00:00 0
b4cbf000-b4cc0000 ---p b4cbf000 00:00 0
b4cc0000-b54c0000 rw-p b4cc0000 00:00 0
b54c0000-b54c1000 ---p b54c0000 00:00 0
b54c1000-b5cc1000 rw-p b54c1000 00:00 0
b5cc1000-b5cc2000 ---p b5cc1000 00:00 0
b5cc2000-b64c2000 rw-p b5cc2000 00:00 0
b64c2000-b64c3000 ---p b64c2000 00:00 0
b64c3000-b6cc3000 rw-p b64c3000 00:00 0
b6d01000-b6f08000 rw-p b6d01000 00:00 0
b6f84000-b7054000 rw-p b6f84000 00:00 0
b70d0000-b70d1000 ---p b70d0000 00:00 0
b70d1000-b78d1000 rw-p b70d1000 00:00 0
b7931000-b793a000 r-xp 00000000 03:02 818824
/lib/libnss_files-2.6.1.so
b793a000-b793b000 r--p 00008000 03:02 818824
/lib/libnss_files-2.6.1.so
b793b000-b793c000 rw-p 00009000 03:02 818824
/lib/libnss_files-2.6.1.so
b7943000-b7a49000 rw-p b7943000 00:00 0
b7a5e000-b7a66000 r-xp 00000000 03:02 453290 /usr/lib/gcc/i686-pc-
linux-gnu/3.4.6/libgcc_s.so.1
b7a66000-b7a67000 rw-p 00007000 03:02 453290 /usr/lib/gcc/i686-pc-
linux-gnu/3.4.6/libgcc_s.so.1
b7a67000-b7a89000 rw-p b7a67000 00:00 0
b7a89000-b7bb5000 r-xp 00000000 03:02 818845 /lib/libc-2.6.1.so
b7bb5000-b7bb7000 r--p 0012c000 03:02 818845 /lib/libc-2.6.1.so
b7bb7000-b7bb8000 rw-p 0012e000 03:02 818845 /lib/libc-2.6.1.so
b7bb8000-b7bbb000 rw-p b7bb8000 00:00 0
b7bbb000-b7bf4000 r-xp 00000000 03:02 702608 /lib/libncurses.so.5.5
b7bf4000-b7bfd000 rw-p 00038000 03:02 702608 /lib/libncurses.so.5.5
b7bfd000-b7bfe000 rw-p b7bfd000 00:00 0
b7bfe000-b7c00000 r-xp 00000000 03:02 818999 /lib/libdl-2.6.1.so
b7c00000-b7c01000 r--p 00001000 03:02 818999 /lib/libdl-2.6.1.so
b7c01000-b7c02000 rw-p 00002000 03:02 818999 /lib/libdl-2.6.1.so
b7c02000-b7c29000 r-xp 00000000 03:02 810055 /usr/lib/libpcre.so.0.0.1
b7c29000-b7c2a000 r--p 00026000 03:02 810055 /usr/lib/libpcre.so.0.0.1
b7c2a000-b7c2b000 rw-p 00027000 03:02 810055 /usr/lib/libpcre.so.0.0.1
b7c2b000-b7c3f000 r-xp 00000000 03:02 817571 /lib/libpthread-2.6.1.so
b7c3f000-b7c40000 r--p 00013000 03:02 817571 /lib/libpthread-2.6.1.so
b7c40000-b7c41000 rw-p 00014000 03:02 817571 /lib/libpthread-2.6.1.so
b7c41000-b7c43000 rw-p b7c41000 00:00 0
b7c43000-b7c4a000 r-xp 00000000 03:02 829630
/usr/lib/libvorbisfile.so.3.2.0
b7c4a000-b7c4b000 r--p 00006000 03:02 829630
/usr/lib/libvorbisfile.so.3.2.0
b7c4b000-b7c4c000 rw-p 00007000 03:02 829630
/usr/lib/libvorbisfile.so.3.2.0
b7c4c000-b7c57000 r-xp 00000000 03:02 829620
/usr/lib/libvorbisenc.so.2.0.3
b7c57000-b7c58000 r--p 0000a000 03:02 829620
/usr/lib/libvorbisenc.so.2.0.3
b7c58000-b7d48000 rw-p 0000b000 03:02 829620
/usr/lib/libvorbisenc.so.2.0.3
b7d48000-b7d4c000 r-xp 00000000 03:02 822436 /usr/lib/libogg.so.0.5.3
b7d4c000-b7d4d000 r--p 00003000 03:02 822436 /usr/lib/libogg.so.0.5.3
b7d4d000-b7d4e000 rw-p 00004000 03:02 822436 /usr/lib/libogg.so.0.5.3
b7d4e000-b7d4f000 rw-p b7d4e000 00:00 0
b7d4f000-b7d8f000 r-xp 00000000 03:02 221880
/usr/lib/libmp3lame.so.0.0.0
b7d8f000-b7d91000 rw-p 0003f000 03:02 221880 Aborted
}}}
I can use the same configuration but with MP3 file output instead of MP3
shout output, would it be OK?
I assume that you want to check if it that messy binding is a one for
libshout?
I can run several different instances (I have 50% of CPU free), but you
have to specify the differences between them.
I'm upgrading from ocaml-shout 0.2.2 to 0.2.5 and we'll see if it helps.
If not, I'll try some other configurations.
--
Ticket URL: <http://savonet.rastageeks.org/ticket/72#comment:23>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !