From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15030 invoked by alias); 11 Sep 2013 16:50:59 -0000 Mailing-List: contact cygwin-xfree-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-xfree-owner@cygwin.com Reply-To: cygwin-xfree@cygwin.com Mail-Followup-To: cygwin-xfree@cygwin.com Received: (qmail 15017 invoked by uid 89); 11 Sep 2013 16:50:59 -0000 Received: from nm2-vm0.bt.bullet.mail.ird.yahoo.com (HELO nm2-vm0.bt.bullet.mail.ird.yahoo.com) (212.82.108.92) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Wed, 11 Sep 2013 16:50:59 +0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RDNS_NONE autolearn=no version=3.3.2 X-HELO: nm2-vm0.bt.bullet.mail.ird.yahoo.com Received: from [212.82.108.229] by nm2.bt.bullet.mail.ird.yahoo.com with NNFMP; 11 Sep 2013 16:50:55 -0000 Received: from [217.146.189.78] by tm2.bt.bullet.mail.ird.yahoo.com with NNFMP; 11 Sep 2013 16:50:55 -0000 Received: from [127.0.0.1] by smtp828.mail.ird.yahoo.com with NNFMP; 11 Sep 2013 16:50:55 -0000 X-Yahoo-SMTP: u.JgLvyswBBMp9ZJJfsX14qmYb3T2ivhMAr6OupnxLpNQEFZ9g-- X-Rocket-Received: from [192.168.1.72] (jon.turney@86.174.32.149 with plain) by smtp828.mail.ird.yahoo.com with SMTP; 11 Sep 2013 09:50:54 -0700 PDT Message-ID: <52309F76.4080606@dronecode.org.uk> Date: Wed, 11 Sep 2013 16:50:00 -0000 From: Jon TURNEY Reply-To: cygwin-xfree User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: cygwin-xfree@cygwin.com CC: andreasg123@gmail.com Subject: Re: XWin.exe crashes on Windows restart References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-09/txt/msg00007.txt.bz2 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=, > message=, > wParam=, lParam=) > at /usr/src/debug/xorg-server-1.14.2-2/hw/xwin/winmsgwindow.c:58 > pScreen = > hwnd = > message = 22 > wParam = > lParam = > #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/