[pskmail] Re: cron to start pskmail server

  • From: Franz Rohrauer <franz.rohrauer@xxxxxx>
  • To: pskmail@xxxxxxxxxxxxx
  • Date: Fri, 13 Jun 2014 09:36:48 +0200

Hi Pär,

fldigi is running since 2014-05-01 in debug mode. It works very stable, during this 6 weeks periode no crashes have occured!

Versions: 3.21.81 and 3.21.82
OS: Linux Mint Debian Edition

73

Franz

Am 2014-06-12 19:07, schrieb Pär Crusefalk:
Hi Franz,

Does this look anything like the crashes you have?

I: [08:04:21] soundcard/sound.cxx:1483: rbsize = 32768
[Thread 0xb41a9b40 (LWP 26726) exited]
[New Thread 0xb41a9b40 (LWP 26727)]
D: [08:04:21] rigcontrol/ptt.cxx:279: Status 04, 00000100
D: [08:04:29] rigcontrol/ptt.cxx:279: Status 00, 00000000
D: [08:04:29] trx/trx.cxx:484: trx state rx
I: [08:04:29] soundcard/sound.cxx:1081: Port Audio open mode = Read, device type = paALSA D: [08:04:29] soundcard/sound.cxx:1530: looking for device "C-Media USB Headphone Set: USB Audio (hw:1,0)" D: [08:04:29] soundcard/sound.cxx:1610: input: resampling 44100.000000 <=> 8000.000000
I: [08:04:29] soundcard/sound.cxx:1483: rbsize = 16384
[Thread 0xb41a9b40 (LWP 26727) exited]
[New Thread 0xb41a9b40 (LWP 26730)]
I: [08:04:29] misc/arq_io.cxx:653: <ACK>
I: [08:04:31] misc/arq_io.cxx:248: Parsing: <cmd><mode>PSK500R</mode></cmd>
I: [08:04:31] dialogs/fl_digi.cxx:1066: mode: 52, freq: 0
D: [08:04:31] trx/trx.cxx:484: trx state new modem
D: [08:04:31] trx/trx.cxx:484: trx state rx
I: [08:04:31] soundcard/sound.cxx:1081: Port Audio open mode = Read, device type = paALSA D: [08:04:31] soundcard/sound.cxx:1530: looking for device "C-Media USB Headphone Set: USB Audio (hw:1,0)" D: [08:04:31] soundcard/sound.cxx:1610: input: resampling 44100.000000 <=> 8000.000000
I: [08:04:31] soundcard/sound.cxx:1483: rbsize = 16384
[Thread 0xb41a9b40 (LWP 26730) exited]
[New Thread 0xb41a9b40 (LWP 26734)]
I: [08:04:31] misc/arq_io.cxx:291: ARQ mode  PSK500R
X I/O error
*** buffer overflow detected ***: /home/per/Hämtningar/src/fldigi-3.21.82/src/fldigi terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x63)[0xb794b7b3]
/lib/i386-linux-gnu/libc.so.6(+0x10652a)[0xb794a52a]
/lib/i386-linux-gnu/libc.so.6(+0x10769a)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5277b40 (LWP 12198)]
0x0824377f in trx_trx_receive_loop () at trx/trx.cxx:252
252                        rbvec[0].buf[i] = fbuf[i];
(gdb)


73, Per
sm0rwo

2014-06-03 11:57, Franz Rohrauer skrev:
Per,

Here is Dave's mail, hope it helps.

73, Franz, oe5rtl
-------------------------------------------------------------
Franz,

The crash dump that you provided does not give me sufficient detail to determine the cause of the segmentation fault. Can you please download the latest version 3.21.81, build and then run using the gnu debugger?

Close down the pskmail server, then

$ cd
$ mkdir fldigi-src
$ cd fldigi-src
$ wget http://www.w1hkj.com/downloads/fldigi/fldigi-3.21.81.tar.gz
$ tar xzf fldigi-3.21.81.tar.gz
$ cd fldigi-3.21.81
$ ./configure
$ make
$ script (should show "Script started, file is typescript"); perhaps auf Deutsche
$ gdb src/fldigi
(gdb) r --debug-level 5

Start your pskmail server and allow the gdb/debug/fldigi to run until it crashes. It should then put you back to the debugger prompt. Then execute:

(gdb) bt
(gdb) quit

$ exit (should show "Script done, file is typescript"); perhaps auf Deutsche

Send me these files

~/fldigi-src/typescript
~/.fldigi/status_log.txt

Danke.

73, Dave

--------------------------------------------------------------------------------

Am 2014-06-03 11:51, schrieb Pär Crusefalk:
Hi Franz,

Great info, I do run that version but not debugging. I will try that.

73, Per
sm0rwo

Franz Rohrauer skrev 2014-06-03 11:47:
Per,

I had same troubles with fldigi. Dave, w1hkj told me to update to
version 3.21.81 and to run it with a debugger. Now it works for 4
weeks without any crash...

73, Franz,
oe5rtl

Am 2014-06-03 10:20, schrieb Pär Crusefalk:
That is a good idea. Actually, as fldigi is such complete crap I'd like a script that can check if fldigi is locked up or completely crashed and
relaunch it every hour or so (it's always crashed when I check the
server). Wasn't there such a function a while back? Anyone happen to
have a script somewhere I can modify?

73, Per
sm0rwo



A Mulder (Redacted sender amulder@xxxxxxxxx for DMARC) skrev 2014-06-03
09:58:
Hello Greg,

Try adding DISPLAY=:0 to the top of your cron file instead.

Regards,

Alex
--------------------------------------------
On Mon, 6/2/14, Greg <kb1ncj@xxxxxxxxx> wrote:

   Subject: [pskmail] cron to start pskmail server
   To: "pskmail@xxxxxxxxxxxxx" <pskmail@xxxxxxxxxxxxx>
   Date: Monday, June 2, 2014, 8:40 AM
     I am attempting to get server to
   start in cron but as of yet only get a terminal with no
   output. Any help appreciated!
     Using
     export DISPLAY=:0 && lxterminal -e "pskmail_server"
     where "pskmail_server" (without quotes) works correctly in a
   terminal now. Just not with the cron command.
     Greg
   KB1NCJ








Other related posts: