Hi David,
Crashed again, about 11:35 on Sunday receiving a QSO, same place:
"cron" started it again and it ran until my deliberate stop/start at midnight 
(1.03am) then all day....

This is exciting stuff...

(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0xb6959f9c in __GI_abort () at abort.c:79
#2  0xb69a979c in __libc_message (action=action@entry=do_abort, fmt=<optimized 
out>) at ../sysdeps/posix/libc_fatal.c:181
#3  0xb69aff50 in malloc_printerr (str=<optimized out>) at malloc.c:5350
#4  0xb69b024c in malloc_consolidate (av=av@entry=0xb6a8a7e4 <main_arena>) at 
malloc.c:4441
#5  0xb69b35a4 in _int_malloc (av=av@entry=0xb6a8a7e4 <main_arena>, 
bytes=363043672, bytes@entry=89600) at malloc.c:3703
#6  0xb69b5d94 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) 
at malloc.c:3436
#7  0xb6e93efc in run_ldpc_decoder (ldpc=ldpc@entry=0x6e1e80, out_char=0x70 
<error: Cannot access memory at address 0x70>, 
    out_char@entry=0xbee07200 
"8\236ǹV`\353\272\372A\226\271\203\252\262\272\336\270-\270\vRP\271O\"\235:}\n\276;\213\022\276:\035\334\347;\250\204\016\272\263\\/\273,\004\271\272*\246\345\273Vp*:\210lU;\261\331\311:M\002\377;Y\207]\271\021\061\215\272ҵ$\272\214\333S\273\345\tV9\004\351\212:x\002\203\272\247\235\253\273$+\362\272y\026
 \274\270V\270\071x", input=input@entry=0xbee072e0, 
    parityCheckCount=parityCheckCount@entry=0xbee0b084)
    at 
/home/alanb/Applications/freedv/3757codec2dev/codec2-dev/src/mpdecode_core.c:643
#8  0xb6e8b3f0 in freedv_comprx_700d (f=f@entry=0x6ebfa8, 
demod_in_8kHz=demod_in_8kHz@entry=0xbee0b118, 
    valid=valid@entry=0xbee0b0e4) at 
/home/alanb/Applications/freedv/3757codec2dev/codec2-dev/src/freedv_api.c:1805
#9  0xb6e8d18c in freedv_comprx (f=f@entry=0x6ebfa8, 
speech_out=speech_out@entry=0xbee103d0, demod_in=0xbee0b118)
    at 
/home/alanb/Applications/freedv/3757codec2dev/codec2-dev/src/freedv_api.c:1921
#10 0xb6e8d478 in freedv_rx (f=0x6ebfa8, speech_out=0xbee103d0, 
demod_in=0xbee10dd0)
    at 
/home/alanb/Applications/freedv/3757codec2dev/codec2-dev/src/freedv_api.c:1241
#11 0x004f509c in main (argc=<optimized out>, argv=<optimized out>) at 
/home/alanb/Applications/freedv/parrot/parrot.c:815
(gdb) quit

