Bug#438702: Asterisk v1.4.9~dfsg-1 Crashed
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sun Aug 19 15:17:35 UTC 2007
On Sun, Aug 19, 2007 at 12:18:39PM +0800, GNUbie wrote:
> Package: asterisk
> Version: 1.4.9~dfsg-1
>
> I re-built the asterisk v1.4.9~dfsg-1 from the Debian Unstable repository,
> installed the .deb packages generated on my Debian GNU/Linux Etch and
> working fine. Until now when I tried to call a local PSTN number the call
> was disconnected. I immediately entered the Asterisk's shell and set the
> verbose to 10 and made a new call to the same number and my Asterisk
> crashed. Below is a summary of what I just did after my first call was
> disconnected:
>
> # asterisk -r
> Asterisk 1.4.9, Copyright (C) 1999 - 2007 Digium, Inc. and others.
> Created by Mark Spencer <markster at digium.com>
> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for
> detail s.
> This is free software, with components licensed under the GNU General Public
> License version 2 and other licenses; you are welcome to redistribute it
> under
> certain conditions. Type 'core show license' for details.
> =========================================================================
> Connected to Asterisk 1.4.9 currently running on gnubie (pid = 15375)
> gnubie*CLI> core set verbose 10
> Verbosity was 0 and is now 10
> -- Executing [962389378 at extensions:1] Dial("SIP/201-081f5308",
> "Zap/g1/62389378") in new stack
> [Aug 19 12:03:31] WARNING[16232]: app_dial.c:1106 dial_exec_full: Unable to
> create channel of type 'Zap' (cause 34 - Circuit/channel congestion)
> == Everyone is busy/congested at this time (1:0/1/0)
> -- Executing [962389378 at extensions:2] Congestion("SIP/201-081f5308", "")
> in new stack
> == Spawn extension (extensions, 962389378, 2) exited non-zero on
> 'SIP/201-081f5308'
> -- Zap/4-1 is busy
> -- Hungup 'Zap/4-1'
> gnubie*CLI>
> Disconnected from Asterisk server
>
> # dpkg -l | grep asterisk
> ii asterisk 1.4.9~dfsg-1 Open
> Source Private Branch Exchange (PBX)
> ii asterisk-config 1.4.9~dfsg-1 config
> files for asterisk
> ii asterisk-doc 1.4.9~dfsg-1
> documentation for asterisk
> ii asterisk-sounds-main 1.4.9~dfsg-1 sound
> files for asterisk
>
> # dpkg -l | grep zaptel
> ii zaptel 1.4.4~dfsg-1 zapata
> telephony utilities
> ii zaptel-modules-2.6.18-4-686 1.4.4~dfsg-1+2.6.18.dfsg.1-12etch2 zaptel
> modules for Linux (kernel 2.6.18-4-68
>
> # uname -r
> 2.6.18-4-686
>
> # cat /etc/debian_version
> 4.0
>
> I suggest that the Asterisk must not crash no matter what call operation a
> user will do.
Indeed.
So let's try to track this down.
To get a core file:
echo '/tmp/core.%e.%t' >/proc/sys/kernel/core_pattern
Enable the -g flag to Asterisk by editing the init.d script (there's an
example in the default file but when I look at it now it seems to be
slightly wrong: it tries to mess with core_pattern as well).
Please install thepackage asterisk-dbg to produce useful backtraces.
(I've just commited some fixes to that said part. But the text I have
added is probably too lengthy to be useful. I also don't like the
messing with the global core_pattern, even though you can do cool things
with it. But I have no better suggestions)
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir at jabber.org
+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