VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
charlieb at cot.net Guest
|
Posted: Wed Aug 12, 2009 3:30 am Post subject: [Freeswitch-users] FS 1.0.4 official core dumping LUA stream |
|
|
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() |
|
Back to top |
|
|
mike at jerris.com Guest
|
Posted: Wed Aug 12, 2009 4:22 am Post subject: [Freeswitch-users] FS 1.0.4 official core dumping LUA stream |
|
|
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:
Quote: | 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()
|
|
|
Back to top |
|
|
charlieb at cot.net Guest
|
Posted: Wed Aug 12, 2009 10:22 am Post subject: [Freeswitch-users] FS 1.0.4 official core dumping LUA stream |
|
|
Done.
Thanks,
Charlie
From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Michael Jerris
Sent: Wednesday, August 12, 2009 2:12 AM
To: freeswitch-users@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() |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|