Hi All, I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software. Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) - connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump. I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes. Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it. Kind Regards, Stuart
A core dump is always a bug. Check if it happens on the latest git head (it may already be fixed). If it does it there collect a backtrack and file a Jira. http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... Steve On 21 Feb 2013, at 16:49, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi All,
I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software.
Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) -
connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK
Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump.
I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes.
Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it.
Kind Regards,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Cheers Steven, This was only built last Friday from the latest git head, I'll check to see if there’s been any latest release since then. If I am on the latest, how do I go about reporting the bug? Cheers, Stuart From: Steven Ayre Sent: Thursday, February 21, 2013 5:01 PM To: FreeSWITCH Users Help Cc: mailto:freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Outbound mod event bug A core dump is always a bug. Check if it happens on the latest git head (it may already be fixed). If it does it there collect a backtrack and file a Jira. http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... Steve On 21 Feb 2013, at 16:49, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote: Hi All, I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software. Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) - connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump. I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes. Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it. Kind Regards, Stuart _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -------------------------------------------------------------------------------- _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
On Thu, Feb 21, 2013 at 2:39 PM, Stuart Mills <stuart.mills3@btopenworld.com
wrote:
Cheers Steven,
This was only built last Friday from the latest git head, I'll check to see if there’s been any latest release since then.
If I am on the latest, how do I go about reporting the bug?
All the information is on this page: http://wiki.freeswitch.org/wiki/Reporting_Bugs Skip the parts about how to test and go straight to the part about opening a Jira. -MC
Cheers,
Stuart
*From:* Steven Ayre <steveayre@gmail.com> *Sent:* Thursday, February 21, 2013 5:01 PM *To:* FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> *Cc:* mailto:freeswitch-users@lists.freeswitch.org<freeswitch-users@lists.freeswitch.org> *Subject:* Re: [Freeswitch-users] Outbound mod event bug
A core dump is always a bug.
Check if it happens on the latest git head (it may already be fixed). If it does it there collect a backtrack and file a Jira.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb...
Steve
On 21 Feb 2013, at 16:49, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi All,
I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software.
Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) -
connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK
Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump.
I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes.
Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it.
Kind Regards,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
------------------------------ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
Bug tracker is on http://jira.freeswitch.org - register and then create an issue. The wiki link I posted before has plenty of helpful information. It would be useful to add a description of how to reproduce the crash. If you can create a short simple script that triggers the crash that would be even better. Also a debug-level log and crucially the coredump which the wiki has instructions on collecting. The coredump shows exactly where/what triggered the crash. Steve On 21 Feb 2013, at 22:39, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Cheers Steven,
This was only built last Friday from the latest git head, I'll check to see if there’s been any latest release since then.
If I am on the latest, how do I go about reporting the bug?
Cheers,
Stuart
From: Steven Ayre Sent: Thursday, February 21, 2013 5:01 PM To: FreeSWITCH Users Help Cc: mailto:freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] Outbound mod event bug
A core dump is always a bug.
Check if it happens on the latest git head (it may already be fixed). If it does it there collect a backtrack and file a Jira.
http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb...
Steve
On 21 Feb 2013, at 16:49, "Stuart Mills" <stuart.mills3@btopenworld.com> wrote:
Hi All,
I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software.
Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) -
connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK
Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump.
I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes.
Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it.
Kind Regards,
Stuart _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
For the record all crashes are considered bugs. Sometimes its a bad code path and sometimes its just an improper build but either way we encourage bug reports on crashes. First try a full rebuild and update: UNIX: -- this is all-in-one process that updates to latest and builds everything. make current WINDOWS update to latest with your git client open project file clean solution build solution If you can still reproduce, get a backtrace per the wiki mentioned by Steven and post it to jira. On Thu, Feb 21, 2013 at 10:49 AM, Stuart Mills < stuart.mills3@btopenworld.com> wrote:
Hi All,
I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software.
Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) -
connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK
Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump.
I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes.
Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it.
Kind Regards,
Stuart
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
One little update, Clean solution doesn't work in the MSBUILD on windows. It is safe to rebuild the FreeSwitchCoreLib, and then just build the whole solutoin. This has never been fixed since the first build for windows back in the VS2005 days. This is because the download and other projects don't have clean methods. If you need to do a "Totally Fresh" build on windows then do a "git clean -dfx" first. --Dave _____ From: Anthony Minessale [mailto:anthony.minessale@gmail.com] To: FreeSWITCH Users Help [mailto:freeswitch-users@lists.freeswitch.org] Sent: Thu, 21 Feb 2013 19:47:19 -0800 Subject: Re: [Freeswitch-users] Outbound mod event bug For the record all crashes are considered bugs. Sometimes its a bad code path and sometimes its just an improper build but either way we encourage bug reports on crashes. First try a full rebuild and update: UNIX: -- this is all-in-one process that updates to latest and builds everything. make current WINDOWS update to latest with your git client open project file clean solution build solution If you can still reproduce, get a backtrace per the wiki mentioned by Steven and post it to jira. On Thu, Feb 21, 2013 at 10:49 AM, Stuart Mills <stuart.mills3@btopenworld.com> wrote: Hi All, I know some of you may not consider this as a bug, especially if things are done in the correct way this would never happen, but please read on and I'll explain the issue as I was a little surprised at how badly FreeSwitch handled this user error, seen as though it’s such a good piece of software. Basically, a call arrives into Freeswitch and a connection is established to a remote server, then the following relay occurs (in it’s simplest terms) - connect sent into Freeswitch FreeSwitch replies OK myevents sent into FreeSwitch FreeSwitch replies OK answer sent into FreeSwitch FreeSwitch replies OK bridge with arguments sent into FreeSwitch FreeSwitch replies OK Now, everything is perfect up until here and I'd say that as a call switching platform it’s doing exactly what is being asked of it – however here’s the bit most of you would agree is wrong and isn’t a “real” bug - if you reply again with another bridge, be it by mistake or a deliberate attempt to fool FreeSwitch, the system crashes and causes a core dump. I can get this to happen every time, no warning, no nothing, just a crash dump and FreeSwitch dies in front of my eyes. Answers on a postcard please – try not to be too harsh. I am particularly new to FreeSwitch and find it very very good, I was just really surprised to fin a bug that could crash it. Kind Regards, Stuart _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org -- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (5)
-
Anthony Minessale
-
Dave R. Kompel
-
Michael Collins
-
Steven Ayre
-
Stuart Mills