[asterisk-bugs] [Asterisk 0015177]: Segmentation fault. Strange sound generate in channal when onhook(without segmentation fault).
Asterisk Bug Tracker
noreply at bugs.digium.com
Fri May 22 04:58:55 CDT 2009
The following issue has been SUBMITTED.
======================================================================
https://issues.asterisk.org/view.php?id=15177
======================================================================
Reported By: KrisV
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 15177
Category: Channels/chan_dahdi
Reproducibility: sometimes
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.6.1.0
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-05-22 04:58 CDT
Last Modified: 2009-05-22 04:58 CDT
======================================================================
Summary: Segmentation fault. Strange sound generate in
channal when onhook(without segmentation fault).
Description:
(gdb) bt
https://issues.asterisk.org/view.php?id=0 0x080884d6 in ?? ()
https://issues.asterisk.org/view.php?id=1 0xb6aa0cc0 in mwi_send_thread
(data=0x9f08900) at chan_dahdi.c:7905
https://issues.asterisk.org/view.php?id=2 0x08158a58 in dummy_start
(data=0x9f5ba30) at utils.c:968
https://issues.asterisk.org/view.php?id=3 0xb7d8d4ff in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=4 0xb7e8849e in clone () from
/lib/tls/i686/cmov/libc.so.6
Current language: auto; currently asm
(gdb) bt full
https://issues.asterisk.org/view.php?id=0 0x080884d6 in ?? ()
No locals.
https://issues.asterisk.org/view.php?id=1 0xb6aa0cc0 in mwi_send_thread
(data=0x9f08900) at chan_dahdi.c:7905
mtd = (struct mwi_thread_data *) 0x9f08900
timeout_basis = {tv_sec = 1242920546, tv_usec = 610781}
suspend = {tv_sec = -1241939128, tv_usec = 134705180}
now = {tv_sec = 136050376, tv_usec = -1210462220}
x = 3000
i = 167098928
res = 0
num_read = 350
mwi_send_state = MWI_SEND_SPILL
__PRETTY_FUNCTION__ = "mwi_send_thread"
https://issues.asterisk.org/view.php?id=2 0x08158a58 in dummy_start
(data=0x9f5ba30) at utils.c:968
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {-1210462220, 0,
0, -1241939016, -1503518733, 2121330312}, __mask_was_saved = 0}}, __pad =
{0xb5f98480, 0x0,
0x9f58fd0, 0xb7e1552e}}
__cancel_routine = (void (*)(void *)) 0x807701e <ast_unregister_thread>
__cancel_arg = (void *) 0xb5f98b90
not_first_call = 0
ret = (void *) 0xb7d8d2e0
a = {start_routine = 0xb6aa0af9 <mwi_send_thread>, data = 0x9f08900, name
= 0x9f59070 "mwi_send_thread started at [ 8389] chan_dahdi.c
do_monitor()"}
https://issues.asterisk.org/view.php?id=3 0xb7d8d4ff in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
No symbol table info available.
https://issues.asterisk.org/view.php?id=4 0xb7e8849e in clone () from
/lib/tls/i686/cmov/libc.so.6
No symbol table info available.
(gdb) thread apply all bt
Thread 36 (process 25598):
https://issues.asterisk.org/view.php?id=0 0xb7e88488 in clone () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=1 0x00000000 in ?? ()
Thread 35 (process 25573):
https://issues.asterisk.org/view.php?id=0 0xb80b5430 in __kernel_vsyscall ()
https://issues.asterisk.org/view.php?id=1 0xb7d910e5 in
pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=2 0xb7e972ed in pthread_cond_wait ()
from /lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=3 0x080e7c2b in ast_cond_wait
(cond=0x81d18a0, t=0x81ba368) at
/home/kris/workspace/asterisk/asterisk-1.6.1.0/include/asterisk/lock.h:1713
https://issues.asterisk.org/view.php?id=4 0x080e7b74 in logger_thread
(data=0x0) at logger.c:976
https://issues.asterisk.org/view.php?id=5 0x08158a58 in dummy_start
(data=0x9e878b0) at utils.c:968
https://issues.asterisk.org/view.php?id=6 0xb7d8d4ff in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=7 0xb7e8849e in clone () from
/lib/tls/i686/cmov/libc.so.6
Thread 34 (process 25571):
https://issues.asterisk.org/view.php?id=0 0xb80b5430 in __kernel_vsyscall ()
https://issues.asterisk.org/view.php?id=1 0xb7d910e5 in
pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=2 0xb7e972ed in pthread_cond_wait ()
from /lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=3 0x0814b587 in ast_cond_wait
(cond=0x9e82f74, t=0x9e82fa8) at
/home/kris/workspace/asterisk/asterisk-1.6.1.0/include/asterisk/lock.h:1713
https://issues.asterisk.org/view.php?id=4 0x0814b40f in tps_processing_function
(data=0x9e82f70) at
taskprocessor.c:293
https://issues.asterisk.org/view.php?id=5 0x08158a58 in dummy_start
(data=0x9e83010) at utils.c:968
https://issues.asterisk.org/view.php?id=6 0xb7d8d4ff in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=7 0xb7e8849e in clone () from
/lib/tls/i686/cmov/libc.so.6
Thread 33 (process 25570):
https://issues.asterisk.org/view.php?id=0 0xb80b5430 in __kernel_vsyscall ()
https://issues.asterisk.org/view.php?id=1 0xb7e77e2b in read () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=2 0x081631c1 in read_char
(el=0x9e7a658, cp=0xbffd2ccb "?") at
/usr/include/bits/unistd.h:45
https://issues.asterisk.org/view.php?id=3 0x0815df77 in ?? ()
https://issues.asterisk.org/view.php?id=4 0x0815e1a1 in ?? ()
https://issues.asterisk.org/view.php?id=5 0x080812b8 in ?? ()
https://issues.asterisk.org/view.php?id=6 0xb7dba775 in __libc_start_main ()
from /lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=7 0x0805f331 in ?? () at
../sysdeps/i386/elf/start.S:119
Thread 32 (process 25596):
https://issues.asterisk.org/view.php?id=0 0xb80b5430 in __kernel_vsyscall ()
https://issues.asterisk.org/view.php?id=1 0xb7e7dae7 in poll () from
/lib/tls/i686/cmov/libc.so.6
https://issues.asterisk.org/view.php?id=2 0x080e0df5 in ast_io_wait
(ioc=0x9eea918, howlong=1000) at io.c:275
https://issues.asterisk.org/view.php?id=3 0xb6dee65d in do_monitor (data=0x0)
at chan_mgcp.c:3484
https://issues.asterisk.org/view.php?id=4 0x08158a58 in dummy_start
(data=0x9eebdc8) at utils.c:968
https://issues.asterisk.org/view.php?id=5 0xb7d8d4ff in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
https://issues.asterisk.org/view.php?id=6 0xb7e8849e in clone () from
/lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
Quit
(gdb) q
root at kris-desktop:~# asterisk -v
Asterisk 1.6.1.0, Copyright (C) 1999 - 2008 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.
=========================================================================
root at kris-desktop:~# uname -a
Linux kris-desktop 2.6.27.18-custom https://issues.asterisk.org/view.php?id=6
SMP Mon Apr 27 16:22:40 MSD 2009
i686 GNU/Linux
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2009-05-22 04:58 KrisV New Issue
2009-05-22 04:58 KrisV Asterisk Version => 1.6.1.0
2009-05-22 04:58 KrisV Regression => No
2009-05-22 04:58 KrisV SVN Branch (only for SVN checkouts, not tarball
releases) => N/A
======================================================================
More information about the asterisk-bugs
mailing list