[Freeswitch-users] FS 1.0.2 Crash and burn

Nik Middleton nik.middleton at noblesolutions.co.uk
Wed Feb 11 12:22:01 PST 2009


Forget my last, followed the link

 

Regards,

 

________________________________

From: freeswitch-users-bounces at lists.freeswitch.org
[mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
Brian West
Sent: 11 February 2009 19:38
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] FS 1.0.2 Crash and burn

 

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/6678be19/attachment-0002.html 


More information about the FreeSWITCH-users mailing list