When jq command doesn't exist, on AIX weirdly launching the subprocess still works, but then fails at the first write.
(SIGPIPE does not get caught so r2r exits with code 141)
Starting program: /home/guest/radare2/build/binr/r2r/r2r test/db/asm/or1k
INFO: Running from /home/guest/radare2/test
[Detaching after fork from child process 25428090]
Already up to date.
Loaded 160 tests.
[New Thread 258]
[Detaching after fork from child process 25428092]
[Switching to Thread 1]
Thread 1 hit Catchpoint 1 (signal SIGPIPE), 0x0900000000038be0 in write () from /lib/libc.a(shr_64.o)
(gdb) bt
#0 0x0900000000038be0 in write () from /lib/libc.a(shr_64.o)
#1 0x0000000100063048 in r2r_subprocess_stdin_write ()
#2 0x0000000100063eb4 in r2r_check_jq_available ()
#3 0x0000000100002aa8 in main ()
Environment
Description
When jq command doesn't exist, on AIX weirdly launching the subprocess still works, but then fails at the first write.
(SIGPIPE does not get caught so r2r exits with code 141)