ls -l done/.
-rw-r--r-- 1 alanb tims  272 Jul 28 20:20 done/2018-07-28-20:20:46_to_radio.700C
-rw-r--r-- 1 alanb tims  288 Jul 28 20:21 done/2018-07-28-20:21:25_to_radio.700C
-rw-r--r-- 1 alanb tims  336 Jul 28 20:47 done/2018-07-28-20:47:10_to_radio.700C
-rw-r--r-- 1 alanb tims  608 Jul 28 20:48 done/2018-07-28-20:48:05_to_radio.700C
-rw-r--r-- 1 alanb tims  256 Jul 28 20:49 done/2018-07-28-20:48:45_to_radio.700C
-rw-r--r-- 1 alanb tims  432 Jul 28 20:50 done/2018-07-28-20:49:26_to_radio.700C
-rw-r--r-- 1 alanb tims  352 Jul 28 20:51 done/2018-07-28-20:51:14_to_radio.700C
-rw-r--r-- 1 alanb tims    0 Jul 28 20:53 done/2018-07-28-20:53:42_to_radio.700C
-rw-r--r-- 1 alanb tims  352 Jul 28 21:25 done/2018-07-28-21:25:26_to_radio.700C
-rw-r--r-- 1 alanb tims  800 Jul 28 21:26 done/2018-07-28-21:26:02_to_radio.700C
-rw-r--r-- 1 alanb tims  512 Jul 28 21:26 done/2018-07-28-21:26:49_to_radio.700C
-rw-r--r-- 1 alanb tims  528 Jul 28 21:27 done/2018-07-28-21:27:29_to_radio.700C
-rw-r--r-- 1 alanb tims  624 Jul 28 21:28 done/2018-07-28-21:28:17_to_radio.700C
-rw-r--r-- 1 alanb tims  640 Jul 28 21:29 done/2018-07-28-21:28:55_to_radio.700C
-rw-r--r-- 1 alanb tims 1008 Jul 28 21:29 done/2018-07-28-21:29:30_to_radio.700C
-rw-r--r-- 1 alanb tims  496 Jul 28 21:30 done/2018-07-28-21:30:20_to_radio.700C
-rw-r--r-- 1 alanb tims  480 Jul 28 21:32 done/2018-07-28-21:31:53_to_radio.700C
-rw-r--r-- 1 alanb tims  240 Jul 28 21:33 done/2018-07-28-21:33:02_to_radio.700C
-rw-r--r-- 1 alanb tims  256 Jul 29 11:23 done/2018-07-29-11:22:59_to_radio.700C
-rw-r--r-- 1 alanb tims  896 Jul 29 11:24 done/2018-07-29-11:23:51_to_radio.700C
-rw-r--r-- 1 alanb tims 1520 Jul 29 11:25 done/2018-07-29-11:25:16_to_radio.700C
-rw-r--r-- 1 alanb tims 3552 Jul 29 11:27 done/2018-07-29-11:26:12_to_radio.700C
-rw-r--r-- 1 alanb tims  832 Jul 29 11:29 done/2018-07-29-11:29:01_to_radio.700C
-rw-r--r-- 1 alanb tims 3632 Jul 29 11:31 done/2018-07-29-11:29:44_to_radio.700C
-rw-r--r-- 1 alanb tims  384 Jul 29 11:34 done/2018-07-29-11:34:08_to_radio.700C
-rw-r--r-- 1 alanb tims 2512 Jul 29 11:35 done/2018-07-29-11:34:42_to_radio.700C
-rw-r--r-- 1 alanb tims 4096 Jul 29 11:36 done/2018-07-29-11:35:59_to_radio.700C
-rw-r--r-- 1 alanb tims    0 Jul 29 11:52 done/2018-07-29-11:52:17_to_radio.700C
-rw-r--r-- 1 alanb tims  496 Jul 29 16:54 done/2018-07-29-16:54:14_to_radio.700C
-rw-r--r-- 1 alanb tims  464 Jul 29 16:54 done/2018-07-29-16:54:42_to_radio.700C
-rw-r--r-- 1 alanb tims 1120 Jul 29 16:55 done/2018-07-29-16:55:05_to_radio.700C
-rw-r--r-- 1 alanb tims  512 Jul 29 16:56 done/2018-07-29-16:56:19_to_radio.700C
-rw-r--r-- 1 alanb tims  544 Jul 29 16:57 done/2018-07-29-16:57:15_to_radio.700C
-rw-r--r-- 1 alanb tims  192 Jul 29 20:17 done/2018-07-29-20:17:09_to_radio.700C
-rw-r--r-- 1 alanb tims  576 Jul 29 20:17 done/2018-07-29-20:17:38_to_radio.700C
-rw-r--r-- 1 alanb tims  768 Jul 29 20:18 done/2018-07-29-20:17:58_to_radio.700C
-rw-r--r-- 1 alanb tims  480 Jul 29 20:19 done/2018-07-29-20:19:35_to_radio.700C
-rw-r--r-- 1 alanb tims  672 Jul 29 20:20 done/2018-07-29-20:19:54_to_radio.700C
-rw-r--r-- 1 alanb tims  288 Jul 29 20:30 done/2018-07-29-20:30:21_to_radio.700C
-rw-r--r-- 1 alanb tims  784 Jul 29 20:34 done/2018-07-29-20:34:22_to_radio.700C

On Sat, 28 Jul 2018 12:52:28 +1000, Alan Beard wrote
> Hi all,
> A few bugs with shutdown and startup cron scripts.
> 
> ie. If I use "pkill -u user parrot" the audio is left in a "bad" state.
> If I then do a "record". it cleans up the audio and "parrot" will
> run and initialise the audio without fault.
> 
> /usr/bin/arecord -D hw:2,0 -d 10 -f S16_LE > /dev/null

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
 

Attachment: 11_36am_to_radio.700C
Description: Binary data

------------------------------------------------------------------------------
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

Reply via email to