[Home]

Summary:ASTERISK-06207: Using 'p' option with MeetMe crashes Asterisk when caller presses #
Reporter:Chris Hozian (chozian)Labels:
Date Opened:2006-01-27 10:09:27.000-0600Date Closed:2006-04-10 12:35:47
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) gdb.txt
Description:Asterisk crashes when the 'p' option is used with Meetme and the caller presses #.

I used "make valgrind" to build Asterisk.  The gdb output with bt and bt full is attached.

****** ADDITIONAL INFORMATION ******


Asterisk CLI Output:

 == Parsing '/etc/asterisk/asterisk.conf': Found
 == Parsing '/etc/asterisk/extconfig.conf': Found
 == Binding extensions to odbc/mysql1/extensions_table
Asterisk SVN-trunk-r8786M, Copyright (C) 1999 - 2006 Digium, Inc. and others.
Created by Mark Spencer <markster@digium.com>
Asterisk comes with ABSOLUTELY NO WARRANTY; type '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 'show license' for details.
=========================================================================
Connected to Asterisk SVN-trunk-r8786M currently running on trance (pid = 5600)
trance*CLI> Verbosity is at least 3
[trance*CLI>     -- Accepted AUTHENTICATED TBD call from 192.168.254.4
[trance*CLI>     -- Accepting DIAL from 192.168.254.4, formats = 0x4
[trance*CLI>     -- Executing Set("IAX2/testiaxy-11", "MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/meetme-conf-rec-") in new stack
[trance*CLI>     -- Executing Set("IAX2/testiaxy-11", "MEETME_RECORDINGFORMAT=wav49") in new stack
[trance*CLI>     -- Executing Playback("IAX2/testiaxy-11", "conf-peopleinconf") in new stack
[trance*CLI> Jan 27 10:59:54 DEBUG[5613]: channel.c:838 channel_find_locked: Avoiding initial deadlock for 'IAX2/testiaxy-11'
[trance*CLI> Jan 27 10:59:54 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
[trance*CLI>     -- Playing 'conf-peopleinconf' (language 'en')
[trance*CLI> Jan 27 10:59:54 DEBUG[5621]: chan_iax2.c:6643 socket_read: Ooh, voice format changed to 4
[trance*CLI> Jan 27 10:59:55 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 10:59:55 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
[trance*CLI>     -- Executing MeetMeCount("IAX2/testiaxy-11", "5555") in new stack
 == Parsing '/etc/asterisk/meetme.conf': Found
Jan 27 10:59:55 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'digits/0' (language 'en')
[trance*CLI> Jan 27 10:59:56 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 10:59:56 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
[trance*CLI>     -- Executing MeetMe("IAX2/testiaxy-11", "5555|Mripcs") in new stack
 == Parsing '/etc/asterisk/meetme.conf': Found
   -- Created MeetMe conference 1023 for conference '5555'
Jan 27 10:59:56 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'conf-getpin' (language 'en')
[trance*CLI> Jan 27 10:59:58 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 10:59:58 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
[trance*CLI>        > Starting recording of MeetMe Conference 5555 into file /var/spool/asterisk/monitor/meetme-conf-rec-.wav49.
   -- Recording
Jan 27 11:00:01 DEBUG[5645]: app.c:577 ast_play_and_record: play_and_record: vm-rec-name, /var/spool/asterisk/meetme/meetme-username-5555-1, 'sln'
Jan 27 11:00:01 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'vm-rec-name' (language 'en')
[trance*CLI> Jan 27 11:00:05 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:05 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:05 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'beep' (language 'en')
[trance*CLI> Jan 27 11:00:05 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:05 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:05 DEBUG[5645]: app.c:594 ast_play_and_record: Recording Formats: sfmts=sln
   -- x=0, open writing:  /var/spool/asterisk/meetme/meetme-username-5555-1 format: sln, 0x8225610
[trance*CLI>     -- User ended message by pressing #
Jan 27 11:00:06 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'auth-thankyou' (language 'en')
[trance*CLI> Jan 27 11:00:07 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:07 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:07 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'vm-review' (language 'en')
[trance*CLI> Jan 27 11:00:09 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:09 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'vm-msgsaved' (language 'en')
[trance*CLI> Jan 27 11:00:11 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:11 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:11 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
   -- Playing 'conf-onlyperson' (language 'en')
[trance*CLI> Jan 27 11:00:14 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:14 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
Jan 27 11:00:14 DEBUG[5645]: app_meetme.c:1098 conf_run: Placed channel IAX2/testiaxy-11 in ZAP conf 1023
[trance*CLI>     -- Started music on hold, class 'default', on IAX2/testiaxy-11
Jan 27 11:00:14 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 160 sample intervals
Jan 27 11:00:14 DEBUG[5645]: channel.c:2010 __ast_read: Generator got voice, switching to phase locked mode
Jan 27 11:00:14 DEBUG[5645]: channel.c:1743 ast_settimeout: Scheduling timer at 0 sample intervals
[trance*CLI> Jan 27 11:00:15 DEBUG[5645]: chan_zap.c:2394 zt_hangup: Hangup: channel: -2 index = 0, normal = 51, callwait = -1, thirdcall = -1
Jan 27 11:00:15 DEBUG[5645]: chan_zap.c:2826 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/pseudo-1895847793
Jan 27 11:00:15 DEBUG[5645]: chan_zap.c:1381 update_conf: Updated conferencing on -2, with 0 conference users
   -- Hungup 'Zap/pseudo-1895847793'
Jan 27 11:00:15 DEBUG[5645]: chan_zap.c:2394 zt_hangup: Hangup: channel: -2 index = 0, normal = 49, callwait = -1, thirdcall = -1
Jan 27 11:00:15 DEBUG[5645]: chan_zap.c:2826 zt_setoption: Set option TDD MODE, value: OFF(0) on Zap/pseudo-171276987
Jan 27 11:00:15 DEBUG[5645]: chan_zap.c:1381 update_conf: Updated conferencing on -2, with 0 conference users
   -- Hungup 'Zap/pseudo-171276987'
[trance*CLI>     -- Executing Playback("IAX2/testiaxy-11", "goodbye") in new stack
[trance*CLI> Executing last minute cleanups

----


safe_asterisk Output:

/usr/sbin/safe_asterisk: line 102:  5235 Aborted                 (core dumped) nice -n $PRIORITY ${ASTSBINDIR}/asterisk ${CLIARGS} ${ASTARGS} >&/dev/${TTY} </dev/${TTY}
Asterisk ended with exit status 134
Asterisk exited on signal 6.
Automatically restarting Asterisk.
mpg123: no process killed

----

features.conf:

[general]
parkext => 7000
parkpos => 7001-7020
context => parkedcalls
parkingtime => 15
findslot => next
courtesytone = beep
parkedplay = caller

transferdigittimeout => 3
xfersound = dsfr-transfer-complete
xferfailsound = dsfr-transfer-fail

pickupexten = ASTERISK-2
featuredigittimeout = 1000

[featuremap]
blindxfer => #1
disconnect => #0
automon => #2
atxfer => #3

[applicationmap]
testfeature => ASTERISK-3,callee,Playback,tt-monkeys
pauseMonitor   => ASTERISK-4,caller,Pausemonitor
unpauseMonitor => ASTERISK-5,caller,UnPauseMonitor

----

meetme.conf:

[general]

[rooms]
conf => 5555|333|1876

----

Dial Plan calling MeetMe:

exten => 5555,1,Set(MEETME_RECORDINGFILE=/var/spool/asterisk/monitor/meetme-conf-rec${CONFNO}-${TIMESTAMP})
exten => 5555,n,Set(MEETME_RECORDINGFORMAT=wav49)
exten => 5555,n,Playback(conf-peopleinconf)
exten => 5555,n,MeetmeCount(5555)
exten => 5555,n,Meetme(5555|Mripcs)
exten => 5555,n,Playback(goodbye)
exten => 5555,n,Hangup
Comments:By: Chris Hozian (chozian) 2006-01-27 10:14:37.000-0600

It looks as if the output from my features.conf on the first submit came through incorrectly.  I don't know if my features.conf would have anything to do with this proble.  I'm providing it below again.


features.conf

[general]
parkext => 7000
parkpos => 7001-7020
context => parkedcalls
parkingtime => 15
findslot => next
courtesytone = beep
parkedplay = caller

transferdigittimeout => 3
xfersound = dsfr-transfer-complete
xferfailsound = dsfr-transfer-fail
;adsipark = yes
pickupexten = ASTERISK-2
featuredigittimeout = 1000


[featuremap]
blindxfer => #1
disconnect => #0
automon => #2
atxfer => #3

[applicationmap]
testfeature => ASTERISK-3,callee,Playback,tt-monkeys
pauseMonitor   => ASTERISK-4,caller,Pausemonitor
unpauseMonitor => ASTERISK-5,caller,UnPauseMonitor

By: Chris Hozian (chozian) 2006-01-27 10:15:33.000-0600

Oh wellz.  My features.conf isn't coming through correctly.  It should not have 0 zero's in front of the features.  It should just be the asterisk.

By: Patrick Himebrook (thuper) 2006-02-23 13:12:16.000-0600

Unable to replicate this one.

By: Chris Hozian (chozian) 2006-03-16 16:46:33.000-0600

This problem no longer occurs using SVN-Trunk 13206 with the same configuration.

By: Andrey S Pankov (casper) 2006-04-10 11:58:24

Let's close this one (the reporter acks this as fixed in trunk since r13206).

By: BJ Weschke (bweschke) 2006-04-10 12:35:47

closing - fixed in /trunk