I don't claim to be an expert at gdb at all, but after compiling with debugging symbols here's what I got:<div><br></div><div><div>GNU gdb (GDB) 7.0.1-debian</div><div>Copyright (C) 2009 Free Software Foundation, Inc.</div>
<div>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</a>></div><div>This is free software: you are free to change and redistribute it.</div><div>
There is NO WARRANTY, to the extent permitted by law. Type "show copying"</div><div>and "show warranty" for details.</div><div>This GDB was configured as "x86_64-linux-gnu".</div><div>For bug reporting instructions, please see:</div>
<div><<a href="http://www.gnu.org/software/gdb/bugs/">http://www.gnu.org/software/gdb/bugs/</a>>...</div><div>Reading symbols from /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter...done.</div><div>(gdb) set args -m V.17 -i -r</div>
<div>(gdb) break 470</div><div>Breakpoint 1 at 0x4016cc: file ../src/make_modem_filter.c, line 470.</div><div>(gdb) run</div><div>Starting program: /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter -m V.17 -i -r</div>
<div><br></div><div>Breakpoint 1, main (argc=5, argv=0x7fffffffebf8) at ../src/make_modem_filter.c:470</div><div>470<span class="Apple-tab-span" style="white-space:pre">        </span> make_rx_filter(rx_coeff_sets,</div><div>
(gdb) print rx_coeff_sets</div><div>$1 = 192</div><div>(gdb) print rx_coeffs_per_filter</div><div>$2 = 27</div><div>(gdb) print carrier</div><div>$3 = 1800</div><div>(gdb) print baud_rate</div><div>$4 = 2400</div><div>(gdb) print rx_excess_bandwidth</div>
<div>$5 = 0.5</div><div>(gdb) print fixed_point</div><div>$6 = 1</div><div>(gdb) print rx_tag</div><div>$7 = 0x4026bf ""</div><div>(gdb) step</div><div><br></div><div>Program received signal SIGSEGV, Segmentation fault.</div>
<div>0x0000000000400d1e in make_rx_filter (coeff_sets=Cannot access memory at address 0x7ffffff9e62c</div><div>) at ../src/make_modem_filter.c:163</div><div>163<span class="Apple-tab-span" style="white-space:pre">        </span>{</div>
<div>(gdb) </div><div><br></div><div>Also attached a core file for your viewing pleasure :)</div><div><br></div><br><div class="gmail_quote">On Sun, Jul 10, 2011 at 3:27 PM, Chris Cureau <span dir="ltr"><<a href="mailto:cmcureau@gmail.com">cmcureau@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hi, Steve...thanks for replying!</div><div><br></div>No core dump...but I did pass it through gdb (without compiling with debugging symbols)...<div>
<br></div><div><div>GNU gdb (GDB) 7.0.1-debian</div><div>Copyright (C) 2009 Free Software Foundation, Inc.</div>
<div>License GPLv3+: GNU GPL version 3 or later <<a href="http://gnu.org/licenses/gpl.html" target="_blank">http://gnu.org/licenses/gpl.html</a>></div><div>This is free software: you are free to change and redistribute it.</div>
<div>
There is NO WARRANTY, to the extent permitted by law. Type "show copying"</div><div>and "show warranty" for details.</div><div>This GDB was configured as "x86_64-linux-gnu".</div><div>For bug reporting instructions, please see:</div>
<div><<a href="http://www.gnu.org/software/gdb/bugs/" target="_blank">http://www.gnu.org/software/gdb/bugs/</a>>...</div><div>Reading symbols from /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter...(no debugging symbols found)...done.</div>
<div>(gdb) set args -m V.17</div><div>(gdb) run</div><div>Starting program: /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter -m V.17</div><div><br></div><div>Program received signal SIGSEGV, Segmentation fault.</div>
<div>0x0000000000400d1e in make_rx_filter ()</div><div><div></div><div class="h5"><div><br></div><br><div class="gmail_quote">On Sun, Jul 10, 2011 at 2:58 PM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Did you get a coredump generated?<br><br>-Steve<br><br><br><div class="gmail_quote"><div><div></div><div>On 10 July 2011 19:04, Chris Cureau <span dir="ltr"><<a href="mailto:cmcureau@gmail.com" target="_blank">cmcureau@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>
<span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:13px">Hi there!<div><br></div><div>This morning, I did a fresh git checkout and attempted to build freeswitch with mod_freetdm and mod_flite defined in the modules.conf. I am now getting a segfault when compiling:</div>
<div><br></div><div><div>making all mod_spandsp</div><div>Making all in src</div><div>/bin/bash: line 1: 22453 Segmentation fault ./make_modem_filter -m V.17 -r > v17_v32bis_rx_floating_rrc.h</div><div>make[7]: *** [v17_v32bis_rx_floating_rrc.h] Error 139</div>
<div>make[6]: *** [all] Error 2</div><div>make[5]: *** [all-recursive] Error 1</div><div>make[4]: *** [/usr/local/src/freeswitch/libs/spandsp/src/<a href="http://libspandsp.la/" style="color:rgb(0, 0, 204)" target="_blank">libspandsp.la</a>] Error 2</div>
<div>make[3]: *** [mod_spandsp-all] Error 1</div><div>make[2]: *** [all-recursive] Error 1</div><div>make[1]: *** [all-recursive] Error 1</div><div>make: *** [all] Error 2</div></div><div><br></div><div>running make_modem_filter manually gets the same result. Twiddling with the commandline options doesn't help either.</div>
<div><br></div><div>OS: Debian 6.0.1a amd64, also a fresh install from last night.</div><div><br></div><div>Any idea what is happening?</div><div><br></div><div>Thanks in advance!</div><div><br></div></span>
<br></div></div>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br><div style="padding:0px;margin-left:0px;margin-top:0px;overflow:hidden;word-wrap:break-word;color:black;font-size:10px;text-align:left;line-height:130%">
</div>
<br>_______________________________________________<br>
Join us at ClueCon 2011, Aug 9-11, Chicago<br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>