public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 2.9.0 regtool x64 exception error (W10)
@ 2017-11-29  6:33 ViOLeT
  2017-11-29  9:29 ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: ViOLeT @ 2017-11-29  6:33 UTC (permalink / raw)
  To: cygwin

Hello.

Cygwin 2.9.0 regtool x64 exception error (W10) reporting. (But it seems to
be an error in all (2.9.0 lower) versions.)

Using the Unicode causes an exception error.
But, regtool x86 is no error occurs.

*Example :*
regtool.exe -w get "\HKCR\하하하"
regtool.exe -w get "\HKCR\家"

*Exception Code : *
Exception: STATUS_ACCESS_VIOLATION at rip=00100401623
rax=0000000000000000 rbx=00000000FFFFFFFF rcx=0000000180201FC0
rdx=00000006000284E0 rsi=00000000FFFFFFFF rdi=00000006000284D0
r8 =0000000000000000 r9 =0000000000000020 r10=0000000100000000
r11=00000001004015E0 r12=0000000000000002 r13=00000000FFFFCC5E
r14=0000000000000003 r15=00000001802193F0
rbp=00000000FFFFCB30 rsp=00000000FFFFCAB0
program=C:\x64\regtool.exe, pid 15244, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame        Function    Args
000FFFFCB30  00100401623 (00100020019, 04900000000, 001801891FA,
000FFFFCC5E)
000FFFFCB9C  00100402704 (00000000000, 000FFFFCC5E, 00000000030,
FF0700010302FF00)
000FFFFCCB0  00180047BC2 (00000000000, 00000000000, 00000000000,
00000000000)
00000000000  00180045863 (00000000000, 00000000000, 00000000000,
00000000000)
000FFFFFFF0  00180045914 (00000000000, 00000000000, 00000000000,
00000000000)
End of stack trace

Thanks.

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 2.9.0 regtool x64 exception error (W10)
  2017-11-29  6:33 Cygwin 2.9.0 regtool x64 exception error (W10) ViOLeT
@ 2017-11-29  9:29 ` Corinna Vinschen
  2017-11-29 15:41   ` ViOLeT
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2017-11-29  9:29 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]

Hi ViOLeT,

On Nov 29 15:33, ViOLeT wrote:
> Hello.
> 
> Cygwin 2.9.0 regtool x64 exception error (W10) reporting. (But it seems to
> be an error in all (2.9.0 lower) versions.)
> 
> Using the Unicode causes an exception error.
> But, regtool x86 is no error occurs.
> 
> *Example :*
> regtool.exe -w get "\HKCR\하하하"
> regtool.exe -w get "\HKCR\家"
> 
> *Exception Code : *
> Exception: STATUS_ACCESS_VIOLATION at rip=00100401623
> rax=0000000000000000 rbx=00000000FFFFFFFF rcx=0000000180201FC0
> rdx=00000006000284E0 rsi=00000000FFFFFFFF rdi=00000006000284D0
> r8 =0000000000000000 r9 =0000000000000020 r10=0000000100000000
> r11=00000001004015E0 r12=0000000000000002 r13=00000000FFFFCC5E
> r14=0000000000000003 r15=00000001802193F0
> rbp=00000000FFFFCB30 rsp=00000000FFFFCAB0
> program=C:\x64\regtool.exe, pid 15244, thread main
> cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
> Stack trace:
> Frame        Function    Args
> 000FFFFCB30  00100401623 (00100020019, 04900000000, 001801891FA,
> 000FFFFCC5E)
> 000FFFFCB9C  00100402704 (00000000000, 000FFFFCC5E, 00000000030,
> FF0700010302FF00)
> 000FFFFCCB0  00180047BC2 (00000000000, 00000000000, 00000000000,
> 00000000000)
> 00000000000  00180045863 (00000000000, 00000000000, 00000000000,
> 00000000000)
> 000FFFFFFF0  00180045914 (00000000000, 00000000000, 00000000000,
> 00000000000)
> End of stack trace

Unfortunately I can't reproduce this.  I tried both of your above
example registry values, but in both cases I just get

  Error (2): The system cannot find the file specified.

As another test I created the above values in the registry, as
REG_SZ with content == name and this works fine, too.

Your stackdump indicates a crash in the function evaluating the
command line argument, that is, "\HKCR\하하하" or "\HKCR\家".

