[ 
http://dev.sourcefabric.org/browse/LS-626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=26144#action_26144
 ] 

David Baelde commented on LS-626:
---------------------------------

Thanks! It's great that you could reproduce under GDB. However, you didn't 
extract much info from it. I'm sorry I didn't say it earlier, but could you 
follow the steps in https://wiki.sourcefabric.org/display/LS/Debugging? in 
particular, do "thread apply all bt" after the crash occurs to get a glimpse of 
what liquidsoap was doing.

I tried the file that you attached, it didn't crash my liquidsoap on a simple 
playout test. I imagine it's the same for you. Your log indicates that 
liquidsoap accepted this file, which is a good indication that it's been 
processed without any accident. In fact it's probably been closed before the 
crash occurred. To get a better idea of what file could have provoked the issue 
(if it's really a file) you can look at which files are open after the crash 
occurs (but before quitting gdb and killing liq): simply run "ls -l 
/proc/<liquidsoap pid>/fd" with the same user as liquidsoap is running.

Your logs show that liquidsoap keeps trying to decode all sorts of files as 
mp3, notably m3u and jpg files. This could put libmad under a lot of stress... 
before trying to avoid this, let's try to confirm the issue with the above 
information.


> Segfault in libc
> ----------------
>
>                 Key: LS-626
>                 URL: http://dev.sourcefabric.org/browse/LS-626
>             Project: Liquidsoap
>          Issue Type: Bug
>          Components: Liquidsoap
>    Affects Versions: 1.0
>         Environment: Ubuntu 12.04 LTS
> Linux microserver 3.2.0-23-lowlatency #31-Ubuntu SMP PREEMPT Wed Apr 11 
> 02:24:03 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
> HP Microserver - AMD Turion II Neo N40L - 64bit
>            Reporter: Francesco P. Sileno
>            Priority: Critical
>         Attachments: crash.tar.gz, deliradio.liq, deliradio.log, kern.log
>
>
> With random times, liquidsoap crashes and kernel report following message:
> Aug  4 13:41:07 microserver kernel: [321135.085369] liquidsoap[18490]: 
> segfault at 11 ip 00007f033db9402c sp 00007f0327d10588 error 4 in 
> libc-2.15.so[7f033db11000+1b3000]
> Nothing strange seems to be reported in the logs.
> The user with which liquidsoap is running on, has been given maximum realtime 
> priority trough limits.conf.
> The anomaly could be in the music archive, really messed up and sometime with 
> corrupted file name, so messed up that current version of Airtime can not 
> correctly handle it (see 
> http://forum.sourcefabric.org/discussion/14321/force-reindex-of-media-files).
> I'm attaching both configuration and log file. And kernel log, with all the 
> crashes reported.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://dev.sourcefabric.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
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-devl mailing list
Savonet-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-devl

Répondre à