This is the mail archive of the cygwin-developers mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

x86 fork/sigaction issue



Attached is a test case, extracted from pixman's fence-image-self-test testcase.

This seems work fine on x86_64, but fails on x86. This seems to be a regression, as it works correctly with Cygwin 2.3.1, but fails with 2.4.1 and later.

Poking at this with gdb, it seems that the child exits with a status indicating that it was terminated by SIGSEGV, so it's almost as if the signal handler somehow doesn't get installed properly.

This also seems to work correctly when straced, so I'm not sure what to make of that or how to investigate further...

Attachment: signal-fork-test.c
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]