If so, I should see the same problem, unless the problem is a result of
the locale you're using.  Can you please post the output of the `locale'
command?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 2.9.0 regtool x64 exception error (W10)
  2017-11-29  9:29 ` Corinna Vinschen
@ 2017-11-29 15:41   ` ViOLeT
  2017-11-29 16:15     ` Corinna Vinschen
  0 siblings, 1 reply; 5+ messages in thread
From: ViOLeT @ 2017-11-29 15:41 UTC (permalink / raw)
  To: cygwin

# OS Language
Korean (Asia), CHCP Code 949

# Locale Code
LANG=
LC_CTYPE="C.UTF-8"
LC_NUMERIC="C.UTF-8"
LC_TIME="C.UTF-8"
LC_COLLATE="C.UTF-8"
LC_MONETARY="C.UTF-8"
LC_MESSAGES="C.UTF-8"
LC_ALL=

Is it an operating system language issue?

2017-11-29 18:29 GMT+09:00 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> Hi ViOLeT,
>
> On Nov 29 15:33, ViOLeT wrote:
>> Hello.
>>
>> Cygwin 2.9.0 regtool x64 exception error (W10) reporting. (But it seems to
>> be an error in all (2.9.0 lower) versions.)
>>
>> Using the Unicode causes an exception error.
>> But, regtool x86 is no error occurs.
>>
>> *Example :*
>> regtool.exe -w get "\HKCR\하하하"
>> regtool.exe -w get "\HKCR\家"
>>
>> *Exception Code : *
>> Exception: STATUS_ACCESS_VIOLATION at rip=00100401623
>> rax=0000000000000000 rbx=00000000FFFFFFFF rcx=0000000180201FC0
>> rdx=00000006000284E0 rsi=00000000FFFFFFFF rdi=00000006000284D0
>> r8 =0000000000000000 r9 =0000000000000020 r10=0000000100000000
>> r11=00000001004015E0 r12=0000000000000002 r13=00000000FFFFCC5E
>> r14=0000000000000003 r15=00000001802193F0
>> rbp=00000000FFFFCB30 rsp=00000000FFFFCAB0
>> program=C:\x64\regtool.exe, pid 15244, thread main
>> cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
>> Stack trace:
>> Frame        Function    Args
>> 000FFFFCB30  00100401623 (00100020019, 04900000000, 001801891FA,
>> 000FFFFCC5E)
>> 000FFFFCB9C  00100402704 (00000000000, 000FFFFCC5E, 00000000030,
>> FF0700010302FF00)
>> 000FFFFCCB0  00180047BC2 (00000000000, 00000000000, 00000000000,
>> 00000000000)
>> 00000000000  00180045863 (00000000000, 00000000000, 00000000000,
>> 00000000000)
>> 000FFFFFFF0  00180045914 (00000000000, 00000000000, 00000000000,
>> 00000000000)
>> End of stack trace
>
> Unfortunately I can't reproduce this.  I tried both of your above
> example registry values, but in both cases I just get
>
>   Error (2): The system cannot find the file specified.
>
> As another test I created the above values in the registry, as
> REG_SZ with content == name and this works fine, too.
>
> Your stackdump indicates a crash in the function evaluating the
> command line argument, that is, "\HKCR\하하하" or "\HKCR\家".
>
> If so, I should see the same problem, unless the problem is a result of
> the locale you're using.  Can you please post the output of the `locale'
> command?
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 2.9.0 regtool x64 exception error (W10)
  2017-11-29 15:41   ` ViOLeT
@ 2017-11-29 16:15     ` Corinna Vinschen
  2017-11-29 16:44       ` ViOLeT
  0 siblings, 1 reply; 5+ messages in thread
From: Corinna Vinschen @ 2017-11-29 16:15 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]

On Nov 30 00:41, ViOLeT wrote:
> # OS Language
> Korean (Asia), CHCP Code 949
> 
> # Locale Code
> LANG=
> LC_CTYPE="C.UTF-8"
> LC_NUMERIC="C.UTF-8"
> LC_TIME="C.UTF-8"
> LC_COLLATE="C.UTF-8"
> LC_MONETARY="C.UTF-8"
> LC_MESSAGES="C.UTF-8"
> LC_ALL=
> 
> Is it an operating system language issue?

I honestly don't know.  You see me really puzzled by this problem.  I
tried your examples again in mintty and a Windows console set to CP 949
with the locale set to "C.UTF-8", but it works fine for me in all cases.

Could you try to debug this problem?  If you install gdb and the
cygwin-debuginfo package, you should be able to step through the code
of regtool (with a bit of jumping around due to compiler optimization)
and see what happens.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Cygwin 2.9.0 regtool x64 exception error (W10)
  2017-11-29 16:15     ` Corinna Vinschen
@ 2017-11-29 16:44       ` ViOLeT
  0 siblings, 0 replies; 5+ messages in thread
From: ViOLeT @ 2017-11-29 16:44 UTC (permalink / raw)
  To: cygwin

(gdb) target exec regtool -w get "\HKCR\c\205\216c\205\216c\205\216c\205\216
regtool -w get "\HKCR\c▒▒c▒▒c▒▒c▒▒": No such file or directory.

The text are not written correctly, but there are no errors.

Mysterious error. T-T
There is an error in the Korean OS.

See error : mediafire.com/file/7vcaa4xrrcdbis7/test.avi

2017-11-30 1:15 GMT+09:00 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> On Nov 30 00:41, ViOLeT wrote:
>> # OS Language
>> Korean (Asia), CHCP Code 949
>>
>> # Locale Code
>> LANG=
>> LC_CTYPE="C.UTF-8"
>> LC_NUMERIC="C.UTF-8"
>> LC_TIME="C.UTF-8"
>> LC_COLLATE="C.UTF-8"
>> LC_MONETARY="C.UTF-8"
>> LC_MESSAGES="C.UTF-8"
>> LC_ALL=
>>
>> Is it an operating system language issue?
>
> I honestly don't know.  You see me really puzzled by this problem.  I
> tried your examples again in mintty and a Windows console set to CP 949
> with the locale set to "C.UTF-8", but it works fine for me in all cases.
>
> Could you try to debug this problem?  If you install gdb and the
> cygwin-debuginfo package, you should be able to step through the code
> of regtool (with a bit of jumping around due to compiler optimization)
> and see what happens.
>
>
> Corinna
>
> --
> Corinna Vinschen                  Please, send mails regarding Cygwin to
> Cygwin Maintainer                 cygwin AT cygwin DOT com
> Red Hat

--
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-11-29 16:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-29  6:33 Cygwin 2.9.0 regtool x64 exception error (W10) ViOLeT
2017-11-29  9:29 ` Corinna Vinschen
2017-11-29 15:41   ` ViOLeT
2017-11-29 16:15     ` Corinna Vinschen
2017-11-29 16:44       ` ViOLeT

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).