El 23/12/25 a las 9:02, Ramiro Aceves escribió:
El 23/12/25 a las 7:22, Michael van Elst escribió:
ea1abz%gmail.com@localhost (Ramiro Aceves) writes:
#0 0x000078935bb7eeea in _lwp_kill () from /usr/lib/libc.so.12 #1 0x000078935bb846e0 in abort () from /usr/lib/libc.so.12 #2 0x000078935c022fdc in __enable_execute_stack (addr=<optimized out>) at enable-execute-stack.c:77
This sounds like the program requires an executable stack. You may need to allow that by patching the binary with something like: paxctl +m /path/to/binary This will disable the protection for the process running that binary.
Hello Michael, you were right! It does not crash now with paxctl +m in / usr/pkg/bin/jt9 binary
netbsd-nuc# paxctl /usr/pkg/bin/jt9
PaX flags:
m: mprotect(2) restrictions, explicit disable
netbsd-nuc#
decoder does not crash now:
netbsd-nuc$ jt9 -8 170923_082000.wav
<DecodeFinished> 0 0 0
But unfortunately WSJTX does not show decodes when feeding the program
with test audio files.
I will continue investigating. Regards.
Hi Michael,Sorry, I think I was using wrong audio files. Text decoder works now after your paxctl +m tweak.
netbsd-nuc$ jt9 -8 210703_133430.wav
Program received signal SIGABRT: Process abort signal.
Backtrace for this error:
#0 0x6f9ed717f61f in ???
#1 0x6f9ed717eeea in ???
[1] Abort trap (core dumped) jt9 -8 210703_133430.wav
netbsd-nuc# paxctl +m /usr/pkg/bin/jt9
netbsd-nuc$ jt9 -8 210703_133430.wav
133430 15 0.3 2571 ~ W1FC F5BZB -08
133430 -2 -0.8 1197 ~ CQ F5RXL IN94
133430 13 -0.1 2157 ~ WM3PEN EA6VQ -09
133430 -13 0.3 590 ~ K1JT HA0DU KN07
133430 -7 0.1 723 ~ A92EE F5PSR -14
133430 -3 -0.1 2695 ~ K1BZM EA3GP -09
133430 -13 0.3 641 ~ N1JFU EA6EE R-07
133430 -3 0.2 466 ~ N1PJT HB9CQK -10
133430 -7 0.4 2734 ~ W1DIG SV9CVY -14
133430 -16 0.1 1649 ~ K1JT EA3AGB -15
133430 -16 0.3 400 ~ W0RSJ EA3BMU RR73
<DecodeFinished> 0 11 0
But sadly live decoding do not work at all. I will continue investigating.
Thanks.
Ramiro.