the list is ALWAYS the wrong place to report bugs / send core dumps..

if this is a bug that you can reproduce.
create a JIRA for it, and upload the core there..
Also be sure to include steps to reproduce etc.

then if it needs further discussion, discuss it on the list with the link to the jira
for others to look at..




On Mon, Jul 11, 2011 at 10:48 AM, Chris Cureau <cmcureau@gmail.com> wrote:
I tried to send a core dump earlier on the list, but I can't see it in the archive for some reason...if anyone wants the core, let me know.

Otherwise, this is the text of the previous message:

I don't claim to be an expert at gdb at all, but after compiling with debugging symbols here's what I got:

GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter...done.
(gdb) set args -m V.17 -i -r
(gdb) break 470
Breakpoint 1 at 0x4016cc: file ../src/make_modem_filter.c, line 470.
(gdb) run
Starting program: /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter -m V.17 -i -r

Breakpoint 1, main (argc=5, argv=0x7fffffffebf8) at ../src/make_modem_filter.c:470
470         make_rx_filter(rx_coeff_sets,
(gdb) print rx_coeff_sets
$1 = 192
(gdb) print rx_coeffs_per_filter
$2 = 27
(gdb) print carrier
$3 = 1800
(gdb) print baud_rate
$4 = 2400
(gdb) print rx_excess_bandwidth
$5 = 0.5
(gdb) print fixed_point
$6 = 1
(gdb) print rx_tag
$7 = 0x4026bf ""
(gdb) step

Program received signal SIGSEGV, Segmentation fault.
0x0000000000400d1e in make_rx_filter (coeff_sets=Cannot access memory at address 0x7ffffff9e62c
) at ../src/make_modem_filter.c:163
163 {
(gdb) 

On Sun, Jul 10, 2011 at 6:07 PM, Steven Ayre <steveayre@gmail.com> wrote:
I run on Debian too. If Steve Underwood doesn't beat me to it I'll try to reproduce it in the morning.

Steve on iPhone

On 10 Jul 2011, at 21:27, Chris Cureau <cmcureau@gmail.com> wrote:

Hi, Steve...thanks for replying!

No core dump...but I did pass it through gdb (without compiling with debugging symbols)...

GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter...(no debugging symbols found)...done.
(gdb) set args -m V.17
(gdb) run
Starting program: /usr/local/src/freeswitch/libs/spandsp/src/make_modem_filter -m V.17

Program received signal SIGSEGV, Segmentation fault.
0x0000000000400d1e in make_rx_filter ()


On Sun, Jul 10, 2011 at 2:58 PM, Steven Ayre <steveayre@gmail.com> wrote:
Did you get a coredump generated?

-Steve


On 10 July 2011 19:04, Chris Cureau <cmcureau@gmail.com> wrote:
Hi there!

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:

making all mod_spandsp
Making all in src
/bin/bash: line 1: 22453 Segmentation fault      ./make_modem_filter -m V.17 -r > v17_v32bis_rx_floating_rrc.h
make[7]: *** [v17_v32bis_rx_floating_rrc.h] Error 139
make[6]: *** [all] Error 2
make[5]: *** [all-recursive] Error 1
make[4]: *** [/usr/local/src/freeswitch/libs/spandsp/src/libspandsp.la] Error 2
make[3]: *** [mod_spandsp-all] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

running make_modem_filter manually gets the same result.  Twiddling with the commandline options doesn't help either.

OS: Debian 6.0.1a amd64, also a fresh install from last night.

Any idea what is happening?

Thanks in advance!


_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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



_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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


_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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

_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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



_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

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




--
Sincerely

Jay