[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Re: [Sheflug - Sheffield Linux User's Group] Re: Segfaults & ld.sowierditude
On Fri, 28 Apr 2000, Stephen J. Turnbull wrote:
> >>>>> "Bob" == Bob Ham <u9rah [at] dcs.shef.ac.uk> writes:
>
> Bob> Anyway, that problem solved, and another one reared it ugly
> Bob> head again. It's a different program, but the code is part
> Bob> of the same project. The problem is in malloc().
>
> Sounds to me like you've got a bogus pointer somewhere that's
> overwriting malloc's private data.
It's that malloc() itself segfaults, as in in the backtrace I get
strdup(), malloc(), malloc() right at the top.
> Are all pointers initialized? No casts of chars to char* or anything
> like that?
Like I say, it's not my instruction that's segfaulting.
> Have you tried Electric Fence and cousins?
Never heard of it; care to expand on that?
Cheers,
Bob
--
Bob Ham: bob [at] timecity.org http://flux.mentaltempt.org/~node/
IRC: 'Bob' on irc.openprojects.net: #Slashdot #TimeCity
ICQ: 4396425 'The Tek' & 27699423 'The Tek.'
Time City Level Designer
Time City: http://www.timecity.org/
My work: http://flux.mentaltempt.org/~node/tc/
This email is Copyright (C) 2000 Robert Ham. Copyright is protected in law
in the UK and by treaty in other countries. Permission to reproduce is
strictly forbidden. If you wish to reproduce this email's content, please
apply by email to bob [at] timecity.org.
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.