[Freeswitch-users] FS 1.0.2 Crash and burn
Brian West
brian at freeswitch.org
Wed Feb 11 11:38:14 PST 2009
How about getting a backtrace of the core dump and opening a jira?
http://wiki.freeswitch.org/wiki/Reporting_Bugs
/b
On Feb 11, 2009, at 1:35 PM, Nik Middleton wrote:
> I was running in a screen session, so going back to the console it
> shows it’s a seg fault
>
> 2009-02-11 19:27:53 [NOTICE] sofia.c:3090 sofia_handle_sip_i_state()
> Hangup sofia/internal/1001 at 192.168.3.206 [CS_EXECUTE]
> [NORMAL_CLEARING]
> Segmentation fault (core dumped)
>
> Seg fault occurs on hangup
>
> What seems to be causing the problem is an insert statement.
>
> Note I’m using the protected call function to trap on any sql error
> (script will abort on error otherwise) but even calling it
> unprotected, the result is the same.
>
> function updatecall()
> query = "INSERT INTO CONTACT phonenum, group values
> 0771111111111, " .. CALLER ;
> freeswitch.consoleLog("info", query.."\n");
> res = assert (con:execute(query));
> if unexpected_condition then error() end
>
> end
>
>
> if type == "dtmf" and obj['digit'] == '9' then
> CALL_STATUS = "ORDER";
> pcall(updateDNC);
> session:streamFile("wait48.wav");
> return "break";
> end
>
>
> function myHangupHook(s, status, arg)
> freeswitch.consoleLog("info", " : They hung up on US!!!
> \n");
> con:close()
> env:close()
>
> end
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090211/8450db85/attachment-0002.html
More information about the FreeSWITCH-users
mailing list