[LAU] Phasex. Unable to start MIDI thread, then segfaults

William Weston weston at sysex.net
Wed Sep 30 07:16:26 EDT 2009


On Sat, 26 Sep 2009, Nigel Henry wrote:

> This is phasex-0.12.0-beta4 on archlinux.
>
> It compiles ok, but fails to start with the following output when run from the
> command line.
>
> djmons at myhost ~]$ /usr/local/bin/phasex -d
> Raw Waveform '/usr/local/share/phasex/sys-samples/juno_osc.raw': 2809 samples
> Raw Waveform '/usr/local/share/phasex/sys-samples/juno_saw.raw': 5629 samples
> Raw Waveform '/usr/local/share/phasex/sys-samples/juno_square.raw': 5634
> samples
> Raw Waveform '/usr/local/share/phasex/sys-samples/juno_poly.raw': 2814 samples
> Raw Waveform '/usr/local/share/phasex/sys-samples/vox_1.raw': 1193 samples
> Raw Waveform '/usr/local/share/phasex/sys-samples/vox_2.raw': 706 samples
> Initializing JACK client from thread 0xb71426c0
> Unique JACK client name 'phasex-01' assigned.
> JACK is running with realtime scheduling.
> JACK sample rate:  44100
> Internal sample rate:  44100
> JACK requested sample rate:  44100
> JACK output buffer size:  1024.
> Unable to start MIDI thread.
> Segmentation fault
> [djmons at myhost ~]$
>
> Anyone know what the "Unable to start MIDI thread" bit means, and how I might
> resolve the problem?
>
> Nigel.

The MIDI thread starts after the ALSA MIDI initialization, and is 
the first thread to be created (which tells me that phasex is having 
troubles creating threads).  0.12.0-pre1 fixes the problem with 
libpthread not being linked in with gcc/glibc versions that don't 
automatically take care of this at compile time.

Try building phasex-0.12.0-pre1 from source.  If the segfault 
doesn't go away, let me know.

http://sysex.net/phasex


Cheers,
--ww



More information about the Linux-audio-user mailing list