This has been executed on MacOSX 10.2.8 with current SVN with
version "SVN 670M" using a local modified copy of my tcl
bindings. All code described here executed on the main thread
(0). p2p only. Not tested on other platforms.
I do the following to reproduce it consistently:
1) dial a random non existing (num=google.com:8899/) client as:
line = iaxc_selected_call();
iaxc_call(num);
iaxc_select_call(line);
2) after 4 secs I call:
iaxc_dump_call();
3) immideately after this I make a new random call to another
nonexisting client, with code as above (1).
4) after 4 secs I call:
iaxc_dump_call();
and then get the following stack trace below.
The workaround is to wait a sort period of time (500ms) between
item 2 and 3 above.
Date/Time: 2006-10-31 08:21:36 +0100
OS Version: 10.2.8 (Build 6R73)
Host: Mats-Bengtssons-dator.local.
Command: Wish Shell
PID: 398
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
Thread 0 Crashed:
#0 0x00000000 in 0x0
#1 0x01411204 in __send_command
#2 0x0141127c in send_command_final
#3 0x01411ecc in iax_hangup
#4 0x0140e66c in iaxc_dump_one_call
#5 0x0140e740 in iaxc_dump_call
#6 0x01408924 in HangUpObjCmd (iaxclient.c:650)
#7 0x0a00eb00 in TclEvalObjvInternal
...
I have also seen a slightly different bt:
Date/Time: 2006-10-31 08:36:43 +0100
OS Version: 10.2.8 (Build 6R73)
Host: Mats-Bengtssons-dator.local.
Command: Wish Shell
PID: 729
Exception: EXC_BAD_INSTRUCTION (0x0002)
Code[0]: 0x00000002Code[1]: 0x0195ad00
Thread 0 Crashed:
#0 0x0195ad00 in 0x195ad00
#1 0x01418204 in __send_command
#2 0x0141827c in send_command_final
#3 0x01418ecc in iax_hangup
#4 0x0141566c in iaxc_dump_one_call
#5 0x01415740 in iaxc_dump_call
#6 0x0140f924 in HangUpObjCmd (iaxclient.c:650)
#7 0x0a00eb00 in TclEvalObjvInternal
Logged In: YES
user_id=108900
Just a minor correction:
After 2) I wait for the "free" event and then immideately do 3).
Mats
Logged In: YES
user_id=108900
I can verify that this bug also appears on WindowsXP.
The delay indicated in the workaround above, seems to work well
with 100ms on mac but this seems not generally to be enough on XP.
500ms on XP seems to work OK on XP.
Mats