On 23/04/2025 20:46, Camm Maguire via Cygwin wrote:
Greetings! Trying to isolate this as you suggest. On first
attempt, copying the exact same strings and calls into a main()
function succeeds. I am near stumped, and can only guess that the
addresses returned by malloc on _init of the file_actions and attr
structures is triggering something. Suggestions welcome.
The other alternative is to run the failing program under gdb, and step
into posix_spawnp() and see what error path it's taking out of that and/
or what's causing that code to be returned. That might shed some light
on what's going wrong.
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple