[PLUG] Writing a simple editor in C on Linux...

M. Edward (Ed) Borasky zznmeb at gmail.com
Mon Mar 9 03:07:27 UTC 2009


On Sun, Mar 8, 2009 at 7:54 PM, Michael Robinson
<plug_1 at robinson-west.com> wrote:
> The code to empty out my linked list of lines is crashing.
>
> I'm having a heck of time finding this bug.  It only happens
> the third time I try to read a file.  Using backtrace in gdb
> tells me it is happening when I'm dumping the old list prior
> to loading fresh lines into it.  I get a sig abort and it is
> always crashing on a free command.
>
> I realize without putting my code up that people are going to
> have a hard time figuring this one out, though I wonder if
> anyone has any idea how this third times the charm thing
> is happening?

sudo <your distro install command here> ddd

:)
-- 
M. Edward (Ed) Borasky
http://www.linkedin.com/in/edborasky

I've never met a happy clam. In fact, most of them were pretty steamed.



More information about the PLUG mailing list