Juha Heinanen writes: > the crash always happens at this line of Ivr.cpp: > > retval = PyObject_Call(func, args, NULL); > > where function is "onSessionStart" (bt is below).
i added some infos to onSessionStart: def onSessionStart(self): libc = ctypes.cdll.LoadLibrary('libc.so.6') info("onSessionStart " + str(ctypes.c_ulong(libc.pthread_self()))) self.announcement = IvrAudioFile() info("got audio file") self.announcement.open(self.file, ivr.AUDIO_READ, False) info("opened audio file") self.enqueue(self.announcement, None) info("queued audio file") return and at the crashing call got this: Nov 13 03:58:52 lohi sems[426]: [#7f69c98c5700] [ivr_log, Ivr.cpp:80] INFO: Ivr-Python: Received play INVITE Nov 13 03:58:52 lohi sems[426]: [#7f69c98c5700] [ivr_log, Ivr.cpp:80] INFO: Ivr-Python: onSessionStart c_ulong(18446744072796002048L) Nov 13 03:58:52 lohi sems[426]: [#7f69c98c5700] [ivr_log, Ivr.cpp:80] INFO: Ivr-Python: got audio file Nov 13 03:58:52 lohi sems[426]: [#7f69c98c5700] [ivr_log, Ivr.cpp:80] INFO: Ivr-Python: opened audio file Nov 13 03:58:52 lohi kernel: [168392.459864] sems[2045]: segfault at 18 ip 00007f69d8daadda sp 00007f69c98b6a30 error 6 in libpython2.7.so.1.0[7f69d8c39000+2f4000] that seems to indicate that crash happens while executing self.enqueue(self.announcement, None) -- juha _______________________________________________ Semsdev mailing list Semsdev@lists.iptel.org http://lists.iptel.org/mailman/listinfo/semsdev