I still get ivr related crashes even when PyErr_Print() has been
replaced with PyErr_PrintEx(0).  In this case there is even a check that
error indicator has been set (line 662 of Ivr.cpp):

661:  if(!o) {
662:    if(PyErr_Occurred()) PyErr_PrintEx(0);
663:  }

-- Juha

-----------------------------------------------------------------------
(gdb) where
#0  0xb7570081 in fclose () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#1  0xb74bf3c0 in fclose () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
#2  0xb690a913 in ?? () from /usr/lib/libpython2.7.so.1.0
#3  0xb68576fa in ?? () from /usr/lib/libpython2.7.so.1.0
#4  0xb68c210c in ?? () from /usr/lib/libpython2.7.so.1.0
#5  0xb68c2714 in ?? () from /usr/lib/libpython2.7.so.1.0
#6  0xb68c2724 in ?? () from /usr/lib/libpython2.7.so.1.0
#7  0xb68c2724 in ?? () from /usr/lib/libpython2.7.so.1.0
#8  0xb68c2724 in ?? () from /usr/lib/libpython2.7.so.1.0
#9  0xb685720a in PyErr_PrintEx () from /usr/lib/libpython2.7.so.1.0
#10 0xb6af1fcd in IvrDialog::callPyEventHandler (this=this@entry=0x94f4528, 
name=name@entry=0xb6afc52a "onSessionStart", fmt=fmt@entry=0x0) at Ivr.cpp:662
#11 0xb6af2214 in IvrDialog::onSessionStart (this=0x94f4528) at Ivr.cpp:683
#12 0x08164ec7 in AmSipDialog::onSdpCompleted (this=0x9457d48) at 
AmSipDialog.cpp:172
#13 0x08113db6 in checkStateChange (this=0x9457fb4) at AmOfferAnswer.cpp:96
#14 AmOfferAnswer::checkStateChange (this=0x9457fb4) at AmOfferAnswer.cpp:89
#15 0x081154b3 in AmOfferAnswer::onReplySent (this=0x9457fb4, reply=...) at 
AmOfferAnswer.cpp:453
#16 0x0815d6ca in AmSipDialog::onReplyTxed (this=0x9457d48, req=..., reply=...) 
at AmSipDialog.cpp:317
#17 0x080df3b5 in AmBasicSipDialog::reply (this=0x9457d48, req=..., code=200, 
reason=..., body=0x0, hdrs=..., flags=flags@entry=0) at AmBasicSipDialog.cpp:639
#18 0x081477d7 in AmSession::onInvite (this=0x94f4528, req=...) at 
AmSession.cpp:809
#19 0x080cc199 in AmB2BCallerSession::onInvite (this=0x94f4528, req=...) at 
AmB2BSession.cpp:1138
#20 0xb6af22a5 in IvrDialog::onInvite (this=0x94f4528, req=...) at Ivr.cpp:678
#21 0x08149e13 in AmSession::onSipRequest (this=0x94f4528, req=...) at 
AmSession.cpp:701
#22 0x080d2143 in AmB2BSession::onSipRequest (this=0x94f4528, req=...) at 
AmB2BSession.cpp:341
#23 0xb6af2e34 in IvrDialog::onSipRequest (this=0x94f4528, r=...) at Ivr.cpp:762
#24 0x080e0e36 in AmBasicSipDialog::onRxRequest (this=0x9457d48, req=...) at 
AmBasicSipDialog.cpp:362
#25 0x08166e5d in AmSipRequestEvent::operator() (this=0x94b00f0, dlg=0x9457d48) 
at AmSipEvent.cpp:18
#26 0x08146b54 in AmSession::process (this=0x94f4528, ev=0x94b00f0) at 
AmSession.cpp:651
#27 0x080ca7cc in process (event=<optimized out>, this=<optimized out>) at 
AmB2BSession.cpp:128
#28 AmB2BSession::process (this=0x94f4528, event=0x94b00f0) at 
AmB2BSession.cpp:113
#29 0xb6af2421 in IvrDialog::process (this=0x94f4528, event=0x94b00f0) at 
Ivr.cpp:789
#30 0x08105672 in AmEventQueue::processEvents (this=0x94f4568) at 
AmEventQueue.cpp:86
#31 0x0814877f in AmSession::processEventsCatchExceptions (this=0x94f4528) at 
AmSession.cpp:320
#32 0x0814b775 in AmSession::processingCycle (this=0x94f4528) at 
AmSession.cpp:351
#33 0x08146250 in AmSession::run (this=0x94f4528) at AmSession.cpp:267
#34 0x0817fa01 in AmThread::_start (_t=0x94f4528) at AmThread.cpp:75
#35 0xb7733c39 in start_thread () from 
/lib/i386-linux-gnu/i686/cmov/libpthread.so.0
#36 0xb7535c6e in clone () from /lib/i386-linux-gnu/i686/cmov/libc.so.6
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to