Hi,
On the first run, it failed after the first song in this test playlist with the
failing songs. The output was this:
*** glibc detected *** liquidsoap: free(): invalid pointer: 0x000000000067258e
***
======= Backtrace: =========
/lib64/libc.so.6[0x38a927245f]
/lib64/libc.so.6(cfree+0x4b)[0x38a92728bb]
liquidsoap(ocaml_faad_mp4_decode+0x1b4)[0x6337ef]
liquidsoap[0x672538]
======= Memory map: ========
00400000-0068b000 r-xp 00000000 ca:03 416045
/usr/local/bin/liquidsoap
0088a000-00a00000 rw-p 0028a000 ca:03 416045
/usr/local/bin/liquidsoap
00a00000-00a11000 rw-p 00a00000 00:00 0
0de01000-0df5a000 rw-p 0de01000 00:00 0 [heap]
410a4000-410a5000 ---p 410a4000 00:00 0
410a5000-41aa5000 rw-p 410a5000 00:00 0
41aa5000-41aa6000 ---p 41aa5000 00:00 0
41aa6000-424a6000 rw-p 41aa6000 00:00 0
424a6000-424a7000 ---p 424a6000 00:00 0
424a7000-42ea7000 rw-p 424a7000 00:00 0
42ea7000-42ea8000 ---p 42ea7000 00:00 0
42ea8000-438a8000 rw-p 42ea8000 00:00 0
438a8000-438a9000 ---p 438a8000 00:00 0
438a9000-442a9000 rw-p 438a9000 00:00 0
38a8e00000-38a8e1c000 r-xp 00000000 ca:03 12697608
/lib64/ld-2.5.so
38a901c000-38a901d000 r--p 0001c000 ca:03 12697608
/lib64/ld-2.5.so
38a901d000-38a901e000 rw-p 0001d000 ca:03 12697608
/lib64/ld-2.5.so
38a9200000-38a934e000 r-xp 00000000 ca:03 12697633
/lib64/libc-2.5.so
38a934e000-38a954e000 ---p 0014e000 ca:03 12697633
/lib64/libc-2.5.so
38a954e000-38a9552000 r--p 0014e000 ca:03 12697633
/lib64/libc-2.5.so
38a9552000-38a9553000 rw-p 00152000 ca:03 12697633
/lib64/libc-2.5.so
38a9553000-38a9558000 rw-p 38a9553000 00:00 0
38a9600000-38a9682000 r-xp 00000000 ca:03 12697654
/lib64/libm-2.5.so
38a9682000-38a9881000 ---p 00082000 ca:03 12697654
/lib64/libm-2.5.so
38a9881000-38a9882000 r--p 00081000 ca:03 12697654
/lib64/libm-2.5.so
38a9882000-38a9883000 rw-p 00082000 ca:03 12697654
/lib64/libm-2.5.so
38a9a00000-38a9a02000 r-xp 00000000 ca:03 12697649
/lib64/libdl-2.5.so
38a9a02000-38a9c02000 ---p 00002000 ca:03 12697649
/lib64/libdl-2.5.so
38a9c02000-38a9c03000 r--p 00002000 ca:03 12697649
/lib64/libdl-2.5.so
38a9c03000-38a9c04000 rw-p 00003000 ca:03 12697649
/lib64/libdl-2.5.so
38a9e00000-38a9e16000 r-xp 00000000 ca:03 12697705
/lib64/libpthread-2.5.so
38a9e16000-38aa015000 ---p 00016000 ca:03 12697705
/lib64/libpthread-2.5.so
38aa015000-38aa016000 r--p 00015000 ca:03 12697705
/lib64/libpthread-2.5.so
38aa016000-38aa017000 rw-p 00016000 ca:03 12697705
/lib64/libpthread-2.5.so
38aa017000-38aa01b000 rw-p 38aa017000 00:00 0
38aa200000-38aa214000 r-xp 00000000 ca:03 12697707
/lib64/libz.so.1.2.3
38aa214000-38aa413000 ---p 00014000 ca:03 12697707
/lib64/libz.so.1.2.3
38aa413000-38aa414000 rw-p 00013000 ca:03 12697707
/lib64/libz.so.1.2.3
38aae00000-38aae07000 r-xp 00000000 ca:03 12697724
/lib64/librt-2.5.so
38aae07000-38ab007000 ---p 00007000 ca:03 12697724
/lib64/librt-2.5.so
38ab007000-38ab008000 r--p 00007000 ca:03 12697724
/lib64/librt-2.5.so
38ab008000-38ab009000 rw-p 00008000 ca:03 12697724
/lib64/librt-2.5.so
38aba00000-38aba0d000 r-xp 00000000 ca:03 12697679
/lib64/libgcc_s-4.1.2-20080825.so.1
38aba0d000-38abc0d000 ---p 0000d000 ca:03 12697679
/lib64/libgcc_s-4.1.2-20080825.so.1
38abc0d000-38abc0e000 rw-p 0000d000 ca:03 12697679
/lib64/libgcc_s-4.1.2-20080825.so.1
38abe00000-38abee6000 r-xp 00000000 ca:03 12239162
/usr/lib64/libstdc++.so.6.0.8
38abee6000-38ac0e5000 ---p 000e6000 ca:03 12239162
/usr/lib64/libstdc++.so.6.0.8
38ac0e5000-38ac0eb000 r--p 000e5000 ca:03 12239162
/usr/lib64/libstdc++.so.6.0.8
3Aborted
On Jan 23, 2012, at 1:18 PM, Audiodef Online wrote:
> Try this. Keep a log of the files that fail. Create a playlist
> consisting only of these files. If they all fail, then the problem is
> indeed that they are improperly encoded. If LS continues to randomly
> fail, then encoding isn't the problem.
>
> On 01/23/12 18:12, Brandon Olivares wrote:
>> Sorry to keep updating this, but I just found something else.
>>
>> I found several instances in my log file where I get something like this
>> message:
>>
>> 2012/01/23 11:32:05 [decoder:4] Decoding
>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/01_A_Day_Without_Rain.m4a"
>> ended: Faad.Failed.
>>
>> The weird part is that when this happens, that song has already played, and
>> it is a track or two after it.
>>
>> Still no idea what is causing this. Are they somehow encoded improperly? The
>> tracks that are causing this error come from iTunes, and are m4a files.
>> However, sometimes it seems to pass over them without any problem.
>>
>> On Jan 22, 2012, at 12:47 PM, Audiodef Online wrote:
>>
>>> Well, that might not be the problem, but spaces in file names is still an
>>> issue for a lot of programs. I think it's worth trying, if only to help
>>> narrow it down.
>>>
>>> On 01/22/12 16:55, Brandon Olivares wrote:
>>>> Hi,
>>>>
>>>> I will try, but do you really think that is the problem? All of the files
>>>> have spaces in them, and it only arbitrarily fails. In this case, it
>>>> failed on the 7th track.
>>>>
>>>> Thanks,
>>>> Brandon
>>>> On Jan 22, 2012, at 11:52 AM, Audiodef Online wrote:
>>>>
>>>>> Try taking the spaces out of the file names.
>>>>>
>>>>> On 01/22/12 16:44, Brandon Olivares wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I spoke too soon. It failed, but only after about 40 minutes. I'm not
>>>>>> sure what caused it, as there were not really any errors.
>>>>>>
>>>>>> here are the last several lines of the log.
>>>>>>
>>>>>> 2012/01/22 11:32:40 [spiritual_1(dot)pls:4] Remaining: 0.0s, queued:
>>>>>> 30.0s, taking: 30.0s
>>>>>> 2012/01/22 11:32:40 [spiritual_1(dot)pls:3] Prepared
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Enya/A
>>>>>> Day Without Rain/10 One By One.m4a" (RID 3).
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "META" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "WAV" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder.wav:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [decoder.wav:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "MIDI" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "FLAC" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder.flac:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [decoder.flac:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "AAC" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder.aac:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [decoder.aac:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "MP4" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder.mp4:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [decoder.mp4:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "OGG" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder.ogg:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [decoder.ogg:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [decoder:4] Trying method "MP3" for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"...
>>>>>> 2012/01/22 11:36:21 [decoder.mp3:4] Libmad recognizes
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3" as MP3 (layer III, 192kbps, 44100Hz, 2 channels).
>>>>>> 2012/01/22 11:36:21 [decoder:3] Method "MP3" accepted
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3".
>>>>>> 2012/01/22 11:36:21 [metadata.flac:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [metadata.flac:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [metadata.mp4:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [metadata.mp4:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [metadata.ogg:4] Invalid MIME type for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3": audio/mpeg!
>>>>>> 2012/01/22 11:36:21 [metadata.ogg:4] Invalid file extension for
>>>>>> "/home/azavia/radio.christs-light-ministries.org/music/Spiritual/Compilations/Oceania/2-03
>>>>>> Headlands.mp3"!
>>>>>> 2012/01/22 11:36:21 [spiritual_1(dot)pls:4] Remaining: 10.0s, queued:
>>>>>> 0.0s, adding: 30.0s (RID 5)
>>>>>>
>>>>>> On Jan 21, 2012, at 3:54 PM, Audiodef Online wrote:
>>>>>>
>>>>>>> The output might help people figure out what's going on. You should be
>>>>>>> able to open the log file with a text editor so you can copy and paste
>>>>>>> the relevant section here. Also, if you haven't done so already, set the
>>>>>>> log level to 4, which provides more information than the default. You
>>>>>>> can do this by putting
>>>>>>>
>>>>>>> set("log.level",4)
>>>>>>>
>>>>>>> near the beginning of your script and restarting the script. I also
>>>>>>> prefer to set my own log file path so I always know where to find it.
>>>>>>> You can put this in your script with
>>>>>>>
>>>>>>> set("log.file.path","/dir/anotherdir/maybeanotherone/liquidradio.log")
>>>>>>>
>>>>>>> I usually put it in my user's home dir for convenience.
>>>>>>>
>>>>>>>
>>>>>>> On 01/21/12 08:37, Brandon Olivares wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> I'm having another problem. I finally got it installed, but now it
>>>>>>>> randomly fails.
>>>>>>>>
>>>>>>>> I am streaming it through Icecast. So I pointed it to a directory to
>>>>>>>> randomly choose files, which is working. But sometimes at the end of
>>>>>>>> songs, it completely fails and outputs a bunch of information about
>>>>>>>> different libraries. I can't paste the error here as it spans the more
>>>>>>>> than the entire page of the terminal window.
>>>>>>>>
>>>>>>>> Here is my script I'm using to test:
>>>>>>>>
>>>>>>>> #!/usr/local/bin/liquidsoap
>>>>>>>>
>>>>>>>> s =
>>>>>>>> mksafe(playlist('/home/azavia/radio.christs-light-ministries.org/music/Spiritual'))
>>>>>>>> output.icecast(mount = 'radio', password = '***', %mp3(bitrate = 96),
>>>>>>>> s)
>>>>>>>>
>>>>>>>> I am so close; I just want to get this started and working.
>>>>>>>>
>>>>>>>> Thanks,
>>>>>>>> Brandon
>>>>>>>> ------------------------------------------------------------------------------
>>>>>>>> Try before you buy = See our experts in action!
>>>>>>>> The most comprehensive online learning library for Microsoft developers
>>>>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3,
>>>>>>>> MVC3,
>>>>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>>>>> _______________________________________________
>>>>>>>> Savonet-users mailing list
>>>>>>>> [email protected]
>>>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>>>>>
>>>>>>> --
>>>>>>> My music: http://audiodef.com
>>>>>>> Synthetronica: http://synthetronica.com
>>>>>>> Male survivors of domestic violence: http://abusedmen.org
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> Try before you buy = See our experts in action!
>>>>>>> The most comprehensive online learning library for Microsoft developers
>>>>>>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>>>>>>> Metro Style Apps, more. Free future releases when you subscribe now!
>>>>>>> http://p.sf.net/sfu/learndevnow-dev2
>>>>>>> _______________________________________________
>>>>>>> Savonet-users mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>>>> --
>>>>> My music: http://audiodef.com
>>>>> Synthetronica: http://synthetronica.com
>>>>> Male survivors of domestic violence: http://abusedmen.org
>>>>>
>>>
>>> --
>>> My music: http://audiodef.com
>>> Synthetronica: http://synthetronica.com
>>> Male survivors of domestic violence: http://abusedmen.org
>>>
>>
>> ------------------------------------------------------------------------------
>> Try before you buy = See our experts in action!
>> The most comprehensive online learning library for Microsoft developers
>> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
>> Metro Style Apps, more. Free future releases when you subscribe now!
>> http://p.sf.net/sfu/learndevnow-dev2
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>>
>
>
> --
> My music: http://audiodef.com
> Synthetronica: http://synthetronica.com
> Male survivors of domestic violence: http://abusedmen.org
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users