Re: [Freetel-codec2] Segmentation Fault

2018-03-23 Thread Alan Beard
Hi David,

Both codec2-dev and FreeDV updated to Ver 3431.
Compiled and running, no Segmentation Faults.

Thanks

All I need is some on-air signals. My FT-450 is ready.

Alan VK2ZIW

On Sat, 24 Mar 2018 08:28:21 +1030, David Rowe wrote
> Hi Alan,
> 
> OK try "svn up" then make again, have fixed it and checked into SVN.
> 
> Thanks,
> 
> David
> 
> On 24/03/18 07:11, Alan Beard wrote:
> > *Hi Steve,*
> > *
> > *
> > *I'm not a "C" guru but here is the only meaningful "gdb" output:*
> > *
> > *
> > *
> > Program received signal SIGSEGV, Segmentation fault.
> > freedv_set_total_bits (f=0x0, val=0)
> >      at 
> > /downloads/hamradio/digital/FreeDV/3424codec2dev/codec2-
dev/src/freedv_api.c:1611
> > 1611void freedv_set_total_bits                (struct freedv *f, int 
> > val) {f->total_bits = val;}
> > 
> > *
> > *
> > *and*
> > *
> > *
> > *
> > [Thread 0x7fffd79d5700 (LWP 26620) exited]
> > *** Error in `/home/data/apps/freedv3424/bin/freedv': malloc(): smallbin 
> > double linked list corrupted: 0x00cdd7f0 ***
> > === Backtrace: =
> > 
> > /lib64/libwx_baseu-3.0.so.0(_Z7wxEntryRiPPw+0x70)[0x75b2f100]
> > /home/data/apps/freedv3424/bin/freedv(main+0x22)[0x457ce5]
> > /lib64/libc.so.6(__libc_start_main+0xf0)[0x7401c580]
> > /home/data/apps/freedv3424/bin/freedv(_start+0x29)[0x4362c9]
> > 
> > == All double Dutch to me ===
> > 
> > *
> > *
> > *
> > On Fri, 23 Mar 2018 10:31:47 -0500, Steve wrote*
> >  > You might try running freedv under gdb.
> >  >
> >  > $ gdb freedv
> >  > (gdb) run
> >  >
> >  > To figure out what section is causing the memory error.
> > 
> > 
> > Alan
> > 
> > Evil flourishes when good men do nothing.
> > Consider the Christmas child.
> > --
-
> > Alan Beard               Unix Support Technician from 1984 to today
> > 70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
> > Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals 
> > etc..
> > +61 2 47353013 (h)       Support Programming, shell scripting, "C", 
> > assembler
> > 0414 353013 (mobile)     After uni, electronics tech
> > 
> > 
> > --

> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > 
> > 
> > 
> > ___
> > Freetel-codec2 mailing list
> > Freetel-codec2@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/freetel-codec2
> >
> 
> 
--
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Alan

Evil flourishes when good men do nothing.
Consider the Christmas child.
---
Alan Beard   Unix Support Technician from 1984 to today
70 Wedmore Rd.   Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals etc..
+61 2 47353013 (h)   Support Programming, shell scripting, "C", assembler
0414 353013 (mobile) After uni, electronics tech


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Re: [Freetel-codec2] Segmentation Fault

2018-03-23 Thread David Rowe

Hi Alan,

OK try "svn up" then make again, have fixed it and checked into SVN.

Thanks,

David

On 24/03/18 07:11, Alan Beard wrote:

*Hi Steve,*
*
*
*I'm not a "C" guru but here is the only meaningful "gdb" output:*
*
*
*
Program received signal SIGSEGV, Segmentation fault.
freedv_set_total_bits (f=0x0, val=0)
     at 
/downloads/hamradio/digital/FreeDV/3424codec2dev/codec2-dev/src/freedv_api.c:1611
1611void freedv_set_total_bits                (struct freedv *f, int 
val) {f->total_bits = val;}


*
*
*and*
*
*
*
[Thread 0x7fffd79d5700 (LWP 26620) exited]
*** Error in `/home/data/apps/freedv3424/bin/freedv': malloc(): smallbin 
double linked list corrupted: 0x00cdd7f0 ***

