[LAU] ANNOUNCE: PHASEX v0.10.0

Nigel Henry cave.dnb at tiscali.fr
Sun May 6 13:23:53 EDT 2007


On Friday 04 May 2007 22:39, William Weston wrote:
> On Fri, 4 May 2007, Nigel Henry wrote:
> > On Friday 04 May 2007 05:42, William Weston wrote:
> > > Could you let me know how that FC5 and Debian builds go?
> > >
> > > Thanks,
> > > --ww
> >
> > It builds ok on Debian Etch, using v0.10.1, but segfaults after a few
> > seconds, even without touching anything on the GUI. If I try to load a
> > patch, or open the file menu, it segfaults immediately. GTK version on
> > Etch is libgtk2.0-0 installed 2.8.20-7.  Output from starting Phasex on
> > the CLI below.

> > Now this is really weird. I started Phasex from FC2, and the GUI opened
> > in FC2, and I'm waiting for it to segfault. A minute later, and it's
> > still running. So I play around with the file menu, load one of the
> > patches, play a bit, and I cannot get it to segfault.
> >
> > Close it on FC2, and no problems showing on the CLI on FC2, as below.
>
ww
> Weird.  I have a patch below for the knob code... will most likely make
> older gtk versions happier.  Otherwise, I have no clue without putting gdb
> on it to catch the segfault.

> This change was given to me and I forgot to put it into 0.10.1:
>
> --- phasex-0.10.0/src/gtkknob.c 2007-04-30 21:45:13.000000000 -0700
> +++ phasex/src/gtkknob.c 2007-05-04 01:29:50.000000000 -0700
> @@ -238,7 +238,7 @@
>      attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL |
> GDK_WA_COLORMAP; widget->window = gdk_window_new(widget->parent->window,
> &attributes, attributes_mask);
>
> -    widget->style = gtk_style_attach(widget->parent->style,
> widget->window); +    widget->style = gtk_style_attach(widget->style,
> widget->window);
>
>      gdk_window_set_user_data(widget->window, widget);
>
> If this fixes your proplem, then this patch is definitely going into
> 0.10.2.
>
> Thanks for the troubleshooting.  You've been a great help!
> --ww

Apologies for the delay in replying. I havn't used "patch" before, and have 
just edited the gtkknob.c file by hand, after doing a make uninstall for 
phasex.

I don't know whether I needed to do a ./configure, and make again after 
patching the file, but I did, and after a make install, Phasex is working ok. 
No crashes.

That's on Debian Etch, but as the change to that line has fixed the problem, 
it no doubt will fix it on FC5 as well.

I don't think the problem was machine related, as I had the same problem with 
Phasex crashing when built on FC5 on the other machine. It would crash on the 
machine it was built on, but again, if I ssh into that machine from Etch, it 
works fine.

The rpm for FC6 works fine, but jack-audio-connection-kit from Fedora extras 
appeared to be broken. I had to get an update from planetccrma for jack, 
before I could try Phasex on FC6.

I've also got Kubuntu (breezy), and Slackware 10.0 on the same machine as 
Etch, which I've just put back onto testing/lenny. I suspect though there may 
be the same GTK problems as on FC2 with them. As I'm watching snooker at the 
moment, I'll have to check that out later.

Nigel.





More information about the Linux-audio-user mailing list