i built latest sems after yesterday's mega commit and got the crash
below when i tested sems with ivr announcement application.
the crash came after announcement was played and before bye was send out
by the application.
on this test host, i have defined in sems.conf:
interfaces=sig_lo,sig,med4
sip_ip_sig_lo=127.0.0.1
sip_port_sig_lo=5090
sip_ip_sig=192.98.102.10
sip_port_sig=5090
next_hop=192.98.102.10:5070
next_hop_1st_req=yes
-- juha
Program terminated with signal 11, Segmentation fault.
#0 0x000000000054c3d2 in _trans_layer::set_next_hop (
this=this@entry=0x241b7d0, msg=0x2854130,
next_hop=next_hop@entry=0x7efef1270dd0,
next_port=next_port@entry=0x7efef1270d1e,
next_trsp=next_trsp@entry=0x7efef1270de0) at trans_layer.cpp:735
735 trans_layer.cpp: No such file or directory.
(gdb) where
#0 0x000000000054c3d2 in _trans_layer::set_next_hop (this=this@entry=
0x241b7d0, msg=0x2854130, next_hop=next_hop@entry=0x7efef1270dd0,
next_port=next_port@entry=0x7efef1270d1e, next_trsp=next_trsp@entry=
0x7efef1270de0) at trans_layer.cpp:735
#1 0x0000000000554ef7 in _trans_layer::send_request (this=0x241b7d0, msg=
0x2854130, tt=0x7efef12730d0, dialog_id=..., _next_hop=...,
out_interface=1, logger=0x0) at trans_layer.cpp:934
#2 0x0000000000522e8a in _SipCtrlInterface::send (req=..., dialog_id=...,
next_hop=..., out_interface=1, logger=0x0) at SipCtrlInterface.cpp:264
#3 0x0000000000489256 in AmBasicSipDialog::sendRequest (this=this@entry=
0x284f7b0, method=..., body=body@entry=0x0, hdrs=..., flags=4,
flags@entry=0) at AmBasicSipDialog.cpp:639
#4 0x00000000004fbd15 in AmSipDialog::bye (this=0x284f7b0, hdrs=..., flags=0)
at AmSipDialog.cpp:518
#5 0x00007efefc0b0180 in IvrDialogBase_bye (self=0x27bf050,
args=<optimized out>) at IvrDialogBase.cpp:127
#6 0x00007efef7b4f422 in call_function (oparg=<optimized out>, pp_stack=
0x7efef1275430) at ../Python/ceval.c:4021
#7 PyEval_EvalFrameEx (f=<optimized out>, throwflag=throwflag@entry=0)
at ../Python/ceval.c:2666
#8 0x00007efef7b4f4cb in fast_function (nk=<optimized out>,
na=<optimized out>, n=1, pp_stack=0x7efef1275670, func=
<function at remote 0x7efef3d85938>) at ../Python/ceval.c:4107
#9 call_function (oparg=<optimized out>, pp_stack=0x7efef1275670)
at ../Python/ceval.c:4042
#10 PyEval_EvalFrameEx (f=f@entry=
Frame 0x28500a0, for file ./announcement.py, line 132, in onEmptyQueue
(self=<IvrDialog(language='en', db=<Connection(encoders={<type at remote
0x7efef7fbe000>: <built-in function escape_sequence>, <type at remote
0x7efef7fbbc00>: <function at remote 0x27cbed8>, <type at remote
0x7efef7fbe820>: <function at remote 0x27cbd70>, <type at remote
0x7efef3952c40>: <function at remote 0x7efef3d850c8>, <type at remote
0x7efef7fbde60>: <built-in function escape_dict>, <type at remote
0x7efef7fbc280>: <function at remote 0x27cbde8>, <type at remote
0x7efef7fbdcc0>: <function at remote 0x27cbed8>, <type at remote
0x7efef7f8a220>: <function at remote 0x27d0050>, <type at remote
0x7efef7fbe4e0>: <function at remote 0x28dc7d0>, <type at remote
0x7efef3952900>: <function at remote 0x7efef3d85140>, <type at remote
0x7efef7fbe680>: <built-in function escape_sequence>, <type at remote
0x7efef7fbe340>: <function at remote 0x28dc848>, <type at remote
0x7efef7fbc0e0>: <function at remote 0x28
dc668>, <type at remote 0x7efef7fbeb60...(truncated),
throwflag=throwflag@entry=0) at ../Python/ceval.c:2666
---Type <return> to continue, or q <return> to quit---
#11 0x00007efef7b502e8 in PyEval_EvalCodeEx (co=<optimized out>,
globals=<optimized out>, locals=locals@entry=0x0, args=args@entry=
0x7efef3dd0c68, argcount=1, kws=kws@entry=0x0, kwcount=kwcount@entry=0,
defs=defs@entry=0x0, defcount=defcount@entry=0, closure=0x0)
at ../Python/ceval.c:3253
#12 0x00007efef7ba6806 in function_call (func=
<function at remote 0x7efef3d857d0>, arg=
(<IvrDialog(language='en', db=<Connection(encoders={<type at remote
0x7efef7fbe000>: <built-in function escape_sequence>, <type at remote
0x7efef7fbbc00>: <function at remote 0x27cbed8>, <type at remote
0x7efef7fbe820>: <function at remote 0x27cbd70>, <type at remote
0x7efef3952c40>: <function at remote 0x7efef3d850c8>, <type at remote
0x7efef7fbde60>: <built-in function escape_dict>, <type at remote
0x7efef7fbc280>: <function at remote 0x27cbde8>, <type at remote
0x7efef7fbdcc0>: <function at remote 0x27cbed8>, <type at remote
0x7efef7f8a220>: <function at remote 0x27d0050>, <type at remote
0x7efef7fbe4e0>: <function at remote 0x28dc7d0>, <type at remote
0x7efef3952900>: <function at remote 0x7efef3d85140>, <type at remote
0x7efef7fbe680>: <built-in function escape_sequence>, <type at remote
0x7efef7fbe340>: <function at remote 0x28dc848>, <type at remote
0x7efef7fbc0e0>: <function at remote 0x28dc668>, <type at remote
0x7efef7fbeb60>: <function at remote 0x27cbc80>, <ty
pe at remote 0x7efef7fba3a0>: <functio...(truncated), kw=0x0) at
../Objects/funcobject.c:526
#13 0x00007efef7c35d3e in PyObject_Call (func=func@entry=
<function at remote 0x7efef3d857d0>, arg=arg@entry=
(<IvrDialog(language='en', db=<Connection(encoders={<type at remote
0x7efef7fbe000>: <built-in function escape_sequence>, <type at remote
0x7efef7fbbc00>: <function at remote 0x27cbed8>, <type at remote
0x7efef7fbe820>: <function at remote 0x27cbd70>, <type at remote
0x7efef3952c40>: <function at remote 0x7efef3d850c8>, <type at remote
0x7efef7fbde60>: <built-in function escape_dict>, <type at remote
0x7efef7fbc280>: <function at remote 0x27cbde8>, <type at remote
0x7efef7fbdcc0>: <function at remote 0x27cbed8>, <type at remote
0x7efef7f8a220>: <function at remote 0x27d0050>, <type at remote
0x7efef7fbe4e0>: <function at remote 0x28dc7d0>, <type at remote
0x7efef3952900>: <function at remote 0x7efef3d85140>, <type at remote
0x7efef7fbe680>: <built-in function escape_sequence>, <type at remote
0x7efef7fbe340>: <function at remote 0x28dc848>, <type at remote
0x7efef7fbc0e0>: <function at remote 0x28dc668>, <type at remote
0x7efef7fbeb60>: <function at remote 0x27cbc80>, <ty
pe at remote 0x7efef7fba3a0>: <functio...(truncated), kw=kw@entry=0x0) at
../Objects/abstract.c:2529
#14 0x00007efef7c84810 in instancemethod_call.8774 (func=
<function at remote 0x7efef3d857d0>, arg=
(<IvrDialog(language='en', db=<Connection(encoders={<type at remote
0x7efef7---Type <return> to continue, or q <return> to quit---
fbe000>: <built-in function escape_sequence>, <type at remote 0x7efef7fbbc00>:
<function at remote 0x27cbed8>, <type at remote 0x7efef7fbe820>: <function at
remote 0x27cbd70>, <type at remote 0x7efef3952c40>: <function at remote
0x7efef3d850c8>, <type at remote 0x7efef7fbde60>: <built-in function
escape_dict>, <type at remote 0x7efef7fbc280>: <function at remote 0x27cbde8>,
<type at remote 0x7efef7fbdcc0>: <function at remote 0x27cbed8>, <type at
remote 0x7efef7f8a220>: <function at remote 0x27d0050>, <type at remote
0x7efef7fbe4e0>: <function at remote 0x28dc7d0>, <type at remote
0x7efef3952900>: <function at remote 0x7efef3d85140>, <type at remote
0x7efef7fbe680>: <built-in function escape_sequence>, <type at remote
0x7efef7fbe340>: <function at remote 0x28dc848>, <type at remote
0x7efef7fbc0e0>: <function at remote 0x28dc668>, <type at remote
0x7efef7fbeb60>: <function at remote 0x27cbc80>, <type at remote
0x7efef7fba3a0>: <functio...(truncated), kw=0x0) at ../Objects/clas
sobject.c:2602
#15 0x00007efef7c35d3e in PyObject_Call (func=
<instancemethod at remote 0x26068c0>, arg=<optimized out>,
kw=<optimized out>) at ../Objects/abstract.c:2529
#16 0x00007efefc0a851b in PyObject_VaCallMethod (o=<optimized out>,
name=name@entry=0x7efefc0b262c "onEmptyQueue", format=format@entry=0x0,
va=va@entry=0x7efef1276b28) at Ivr.cpp:631
#17 0x00007efefc0a87b5 in IvrDialog::callPyEventHandler (this=this@entry=
0x284c960, name=name@entry=0x7efefc0b262c "onEmptyQueue", fmt=fmt@entry=
0x0) at Ivr.cpp:647
#18 0x00007efefc0a8c53 in IvrDialog::process (this=0x284c960, event=0x27bc370)
at Ivr.cpp:765
#19 0x00000000004aa7c4 in AmEventQueue::processEvents (this=0x284c9d8)
at AmEventQueue.cpp:85
#20 0x00000000004e4124 in AmSession::processEventsCatchExceptions (
this=<optimized out>) at AmSession.cpp:352
#21 0x00000000004e721c in AmSession::processingCycle (this=0x284c960)
at AmSession.cpp:383
#22 0x00000000004e2701 in AmSession::run (this=0x284c960) at AmSession.cpp:276
#23 0x00000000005129c9 in AmThread::_start (_t=0x284c968) at AmThread.cpp:66
#24 0x00007efefe8e6b50 in start_thread ()
from /lib/x86_64-linux-gnu/libpthread.so.0
#25 0x00007efefdefda7d in clone () from /lib/x86_64-linux-gnu/libc.so.6
#26 0x0000000000000000 in ?? ()
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev