Modify

Opened 5 years ago

Closed 3 years ago

#12179 closed defect (moved_to_github)

asterisk-1.8.x segementation fault

Reported by: hoowa.sun@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: Cc:

Description

i was test most version of openwrt-trunk with asterisk 1.8.x simple transfer that asterisk will crash.

just simple build step:
select bcm63xx
select net/asterisk-1.8.x

in bcm53xx:

vi sip.conf

[8001]
type=friend
secret=123456
host=dynamic
context=default

[8002]
type=friend
secret=123456
host=dynamic
context=default

vi extension.conf

[default]
exten => _X.,1,dial(SIP/${EXTEN},40,Tt)

asterisk -vvvvc

call from 8001 to 8002 and press # to blind transfer:
*CLI> == Using UDPTL CoS mark 5

Using UDPTL CoS mark 5

Using SIP RTP CoS mark 5

-- Executing [8002@default:1] Dial("SIP/8001-00000000", "SIP/8002,40,Tt") in new stack

Agent policy for SIP/8001-00000000 is 'never'. CC not possible

Using UDPTL CoS mark 5

Using SIP RTP CoS mark 5

-- Called SIP/8002
-- SIP/8002-00000001 is ringing
-- SIP/8002-00000001 answered SIP/8001-00000000
-- Started music on hold, class 'default', on SIP/8002-00000001

Unknown RTP codec 126 received from '192.168.1.100:41238'
Unknown RTP codec 126 received from '192.168.1.100:41238'
Unknown RTP codec 126 received from '192.168.1.100:41238'
DTMF begin '#' received on SIP/8002-00000001
DTMF begin passthrough '#' on SIP/8002-00000001
DTMF end '#' received on SIP/8002-00000001, duration 140 ms
DTMF end accepted with begin '#' on SIP/8002-00000001
DTMF end passthrough '#' on SIP/8002-00000001

-- Started music on hold, class 'default', on SIP/8001-00000000
-- Stopped music on hold on SIP/8002-00000001
-- <SIP/8002-00000001> Playing 'pbx-transfer.alaw' (language 'en')

No digits dialed.

-- <SIP/8002-00000001> Playing 'pbx-invalid.alaw' (language 'en')

Received SIP subscribe for peer without mailbox: 8001
Received SIP subscribe for peer without mailbox: 8002
Unknown RTP codec 126 received from '192.168.1.100:41238'
Unknown RTP codec 126 received from '(null)'

-- Stopped music on hold on SIP/8001-00000000

Bus error

i was tested on RG100A-AA brcm63xx:
backfire + asterisk-1.8.7.1 works ok!
trunk(head version) + 1.8.10.1 segementation fault
trunk(r29288) + 1.8.7.1(feeds r29288) bus error

maybe trunk kernel version not complete with asterisk?
maybe some software depends version not complete with asterisk?

Attachments (0)

Change History (6)

comment:1 Changed 5 years ago by anonymous

sorry for my report's text format confusion.

i describe again:

just make call from 8001 to 8002 and press # to blind transfer, after playback over ,asterisk will segementation fault:

extension.conf

default] exten => _X.,1,dial(SIP/${EXTEN},40,Tt)
call from 8001 to 8002 and press # to blind transfer: 
*CLI> == Using UDPTL CoS mark 5

== Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5

-- Executing [8002@default:1] Dial("SIP/8001-00000000", "SIP/8002,40,Tt") in new stack

Agent policy for SIP/8001-00000000 is 'never'. CC not possible

== Using UDPTL CoS mark 5 == Using SIP RTP CoS mark 5

-- Called SIP/8002 -- SIP/8002-00000001 is ringing
-- SIP/8002-00000001 answered SIP/8001-00000000 
-- Started music on hold, class 'default', on SIP/8002-00000001

Unknown RTP codec 126 received from '192.168.1.100:41238' 
Unknown RTP codec 126 received from '192.168.1.100:41238' 
Unknown RTP codec 126 received from '192.168.1.100:41238' 
DTMF begin '#' received on SIP/8002-00000001 
DTMF begin passthrough '#' on SIP/8002-00000001 
DTMF end '#' received on SIP/8002-00000001, duration 140 ms 
DTMF end accepted with begin '#' on SIP/8002-00000001 
DTMF end passthrough '#' on SIP/8002-00000001

-- Started music on hold, class 'default', on SIP/8001-00000000 
-- Stopped music on hold on SIP/8002-00000001 
-- <SIP/8002-00000001> Playing 'pbx-transfer.alaw' (language 'en')

No digits dialed.