=== Backtrace: =

/lib64/libwx_baseu-3.0.so.0(_Z7wxEntryRiPPw+0x70)[0x75b2f100]
/home/data/apps/freedv3424/bin/freedv(main+0x22)[0x457ce5]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7401c580]
/home/data/apps/freedv3424/bin/freedv(_start+0x29)[0x4362c9]

== All double Dutch to me ===

*
*
*
On Fri, 23 Mar 2018 10:31:47 -0500, Steve wrote*
 > You might try running freedv under gdb.
 >
 > $ gdb freedv
 > (gdb) run
 >
 > To figure out what section is causing the memory error.


Alan

Evil flourishes when good men do nothing.
Consider the Christmas child.
---
Alan Beard               Unix Support Technician from 1984 to today
70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals 
etc..
+61 2 47353013 (h)       Support Programming, shell scripting, "C", 
assembler

0414 353013 (mobile)     After uni, electronics tech


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Re: [Freetel-codec2] Segmentation Fault

2018-03-23 Thread glen english

sounds like something overwrote some memory


On 24/03/2018 7:41 AM, Alan Beard wrote:

*Hi Steve,*
*
*
*I'm not a "C" guru but here is the only meaningful "gdb" output:*
*
*
*
Program received signal SIGSEGV, Segmentation fault.
freedv_set_total_bits (f=0x0, val=0)
    at 
/downloads/hamradio/digital/FreeDV/3424codec2dev/codec2-dev/src/freedv_api.c:1611
1611void freedv_set_total_bits                (struct freedv *f, int 
val) {f->total_bits = val;}


*
*
*and*
*
*
*
[Thread 0x7fffd79d5700 (LWP 26620) exited]
*** Error in `/home/data/apps/freedv3424/bin/freedv': malloc(): 
smallbin double linked list corrupted: 0x00cdd7f0 ***

=== Backtrace: =

/lib64/libwx_baseu-3.0.so.0(_Z7wxEntryRiPPw+0x70)[0x75b2f100]
/home/data/apps/freedv3424/bin/freedv(main+0x22)[0x457ce5]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7401c580]
/home/data/apps/freedv3424/bin/freedv(_start+0x29)[0x4362c9]

== All double Dutch to me ===

*
*
*
On Fri, 23 Mar 2018 10:31:47 -0500, Steve wrote*
> You might try running freedv under gdb.
>
> $ gdb freedv
> (gdb) run
>
> To figure out what section is causing the memory error.


Alan

Evil flourishes when good men do nothing.
Consider the Christmas child.
--- 


Alan Beard               Unix Support Technician from 1984 to today
70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, 
terminals etc..
+61 2 47353013 (h)       Support Programming, shell scripting, "C", 
assembler

0414 353013 (mobile)     After uni, electronics tech


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2




--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Re: [Freetel-codec2] Segmentation Fault

2018-03-23 Thread David Rowe

Thanks Alan - I'll take a look at it today.

- aAvid

On 24/03/18 07:11, Alan Beard wrote:

*Hi Steve,*
*
*
*I'm not a "C" guru but here is the only meaningful "gdb" output:*
*
*
*
Program received signal SIGSEGV, Segmentation fault.
freedv_set_total_bits (f=0x0, val=0)
     at 
/downloads/hamradio/digital/FreeDV/3424codec2dev/codec2-dev/src/freedv_api.c:1611
1611void freedv_set_total_bits                (struct freedv *f, int 
val) {f->total_bits = val;}


*
*
*and*
*
*
*
[Thread 0x7fffd79d5700 (LWP 26620) exited]
*** Error in `/home/data/apps/freedv3424/bin/freedv': malloc(): smallbin 
double linked list corrupted: 0x00cdd7f0 ***

=== Backtrace: =

