Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: wsb@VNET.IBM.COM <wsb@VNET.IBM.COM>
Subject: Re: malloc()
Date: Tue, 15 Jul 97 00:13:17 CDT	[thread overview]
Message-ID: <f5c9883efba85f65cc55fd1eb8d5c510.axp-list@archive.invalid> (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

                 reply	other threads:[~1997-07-15  5:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox