Bug#658690: Segmentation fault on start

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Feb 5 12:00:33 UTC 2012


On Sun, Feb 05, 2012 at 11:26:47AM +0200, Arie Skliarouk wrote:
> Package: asterisk
> Version: 1:1.8.8.2~dfsg-1
> 
> The program segfaults on each run. /var/log/kern.log has the following
> lines:
> Feb  5 11:11:56 t11 kernel: [964267.149889] asterisk[15396]: segfault at
> 4728203a ip 0810bd70 sp bfffc830 error 4 in asterisk[8048000+1c6000]
> 
> If I run "asterisk -vvvvv", the last lines are:

Note: if you run Asterisk manually, it is a good idea to use '-U
asterisk' to make sure Asterisk won't accidentally create files as root
which will make it fail starting later on. But this is unrelated to the
current issue.

> JABBER: asterisk OUTGOING: <?xml version='1.0'?><stream:stream
> xmlns:stream='http://etherx.jabber.org/streams' xmlns='jabber:client' to='
> gmail.com' version='1.0'>
> Segmentation fault
> 
> Renaming of res_jabber.so produced different message

[snip]

I suggest you try:

  strace -f asterisk -F -U asterisk

and see what is the last module loaded.

Alternatively, to get a stack trace:

  asterisk -g

You may or may not add '-U asterisk' here. You should run Asterisk from
a directory in which it has write access to, in order for it to be able
to dump core files.

In order for the stack trace to be usable, install:

  apt-get install gdb asterisk-dbg

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir





More information about the Pkg-voip-maintainers mailing list