public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Qian Hong <fracting@gmail.com>
To: cygwin <cygwin@cygwin.com>
Subject: Re: Cygwin / MSYS2 runtime fails on Wine beause of accessing to (*ReferencedDomains)->Domains[-1]
Date: Wed, 01 Apr 2015 13:31:00 -0000	[thread overview]
Message-ID: <CALd+sZSrpWp8O+MTVSVaiNYupSnjLr2_uGz=9Bxp-zjqjkEhgw@mail.gmail.com> (raw)
In-Reply-To: <20150401122206.GA5725@calimero.vinschen.de>

Hi Corinna,

On Wed, Apr 1, 2015 at 8:22 PM, Corinna Vinschen
<corinna-cygwin@cygwin.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

  reply	other threads:[~2015-04-01 13:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-01 10:16 Qian Hong
2015-04-01 10:37 ` Corinna Vinschen
2015-04-01 10:42   ` Qian Hong
2015-04-01 11:36     ` Corinna Vinschen
2015-04-01 12:22       ` Corinna Vinschen
2015-04-01 13:31         ` Qian Hong [this message]
2015-04-01 13:45           ` Corinna Vinschen
2015-04-01 14:33             ` Qian Hong
2015-04-01 10:47   ` Qian Hong
2015-04-01 11:02     ` Corinna Vinschen
2015-04-01 13:15       ` Qian Hong

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='CALd+sZSrpWp8O+MTVSVaiNYupSnjLr2_uGz=9Bxp-zjqjkEhgw@mail.gmail.com' \
    --to=fracting@gmail.com \
    --cc=cygwin@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).