On Wednesday 30 September 2009 13:16, William Weston wrote:
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@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@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
Doh!! No it's still not working using pre1. Tried the compile as a
straight ./configure, make, make install, and also using aclocal, and friends
prior to ./configure. Both times I used --enable-arch=native. Output below
from starting it on command line.
[djmons@localhost djmons]$ ssh 192.168.0.191
djmons(a)192.168.0.191's password:
Last login: Sat Sep 26 20:33:36 2009 from 192.168.0.230
[djmons@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 0xb72706c0
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: 2048.
Unable to start MIDI thread.
[djmons@myhost ~]$
I've attached the history file for the compile. Maybe something will stand
out.
By the way, I built 0.12.0beta4 on the same machine on a Kubuntu Intrepid
install, and phasex works ok on that.
Also, make uninstall only removes the phasex binary, and
leaves /usr/local/share/themes folder, and /usr/local/share/phasex folder,
and contents.
CPU is as below, but all OS's are 32bit.
*-cpu
product: AMD Athlon(tm) 64 Processor 3800+
vendor: Advanced Micro Devices [AMD]
physical id: 7
bus info: cpu@0
version: 15.15.2
size: 2400MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8
apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx
mmxext fxsr_opt rdtscp x86-64 3dnowext 3dnow up extd_apicid pni cx16 lahf_lm
svm extapic cr8_legacy
*-cache:0
description: L1 cache
physical id: 0
size: 128KiB
*-cache:1
description: L2 cache
physical id: 1
size: 512KiB
*-memory:1 UNCLAIMED
description: RAM memory
product: MCP61 Memory Controller
vendor: nVidia Corporation
physical id: 0
bus info: pci@0000:00:00.0
version: a1
width: 32 bits
clock: 66MHz (15.2ns)
capabilities: bus_master cap_list
configuration: latency=0
Over to you.
Nigel.