Bug#649431: asterisk: Segmentation fault in asterisk -r

Vincent Smeets Vincent.VSmeets at GMail.com
Sun Nov 20 21:56:21 UTC 2011


Package: asterisk
Version: 1:1.8.7.1~dfsg-1
Severity: normal

Hello,

I just installed asterisk and made no changes to any configuration files
so they are still in there original state.

Whenever I start the command:
# asterisk -r
I get a segmentation violation and can"t connect to the deamon. The
attachement show a gdb session with a backtrace of the error.

Yesterday I also installed the asterisk package (probably version
1:1.8.4.4~dfsg-2) and had no problems. I then uninstalled and purged
everything yesterday and today I installed it again. So I think the
problem has something to do with the new version 1:1.8.7.1~dfsg-1.

Regards,
V. Smeets

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages asterisk depends on:
ii  adduser                                           3.113           
ii  asterisk-config                                   1:1.8.7.1~dfsg-1
ii  asterisk-core-sounds-en-gsm [asterisk-prompt-en]  1.4.21-1        
ii  asterisk-modules                                  1:1.8.7.1~dfsg-1
ii  libc6                                             2.13-21         
ii  libcap2                                           1:2.22-1        
ii  libgcc1                                           1:4.6.2-4       
ii  libssl1.0.0                                       1.0.0e-2        
ii  libstdc++6                                        4.6.2-4         
ii  libtinfo5                                         5.9-4           
ii  libxml2                                           2.7.8.dfsg-5    

Versions of packages asterisk recommends:
ii  asterisk-moh-opsound-gsm                         2.03-1          
ii  asterisk-voicemail [asterisk-voicemail-storage]  1:1.8.7.1~dfsg-1
ii  sox                                              14.3.2-2+b1     

Versions of packages asterisk suggests:
pn  asterisk-dahdi   <none>          
pn  asterisk-dev     <none>          
pn  asterisk-doc     1:1.8.7.1~dfsg-1
pn  asterisk-ooh323  <none>          

-- no debconf information
-------------- next part --------------
Script started on zo 20 nov 2011 22:45:25 CET
]0;vincent at PC-Vincent: ~vincent at PC-Vincent:~$ sudo gdb asterisk
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/sbin/asterisk...Reading symbols from /usr/lib/debug/usr/sbin/asterisk...done.
done.
(gdb) run -r
Starting program: /usr/sbin/asterisk -r
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffff7fd4700 (LWP 7644)]
Asterisk 1.8.7.1~dfsg-1, Copyright (C) 1999 - 2011 Digium, Inc. and others.
Created by Mark Spencer <markster at digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details.
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.8.7.1~dfsg-1 currently running on PC-Vincent (pid = 7405)

Program received signal SIGSEGV, Segmentation fault.
0x000000000051ed74 in term_alloc (el=0x7ef780, t=0x5770c0, cap=0xffffffffffffb6d0 <Address 0xffffffffffffb6d0 out of bounds>) at term.c:398
398	term.c: No such file or directory.
	in term.c
(gdb) bt
#0  0x000000000051ed74 in term_alloc (el=0x7ef780, t=0x5770c0, cap=0xffffffffffffb6d0 <Address 0xffffffffffffb6d0 out of bounds>) at term.c:398
#1  0x0000000000520c78 in term_set (el=0x7ef780, term=<optimized out>) at term.c:949
#2  0x0000000000522687 in term_init (el=0x7ef780) at term.c:361
#3  el_init (prog=0x53a955 "asterisk", fin=0x7ffff77bf6c0, fout=0x7ffff77bf7a0, ferr=0x7ffff77bf880) at el.c:82
#4  0x000000000043a0b3 in ast_el_initialize () at asterisk.c:2587
#5  0x000000000043e890 in ast_remotecontrol (data=<optimized out>) at asterisk.c:2767
#6  0x00000000004234c1 in main (argc=<optimized out>, argv=<optimized out>) at asterisk.c:3597
(gdb) quit
A debugging session is active.

	Inferior 1 [process 7641] will be killed.

Quit anyway? (y or n) y
]0;vincent at PC-Vincent: ~vincent at PC-Vincent:~$ exit
exit

Script done on zo 20 nov 2011 22:45:56 CET


More information about the Pkg-voip-maintainers mailing list