From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83506 invoked by alias); 1 Apr 2015 13:31:46 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 83490 invoked by uid 89); 1 Apr 2015 13:31:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=3.9 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wg0-f50.google.com Received: from mail-wg0-f50.google.com (HELO mail-wg0-f50.google.com) (74.125.82.50) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 01 Apr 2015 13:31:44 +0000 Received: by wgbdm7 with SMTP id dm7so53559379wgb.1 for ; Wed, 01 Apr 2015 06:31:41 -0700 (PDT) X-Received: by 10.181.9.98 with SMTP id dr2mr15002954wid.62.1427895101677; Wed, 01 Apr 2015 06:31:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.13.135 with HTTP; Wed, 1 Apr 2015 06:31:00 -0700 (PDT) Reply-To: fracting@gmail.com In-Reply-To: <20150401122206.GA5725@calimero.vinschen.de> References: <20150401103733.GA4835@calimero.vinschen.de> <20150401113620.GA11571@calimero.vinschen.de> <20150401122206.GA5725@calimero.vinschen.de> From: Qian Hong Date: Wed, 01 Apr 2015 13:31:00 -0000 Message-ID: Subject: Re: Cygwin / MSYS2 runtime fails on Wine beause of accessing to (*ReferencedDomains)->Domains[-1] To: cygwin Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00021.txt.bz2 Hi Corinna, On Wed, Apr 1, 2015 at 8:22 PM, Corinna Vinschen wrote: > > I now `git push'ed and re-created the April's fool snapshot *with* the > patch to address your issue. Thanks for the quick fix. I tested a little bit but it doesn't work, and my patch to Wine still works. Unfortunately it would be a bit tricky for me to provide a backtrace very soon due to limited debug symbol support of WineDbg. Before look deeper, could we confirm we are testing the same binary? I'm testing: x86/cygwin1-20150401.dll.xz $ sha1sum cygwin1-20150401.dll.xz 01d5092d48f3742cedcb28ea646b10088373d549 cygwin1-20150401.dll.xz $ sha1sum cygwin1-20150401.dll 5619b74582a6584626c6dc05106698f9560d0d8a cygwin1-20150401.dll I renamed cygwin1-20150401.dll to cygwin1.dll and copied to C:\cygwin\bin\cygwin1.dll But Wine bash.exe still crashes, in a slightly different way: originally, it complains about access to invalid memory address 0x00000002, now it turns to invalid address 0x00000000 => not sure this is useful information. Here is some strace.exe output: 228 142321 [main] bash 11 __get_lcid_from_locale: LCID=0x0409 659 142980 [main] bash 11 pwdgrp::fetch_account_from_windows: line: 715 143695 [main] bash 11 pwdgrp::fetch_account_from_windows: line: 146 143841 [main] bash 11 pwdgrp::fetch_account_from_windows: line: 141 143982 [main] bash 11 pwdgrp::fetch_account_from_windows: line: 155 144137 [main] bash 11 pwdgrp::fetch_account_from_windows: line: --- Process 11, exception c0000005 at 6113FD85 236 144373 [main] bash 11 exception::handle: In cygwin_except_handler exception 0xC0000005 at 0x6113FD85 sp 0x6CC204 138 144511 [main] bash 11 exception::handle: In cygwin_except_handler signal 11 at 0x6113FD85 138 144649 [main] bash 11 try_to_debug: debugger_command '' 147 144796 [main] bash 11 _cygtls::inside_kernel: pc 0x6113FD85, h 0x61000000, inside_kernel 0 273 145069 [main] bash 11 normalize_posix_path: src /dev/kmsg 135 145204 [main] bash 11 normalize_posix_path: /dev/kmsg = normalize_posix_path (/dev/kmsg) 139 145343 [main] bash 11 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/kmsg) 137 145480 [main] bash 11 mount_info::conv_to_win32_path: src_path /dev/kmsg, dst \Device\MailSlot\cygwin\dev\kmsg, flags 0x2, rc 0 151 145631 [main] bash 11 __set_errno: fhandler_base* build_fh_name(const char*, unsigned int, suffix_info*):443 setting errno 6 I can investigate deeper if that helps, maybe tomorrow. -- Regards, Qian Hong - http://www.winehq.org -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple