Hello, we are testing AAC and FLAC support with Liquidsoap, and finds that
it seg-faults on a wide variety of files (files from iTunes or randomly
downloaded samples from the internet):
Output is posted at the end of this email. We have a ticket open here
http://dev.sourcefabric.org/browse/CC-4468 where you can download the
samples (try "thunder_128k.m4a").
The issue happens on both Debian Squeeze and Ubuntu 12.04 (natively
compiled on both machines).
Here is the command used and the output:
martin@Thinkpad-T410:~/tmp/liq$ liquidsoap 'output.ao
(single("thunder_128k.m4a"))'
2012/09/18 12:43:59 >>> LOG START
2012/09/18 12:43:58 [protocols.external:3] Didn't find "ufetch".
2012/09/18 12:43:58 [protocols.external:3] Found "/usr/bin/wget".
2012/09/18 12:43:59 [main:3] Liquidsoap 1.0.0+scm (default@cb8f33bce12d
:20120912:225741)
2012/09/18 12:43:59 [main:3] Using: graphics=[distributed with Ocaml]
pcre=6.0.1 dtools=0.2.2 duppy=0.4.2 duppy.syntax=0.4.2 cry=0.2.2 mm=0.2.0
ogg=0.4.3 vorbis=0.6.1 mad=0.4.4 flac=0.1.0 flac.ogg=0.1.0
dynlink=[distributed with Ocaml] lame=0.3.1 ao=0.2.0 taglib=0.2.0
camomile=0.7.1 faad=0.3.0 portaudio=@VERSION
2012/09/18 12:43:59 [main:2]
2012/09/18 12:43:59 [main:2] DISCLAIMER: This version of Liquidsoap has been
2012/09/18 12:43:59 [main:2] compiled from a snapshot of the development
code.
2012/09/18 12:43:59 [main:2] As such, it should not be used in production
2012/09/18 12:43:59 [main:2] unless you know what you are doing!
2012/09/18 12:43:59 [main:2]
2012/09/18 12:43:59 [main:2] We are, however, very interested in any
feedback
2012/09/18 12:43:59 [main:2] about our development code and committed to fix
2012/09/18 12:43:59 [main:2] issues as soon as possible.
2012/09/18 12:43:59 [main:2]
2012/09/18 12:43:59 [main:2] If you are interested in collaborating to
2012/09/18 12:43:59 [main:2] the development of Liquidsoap, feel free to
2012/09/18 12:43:59 [main:2] drop us a mail at <[email protected]>
2012/09/18 12:43:59 [main:2] or to join the #savonet IRC channel on
Freenode.
2012/09/18 12:43:59 [main:2]
2012/09/18 12:43:59 [main:2] Please send any bug report or feature request
2012/09/18 12:43:59 [main:2] at <http://dev.sourcefabric.org/browse/LS>.
2012/09/18 12:43:59 [main:2]
2012/09/18 12:43:59 [main:2] We hope you enjoy this snapshot build of
Liquidsoap!
2012/09/18 12:43:59 [main:2]
2012/09/18 12:43:59 [dynamic.loader:2] Could not load plugins in directory
/usr/local/lib/liquidsoap/scm/plugins.
2012/09/18 12:43:59 [decoder:3] Method "MP4" accepted "thunder_128k.m4a".
2012/09/18 12:43:59 [single:3] "thunder_128k.m4a" is static, resolving once
for all...
2012/09/18 12:43:59 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz
master.
2012/09/18 12:43:59 [frame:3] Frame size must be a multiple of 1764 ticks =
1764 audio samples = 1 video samples.
2012/09/18 12:43:59 [frame:3] Targetting 'frame.duration': 0.04s = 1764
audio samples = 1764 ticks.
2012/09/18 12:43:59 [frame:3] Frames last 0.04s = 1764 audio samples = 1
video samples = 1764 ticks.
2012/09/18 12:43:59 [threads:3] Created thread "generic queue #1".
2012/09/18 12:43:59 [threads:3] Created thread "generic queue #2".
2012/09/18 12:43:59 [single_3827:3] Prepared "thunder_128k.m4a" (RID 0).
2012/09/18 12:43:59 [threads:3] Created thread "ao" (1 total).
2012/09/18 12:43:59 [threads:3] Created thread "wallclock_ao" (2 total).
2012/09/18 12:43:59 [clock.wallclock_ao:3] Streaming loop starts,
synchronized by active sources.
2012/09/18 12:43:59 [ao:3] Opening Advanced Linux Sound Architecture (ALSA)
output (2 channels)...
*** glibc detected *** ./liquidsoap: free(): invalid pointer:
0x00000000006c1505 ***
======= Backtrace: =========
/lib/libc.so.6(+0x71bd6)[0x7f95d5078bd6]
/lib/libc.so.6(cfree+0x6c)[0x7f95d507d94c]
./liquidsoap(ocaml_faad_mp4_decode+0x14a)[0x696f6a]
./liquidsoap[0x6ce470]
======= Memory map: ========
00400000-006e5000 r-xp 00000000 08:01 6603549
/home/martin/tmp/liq/liquidsoap
008e4000-00a59000 rw-p 002e4000 08:01 6603549
/home/martin/tmp/liq/liquidsoap
00a59000-00a6a000 rw-p 00000000 00:00 0
02068000-02146000 rw-p 00000000 00:00 0
[heap]
7f95c4000000-7f95c4021000 rw-p 00000000 00:00 0
7f95c4021000-7f95c8000000 ---p 00000000 00:00 0
7f95c8a68000-7f95c8d56000 rw-p 00000000 00:00 0
7f95c8d56000-7f95c8d57000 ---p 00000000 00:00 0
7f95c8d57000-7f95c9557000 rw-p 00000000 00:00 0
7f95c9557000-7f95cd558000 rw-s 00000000 00:10 59200
/dev/shm/pulse-shm-2042319165
7f95cd558000-7f95cd55d000 r-xp 00000000 08:01 3866998
/usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7f95cd55d000-7f95cd75d000 ---p 00005000 08:01 3866998
/usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7f95cd75d000-7f95cd75e000 rw-p 00005000 08:01 3866998
/usr/lib/alsa-lib/libasound_module_pcm_pulse.so
7f95cd75e000-7f95cd858000 rw-p 00000000 00:00 0
7f95cd858000-7f95cd859000 ---p 00000000 00:00 0
7f95cd859000-7f95ce059000 rw-p 00000000 00:00 0
7f95ce059000-7f95ce05a000 ---p 00000000 00:00 0
7f95ce05a000-7f95ce85a000 rw-p 00000000 00:00 0
7f95ce85a000-7f95ce85b000 ---p 00000000 00:00 0
7f95ce85b000-7f95cf05b000 rw-p 00000000 00:00 0
7f95cf05b000-7f95cf05c000 ---p 00000000 00:00 0
7f95cf05c000-7f95cf85c000 rw-p 00000000 00:00 0
7f95cf85c000-7f95cf85d000 ---p 00000000 00:00 0
7f95cf85d000-7f95d005d000 rw-p 00000000 00:00 0
7f95d005d000-7f95d005e000 ---p 00000000 00:00 0
7f95d005e000-7f95d0958000 rw-p 00000000 00:00 0
7f95d0a52000-7f95d0a77000 r-xp 00000000 08:01 1614507
/usr/lib/libaudiofile.so.0.0.2
7f95d0a77000-7f95d0c76000 ---p 00025000 08:01 1614507
/usr/lib/libaudiofile.so.0.0.2
7f95d0c76000-7f95d0c7a000 rw-p 00024000 08:01 1614507
/usr/lib/libaudiofile.so.0.0.2
7f95d0c7a000-7f95d0c84000 r-xp 00000000 08:01 1614709
/usr/lib/libesd.so.0.2.39
7f95d0c84000-7f95d0e84000 ---p 0000a000 08:01 1614709
/usr/lib/libesd.so.0.2.39
7f95d0e84000-7f95d0e85000 rw-p 0000a000 08:01 1614709
/usr/lib/libesd.so.0.2.39
7f95d0e85000-7f95d0e87000 r-xp 00000000 08:01 1614278
/usr/lib/ao/plugins-4/libesd.so
7f95d0e87000-7f95d1086000 ---p 00002000 08:01 1614278
/usr/lib/ao/plugins-4/libesd.so
7f95d1086000-7f95d1087000 rw-p 00001000 08:01 1614278
/usr/lib/ao/plugins-4/libesd.so
7f95d1087000-7f95d108c000 r-xp 00000000 08:01 1614277
/usr/lib/ao/plugins-4/libalsa.so
7f95d108c000-7f95d128b000 ---p 00005000 08:01 1614277
/usr/lib/ao/plugins-4/libalsa.so
7f95d128b000-7f95d128c000 rw-p 00004000 08:01 1614277
/usr/lib/ao/plugins-4/libalsa.so
7f95d128c000-7f95d12ea000 r-xp 00000000 08:01 1614459
/usr/lib/libXt.so.6.0.0
7f95d12ea000-7f95d14e9000 ---p 0005e000 08:01 1614459
/usr/lib/libXt.so.6.0.0
7f95d14e9000-7f95d14ef000 rw-p 0005d000 08:01 1614459
/usr/lib/libXt.so.6.0.0
7f95d14ef000-7f95d14f0000 rw-p 00000000 00:00 0
7f95d14f0000-7f95d1508000 r-xp 00000000 08:01 1614522
/usr/lib/libaudio.so.2.4
7f95d1508000-7f95d1708000 ---p 00018000 08:01 1614522
/usr/lib/libaudio.so.2.4
7f95d1708000-7f95d1709000 rw-p 00018000 08:01 1614522
/usr/lib/libaudio.so.2.4
7f95d1709000-7f95d170b000 r-xp 00000000 08:01 1614279
/usr/lib/ao/plugins-4/libnas.so
7f95d170b000-7f95d190a000 ---p 00002000 08:01 1614279
/usr/lib/ao/plugins-4/libnas.so
7f95d190a000-7f95d190b000 rw-p 00001000 08:01 1614279
/usr/lib/ao/plugins-4/libnas.so
7f95d190b000-7f95d191e000 r-xp 00000000 08:01 3956850
/lib/libresolv-2.11.3.so
7f95d191e000-7f95d1b1d000 ---p 00013000 08:01 3956850
/lib/libresolv-2.11.3.so
7f95d1b1d000-7f95d1b1e000 r--p 00012000 08:01 3956850
/lib/libresolv-2.11.3.so
7f95d1b1e000-7f95d1b1f000 rw-p 00013000 08:01 3956850
/lib/libresolv-2.11.3.so
7f95d1b1f000-7f95d1b21000 rw-p 00000000 00:00 0
7f95d1b21000-7f95d1b36000 r-xp 00000000 08:01 3957826
/lib/libnsl-2.11.3.so
7f95d1b36000-7f95d1d35000 ---p 00015000 08:01 3957826
/lib/libnsl-2.11.3.so
7f95d1d35000-7f95d1d36000 r--p 00014000 08:01 3957826
/lib/libnsl-2.11.3.so
7f95d1d36000-7f95d1d37000 rw-p 00015000 08:01 3957826
/lib/libnsl-2.11.3.so
7f95d1d37000-7f95d1d39000 rw-p 00000000 00:00 0
7f95d1d39000-7f95d1d48000 r-xp 00000000 08:01 4956528
/usr/lib/libXi.so.6.1.0
7f95d1d48000-7f95d1f47000 ---p 0000f000 08:01 4956528
/usr/lib/libXi.so.6.1.0
7f95d1f47000-7f95d1f48000 rw-p 0000e000 08:01 4956528
/usr/lib/libXi.so.6.1.0
7f95d1f48000-7f95d1f59000 r-xp 00000000 08:01 1614435
/usr/lib/libXext.so.6.4.0
7f95d1f59000-7f95d2159000 ---p 00011000 08:01 1614435
/usr/lib/libXext.so.6.4.0
7f95d2159000-7f95d215a000 rw-p 00011000 08:01 1614435
/usr/lib/libXext.so.6.4.0
7f95d215a000-7f95d215e000 r-xp 00000000 08:01 3956915
/lib/libuuid.so.1.3.0
7f95d215e000-7f95d235d000 ---p 00004000 08:01 3956915
/lib/libuuid.so.1.3.0
7f95d235d000-7f95d235e000 rw-p 00003000 08:01 3956915
/lib/libuuid.so.1.3.0
7f95d235e000-7f95d2362000 r-xp 00000000 08:01 3956788
/lib/libattr.so.1.1.0
7f95d2362000-7f95d2561000 ---p 00004000 08:01 3956788
/lib/libattr.so.1.1.0
7f95d2561000-7f95d2562000 rw-p 00003000 08:01 3956788
/lib/libattr.so.1.1.0
7f95d2562000-7f95d25a0000 r-xp 00000000 08:01 3956871
/lib/libdbus-1.so.3.4.0
7f95d25a0000-7f95d27a0000 ---p 0003e000 08:01 3956871
/lib/libdbus-1.so.3.4.0
7f95d27a0000-7f95d27a1000 r--p 0003e000 08:01 3956871
/lib/libdbus-1.so.3.4.0Aborted
--
Open source radio in the cloud. Get yours now! ---> http://airtime.pro
Martin Konecny
Software Developer, Sourcefabric
[email protected]
720 Bathurst St. Suite 203
M5S 2R4, Toronto, ON, Canada
+1 (416) 892-8420 (Cell)
Skype: martin.konecny15
http://www.sourcefabric.org
http://www.twitter.com/Sourcefabric
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users