[RDD] caed segfault xrun

Du Du dudu19230 at hotmail.com
Mon Nov 22 18:04:24 EST 2010


Hi,
I have some trouble with caed causing airplay segfaulting.
I found this :
Here is syslog when I launch caed,ripcd,rdcatchd manually in a term :

Nov 22 23:26:18 caed: Starting ALSA Play Device rd0:
Nov 22 23:26:18 caed:   Format = 16 bit little-endian
Nov 22 23:26:18 caed:   SampleRate = 44100
Nov 22 23:26:18 caed:   Aggregate Channels = 2
Nov 22 23:26:18 caed:   Periods = 8
Nov 22 23:26:18 caed:   BufferSize = 8192 frames
Nov 22 23:26:18 caed:   Device started successfully
Nov 22 23:26:18 caed: Starting ALSA Capture Device rd0:
Nov 22 23:26:18 caed:   Format = 16 bit little-endian
Nov 22 23:26:18 caed:   SampleRate = 44100
Nov 22 23:26:18 caed:   Aggregate Channels = 2
Nov 22 23:26:18 caed:   Periods = 8
Nov 22 23:26:18 caed:   BufferSize = 8192 frames
Nov 22 23:26:18 caed:   Device started successfully
Nov 22 23:26:18 caed: Starting ALSA Play Device rd1:
Nov 22 23:26:18 caed:   Format = 16 bit little-endian
Nov 22 23:26:18 caed:   SampleRate = 44100
Nov 22 23:26:18 caed:   Aggregate Channels = 6
Nov 22 23:26:18 caed:   Periods = 8
Nov 22 23:26:18 caed:   BufferSize = 5456 frames
Nov 22 23:26:18 caed:   Device started successfully
Nov 22 23:26:18 caed: period size mismatch - wrote 17 
Nov 22 23:26:18 caed: period size mismatch - wrote 96 
Nov 22 23:26:18 caed: period size mismatch - wrote 59 
Nov 22 23:26:18 caed: period size mismatch - wrote 61 
Nov 22 23:26:18 caed: period size mismatch - wrote 106 
Nov 22 23:26:18 caed: using realtime scheduling, priority=8
Nov 22 23:26:18 caed: cae started
Nov 22 23:26:18 caed: cae saveState(), set restart hint to Never
Nov 22 23:26:21 ripcd: started
Nov 22 23:26:21 ripcd: ripcd saveState(), set restart hint to Never
Nov 22 23:26:28 rdcatchd: rdcatchd engine load starts...
Nov 22 23:26:28 rdcatchd: loaded 0 events
Nov 22 23:26:28 rdcatchd: rdcatchd engine load ends
Nov 22 23:26:28 rdcatchd: rdcatchd started
Nov 22 23:26:28 rdcatchd: rdcatchd saveState(), set restart hint to Never


And now syslog when a rd module launches daemons :

Nov 22 23:45:12 caed: Starting ALSA Play Device rd0:
Nov 22 23:45:12 caed:   Format = 16 bit little-endian
Nov 22 23:45:12 caed:   SampleRate = 44100
Nov 22 23:45:12 caed:   Aggregate Channels = 2
Nov 22 23:45:12 caed:   Periods = 8
Nov 22 23:45:12 caed:   BufferSize = 8192 frames
Nov 22 23:45:12 caed:   Device started successfully
Nov 22 23:45:12 caed: *** alsa error 32: Relais brisé (broken pipe)
Nov 22 23:45:12 caed: Starting ALSA Capture Device rd0:
Nov 22 23:45:12 caed:   Format = 16 bit little-endian
Nov 22 23:45:12 caed:   SampleRate = 44100
Nov 22 23:45:12 caed:   Aggregate Channels = 2
Nov 22 23:45:12 caed:   Periods = 8
Nov 22 23:45:12 caed:   BufferSize = 8192 frames
Nov 22 23:45:12 caed: ****** ALSA Playout Xrun - Card: 0 ******
Nov 22 23:45:12 caed:   Device started successfully
Nov 22 23:45:12 caed: Starting ALSA Play Device rd1:
Nov 22 23:45:12 caed:   Format = 16 bit little-endian
Nov 22 23:45:12 caed:   SampleRate = 44100
Nov 22 23:45:12 caed:   Aggregate Channels = 6
Nov 22 23:45:12 caed:   Periods = 8
Nov 22 23:45:12 caed:   BufferSize = 5456 frames
Nov 22 23:45:12 caed:   Device started successfully
Nov 22 23:45:12 caed: period size mismatch - wrote 18 
Nov 22 23:45:12 caed: period size mismatch - wrote 129 
Nov 22 23:45:12 caed: period size mismatch - wrote 59 
Nov 22 23:45:12 caed: period size mismatch - wrote 60 
Nov 22 23:45:12 caed: period size mismatch - wrote 122 
Nov 22 23:45:13 caed: using realtime scheduling, priority=8
Nov 22 23:45:13 caed: cae started
Nov 22 23:45:13 ripcd: started
Nov 22 23:45:15 rdcatchd: rdcatchd engine load starts...
Nov 22 23:45:15 rdcatchd: loaded 0 events
Nov 22 23:45:15 rdcatchd: rdcatchd engine load ends
Nov 22 23:45:15 rdcatchd: rdcatchd started
Nov 22 23:45:16 caed: cae saveState(), set restart hint to Never
Nov 22 23:45:16 ripcd: ripcd saveState(), set restart hint to Never
Nov 22 23:45:16 rdcatchd: rdcatchd saveState(), set restart hint to Never


This second case causes a lot of alsaStopTimerData() and finally segfault after several hours of airplay.
No problem with the first case.

Device rd0 is onboard, rd1 is pci Terratec aureon 5.1
48k samplerate does not solve.

In all cases daemons seems to be launched as root.
Rivendell >1.5 on ubuntu 8.04

Any idea?
Regards.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rivendellaudio.org/pipermail/rivendell-dev/attachments/20101122/c7991fb4/attachment-0001.htm 


More information about the Rivendell-dev mailing list