Re: [LAD] [LAU] FW: Frequency Space Editors in Linux

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Kjetil S. Matheussen <k.s.matheussen@...>
Cc: <linux-audio-dev@...>
Date: Thursday, May 5, 2011 - 3:10 am

--bcaec53af0e04bf01304a27eb51c
Content-Type: text/plain; charset=ISO-8859-1

Hmm... I still seem to be getting a segfault on line 195 of undo.c:

while(num_undos!=0 && num_undos>UNDO_getMaxNumUndos()){
struct Undo_transform *ut=(struct Undo_transform*)UndoRoot.next;
struct Undo *temp=UndoRoot.next->next;

TF_delete(ut->megfreqfile);
TF_delete(ut->megampfile);
free(ut);

num_undos--;
UndoRoot.next=temp;
UndoRoot.next->prev=&UndoRoot; //Right here I get the segfault.
}

Seems like this is due to some mishandling of a linked list somewhere along
the line.

Jeremy

On Wed, May 4, 2011 at 10:27 PM, Jeremy Salwen wrote:

> Hi Kjetil:

--bcaec53af0e04bf01304a27eb51c
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hmm... I still seem to be getting a segfault on line 195 of undo.c:=
=A0while(num_undos!=3D0 && num_undos>UNDO_getMaxNumUndos()){=
=A0=A0=A0 struct Undo_transform *ut=3D(struct Undo_transform*)UndoRoot.next=
;=A0=A0=A0 struct Undo *temp=3DUndoRoot.next->next;

=A0=A0=A0 =A0=A0=A0 TF_delete(ut->megfreqfile);=A0=A0=A0 TF_dele=
te(ut->megampfile);=A0=A0=A0 free(ut);=A0=A0=A0 =A0=A0=A0 nu=
m_undos--;=A0=A0=A0 UndoRoot.next=3Dtemp;=A0=A0=A0 UndoRoot.next-&g=
t;prev=3D&UndoRoot;=A0 //Right here I get the segfault.

=A0 }Seems like this is due to some mishandling of a linked list so=
mewhere along the line.JeremyOn =
Wed, May 4, 2011 at 10:27 PM, Jeremy Salwen <jeremysalwen@gmail.com> wr=
ote:

Hi Kjetil:Thanks a lot!I had to make a few changes to get it to work on my s=
ystem. Most significantly, it uses gnome/glade/pygtk 1.2, which doesn't=
work well with a recent Debian install (Gtk 2 has been released for nearly=
10 years).

Also, it includes libraries which are already available on most linux s=
ystems through a package manager.=A0 Thus I've made a few changes:=A0 r=
emoved the libraries except for sndlib (and made it use the system copies o=
f the libraries in their place), and updated the pygtk and glade code to gt=
k2.

If you're interested in incorporating any of these changes into Cer=
es, you can see the changes in a git repository here: https://github.com/je=
remysalwen/Ceres-Debian

or download the changed package at https://github.com/je=
remysalwen/Ceres-Debian/tarball/0.57-1
J=
eremy

On Mon, May=
2, 2011 at 8:52 AM, Kjetil S. Matheussen <k.s.matheussen@notam02.=
no
> wrote:

Jeremy Salwen:

I just recently discovered ceres3:
http://www.music.columbia.edu/~stanko/About_Ceres3.=
html

have you heard of it?

Ceres is larger and more updated than Ceres3.
http://archive.notam02.no/arkiv/src/ceres-0.57.tar.gz
(Ceres3 has a few more options for some
of the transforms, but lacks lots of other stuff.)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

--bcaec53af0e04bf01304a27eb51c--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAD] [LAU] FW: Frequency Space Editors in Linux, Kjetil S. Matheussen, (Mon May 2, 12:52 pm)
Re: [LAD] [LAU] FW: Frequency Space Editors in Linux, Jeremy Salwen, (Thu May 5, 2:27 am)
Re: [LAD] [LAU] FW: Frequency Space Editors in Linux, Kjetil S. Matheussen, (Thu May 5, 7:41 am)
Re: [LAD] [LAU] FW: Frequency Space Editors in Linux, Jeremy Salwen, (Thu May 5, 7:57 am)
Re: [LAD] [LAU] FW: Frequency Space Editors in Linux, Jeremy Salwen, (Thu May 5, 3:10 am)
Re: [LAD] [LAU] FW: Frequency Space Editors in Linux, Kjetil S. Matheussen, (Thu May 5, 7:41 am)