[Freeswitch-users] FS 1.0.4 official core dumping LUA streamFile

Charles Boening charlieb at cot.net
Wed Aug 12 08:14:17 PDT 2009


Done.

Thanks,
Charlie


From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Wednesday, August 12, 2009 2:12 AM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] FS 1.0.4 official core dumping LUA streamFile

If your seeing a segfault, please report it to jira.freeswitch.org with a backtrace and details of how to reproduce.

Mike

On Aug 12, 2009, at 2:37 AM, Charles Boening wrote:


Greetings,

I have the following LUA script (at end of email) in a fresh FS 1.0.4 install.  I originally did an upgrade from one of the 1.0.4preX versions but when I came across this issue I went fresh just to make sure there wasn't an incompatibility with my previous config.

What I'm seeing is a seg fault and a core dump after playing a sound file.  I originally had a file I recorded but when I ran into this issue I figured I'd try an included sound file but that doesn't seem to make a bit of difference.

2009-08-11 22:52:20.327071 [INFO] switch_cpp.cpp:1130 Starting test.lua
2009-08-11 22:52:20.327071 [INFO] switch_cpp.cpp:1130 Caller [XXXXXXXXXX] connected
2009-08-11 22:52:20.327071 [INFO] switch_cpp.cpp:1130 Pre streamFile
Segmentation fault (core dumped)


Any ideas?

Thanks,
Charlie



freeswitch.consoleLog("INFO", string.format("Starting test.lua\n"))
session:answer();
session:setHangupHook("session_hangup_hook")
calleridnumber = session:getVariable("caller_id_number")
calleridname = session:getVariable("caller_id_name")

if session:ready() then
   freeswitch.consoleLog("INFO", string.format("Caller [" .. calleridnumber .. "] connected\n"))
   freeswitch.consoleLog("INFO", string.format("Pre streamFile\n"))

   session:streamFile("conference/8000/conf-welcome.wav")

   freeswitch.consoleLog("INFO", string.format("Post streamFile.\n"))
end

function session_hangup_hook(status)
  freeswitch.consoleLog("INFO", "Session hangup: \n") --[[ .. status .. "\n") ]]--
  error()
end

session:hangup()

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090812/325c252e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list