Emiliano wrote:


> Does anyone know a way to generate backtraces from within a program? It 
> would be most useful to have these asserts log a backtrace. In itself, 
> this message gives little clue on why res or pool is NULL.

Ahum, a little more research wouldn't have hurt. For those masochistic 
enough to try, attached you'll find a patch that should generate 
backtraces. BEWARE: this has seen very little testing, and only works if 
you have glibc >= 2.1

Emile

backtrace.patch.gz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to