Debian Bug report logs - #658690
Segmentation fault on start

version graph

Package: asterisk; Maintainer for asterisk is Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>; Source for asterisk is src:asterisk.

Reported by: Arie Skliarouk <skliarie@gmail.com>

Date: Sun, 5 Feb 2012 09:30:01 UTC

Severity: normal

Found in version asterisk/1:1.8.8.2~dfsg-1

Done: Arie Skliarouk <skliarie@gmail.com>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>:
Bug#658690; Package asterisk. (Sun, 05 Feb 2012 09:30:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arie Skliarouk <skliarie@gmail.com>:
New Bug report received and forwarded. Copy sent to Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>. (Sun, 05 Feb 2012 09:30:08 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Arie Skliarouk <skliarie@gmail.com>
To: submit@bugs.debian.org
Subject: Segmentation fault on start
Date: Sun, 5 Feb 2012 11:26:47 +0200
[Message part 1 (text/plain, inline)]
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:
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 (mv
/usr/lib/asterisk/modules/res_jabber.so
/usr/lib/asterisk/modules/res_jabber.so_crashes):
[Feb  5 11:18:48] WARNING[15537]: loader.c:449 load_dynamic_module: Error
loading module 'chan_gtalk.so': /usr/lib/asterisk/modules/chan_gtalk.so:
undefined symbol: ast_aji_get_client
[Feb  5 11:18:48] WARNING[15537]: loader.c:839 load_resource: Module
'chan_gtalk.so' could not be loaded.
[Feb  5 11:18:48] WARNING[15537]: loader.c:449 load_dynamic_module: Error
loading module 'chan_jingle.so': /usr/lib/asterisk/modules/chan_jingle.so:
undefined symbol: ast_aji_get_client
[Feb  5 11:18:48] WARNING[15537]: loader.c:839 load_resource: Module
'chan_jingle.so' could not be loaded.
Segmentation fault

t11:~# uname -a
Linux t11 3.1.0-1-486 #1 Tue Jan 10 04:55:10 UTC 2012 i686 GNU/Linux

There is no -586 kernel in the repository anymore, and -686 can't be used
as the CPU is VIA Nehemiah.

--
Arie
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>:
Bug#658690; Package asterisk. (Sun, 05 Feb 2012 12:03:58 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tzafrir Cohen <tzafrir.cohen@xorcom.com>:
Extra info received and forwarded to list. Copy sent to Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>. (Sun, 05 Feb 2012 12:04:52 GMT) Full text and rfc822 format available.

Message #10 received at 658690@bugs.debian.org (full text, mbox):

From: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
To: Arie Skliarouk <skliarie@gmail.com>, 658690@bugs.debian.org
Subject: Re: Bug#658690: Segmentation fault on start
Date: Sun, 5 Feb 2012 14:00:33 +0200
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@xorcom.com
+972-50-7952406           mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir




Reply sent to Arie Skliarouk <skliarie@gmail.com>:
You have taken responsibility. (Sun, 05 Feb 2012 12:36:37 GMT) Full text and rfc822 format available.

Notification sent to Arie Skliarouk <skliarie@gmail.com>:
Bug acknowledged by developer. (Sun, 05 Feb 2012 12:36:40 GMT) Full text and rfc822 format available.

Message #15 received at 658690-close@bugs.debian.org (full text, mbox):

From: Arie Skliarouk <skliarie@gmail.com>
To: 658690-close@bugs.debian.org
Subject: Re: Bug#658690: Segmentation fault on start
Date: Sun, 5 Feb 2012 14:33:38 +0200
[Message part 1 (text/plain, inline)]
My mistake - I had /usr/lib/asterisk/modules/backticks.so module compiled
with an old version of asterisk.

Closing the bug.

--
Arie



On Sun, Feb 5, 2012 at 14:00, Tzafrir Cohen <tzafrir.cohen@xorcom.com>wrote:

> 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@xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen@xorcom.com
> http://www.xorcom.com  iax:guest@local.xorcom.com/tzafrir
>
[Message part 2 (text/html, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 05 Mar 2012 07:40:40 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 04:41:59 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.