Re: Malloc bug?

2 messages, 2 authors, 2000-07-19 · open the first message on its own page

Re: Malloc bug?

From: David Edelsohn <hidden>
Date: 2000-07-18 21:37:09

quoted
quoted
quoted
quoted
Nathan Ingersoll writes:
Nathan> On Tue, 18 Jul 2000, Paul Schinder wrote:
quoted
At 3:40 PM -0500 7/18/00, Nathan Ingersoll wrote:
quoted
I've been working on a GTK program for a while now, and I've been
experiencing segfaults within malloc. I was under the impression that
malloc should always return successfully (at least that's what the man
page says).
Nathan> Right, but it's not returning at all. It's segfaulting inside the malloc
Nathan> function before it returns anything.

	Sounds more like something is overwriting one of malloc's internal
data areas or possibly hitting some weird ulimit symptom.

David

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Malloc bug?

From: Sean Chitwood <hidden>
Date: 2000-07-19 02:01:19

I've seen this before while trying to debug mozilla. Once I loaded the glibc symbols it stopped breaking, so I'd set a breakpt @ main() then load the symbols.

	Sean

On Tue, 18 Jul 2000, David Edelsohn wrote:
quoted
quoted
quoted
quoted
quoted
Nathan Ingersoll writes:
Nathan> On Tue, 18 Jul 2000, Paul Schinder wrote:
quoted
quoted
At 3:40 PM -0500 7/18/00, Nathan Ingersoll wrote:
quoted
I've been working on a GTK program for a while now, and I've been
experiencing segfaults within malloc. I was under the impression that
malloc should always return successfully (at least that's what the man
page says).
Nathan> Right, but it's not returning at all. It's segfaulting inside the malloc
Nathan> function before it returns anything.

	Sounds more like something is overwriting one of malloc's internal
data areas or possibly hitting some weird ulimit symptom.

David

	Sean aka Darkmane
+------------------------------
+ On October 16, 1999 A.D.
+ Sean Chitwood proudly proclaimed
+ his love for Melissa Webb
+ and made her his lifemate
+------------------------------


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help