Oleg,<br><br>This is great information! Please go ahead and open a Jira on this so that we can keep track of the issue. More info on Jira can be found here:<br><a href="http://wiki.freeswitch.org/wiki/Reporting_Bugs">http://wiki.freeswitch.org/wiki/Reporting_Bugs</a><br>
<br>Thanks,<br>Michael<br><br><div class="gmail_quote">On Wed, Jul 25, 2012 at 8:47 AM, Oleg Khovayko <span dir="ltr">&lt;<a href="mailto:khovayko@gmail.com" target="_blank">khovayko@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
After recent upgrade, FreeSWITCH was unable to start.<br>
During startup, it generates SIGSEGV, and terminated.<br>
<br>
<br>
I investigated, what happening, and found - problem was in the obsolete<br>
mod_file_string (see debug log below).<br>
I disabled load this module, and FS works OK.<br>
<br>
I think, need remove this module from the repository, or make another<br>
steps, for preserve this crash.<br>
<br>
<br>
Thanks,<br>
<br>
Oleg<br>
<br>
<br>
<br>
  /usr/local/freeswitch/bin/freeswitch  -u sip -g sip  -hp -nonat<br>
<br>
<br>
Program received signal SIGSEGV, Segmentation fault.<br>
[Switching to Thread 0x28901040 (LWP 100138)]<br>
0x2818cb53 in switch_loadable_module_process (key=0x28bfdb80<br>
&quot;mod_file_string&quot;, new_module=0x295c51b8) at<br>
src/switch_loadable_module.c:321<br>
321                                     for (i = 0; ptr-&gt;extens[i]; i++) {<br>
(gdb) p i<br>
No symbol &quot;i&quot; in current context.<br>
(gdb) l<br>
316                     for (ptr =<br>
new_module-&gt;module_interface-&gt;file_interface; ptr; ptr = ptr-&gt;next) {<br>
317                             if (!ptr-&gt;interface_name) {<br>
318 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, &quot;Failed to<br>
load file interface from %s due to no interface name.\n&quot;, key);<br>
319                             } else {<br>
320                                     int i;<br>
321                                     for (i = 0; ptr-&gt;extens[i]; i++) {<br>
322 switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, &quot;Adding<br>
File Format &#39;%s&#39;\n&quot;, ptr-&gt;extens[i]);<br>
323                                             if<br>
(switch_event_create(&amp;event, SWITCH_EVENT_MODULE_LOAD) ==<br>
SWITCH_STATUS_SUCCESS) {<br>
324 switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, &quot;type&quot;,<br>
&quot;file&quot;);<br>
325 switch_event_add_header_string(event, SWITCH_STACK_BOTTOM, &quot;name&quot;,<br>
ptr-&gt;extens[i]);<br>
(gdb) p ptr<br>
$1 = (const switch_file_interface_t *) 0x295c5140<br>
(gdb) p *ptr<br>
$2 = {interface_name = 0x294d62b3 &quot;mod_file_string&quot;, file_open =<br>
0x294d6040 &lt;file_string_file_open&gt;, file_close = 0x294d5cf0<br>
&lt;file_string_file_close&gt;,<br>
   file_truncate = 0, file_read = 0x294d5f80 &lt;file_string_file_read&gt;,<br>
file_write = 0, file_read_video = 0x294d5c20 &lt;file_string_file_seek&gt;,<br>
file_write_video = 0,<br>
   file_seek = 0, file_set_string = 0x294d7520<br>
&lt;mod_file_string_module_interface+456&gt;, file_get_string = 0, extens =<br>
0x0, rwlock = 0x295c5188, refs = 0,<br>
   reflock = 0x295c51a0, parent = 0x295c50c0, next = 0x0}<br>
(gdb) p i<br>
No symbol &quot;i&quot; in current context.<br>
(gdb) where<br>
#0  0x2818cb53 in switch_loadable_module_process (key=0x28bfdb80<br>
&quot;mod_file_string&quot;, new_module=0x295c51b8) at<br>
src/switch_loadable_module.c:321<br>
#1  0x2818e32e in switch_loadable_module_load_module_ex (dir=0x2890d400<br>
&quot;/usr/local/freeswitch/mod&quot;, fname=Variable &quot;fname&quot; is not available.<br>
) at src/switch_loadable_module.c:1374<br>
#2  0x2818fe3f in switch_loadable_module_init (autoload=SWITCH_TRUE) at<br>
src/switch_loadable_module.c:1675<br>
#3  0x2818586a in switch_core_init_and_modload (flags=68097,<br>
console=SWITCH_TRUE, err=0xbfbfebec) at src/switch_core.c:1941<br>
#4  0x0804a560 in main (argc=7, argv=0xbfbfec4c) at src/switch.c:1027<br>
(gdb)<br>
<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-dev mailing list<br>
<a href="mailto:FreeSWITCH-dev@lists.freeswitch.org">FreeSWITCH-dev@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-dev" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-dev</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael S Collins<br>Twitter: @mercutioviz<br><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br><br><br>