* Re: malloc()
@ 1997-07-15 5:13 wsb
0 siblings, 0 replies; only message in thread
From: wsb @ 1997-07-15 5:13 UTC (permalink / raw)
To those that responded, Thanks. I still don't understand why gdb SIGSEGV's
but I found the problem. Turns out there were some free()'s that were
attempting to release some char[]'s in the middle of an array of structures.
It would seem that the whole array of structures disappeared when free()'d.
which caused the symptom I described. Only way I could track it was by
adding prints into the code and running until I isolated where the code
failed. Sure wish gdb had worked....
Also, it's interesting to note I built the same code on a PPro and it
would fail the same way as my Alpha so that confirmed it wasn't a 32vs64
bit problem.
Wes
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-07-15 5:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-15 5:13 malloc() wsb
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox