Hi Romain,

I have compiled 1.0.0 beta1, (incl. applied the alsa patch and 
configured with  --enable-debugging option).
The assumed overflow might not be the reason: As a result, after 13h 
21min liquidsoap shuts down and hangs at terminating.
Do you have any other idea?

BR, Peter

ra...@radio:~/radio/liquidsoap-full-1.0.0-beta1$ liquidsoap --version
Liquidsoap 1.0.0-beta1.
Copyright (c) 2003-2010 Savonet team
Liquidsoap is open-source software, released under GNU General Public 
License.
See <http://savonet.sf.net> for more information.

liquidsoap 'output.dummy(fallible=true, input.alsa())'

2010/09/29 10:20:20 >>> LOG START
2010/09/29 10:20:20 [protocols.external:3] Didn't find "ufetch".
2010/09/29 10:20:20 [protocols.external:3] Found "/usr/bin/wget".
2010/09/29 10:20:20 [main:3] Liquidsoap 1.0.0-beta1
2010/09/29 10:20:20 [lang:3] flac binary not found: flac decoder disabled.
2010/09/29 10:20:20 [lang:3] metaflac binary not found: flac metadata 
resolver disabled.
2010/09/29 10:20:20 [lang:3] faad binary not found: faad decoder disabled.
2010/09/29 10:20:20 [lang:3] Lastfm/audioscrobbler support was not compiled.
2010/09/29 10:20:20 [frame:3] Using 44100Hz audio, 25Hz video, 44100Hz 
master.
2010/09/29 10:20:20 [frame:3] Frame size must be a multiple of 1764 
ticks = 1764 audio samples = 1 video samples.
2010/09/29 10:20:20 [frame:3] Targetting 'frame.duration': 0.04s = 1764 
audio samples = 1764 ticks.
2010/09/29 10:20:20 [frame:3] Frames last 0.04s = 1764 audio samples = 1 
video samples = 1764 ticks.
2010/09/29 10:20:20 [threads:3] Created thread "generic queue #1".
2010/09/29 10:20:20 [threads:3] Created thread "src_4111" (1 total).
2010/09/29 10:20:20 [threads:3] Created thread "wallclock_alsa" (2 total).
2010/09/29 10:20:20 [clock.wallclock_alsa:3] Streaming loop starts, no sync.
2010/09/29 10:20:20 [src_4111:3] Using ALSA 1.0.22.
2010/09/29 10:20:20 [src_4111:2] Falling back on interleaved S16LE
2010/09/29 23:51:45 [src_4111:2] Alsa error: Unknown error
2010/09/29 23:51:45 [threads:1] Thread "src_4111" aborts with exception 
Alsa.Unknown_error(-1073741824)!
Thread 3 killed on uncaught exception Alsa.Unknown_error(-1073741824)
Raised at file "", line 0, characters 0-0
2010/09/29 23:51:45 [main:3] Shutdown started!
2010/09/29 23:51:45 [main:3] Waiting for threads to terminate...

^C^C^C^Z
[1]+  Stopped              liquidsoap 'output.dummy(fallible=true, 
input.alsa())'

diff alsa_stubs.c alsa_stubs.c.orig
117,121c117
< /* Here, we use the type snd_pcm_sframes_t
<  * which is long usually and makes sure we
<  * avoid long to int overflow in the read/write
<  * function's return value. */
< static void check_for_err(snd_pcm_sframes_t ret)
---
 > static void check_for_err(int ret)
303c299
<   snd_pcm_sframes_t ret;
---
 >   int ret;
327c323
<   snd_pcm_sframes_t ret;
---
 >   int ret;
353c349
<   snd_pcm_sframes_t ret;
---
 >   int ret;
384c380
<   snd_pcm_sframes_t ret;
---
 >   int ret;
415c411
<   snd_pcm_sframes_t ret;
---
 >   int ret;
447c443
<   snd_pcm_sframes_t ret;
---
 >   int ret;
479c475
<   snd_pcm_sframes_t ret;
---
 >   int ret;
511c507
<   snd_pcm_sframes_t ret;
---
 >   int ret;

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to