Re: Flamp Segment Fault using Script

Mike P.

WT, I am surmising that the only thing that is
changing is the size of the file(s) that you have
been sending. If the current file sizes are larger
than before, perhaps the scheduled transmissions
are stepping on each other before the prior one
has finished.

Try spacing out your EVENT TIMES and see if
that helps. I'm not sure if that is the problem but
I would be interested to know how you fare.


--- Mike Pompey, AE7XB
Port Orchard, Washington state

On 26 Nov 2017 at 21:54, W. T. Jones wrote:

The usual info:
Fldigi 4.0.12
Flamp 2.2.03
Ubuntu 16.04 LTS up to date with patches.

I use Flamp to send a Sunday Night Bulletin to our County's ARES membership. The bulletin is
in HTML format. Last January I decided to dive into the Flamp Scripts so that I didn't have to sit
and watch the computer while it sent the bulletins. It has been working rather well until 2 months
ago. When the time happens to kick off the Flamp at 0200Z Flamp segment faults. The worst
part of it is that it is not happening consistently. 3 weeks ago it worked. The past 2 weeks
including tonight it faulted. I have been trying to figure it out for 2 months without much success.

Here is a sample of the segment faults:
Sep 24 21:15:00 secaprs kernel: [ 2694.155293] flamp[3038]: segfault at 8 ip 00007fe3fd20d36e
sp 00007ffc386a0920 error 4 in[7fe3fd0ee000+172000]
Oct  1 21:15:00 secaprs kernel: [  991.653993] flamp[2524]: segfault at 8 ip 00007f51f06be36e
sp 00007fff0b6cab40 error 4 in[7f51f059f000+172000]
Oct  1 21:15:00 secaprs ntpd[1191]: local addr -> <null>
Oct 15 21:15:00 secaprs kernel: [48086.239836] flamp[8674]: segfault at 8 ip 00007faea86e636e
sp 00007ffcd8dd83b0 error 4 in[7faea85c7000+172000]
Oct 15 21:15:10 secaprs kernel: [48096.828457] perf interrupt took too long (5003 > 5000),
lowering kernel.perf_event_max_sample_rate to 25000
Oct 21 14:37:00 secaprs kernel: [ 6854.113233] flamp[4324]: segfault at 8 ip 00007f03736da36e
sp 00007ffc7a8f74b0 error 4 in[7f03735bb000+172000]
Oct 21 14:39:00 secaprs kernel: [ 6974.574189] flamp[4595]: segfault at 8 ip 00007f20a60e336e
sp 00007ffcde5d2a40 error 4 in[7f20a5fc4000+172000]
Nov 26 21:00:00 secaprs kernel: [ 9330.602498] flamp[3645]: segfault at 8 ip 00007f77ca99736e
sp 00007ffe78c08390 error 4 in[7f77ca878000+172000]
Nov 26 21:02:00 secaprs kernel: [ 9450.500065] flamp[3729]: segfault at 8 ip 00007f01b64d436e
sp 00007ffffb687460 error 4 in[7f01b63b5000+172000]

Attached is the script and the bulletin for tonight. Any ideas would be helpful as to what I am
doing wrong.


Real heroes do not wear capes. They wear dog tags, turnout gear, and badges!

Electronics usually stop working once the magic smoke is released.

Join to automatically receive all group messages.