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

From: Nigel Henry <cave.dnb2m97pp@email-addr-hidden>
Date: Wed Sep 30 2009 - 17:22:41 EEST

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@email-addr-hidden ~]$ /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@email-addr-hidden ~]$
> >
> > 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@email-addr-hidden djmons]$ ssh 192.168.0.191
djmons@email-addr-hidden's password:
Last login: Sat Sep 26 20:33:36 2009 from 192.168.0.230
[djmons@email-addr-hidden ~]$ /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@email-addr-hidden ~]$

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@email-addr-hidden
          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@email-addr-hidden:00:00.0
          version: a1
          width: 32 bits
          clock: 66MHz (15.2ns)
          capabilities: bus_master cap_list
          configuration: latency=0

Over to you.

Nigel.

_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-user

Received on Wed Sep 30 20:15:06 2009

This archive was generated by hypermail 2.1.8 : Wed Sep 30 2009 - 20:15:06 EEST