posix_spawn
Jon Turney
jon.turney@dronecode.org.uk
Sun May 18 18:57:43 GMT 2025
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.
More information about the Cygwin
mailing list