On 13/12/2017 03:09, Josh Rovero wrote:
I occasionally get the following subprocess "stack smashing" error
under Fedora Core 27 64-bit:
Running: /usr/bin/wsprd -a /home/josh/.local/share/WSJT-X -f 10.138700
/home/josh/.local/share/WSJT-X/save/171213_0248.wav
*** stack smashing detected ***: <unknown> terminated
I never saw the error under FC26....
It's WSJT-X 1.8.0...
--
P.J. "Josh" Rovero http://www.roveroresearch.org
Ham Radio: KK1D http://www.roveroresearch.
<http://www.roveroresearch.org/>net
http://www.roveroresearch.info
Hi Josh,
that probably means we have a stack based variable, probably an array,
that is sized incorrectly and the WSPR decoder is overflowing the space
allocated. The wsprd program, which is the WSPR decoder, is written in C
which doesn't have any array bounds checking so this can only be found
by a manual analysis of the code. The error is due to the compiler
running with stack protector mode on, that places "canaries" around
stack based array allocations. The canaries are know binary sequences
and the compiled code checks them after array accesses to look for any
changes to the canary sequences - like canaries down coal mines to
detect poisonous gasses.
73
Bill
G4WJS.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel