delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/01/09:32:10

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type; q=dns; s=default; b=
gjFd4YpUDMUB0o9JW1Z0yWxkHLtFVE1htOpAIKLtgJLGW6WjEdK8n7sG3P0+K/3B
ZHyuf09mf825v5CBo3EEaH/74T6WI1sBfpWHOZK5PZX2SWWOQSAKb4e3YErya3wT
LnxHERR6nj/T8qJw4U15bV3sFjhYcbE5Q2h/8fhjv40=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:reply-to:in-reply-to:references
:from:date:message-id:subject:to:content-type; s=default; bh=h0k
EERraJElXPVPB74GEq8ye9k0=; b=YJUGJ7KjZ67qUhB8R+640v/BdBu1qXYIhKU
SrLFEvHITQvavb+msskdK5MuZ1sK4Zv7d3VYbJtlK15YVdBzqnRobGrXjsQyHiCJ
XBS9x9OWRcUQWS9UYOwXZMidpeseaOSJm00sPDo58aQf51HsST42u+yCxUiwe6ZD
gBop5Vas=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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
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
Reply-To: fracting AT gmail DOT com
In-Reply-To: <20150401122206.GA5725@calimero.vinschen.de>
References: <CALd+sZQu4496pEW-B9eCsS-EC426uSgieh9cjECe5reBW52GQQ AT mail DOT gmail DOT com> <20150401103733 DOT GA4835 AT calimero DOT vinschen DOT de> <CALd+sZQaBX1aioKZkt2uNGGgPUJN+i=ZLEr9ipO9iC7V_1CRSg AT mail DOT gmail DOT com> <20150401113620 DOT GA11571 AT calimero DOT vinschen DOT de> <20150401122206 DOT GA5725 AT calimero DOT vinschen DOT de>
From: Qian Hong <fracting AT gmail DOT com>
Date: Wed, 1 Apr 2015 21:31:00 +0800
Message-ID: <CALd+sZSrpWp8O+MTVSVaiNYupSnjLr2_uGz=9Bxp-zjqjkEhgw@mail.gmail.com>
Subject: Re: Cygwin / MSYS2 runtime fails on Wine beause of accessing to (*ReferencedDomains)->Domains[-1]
To: cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes

Hi Corinna,

On Wed, Apr 1, 2015 at 8:22 PM, Corinna Vinschen
<corinna-cygwin AT cygwin DOT com> 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:
<Administrators:S-1-5-32-544:544:>
  715  143695 [main] bash 11 pwdgrp::fetch_account_from_windows: line:
<LOCAL:S-1-2-0:66048:>
  146  143841 [main] bash 11 pwdgrp::fetch_account_from_windows: line:
<INTERACTIVE:S-1-5-4:4:>
  141  143982 [main] bash 11 pwdgrp::fetch_account_from_windows: line:
<Authenticated Users:S-1-5-11:11:>
  155  144137 [main] bash 11 pwdgrp::fetch_account_from_windows: line:
<Users:S-1-5-32-545:545:>
--- 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019