public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
* Git version, XWin dies in cygwin but not in Windows
@ 2010-09-27 15:43 Michel Hummel
2010-09-28 14:39 ` Jon TURNEY
0 siblings, 1 reply; 2+ messages in thread
From: Michel Hummel @ 2010-09-27 15:43 UTC (permalink / raw)
To: cygwin-xfree
I am testing the git version of the XWin server (I don't know if it is
the good place to talk about this version) and I am experiencing a
problem (May be it is also a problem on the official Xwin).
Sometime ( I can not make a reproducible test case) when the server
stops, the Xwin process disappears from Cygwin (as expected) but the
Windows process XWin.exe still be alive.
After some investigations (I'm not a good Windows hacker) it seems
that the process hangs on the call to PostQuitMessage (0); of the
function ddxGiveUp of the file InitOutput.c
I can't tell why (Like I said, I'm not a good Windows hacker) but my
tests seems to show that delete this call fixes the bug (may be there
is no link ).
Is it possible that this problem lies to the fact that the main window
is destroyed before the call to PostQuitMessage (So the WM_QUIT
message can't be treated isn't it ?)
Well It's a question more than a notice.
Thanks,
Michel Hummel
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Git version, XWin dies in cygwin but not in Windows
2010-09-27 15:43 Git version, XWin dies in cygwin but not in Windows Michel Hummel
@ 2010-09-28 14:39 ` Jon TURNEY
0 siblings, 0 replies; 2+ messages in thread
From: Jon TURNEY @ 2010-09-28 14:39 UTC (permalink / raw)
To: cygwin-xfree; +Cc: hummel.michel
On 27/09/2010 16:43, Michel Hummel wrote:
> I am testing the git version of the XWin server (I don't know if it is
> the good place to talk about this version)
This is absolutely the right place :-)
I presume by 'git version' you mean the X.Org master tree.
> and I am experiencing a
> problem (May be it is also a problem on the official Xwin).
> Sometime ( I can not make a reproducible test case) when the server
> stops, the Xwin process disappears from Cygwin (as expected) but the
> Windows process XWin.exe still be alive.
There are currently quite a few patches applied on top of the X.Org releases
to make the cygwin released version (cygwin releases are tagged in [1]), at
least one of which is related to stability during shutdown [5].
If you want a tree with those patches forward ported to xserver 1.9, take a
look at [2]
Sorry that the contributors guide documentation is somewhat out of date and
doesn't contain this information.
> After some investigations (I'm not a good Windows hacker) it seems
> that the process hangs on the call to PostQuitMessage (0); of the
> function ddxGiveUp of the file InitOutput.c
>
> I can't tell why (Like I said, I'm not a good Windows hacker) but my
> tests seems to show that delete this call fixes the bug (may be there
> is no link ).
>
> Is it possible that this problem lies to the fact that the main window
> is destroyed before the call to PostQuitMessage (So the WM_QUIT
> message can't be treated isn't it ?)
That shouldn't be the case, PostMessage() [3] functions are supposed to by
asynchronous (unlike SendMessage() [4] which is synchronous, waiting for the
message to be processed before returning)
[1] http://cgit.freedesktop.org/~yselkowitz/xserver/
[2] http://cgit.freedesktop.org/~jturney/xserver/log/?h=cygwin-1.9-testing
[3] http://msdn.microsoft.com/en-us/library/ms644945%28VS.85%29.aspx
[4] http://msdn.microsoft.com/en-us/library/ms644950%28VS.85%29.aspx
[5]
http://cgit.freedesktop.org/~yselkowitz/xserver/commit/?h=cygwin-release-1.8&id=9cbbc1e8aefc6111f6ccdc73c061337508061996
--
Jon TURNEY
Volunteer Cygwin/X X Server maintainer
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ: http://x.cygwin.com/docs/faq/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-28 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-27 15:43 Git version, XWin dies in cygwin but not in Windows Michel Hummel
2010-09-28 14:39 ` Jon TURNEY
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).