/lib64/libwx_baseu-3.0.so.0(_Z7wxEntryRiPPw+0x70)[0x75b2f100]
/home/data/apps/freedv3424/bin/freedv(main+0x22)[0x457ce5]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7401c580]
/home/data/apps/freedv3424/bin/freedv(_start+0x29)[0x4362c9]

== All double Dutch to me ===

*
*
*
On Fri, 23 Mar 2018 10:31:47 -0500, Steve wrote*
 > You might try running freedv under gdb.
 >
 > $ gdb freedv
 > (gdb) run
 >
 > To figure out what section is causing the memory error.


Alan

Evil flourishes when good men do nothing.
Consider the Christmas child.
---
Alan Beard               Unix Support Technician from 1984 to today
70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals 
etc..
+61 2 47353013 (h)       Support Programming, shell scripting, "C", 
assembler

0414 353013 (mobile)     After uni, electronics tech


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Re: [Freetel-codec2] Segmentation Fault

2018-03-23 Thread Alan Beard
Hi Steve,

I'm not a "C" guru but here is the only meaningful "gdb" output:

Program received signal SIGSEGV, Segmentation fault.

freedv_set_total_bits (f=0x0, val=0)

    at 
/downloads/hamradio/digital/FreeDV/3424codec2dev/codec2-dev/src/freedv_api.c:1611

1611 void freedv_set_total_bits                (struct freedv *f, int val) 
{f->total_bits = val;}

and

[Thread 0x7fffd79d5700 (LWP 26620) exited]

*** Error in `/home/data/apps/freedv3424/bin/freedv': malloc(): smallbin double 
linked list corrupted: 0x00cdd7f0 ***

=== Backtrace: =



/lib64/libwx_baseu-3.0.so.0(_Z7wxEntryRiPPw+0x70)[0x75b2f100]

/home/data/apps/freedv3424/bin/freedv(main+0x22)[0x457ce5]

/lib64/libc.so.6(__libc_start_main+0xf0)[0x7401c580]

/home/data/apps/freedv3424/bin/freedv(_start+0x29)[0x4362c9]

== All double Dutch to me ===

On Fri, 23 Mar 2018 10:31:47 -0500, Steve wrote
> You might try running freedv under gdb.
> 
> $ gdb freedv
> (gdb) run
> 
> To figure out what section is causing the memory error.

Alan

Evil flourishes when good men do nothing. 
Consider the Christmas child. 
--- 
Alan Beard               Unix Support Technician from 1984 to today 
70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS 
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals etc.. 
+61 2 47353013 (h)       Support Programming, shell scripting, "C", assembler 
0414 353013 (mobile)     After uni, electronics tech
 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Re: [Freetel-codec2] Segmentation Fault

2018-03-23 Thread Steve
You might try running freedv under gdb.

$ gdb freedv
(gdb) run

To figure out what section is causing the memory error.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Re: [Freetel-codec2] Skeds, times and frequencies please

2018-03-23 Thread Alan Beard
Hi all,

I just downloaded codec2-dev and FreeDV Ver 3424 compiled it and running.
Fedora 23 x86_64

A simple silly noticed.

After pressing [Start] and seeing the BER value changing, pressing the [Reset]
the BER number drops, and rises as frames are received - all is well.

Now press [Stop] and then [Reset] and poof, Segmentation Fault.

When running, 1600 receiving noise on my terminal
23 392.418976
27 1654.817139
16 31.622776
19 93.057205
25 805.842163
1 0.143301
6 0.865964
18 64.938164
28 2371.373779
3 0.294273
11 5.232991
10 3.651741
0 0.10


Alan VK2ZIW

Evil flourishes when good men do nothing.
Consider the Christmas child.
---
Alan Beard   Unix Support Technician from 1984 to today
70 Wedmore Rd.   Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals etc..
+61 2 47353013 (h)   Support Programming, shell scripting, "C", assembler
0414 353013 (mobile) After uni, electronics tech


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2