public inbox for cygwin-xfree@sourceware.org
help / color / mirror / Atom feed
From: Jon TURNEY <jon.turney@dronecode.org.uk>
To: cygwin-xfree@cygwin.com
Cc: andreasg123@gmail.com
Subject: Re: XWin.exe crashes on Windows restart
Date: Wed, 11 Sep 2013 16:50:00 -0000	[thread overview]
Message-ID: <52309F76.4080606@dronecode.org.uk> (raw)
In-Reply-To: <CALt997=xeZUUduEbm6okoNFhTAF_LRETnHH+n1prjeOFq=pmSA@mail.gmail.com>

On 10/09/2013 22:16, Andreas Girgensohn wrote:
> I start XWin.exe via a shortcut when logging into Windows 7 (64-bit).
> Recently, I replaced my Cygwin installation with the 64-bit version.
> Now, XWin.exe crashes (SIGSEGV) every time I restart or shutdown
> Windows.
> 
> I produced a gdb backtrace by cancelling the restart quickly after the
> problem occurred.  Additional files are attached.
> 
> (gdb) bt full
> #0  0x00000001004071ea in winMsgWindowProc (hwnd=<optimized out>,
> message=<optimized out>,
>     wParam=<optimized out>, lParam=<optimized out>)
>     at /usr/src/debug/xorg-server-1.14.2-2/hw/xwin/winmsgwindow.c:58
>         pScreen = <optimized out>
>         hwnd = <optimized out>
>         message = 22
>         wParam = <optimized out>
>         lParam = <optimized out>
> #1  0x0000000077139bd1 in USER32!TranslateMessageEx ()
>    from /cygdrive/c/Windows/system32/USER32.dll
> No symbol table info available.
> #2  0x000000000000050c in ?? ()
> No symbol table info available.
> #3  0x0000000000000001 in ?? ()
> No symbol table info available.
> #4  0x0000000000000000 in ?? ()
> No symbol table info available.

Thanks for reporting this problem, and providing the backtrace.

I've added a patch which should fix this crash and uploaded a snapshot at [1].
Perhaps you could try that and see if it improves things for you?

[1] ftp://cygwin.com/pub/cygwinx/XWin.x86_64.20130911-git-0919b42581c05bf8.exe.bz2

> On a different note, when running gdb, I noticed that XWin.exe twice
> receives a SIGSYS when starting.  That does not affect normal
> operations.

This is expected when cygserver (which provides SySV shared memory) is not
running, as the X server tests to see if shared memory is available before
using it, by checking if shmget() causes a SIGSYS...

-- 
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/


  parent reply	other threads:[~2013-09-11 16:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-10 21:16 Andreas Girgensohn
2013-09-10 22:25 ` Larry Hall (Cygwin-X)
2013-09-11 16:50 ` Jon TURNEY [this message]
2013-09-12 20:34   ` Andreas Girgensohn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52309F76.4080606@dronecode.org.uk \
    --to=jon.turney@dronecode.org.uk \
    --cc=andreasg123@gmail.com \
    --cc=cygwin-xfree@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).