-- <SIP/8002-00000001> Playing 'pbx-invalid.alaw' (language 'en')

Received SIP subscribe for peer without mailbox: 8001 
Received SIP subscribe for peer without mailbox: 8002 
Unknown RTP codec 126 received from '192.168.1.100:41238' 
Unknown RTP codec 126 received from '(null)'

-- Stopped music on hold on SIP/8001-00000000

Bus error

i was tested on my trunk version this bug also ,and i was try to disable linaro and change different kernel version:

-r29288
-r26836
-r26836

but: backfire + asterisk 1.8.8.X was fine.

comment:2 Changed 5 years ago by anonymous

this is may be asterisk bug.

but because openwrt trunk somesoftware too new!!!!. backfire works ok.

i report to asterisk issues backtrace.asterisk.org issue number id 20433

here is backtrace in openwrt trunk33444 with x86, run virtualbox vdi

[?1034hCore was generated by `asterisk -vvvvvvcg -C /pbxserver/etc/pbx/pbx.conf'.
Program terminated with signal 11, Segmentation fault.
[New process 1556]
[New process 1533]
[New process 1534]
[New process 1535]
[New process 1536]
[New process 1537]
[New process 1538]
[New process 1539]
[New process 1540]
[New process 1541]
[New process 1542]
[New process 1543]
[New process 1544]
[New process 1545]
[New process 1546]
[New process 1547]
[New process 1548]
[New process 1549]
[New process 1550]
[New process 1551]
[New process 1552]
[New process 1553]
[New process 1554]
[New process 1555]
#0  0xb6b73882 in ast_rtcp_read (instance=0x8e7cff0) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
	in /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h
#0  0xb6b73882 in ast_rtcp_read (instance=0x8e7cff0) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
	rtp = (struct ast_rtp *) 0x8e5c400
	addr = {ss = {ss_family = 0, __ss_align = 149268104, 
    __ss_padding = "\210��\bX`\233�\026�\017\b\022�\034\b\032\002\000\000D�\034\b\210=!\b\000�\034\b���\b�\\\233���\017\b\b`\233�v�\034\b\000\000\000\000�\\\233�sln\000raw\000�\\\233���\017\b\b`\233�v�\034\b\000\000\000\000�\\\233�g719\000��\b�\\\233���\017\b\b`\233�v�\034\b\000\000\000"}, len = 3063635216}
	rtcpdata = 
Thread 24 (process 1555):
#0  0xb741242f in __GI_poll (fds=0x80ab137, nfds=3063884320, timeout=6) at libc/sysdeps/linux/common/poll.c:36
#1  0xb69f2ca9 in ?? ()
#2  0x080ab137 in ast_waitfor_nandfds (c=0xb69f2bb0, n=1, fds=0xb69f2bbc, nfds=0, exception=0x0, outfd=0xb69f2b80, ms=0xb69f2bb4) at channel.c:253
#3  0x080ab766 in ast_waitfordigit_full (c=0x8e8c6d0, ms=2202, audiofd=-1, cmdfd=-1) at channel.c:253
#4  0x080ab522 in ast_waitfordigit (c=0x8e8c6d0, ms=3000) at channel.c:253
#5  0x0806a623 in ast_app_dtget (chan=0x8e8c6d0, context=0x8e8ca3c "default", collect=0xb69f2ca8 "", size=256, maxlen=100, timeout=3000) at app.c:79
#6  0x080eab95 in builtin_blindtransfer (chan=0x8e83878, peer=0x8e8c6d0, config=0xb69f472c, code=0xb69f3594 "#", sense=2, data=0x0) at features.c:786
#7  0x080edf11 in feature_interpret_helper (chan=0x8e83878, peer=0x8e8c6d0, config=0xb69f472c, code=0xb69f3594 "#", sense=2, dynamic_features_buf=0xb69f30d0 "#", features=0xb69f30cc, 
    operation=FEATURE_INTERPRET_DO, feature=0xb69f2ef0) at features.c:786
#8  0x080ee8e4 in feature_interpret (chan=0x8e83878, peer=0x8e8c6d0, config=0xb69f472c, code=0xb69f3594 "#", sense=2) at features.c:786
#9  0x080f20e5 in ast_bridge_call (chan=0x8e83878, peer=0x8e8c6d0, config=0xb69f472c) at features.c:786
#10 0xb71781b2 in dial_exec_full (chan=0x8e83878, data=0xb69f4dec "SIP/8002,40,Tt", peerflags=0xb69f4b68, continue_exec=0x0) at app_dial.c:693
#11 0xb7178b4e in dial_exec (chan=0x8e83878, data=0xb69f4dec "SIP/8002,40,Tt") at app_dial.c:693
#12 0x0812fd6f in pbx_exec (c=0x8e83878, app=0x8e75110, data=0xb69f4dec "SIP/8002,40,Tt") at pbx.c:1069
#13 0x081385a3 in pbx_extension_helper (c=0x8e83878, con=0x0, context=0x8e83be4 "default", exten=0x8e83c34 "8002", priority=1, label=0x0, callerid=0x8e7cbb8 "8001", action=E_SPAWN, found=0xb69f5388, 
    combined_find_spawn=1) at pbx.c:1069
#14 0x0813a045 in ast_spawn_extension (c=0x8e83878, context=0x8e83be4 "default", exten=0x8e83c34 "8002", priority=1, callerid=0x8e7cbb8 "8001", found=0xb69f5388, combined_find_spawn=1) at pbx.c:1069
#15 0x0813a94e in __ast_pbx_run (c=0x8e83878, args=0x0) at pbx.c:1069
#16 0x0813c3a2 in pbx_thread (data=0x8e83878) at pbx.c:1069
#17 0xb7598256 in start_thread (arg=0xb69f5bd0) at libpthread/nptl/allocatestack.c:260
#18 0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 23 (process 1554):
#0  0xb741242f in __GI_poll (fds=0x807ff30, nfds=3064140936, timeout=1) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0x0807ff30 in monitor_sig_flags (unused=0x0) at asterisk.c:953
#3  0xb7598256 in start_thread (arg=0xb6a31bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 22 (process 1553):
#0  0xb741242f in __GI_poll (fds=0xb719d54d, nfds=3064181840, timeout=1) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0xb719d54d in scan_thread (unused=0x0) at pbx_spool.c:134
#3  0xb7598256 in start_thread (arg=0xb6a3dbd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 21 (process 1552):
#0  0xb74121fd in __libc_nanosleep (req=0xb6a49480, rem=0x0) at libc/sysdeps/linux/common/nanosleep.c:22
#1  0xb70eb1c8 in lock_broker (unused=0x0) at func_lock.c:140
#2  0xb7598256 in start_thread (arg=0xb6a49bd0) at libpthread/nptl/allocatestack.c:260
#3  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 20 (process 1551):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e2563 "taskprocessor.c", lineno=295, func=0x81e2b82 "tps_processing_function", cond_name=0x81e2835 "&i->poll_cond", 
    mutex_name=0x81e281e "&i->taskprocessor_lock", cond=0x8e684ac, t=0x8e684e0) at lock.c:543
#2  0x0817bdbf in tps_processing_function (data=0x8e684a8) at taskprocessor.c:169
#3  0xb7598256 in start_thread (arg=0xb6a85bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 19 (process 1550):
#0  0xb74121fd in __libc_nanosleep (req=0xb6ac1488, rem=0x0) at libc/sysdeps/linux/common/nanosleep.c:22
#1  0xb701c12e in cleanup (unused=0x0) at pbx_realtime.c:90
#2  0xb7598256 in start_thread (arg=0xb6ac1bd0) at libpthread/nptl/allocatestack.c:260
#3  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently asm

Thread 18 (process 1549):
#0  0xb741242f in __GI_poll (fds=0x810fbe0, nfds=149269312, timeout=0) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0x0810fbe0 in ast_io_wait (ioc=0x8e5a498, howlong=1000) at io.c:218
#3  0xb6e6917c in do_monitor (data=0x0) at chan_mgcp.c:523
#4  0xb7598256 in start_thread (arg=0xb6acdbd0) at libpthread/nptl/allocatestack.c:260
#5  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently c

Thread 17 (process 1548):
#0  0xb741242f in __GI_poll (fds=0x810fbe0, nfds=149238656, timeout=1) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0x0810fbe0 in ast_io_wait (ioc=0x8e53360, howlong=1000) at io.c:218
#3  0xb6f73cfb in do_monitor (data=0x0) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#4  0xb7598256 in start_thread (arg=0xb6ad9bd0) at libpthread/nptl/allocatestack.c:260
#5  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 16 (process 1547):
#0  0xb741242f in __GI_poll (fds=0x818be78, nfds=3064877992, timeout=1) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0x0818be78 in ast_wait_for_input (fd=7, ms=-1) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/time.h:45
#3  0x0817d420 in ast_tcptls_server_root (data=0xb6fc03a0) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#4  0xb7598256 in start_thread (arg=0xb6ae5bd0) at libpthread/nptl/allocatestack.c:260
#5  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 15 (process 1546):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e0842 "sched.c", lineno=106, func=0x81e0cc6 "sched_run", cond_name=0x81e084a "&st->cond", mutex_name=0x81e0838 "&st->lock", cond=0x8e50cec, t=0x8e50ccc)
    at lock.c:543
#2  0x08170f69 in sched_run (data=0x8e50cc8) at sched.c:106
#3  0xb7598256 in start_thread (arg=0xb6af1bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 14 (process 1545):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e2563 "taskprocessor.c", lineno=295, func=0x81e2b82 "tps_processing_function", cond_name=0x81e2835 "&i->poll_cond", 
    mutex_name=0x81e281e "&i->taskprocessor_lock", cond=0x8e50b8c, t=0x8e50bc0) at lock.c:543
#2  0x0817bdbf in tps_processing_function (data=0x8e50b88) at taskprocessor.c:169
#3  0xb7598256 in start_thread (arg=0xb6b2dbd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently asm

Thread 13 (process 1544):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0xb703ef97 "res_timing_pthread.c", lineno=469, func=0xb703f366 "do_timing", cond_name=0xb703efc0 "&timing_thread.cond", 
    mutex_name=0xb703efac "&timing_thread.lock", cond=0xb7040b84, t=0xb7040b64) at lock.c:543
#2  0xb703eb8c in do_timing (arg=0x0) at res_timing_pthread.c:262
#3  0xb7598256 in start_thread (arg=0xb6b39bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 12 (process 1543):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e0842 "sched.c", lineno=106, func=0x81e0cc6 "sched_run", cond_name=0x81e084a "&st->cond", mutex_name=0x81e0838 "&st->lock", cond=0x8dde8a4, t=0x8dde884)
    at lock.c:543
#2  0x08170f69 in sched_run (data=0x8dde880) at sched.c:106
#3  0xb7598256 in start_thread (arg=0xb7292bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 11 (process 1542):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e2563 "taskprocessor.c", lineno=295, func=0x81e2b82 "tps_processing_function", cond_name=0x81e2835 "&i->poll_cond", 
    mutex_name=0x81e281e "&i->taskprocessor_lock", cond=0x8dde76c, t=0x8dde7a0) at lock.c:543
#2  0x0817bdbf in tps_processing_function (data=0x8dde768) at taskprocessor.c:169
#3  0xb7598256 in start_thread (arg=0xb72cebd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 10 (process 1541):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81c367f "db.c", lineno=762, func=0x81c3ec4 "db_sync_thread", cond_name=0x81c3e7b "&dbcond", mutex_name=0x81c3685 "&dblock", cond=0x822b0c0, t=0x82126e0)
    at lock.c:543
#2  0x080d46bb in db_sync_thread (data=0x0) at db.c:114
#3  0xb7598256 in start_thread (arg=0xb72dabd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 9 (process 1540):
#0  0xb741242f in __GI_poll (fds=0x80f43b1, nfds=0, timeout=0) at libc/sysdeps/linux/common/poll.c:36
#1  0xb731646c in ?? ()
#2  0x080f43b1 in do_parking_thread (ignore=0x0) at features.c:786
#3  0xb7598256 in start_thread (arg=0xb7316bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 8 (process 1539):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e2563 "taskprocessor.c", lineno=295, func=0x81e2b82 "tps_processing_function", cond_name=0x81e2835 "&i->poll_cond", 
    mutex_name=0x81e281e "&i->taskprocessor_lock", cond=0x8dd5aac, t=0x8dd5ae0) at lock.c:543
#2  0x0817bdbf in tps_processing_function (data=0x8dd5aa8) at taskprocessor.c:169
#3  0xb7598256 in start_thread (arg=0xb7352bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently c

Thread 7 (process 1538):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81c40df "devicestate.c", lineno=539, func=0x81c45ea "do_devstate_changes", cond_name=0x81c41b7 "&change_pending", mutex_name=0x81c41c7 "&state_changes.lock", 
    cond=0x822b100, t=0x82129c8) at lock.c:543
#2  0x080d5579 in do_devstate_changes (data=0x0) at devicestate.c:224
#3  0xb7598256 in start_thread (arg=0xb735ebd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently asm

Thread 6 (process 1537):
#0  0xb741242f in __GI_poll (fds=0x818be78, nfds=3073811368, timeout=1) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0x0818be78 in ast_wait_for_input (fd=4, ms=5000) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/time.h:45
#3  0x0817d420 in ast_tcptls_server_root (data=0x8215460) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#4  0xb7598256 in start_thread (arg=0xb736abd0) at libpthread/nptl/allocatestack.c:260
#5  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113

Thread 5 (process 1536):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81d0384 "logger.c", lineno=1067, func=0x81d0f85 "logger_thread", cond_name=0x81d0d3e "&logcond", mutex_name=0x81d0d30 "&logmsgs.lock", cond=0x822bbc0, 
    t=0x8214f68) at lock.c:543
#2  0x08117bfc in logger_thread (data=0x0) at logger.c:233
#3  0xb7598256 in start_thread (arg=0xb73a6bd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently c

Thread 4 (process 1535):
#0  0xb741242f in __GI_poll (fds=0x807a433, nfds=3074106376, timeout=1) at libc/sysdeps/linux/common/poll.c:36
#1  0x003d0f00 in ?? ()
#2  0x0807a433 in listener (unused=0x0) at asterisk.c:953
#3  0xb73b2408 in ?? ()
#4  0x00000001 in ?? ()
#5  0xffffffff in ?? ()
#6  0x00000000 in ?? ()
Current language:  auto; currently asm

Thread 3 (process 1534):
#0  pthread_cond_wait () at libpthread/nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S:170
#1  0x08114cea in __ast_cond_wait (filename=0x81e2563 "taskprocessor.c", lineno=295, func=0x81e2b82 "tps_processing_function", cond_name=0x81e2835 "&i->poll_cond", 
    mutex_name=0x81e281e "&i->taskprocessor_lock", cond=0x8dcb54c, t=0x8dcb580) at lock.c:543
#2  0x0817bdbf in tps_processing_function (data=0x8dcb548) at taskprocessor.c:169
#3  0xb7598256 in start_thread (arg=0xb73eebd0) at libpthread/nptl/allocatestack.c:260
#4  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently c

Thread 2 (process 1533):
#0  0xb741242f in __GI_poll (fds=0x807c673, nfds=3218495316, timeout=2) at libc/sysdeps/linux/common/poll.c:36
#1  0xbfd6580f in ?? ()
#2  0x0807c673 in ast_el_read_char (editline=0x8dbd058, cp=0xbfd6580f "\b��������\001") at asterisk.c:953
#3  0x08196be4 in el_getc (el=0x8dbd058, cp=0xbfd6580f "\b��������\001") at vi.c:71
#4  0x08197b32 in el_gets (el=0x8dbd058, nread=0xbfd66a88) at vi.c:71
#5  0x08082b16 in main (argc=4, argv=0xbfd66d14) at asterisk.c:953
Current language:  auto; currently asm

Thread 1 (process 1556):
#0  0xb6b73882 in ast_rtcp_read (instance=0x8e7cff0) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#1  0xb6b754f3 in ast_rtp_read (instance=0x8e7cff0, rtcp=1) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#2  0x0814e4d4 in ast_rtp_instance_read (instance=0x8e7cff0, rtcp=1) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#3  0xb6f1a137 in sip_rtp_read (ast=0x8e83878, p=0x8e7abb8, faxdetect=0xb69b61e0) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#4  0xb6f1a8af in sip_read (ast=0x8e83878) at /ssd/agliepbx/wrtt17-2/build_dir/target-i386_uClibc-0.9.33.2/asterisk-1.8.10.1/include/asterisk/netsock2.h:95
#5  0x080ac7fb in __ast_read (chan=0x8e83878, dropaudio=0) at channel.c:253
#6  0x080ae01e in ast_read (chan=0x8e83878) at channel.c:253
#7  0x08087a12 in autoservice_run (ign=0x0) at autoservice.c:100
#8  0xb7598256 in start_thread (arg=0xb69b9bd0) at libpthread/nptl/allocatestack.c:260
#9  0xb7594b32 in clone () at ./libc/sysdeps/linux/i386/clone.S:113
Current language:  auto; currently c

comment:3 Changed 5 years ago by hoowa.sun@…

hello guys.

i am try to complie asterisk without "LOW_MEMORY" and asterisk works fine!!!!!!!!!!!

comment:4 Changed 5 years ago by anonymous

Hi hoowa,

I have the same problem.

It seems
https://issues.asterisk.org/jira/browse/ASTERISK-20433?focusedCommentId=202471&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-202471
used to have inline patch, but be removed.
Could you put the patch here again?

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:6 Changed 3 years ago by jogo

  • Resolution set to moved_to_github
  • Status changed from new to closed

Asterisk is now maintained here: https://github.com/openwrt/telephony.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.