Freeswitch + freetdm dumps core on Ubuntu 12.10
Hi! Tried compiling freeswitch with freetdm on Ubuntu 12.10 using both v1.2.stable and Master from git. Both dump core. Here is what gdb says: Program received signal SIGSEGV, Segmentation fault. 0xb7e12596 in switch_loadable_module_process (key=key@entry=0x8120ea8 "mod_file_string", new_module=new_module@entry=0x82a4200) at src/switch_loadable_module.c:321 321 for (i = 0; ptr->extens[i]; i++) { What is the best way forward? Report it as a bug? Julf
Do you have any modules.conf.xml with critical="true"? If so FS will intentionally segfault if one of those modules has an error loading. If not see http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... get a full backtrace, and debug-level logs would also be helpful. -Steve On 14 February 2013 08:38, Johan Helsingius <julf@julf.com> wrote:
Hi!
Tried compiling freeswitch with freetdm on Ubuntu 12.10 using both v1.2.stable and Master from git. Both dump core. Here is what gdb says:
Program received signal SIGSEGV, Segmentation fault. 0xb7e12596 in switch_loadable_module_process (key=key@entry=0x8120ea8 "mod_file_string", new_module=new_module@entry=0x82a4200) at src/switch_loadable_module.c:321 321 for (i = 0; ptr->extens[i]; i++) {
What is the best way forward? Report it as a bug?
Julf
_________________________________________________________________________ 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
Do you have any modules.conf.xml with critical="true"? If so FS will intentionally segfault if one of those modules has an error loading.
No, critical is not set for any modules.
If not see http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... to get a full backtrace, and debug-level logs would also be helpful.
Will do - will just have to recompile Master, as I have stable compiled right now. Julf
If not see http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... to get a full backtrace, and debug-level logs would also be helpful.
Here is the info: http://pastebin.freeswitch.org/20580 Julf
frame 0 print *new_module->module_interface->file_interface On Feb 14, 2013, at 5:54 AM, Johan Helsingius <julf@julf.com> wrote:
If not see http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... to get a full backtrace, and debug-level logs would also be helpful.
Here is the info:
http://pastebin.freeswitch.org/20580
Julf
One step closer to making a mailing list bot to do what Steven just did ;) On Thu, Feb 14, 2013 at 12:35 PM, Michael Jerris <mike@jerris.com> wrote:
frame 0 print *new_module->module_interface->file_interface
On Feb 14, 2013, at 5:54 AM, Johan Helsingius <julf@julf.com> wrote:
If not see http://wiki.freeswitch.org/wiki/Reporting_Bugs#Creating_A_Backtrace_With_gdb... to get a full backtrace, and debug-level logs would also be helpful.
Here is the info:
http://pastebin.freeswitch.org/20580
Julf
_________________________________________________________________________ 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
On 14/02/13 19:35, Michael Jerris wrote:
frame 0 print *new_module->module_interface->file_interface
(gdb) frame 0 #0 0xb7e11d66 in switch_loadable_module_process (key=key@entry=0x8120eb0 "mod_file_string", new_module=new_module@entry=0x8295c08) at src/switch_loadable_module.c:321 321 for (i = 0; ptr->extens[i]; i++) { (gdb) print *new_module->module_interface->file_interface $1 = {interface_name = 0xb5417fd4 "mod_file_string", file_open = 0xb5417d00 <file_string_file_open>, file_close = 0xb5417980 <file_string_file_close>, file_truncate = 0x0, file_read = 0xb5417c30 <file_string_file_read>, file_write = 0x0, file_read_video = 0xb54178b0 <file_string_file_seek>, file_write_video = 0x0, file_seek = 0x0, file_set_string = 0xb541a080, file_get_string = 0x0, extens = 0x0, rwlock = 0x8295ba0, refs = 0, reflock = 0x8295bd8, parent = 0x8295ab8, next = 0x0}
mod_file_string was merged in to mod_dptools a while back, are you still trying to load the old .so module for it? On Feb 14, 2013, at 2:45 PM, Johan Helsingius <julf@julf.com> wrote:
On 14/02/13 19:35, Michael Jerris wrote:
frame 0 print *new_module->module_interface->file_interface
(gdb) frame 0 #0 0xb7e11d66 in switch_loadable_module_process (key=key@entry=0x8120eb0 "mod_file_string", new_module=new_module@entry=0x8295c08) at src/switch_loadable_module.c:321 321 for (i = 0; ptr->extens[i]; i++) {
(gdb) print *new_module->module_interface->file_interface $1 = {interface_name = 0xb5417fd4 "mod_file_string", file_open = 0xb5417d00 <file_string_file_open>, file_close = 0xb5417980 <file_string_file_close>, file_truncate = 0x0, file_read = 0xb5417c30 <file_string_file_read>, file_write = 0x0, file_read_video = 0xb54178b0 <file_string_file_seek>, file_write_video = 0x0, file_seek = 0x0, file_set_string = 0xb541a080, file_get_string = 0x0, extens = 0x0, rwlock = 0x8295ba0, refs = 0, reflock = 0x8295bd8, parent = 0x8295ab8, next = 0x0}
_________________________________________________________________________ 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
participants (4)
-
Anthony Minessale
-
Johan Helsingius
-
Michael Jerris
-
Steven Ayre