[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: geda segmentation fault
On Monday 14 March 2005 03:02, Ales Hvezda wrote:
> >Crash in line 1081:
> >The enum with the extensions is longer than the ExtList[]
>
> I'm guessing the crash is caused by EXT_VVP not being in
> the ExtList. I'm apply this patch and we shall see what happens.
> Thanks Werner.
Sorry for my poor description.
The ExtList[] is copied into a linked list. The iteration loop which is
doing that, uses the last element of the enum as the length of the
ExtList.
As the enum was too long the loop appended random memory data to the
linked list. The seg-fault happened much later when the wrong end of
the list was accessed.
regards
Werner