This is the mail archive of the cygwin 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]

Re: STC for fork SEGV after dlclose

On May 27 09:39, David Rothenberger wrote:
> The libapr1 test cases starting failing with my 64-bit package and
> 1.7.19-6. They worked fine with 1.7.19-5. After a little
> investigation, I discovered that only the tests that involve fork()
> were failing and only if the "testdso" test case ran first. That
> test case checks loading and unloading DLLs.

Sigh.  Thanks for the testcase.  I wonder if it wouldn't be easier
to drop libapr1 instead... ;}

> I extracted the attached STC. It creates a simple DLL and uses
> dlopen() and dlclose() on it. Then it attempts a fork().
> With the latest 32-bit snapshot (2013-05-24) this causes a
> segfault. The same thing happens with the 64-bit release. With
> 1.7.18, the test case hangs for quite a while, but eventually
> finishes, except that the fork() never really happens and I get a
> weird error code when I run it in gdb. If I skip the dlclose() call,
> the STC runs fine.
> It's weird, but the libapr1 test suite does not fail on 32-bit with
> the 2013-05-24 snapshot (or with 1.7.18). I don't know why the STC

Above you said it fails on 32 bit with 2013-05-24, too.  What's the
last working snapshot?


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

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