Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events
Here is the required detail. http://pastebin.freeswitch.org/11049 On Mon, Nov 9, 2009 at 10:04 PM, Anthony Minessale anthony.miness...@gmail.com wrote: 1) install gdb 2) run support_d/fscore_db in the tree from the working directory of the core. 3) if you are not on svn trunk, make current and start over. On Mon, Nov 9, 2009 at 5:53 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Dear all, I did the below code, to callback a function when CHANNEL_EXECUTE_COMPLETE event comes. I executed the script for the 1st time and I got nothing. When I executed the script for the 2nd time, it ended with Sedmentation fault with core dumped. I was unable to attach the core dump file with this mail. Please specify how to send files to freeswitch user mailing list if need be. The freeswitch log is here: http://pastebin.freeswitch.org/11038 #!/usr/bin/perl use strict; use Data::Dumper; our $session; $session-answer(); my $events=new freeswitch::EventConsumer(CHANNEL_EXECUTE_COMPLETE); $events-pop(1); $events-swig_e_callback_set(playvoice); sub playvoice() { freeswitch::consoleLog(INFO,Call back function called\n); } return 1; ___ 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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:213-799-1400 ___ 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 ___ 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
Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events
You need to install the debug packages so you the symbols because that backtrace is useless. /b On Nov 10, 2009, at 10:10 PM, lakshmanan ganapathy wrote: Here is the required detail. http://pastebin.freeswitch.org/11049 ___ 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
Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events
It doesn't look like its trying to look for symbols inside freeswitch gdb /path/to/freeswitch/here /path/to/core/here bt thread apply all bt Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mr...@avgs.ca On 10-Nov-09, at 8:10 PM, lakshmanan ganapathy wrote: Here is the required detail. http://pastebin.freeswitch.org/11049 On Mon, Nov 9, 2009 at 10:04 PM, Anthony Minessale anthony.miness...@gmail.com wrote: 1) install gdb 2) run support_d/fscore_db in the tree from the working directory of the core. 3) if you are not on svn trunk, make current and start over. On Mon, Nov 9, 2009 at 5:53 AM, lakshmanan ganapathy lakindi...@gmail.com wrote: Dear all, I did the below code, to callback a function when CHANNEL_EXECUTE_COMPLETE event comes. I executed the script for the 1st time and I got nothing. When I executed the script for the 2nd time, it ended with Sedmentation fault with core dumped. I was unable to attach the core dump file with this mail. Please specify how to send files to freeswitch user mailing list if need be. The freeswitch log is here: http://pastebin.freeswitch.org/11038 #!/usr/bin/perl use strict; use Data::Dumper; our $session; $session-answer(); my $events=new freeswitch::EventConsumer(CHANNEL_EXECUTE_COMPLETE); $events-pop(1); $events-swig_e_callback_set(playvoice); sub playvoice() { freeswitch::consoleLog(INFO,Call back function called\n); } return 1; ___ 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_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.org pstn:213-799-1400 ___ 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 ___ 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 ___ 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
Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events
What is meant by debug packages. Kindly specify where it is available. On Wed, Nov 11, 2009 at 10:09 AM, Brian West br...@freeswitch.org wrote: You need to install the debug packages so you the symbols because that backtrace is useless. /b On Nov 10, 2009, at 10:10 PM, lakshmanan ganapathy wrote: Here is the required detail. http://pastebin.freeswitch.org/11049 ___ 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 ___ 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
[Freeswitch-users] Freeswitch core dumped, when setting callback to events
Dear all, I did the below code, to callback a function when CHANNEL_EXECUTE_COMPLETE event comes. I executed the script for the 1st time and I got nothing. When I executed the script for the 2nd time, it ended with Sedmentation fault with core dumped. I was unable to attach the core dump file with this mail. Please specify how to send files to freeswitch user mailing list if need be. The freeswitch log is here: http://pastebin.freeswitch.org/11038 #!/usr/bin/perl use strict; use Data::Dumper; our $session; $session-answer(); my $events=new freeswitch::EventConsumer(CHANNEL_EXECUTE_COMPLETE); $events-pop(1); $events-swig_e_callback_set(playvoice); sub playvoice() { freeswitch::consoleLog(INFO,Call back function called\n); } return 1; ___ 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
Re: [Freeswitch-users] Freeswitch core dumped, when setting callback to events
1) install gdb 2) run support_d/fscore_db in the tree from the working directory of the core. 3) if you are not on svn trunk, make current and start over. On Mon, Nov 9, 2009 at 5:53 AM, lakshmanan ganapathy lakindi...@gmail.comwrote: Dear all, I did the below code, to callback a function when CHANNEL_EXECUTE_COMPLETE event comes. I executed the script for the 1st time and I got nothing. When I executed the script for the 2nd time, it ended with Sedmentation fault with core dumped. I was unable to attach the core dump file with this mail. Please specify how to send files to freeswitch user mailing list if need be. The freeswitch log is here: http://pastebin.freeswitch.org/11038 #!/usr/bin/perl use strict; use Data::Dumper; our $session; $session-answer(); my $events=new freeswitch::EventConsumer(CHANNEL_EXECUTE_COMPLETE); $events-pop(1); $events-swig_e_callback_set(playvoice); sub playvoice() { freeswitch::consoleLog(INFO,Call back function called\n); } return 1; ___ 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_miness...@hotmail.com msn%3aanthony_miness...@hotmail.com GTALK/JABBER/PAYPAL:anthony.miness...@gmail.compaypal%3aanthony.miness...@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:8...@conference.freeswitch.org sip%3a...@conference.freeswitch.org iax:gu...@conference.freeswitch.org/888 googletalk:conf+...@conference.freeswitch.orggoogletalk%3aconf%2b...@conference.freeswitch.org pstn:213-799-1400 ___ 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