Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging. thanks! (and happy monday!) chris
Hello, This is what i do: https://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recompiling_with_debug... and then i just run it with gdb. This also generates a core file. Regards, David ᐧ On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Thanks David - is there another way to do this not involving GDB? On Mon, Oct 24, 2016 at 9:51 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello,
This is what i do:
https://wiki.freeswitch.org/wiki/Debugging_Freeswitch# Recompiling_with_debug_symbols_on
and then i just run it with gdb. This also generates a core file.
Regards,
David ᐧ
On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
hello, it's on the same page :) ᐧ On Mon, Oct 24, 2016 at 4:14 PM, Chris Mandra <mandra@gmail.com> wrote:
Thanks David - is there another way to do this not involving GDB?
On Mon, Oct 24, 2016 at 9:51 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello,
This is what i do:
https://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recomp iling_with_debug_symbols_on
and then i just run it with gdb. This also generates a core file.
Regards,
David ᐧ
On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
D'OH! Thank you David On Mon, Oct 24, 2016 at 10:17 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
hello,
it's on the same page :)
ᐧ
On Mon, Oct 24, 2016 at 4:14 PM, Chris Mandra <mandra@gmail.com> wrote:
Thanks David - is there another way to do this not involving GDB?
On Mon, Oct 24, 2016 at 9:51 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello,
This is what i do:
https://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recomp iling_with_debug_symbols_on
and then i just run it with gdb. This also generates a core file.
Regards,
David ᐧ
On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
To be a little clearer, I'm following instructions from the newer debugging page: https://freeswitch.org/confluence/display/FREESWITCH/Debugging but don't seem to be seeing cores. If it matters, I'm running freeswitch in a docker container. Thanks, chris On Mon, Oct 24, 2016 at 10:24 AM, Chris Mandra <mandra@gmail.com> wrote:
D'OH! Thank you David
On Mon, Oct 24, 2016 at 10:17 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
hello,
it's on the same page :)
ᐧ
On Mon, Oct 24, 2016 at 4:14 PM, Chris Mandra <mandra@gmail.com> wrote:
Thanks David - is there another way to do this not involving GDB?
On Mon, Oct 24, 2016 at 9:51 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello,
This is what i do:
https://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recomp iling_with_debug_symbols_on
and then i just run it with gdb. This also generates a core file.
Regards,
David ᐧ
On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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/free switch-users http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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/free switch-users http://www.freeswitch.org
-- mandra c:410.258.5281
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
-- mandra c:410.258.5281
I think you can get a core dump by echoing 1 to /proc/sys/fs/suid_dumpable and that should give you core dumps. On Mon, 24 Oct 2016 10:36:25 -0400, Chris Mandra wrote:
[1 <multipart/related (7bit)>] [1.1 <multipart/alternative (7bit)>] [1.1.1 <text/plain; UTF-8 (quoted-printable)>] [1.1.2 <text/html; UTF-8 (quoted-printable)>] To be a little clearer, I'm following instructions from the newer debugging page: https://freeswitch.org/confluence/display/FREESWITCH/Debugging but don't seem to be seeing cores. If it matters, I'm running freeswitch in a docker container.
Thanks, chris
On Mon, Oct 24, 2016 at 10:24 AM, Chris Mandra <mandra@gmail.com> wrote:
D'OH! Thank you David
On Mon, Oct 24, 2016 at 10:17 AM, David Villasmil <david.villasmil.work@gmail.com> wrote:
hello,
it's on the same page :)
* * ᐧ
On Mon, Oct 24, 2016 at 4:14 PM, Chris Mandra <mandra@gmail.com> wrote:
Thanks David - is there another way to do this not involving GDB?
On Mon, Oct 24, 2016 at 9:51 AM, David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello,
This is what i do:
https://wiki.freeswitch.org/wiki/Debugging_Freeswitch#Recompiling_with_debug...
and then i just run it with gdb. This also generates a core file.
Regards,
David * ᐧ
On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
-- mandra c:410.258.5281 [2 <text/plain; us-ascii (7bit)>] _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
Thanks John! On Mon, Oct 24, 2016 at 10:58 AM, John Covici <covici@ccs.covici.com> wrote:
I think you can get a core dump by echoing 1 to /proc/sys/fs/suid_dumpable and that should give you core dumps.
On Mon, 24 Oct 2016 10:36:25 -0400, Chris Mandra wrote:
[1 <multipart/related (7bit)>] [1.1 <multipart/alternative (7bit)>] [1.1.1 <text/plain; UTF-8 (quoted-printable)>] [1.1.2 <text/html; UTF-8 (quoted-printable)>] To be a little clearer, I'm following instructions from the newer
debugging page:
https://freeswitch.org/confluence/display/FREESWITCH/Debugging but don't seem to be seeing cores. If it matters, I'm running freeswitch in a docker container.
Thanks, chris
On Mon, Oct 24, 2016 at 10:24 AM, Chris Mandra <mandra@gmail.com> wrote:
D'OH! Thank you David
On Mon, Oct 24, 2016 at 10:17 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
hello,
it's on the same page :)
* * ᐧ
On Mon, Oct 24, 2016 at 4:14 PM, Chris Mandra <mandra@gmail.com> wrote:
Thanks David - is there another way to do this not involving GDB?
On Mon, Oct 24, 2016 at 9:51 AM, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello,
This is what i do:
https://wiki.freeswitch.org/wiki/Debugging_Freeswitch# Recompiling_with_debug_symbols_on
and then i just run it with gdb. This also generates a core file.
Regards,
David * ᐧ
On Mon, Oct 24, 2016 at 3:47 PM, Chris Mandra <mandra@gmail.com> wrote:
Hi guys - quick question - Do I need to do anything special/specific to enable core dumps generated by default freeswitch? I'm working on a module and the trace info would be helpful for debugging.
thanks! (and happy monday!) chris
____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
-- mandra c:410.258.5281 [2 <text/plain; us-ascii (7bit)>] ____________________________________________________________
Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it?
John Covici covici@ccs.covici.com
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.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
-- mandra c:410.258.5281
participants (3)
-
Chris Mandra
-
David Villasmil
-
John Covici