Re: My strange problems
Re: My strange problems
- Subject: Re: My strange problems
- From: super bady <email@hidden>
- Date: Thu, 11 Nov 2004 16:18:55 +0800
Eric, thanks a lot for your suggestion!
I enable Guard Malloc in the Xcode. But the application receives a
"SIGTRAP" signal soon when it is only loding the libraries for an
error of multiple definition of symbol.
Accroding to the document of libgmalloc, DYLD_FORCE_FLAT_NAMESPACE
must be set to use it. But at the same time, the document of DYLD also
point that it may cause error of multiple definitions of symbol once
the env of DYLD_FORCE_FLAT_NAMESPACE is set.
We really have same symbol names in different library, but they are
in different namespace. And it may be impossble for us to change all
the same names to different ones for the high cost.
Is there other ways for us to get the callstack? or Is there a
Guard Malloc library which support namespace?
I still confuse that why the applicaton works using a release
library but crash with debug one. Can we conclude that the crash is
not caused by code itself?
On Wed, 10 Nov 2004 21:34:50 -0800, Eric Albert <email@hidden> wrote:
> On Nov 10, 2004, at 9:29 PM, super bady wrote:
>
> > For callstack cann't be abtained when crashing, I do not know who
> > cause this crash. Code the that strange library or GCC. For this
> > project is a little large, I am not sure that whether it has exceeded
> > the capacity of gcc or gdb.
> > Have you met such problem befor? Any suggestions is appreciated.
>
> Sounds like you're smashing the stack, which often destroys the
> information needed to construct the backtrace. Try running your
> application with Guard Malloc ('man libgmalloc' for details). That
> should pinpoint the place where you're smashing the stack.
>
> Hope this helps,
> Eric
>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden