[LAU] [ANN] klick 0.5

Matthias Schönborn mbs1303 at gmx.de
Thu Jan 24 04:02:03 EST 2008

Am Donnerstag 24 Januar 2008 02:28:06 schrieb Dominic Sacré:
> Hi Matthias,
> On Wednesday 23 January 2008 22:22:36 Matthias Schönborn wrote:
> > Only thing is, that klick gets segmentation faults a lot of the times -
> > I'm using it with ardour with transport enabled, and most of the times I
> > start the song in ardour, klick exits with a segmentation fault (core
> > dumped). Is there anything I can do about it?
> I can't reproduce that here... Could you please build a debug version of
> klick? To do this, edit the SConstruct file, and replace "-O2" with "-g" in
> line 8. Then build and install as usual.
> Before you start klick, run "ulimit -c unlimited" in the same shell. This
> will produce a core dump (named core or core.$PID) in the current directory
> when klick crashes. To inspect the core dump, run "gdb klick <core>". If
> you could send me the output of "thread apply all bt", that should help to
> find out what the problem is.
> Thanks,
>     Dominic

Hi Dominic,

I realised that when using 128 Frames per Period instead of 64, it works 
perfectly. At least it did for like three hours yesterday evening. It's a 
great tool for composing, I think!

See below for the output.

Viele Grüße

(gdb) thread apply all bt

Thread 2 (process 5965):
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7d05e96 in nanosleep () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7d3fb3c in usleep () from /lib/tls/i686/cmov/libc.so.6
#3  0x0804ab80 in Klick::run (this=0x807a008) at klick.cc:174
#4  0x0804a8bb in main (argc=8, argv=0xbffc1784) at main.cc:39

Thread 1 (process 5968):
#0  0x08051ce6 in AudioInterface::process_mix_samples (this=0x807a138, 
dest=0xb7c24000, src=0x807b8f8,
    length=2122, volume=1) at audio_interface.cc:197
#1  0x08051ef2 in AudioInterface::process_mix (this=0x807a138, 
buffer=0xb7c13a00, nframes=64)
---Type <return> to continue, or q <return> to quit---
    at audio_interface.cc:181
#2  0x08051ff9 in AudioInterface::process_callback_ (nframes=64, 
arg=0x807a138) at audio_interface.cc:139
#3  0xb7f81f09 in ?? () from /usr/lib/libjack.so.0
#4  0x00000040 in ?? ()
#5  0x0807a138 in ?? ()
#6  0x000003e8 in ?? ()
#7  0x00000003 in ?? ()
#8  0x00000000 in ?? ()

# Additionally, here's the jack message:

subgraph starting at qjackctl-5885 timed out (subgraph_wait_fd=20, status = 0, 
state = Finished)
09:51:18.046 Audio connection graph change.
09:51:18.046 XRUN callback (1).
**** alsa_pcm: xrun of at least 1998.404 msecs

More information about the Linux-audio-user mailing list