[Bug 44816] Cygwin/MSYS2 `script -e` exit status forwarding randomly returns zero for non zero child process

WineHQ Bugzilla wine-bugs at winehq.org
Tue Feb 4 16:33:59 CST 2020


https://bugs.winehq.org/show_bug.cgi?id=44816

--- Comment #2 from Zebediah Figura <z.figura12 at gmail.com> ---
(In reply to Zebediah Figura from comment #1)
> I'm guessing the double-free results from the kernel freeing the thread's
> stack once it's terminated (I'm not sure, and it's hard to be sure just from
> skimming the kernel code, but it seems like the only sane thing to do?)
> since we certainly don't free it ourselves.

Actually, on further testing, it seems the kernel doesn't free anything. So
what gives? How could there possibly be a double free here?

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list