Re: backtrace can't work with check malloc

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization Centrium GmbH
Message-ID <[email protected]>
Hi,

it's known problem, just don't use check malloc yet or change backtrace to:
strings = backtrace_symbols(stack_frames, size);
....
#ifdef free
#undef free
free(strings);
#endif
....

On Friday 25 June 2004 09:04, zhu shi song wrote:
> I use check malloc to compile cvs-20040622 version.
> ....
> strings = backtrace_symbols(stack_frames, size);
> gw_claim_area(strings);
> ....
> gw_free(strings)
> ....
> in log.c can't work.  because strings is allocated by libc not by
> gw_malloc. tks
> zhu
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!

-- 
Best regards / Mit besten Grüßen aus Düsseldorf

Dipl.-Ing.
Alexander Malysh
___________________________________________

Centrium GmbH
Vogelsanger Weg 80
40470 Düsseldorf

Fon: +49 (0211) 74 84 51 80
Fax: +49 (0211) 277 49 109

email: [email protected]
web: www.centrium.de
msn: [email protected]
icq: 98063111
___________________________________________

Please avoid sending me Word, Excel or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.