Can you disable crash protection and get a real backtrace of this? Mike On Apr 5, 2008, at 12:19 AM, jonathan augenstine wrote:
Damjan,
OK, the mod_java initialization problem is resolved in the latest version of the trunk. I am now back to the initial problem I was hoping this version would solve. When I call playAndGetDigits() it crashes Freeswitch. The console dump from the playAndGetDigits call to the crash is pasted below. What would you suggest is the next step to diagnose and fix this issue?
Jonathan
Freeswitch console output:
2008-04-04 22:39:50 [NOTICE] switch_cpp.cpp:509 console_log() playAndGetDigits called next!!! 2008-04-04 22:39:50 [DEBUG] switch_cpp.cpp:154 execute() CoreSession::execute. app: sleep data:500 2008-04-04 22:39:50 [DEBUG] switch_ivr_play_say.c:1225 switch_play_and_get_digits() switch_play_and_get_digits(session, 10, 20, 3, 30000, #, /usr/local/freeswitch/sounds/DialNumber.wav, /usr/ local/freeswitch/sounds/NotAsDialed.wav, digit_buffer, 128, XXXXXXXXXX) *** glibc detected *** ./freeswitch: free(): invalid pointer: 0x08cf29d0 *** ======= Backtrace: ========= /lib/libc.so.6[0x3a0f41] /lib/libc.so.6(cfree+0x90)[0x3a4580] /lib/libc.so.6[0x3bae6f] /lib/libc.so.6(tzset+0x3d)[0x3bb77d] /lib/libc.so.6(strftime_l+0x46)[0x3c0006] /lib/libc.so.6(strftime+0x3f)[0x3bff5f] /usr/local/freeswitch/lib/libfreeswitch.so.1(apr_strftime+0x85) [0x19d395] /usr/local/freeswitch/lib/libfreeswitch.so.1(switch_strftime+0x39) [0x13a139] /usr/local/freeswitch/lib/libfreeswitch.so.1(switch_log_printf+0x126) [0x17f1f6] /usr/local/freeswitch/lib/libfreeswitch.so. 1(switch_play_and_get_digits+0x192)[0x175ad2] /usr/local/freeswitch/lib/libfreeswitch.so. 1(_ZN11CoreSession16playAndGetDigitsEiiiiPcS0_S0_S0_S0_+0xe2) [0x188242] /usr/local/freeswitch/mod/ mod_java .so (Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1playAndGetDigits +0x15d)[0xe46f3d]