[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] copying the chord directives
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] copying the chord directives |
Date: |
Mon, 20 Jul 2009 17:56:27 +0100 |
On Sun, 2009-07-19 at 11:49 -0500, Jeremiah Benham wrote:
> I seem to be having issues with this. putting:
>
> if (note->directives)
> list = g_list_append(list, note->directives);
> in the while loop causes a segfault.
>
> Jeremiah
list = g_list_append(list, note->directives) can only segfault because
list has been corrupted. Did you set it to NULL to start with? Otherwise
you are trying to append to random junk.
If still in difficulty email the code.
Richard