[asterisk-users] How to generate core dump?

Mark Michelson mmichelson at digium.com
Mon Mar 2 09:14:43 CST 2009


Ken D'Ambrosio wrote:
> Asterisk segfaulted on me the other day; how do I tell it to generate a
> core file so -- if it happens again -- I can attempt to debug?  I looked
> in the obvious places in "make menuconfig" and didn't see anything
> appropriate.
> 
> Thanks,
> 
> -Ken
> 
> 

Run Asterisk with the -g option and it will dump a core file if it should crash.

Mark Michelson



More information about the asterisk-users mailing list