This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin / MSYS2 runtime fails on Wine beause of accessing to (*ReferencedDomains)->Domains[-1]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]