[Asterisk-Dev] bug in res_monitor ?

Mike M no-linux-support at earthlink.net
Fri Jan 7 07:41:28 MST 2005


On Fri, Jan 07, 2005 at 03:21:23PM +0200, Alexandru Coseru wrote:
> Here is what I've got when exit from an custom application the does some monitoring on a channel (using pbx_findapp and pbx_exec).
<snip>

You wrote a custom app that is core dumping and you are not posting
the code?  Did I miss something?

> Segmentation fault (core dumped)

What _always_ works for me is to remove code until the s/f goes away.
I use:

#if 0
#endif

to remove large chunks at once.

Once the s/f goes away, then you start adding back in until you narrow
in on what is producing the s/f.
> 
> Here is the gdb output:

Never use the stuff myself :-).



More information about the asterisk-dev mailing list