Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

History tends to exaggerate. -- Col. Green, "The Savage Curtain", stardate 5906.4


devel / comp.lang.tcl / Found crash on Chinese unicode“大东宝马”,a

SubjectAuthor
* Found crash on Chinese unicode“大东宝马”,aclt.to.davebr
+* Re: Found crash on Chinese unicode“大东宝马”fei jay
|`* Re: Found crash on Chinese unicode“大Christian Gollwitzer
| `- Re: Found crash on Chinese unicode“大东宝马”fei jay
`* Re: Found crash on Chinese unicode“大Alan Grunwald
 `- Re: Found crash on Chinese unicode“大Ricardo kozmate.net

1
Found crash on Chinese unicode“大东宝马”,a

<0441663081861@dlp>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20054&group=comp.lang.tcl#20054

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: clt.to.davebr@dfgh.net
Newsgroups: comp.lang.tcl
Subject: Found crash on Chinese unicode“大东宝马”,a
Date: Tue, 13 Sep 22 15:11:01 GMT
Organization: A noiseless patient Spider
Lines: 30
Message-ID: <0441663081861@dlp>
Injection-Info: reader01.eternal-september.org; posting-host="f6626f6d1bfc8e436df1b12c9829f7b4";
logging-data="2751857"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Qo99vU3KrPJktWU1qx5bn"
Cancel-Lock: sha1:bKsgcBlDOsdtoty/Ec7iwHnzH3Q=
 by: clt.to.davebr@dfgh.net - Tue, 13 Sep 2022 15:11 UTC

>From: fei jay <feixue7@gmail.com>
>Date: Tue Sep 13 12:00:41 GMT 2022
>Subject: =?UTF-8?B?Rm91bmQgY3Jhc2ggb24gQ2hpbmVzZSB1bmljb2Rl4oCc5aSn5Lic5a6d6ams4oCd77yMYQ==?=

>#0 0x00007fb7c2f7d418 in Tcl_UtfToUniChar () from libtcl8.6.so
>#1 0x00007fb7c2f7ee1f in TclUtfToUCS4 () from libtcl8.6.so
>#2 0x00007fb7c2f7f244 in Tcl_UtfToLower () from libtcl8.6.so
>#3 0x00007fb7c2f1ebba in ?? () from libtcl8.6.so
>#4 0x00007fb7c2e84aa6 in TclNRRunCallbacks () from libtcl8.6.so
>#5 0x00007fb7c2e86273 in TclEvalEx () from libtcl8.6.so
>#6 0x00007fb7c2e868b3 in Tcl_EvalEx () from libtcl8.6.so
>#7 0x00007fb7c2e868f5 in Tcl_Eval () from libtcl8.6.so

I'm using tcl 8.6.12

in tclsh:
set s \U5927\U4E1C\U5B9D\U9A6C
shows 4 generic characters

however in tkcon it displays properly
大东宝马

I'm not getting any errors.

Dave B

Re: Found crash on Chinese unicode“大东宝马”,a

<b75d1fcf-ba8f-4fbb-acaf-78b199ede219n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20055&group=comp.lang.tcl#20055

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:1c83:b0:46b:a79a:2f0b with SMTP id ib3-20020a0562141c8300b0046ba79a2f0bmr29688065qvb.103.1663119173949;
Tue, 13 Sep 2022 18:32:53 -0700 (PDT)
X-Received: by 2002:a05:6808:d4f:b0:344:a4e9:c912 with SMTP id
w15-20020a0568080d4f00b00344a4e9c912mr848160oik.177.1663119173703; Tue, 13
Sep 2022 18:32:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Tue, 13 Sep 2022 18:32:53 -0700 (PDT)
In-Reply-To: <0441663081861@dlp>
Injection-Info: google-groups.googlegroups.com; posting-host=119.13.112.119; posting-account=qWdLpgoAAADMgQSArwWBu1shI3dMVgE_
NNTP-Posting-Host: 119.13.112.119
References: <0441663081861@dlp>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b75d1fcf-ba8f-4fbb-acaf-78b199ede219n@googlegroups.com>
Subject: Re: Found crash on Chinese unicode“大东宝马”
,a
From: feixue7@gmail.com (fei jay)
Injection-Date: Wed, 14 Sep 2022 01:32:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2476
 by: fei jay - Wed, 14 Sep 2022 01:32 UTC

在 2022年9月13日星期二 UTC+8 23:11:12,<clt.to...@dfgh.net> 写道:
> >From: fei jay <fei...@gmail.com>
> >Date: Tue Sep 13 12:00:41 GMT 2022
> >Subject: =?UTF-8?B?Rm91bmQgY3Jhc2ggb24gQ2hpbmVzZSB1bmljb2Rl4oCc5aSn5Lic5a6d6ams4oCd77yMYQ==?=
>
>
> >#0 0x00007fb7c2f7d418 in Tcl_UtfToUniChar () from libtcl8.6.so
> >#1 0x00007fb7c2f7ee1f in TclUtfToUCS4 () from libtcl8.6.so
> >#2 0x00007fb7c2f7f244 in Tcl_UtfToLower () from libtcl8.6.so
> >#3 0x00007fb7c2f1ebba in ?? () from libtcl8.6.so
> >#4 0x00007fb7c2e84aa6 in TclNRRunCallbacks () from libtcl8.6.so
> >#5 0x00007fb7c2e86273 in TclEvalEx () from libtcl8.6.so
> >#6 0x00007fb7c2e868b3 in Tcl_EvalEx () from libtcl8.6.so
> >#7 0x00007fb7c2e868f5 in Tcl_Eval () from libtcl8.6.so
>
>
>
> I'm using tcl 8.6.12
>
> in tclsh:
> set s \U5927\U4E1C\U5B9D\U9A6C
> shows 4 generic characters
>
> however in tkcon it displays properly
> 大东宝马
>
> I'm not getting any errors.
>
> Dave B
hi,Dave B
Can tclsh call the same callstack?how to do it?The crash I test, without "大东宝马" is ok

Re: Found crash on Chinese unicode“大东宝马”,a

<tfrpda$2r4c3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20056&group=comp.lang.tcl#20056

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: auriocus@gmx.de (Christian Gollwitzer)
Newsgroups: comp.lang.tcl
Subject: Re: Found crash on Chinese unicode“大
东宝马”,a
Date: Wed, 14 Sep 2022 07:36:56 +0200
Organization: A noiseless patient Spider
Lines: 38
Message-ID: <tfrpda$2r4c3$1@dont-email.me>
References: <0441663081861@dlp>
<b75d1fcf-ba8f-4fbb-acaf-78b199ede219n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 05:38:50 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="185368c610d0a80836336749a9cfc2c5";
logging-data="2986371"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18tGvRFv79GOIlw7sQWwX+Uh8nq5qR9L88="
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:91.0)
Gecko/20100101 Thunderbird/91.13.0
Cancel-Lock: sha1:Oa0Cl5C2U4fS22DaSSEkww7NPQw=
In-Reply-To: <b75d1fcf-ba8f-4fbb-acaf-78b199ede219n@googlegroups.com>
 by: Christian Gollwitzer - Wed, 14 Sep 2022 05:36 UTC

Am 14.09.22 um 03:32 schrieb fei jay:
> 在 2022年9月13日星期二 UTC+8 23:11:12,<clt.to...@dfgh.net> 写道:
>>> From: fei jay <fei...@gmail.com>
>>> Date: Tue Sep 13 12:00:41 GMT 2022
>>> Subject: =?UTF-8?B?Rm91bmQgY3Jhc2ggb24gQ2hpbmVzZSB1bmljb2Rl4oCc5aSn5Lic5a6d6ams4oCd77yMYQ==?=
>>
>>
>>> #0 0x00007fb7c2f7d418 in Tcl_UtfToUniChar () from libtcl8.6.so
>>> #1 0x00007fb7c2f7ee1f in TclUtfToUCS4 () from libtcl8.6.so
>>> #2 0x00007fb7c2f7f244 in Tcl_UtfToLower () from libtcl8.6.so
>>> #3 0x00007fb7c2f1ebba in ?? () from libtcl8.6.so
>>> #4 0x00007fb7c2e84aa6 in TclNRRunCallbacks () from libtcl8.6.so
>>> #5 0x00007fb7c2e86273 in TclEvalEx () from libtcl8.6.so
>>> #6 0x00007fb7c2e868b3 in Tcl_EvalEx () from libtcl8.6.so
>>> #7 0x00007fb7c2e868f5 in Tcl_Eval () from libtcl8.6.so
>>
>>
>>
>> I'm using tcl 8.6.12
>>
>> in tclsh:
>> set s \U5927\U4E1C\U5B9D\U9A6C
>> shows 4 generic characters
>>
>> however in tkcon it displays properly
>> 大东宝马
>>
>> I'm not getting any errors.
>>
>> Dave B
> hi,Dave B
> Can tclsh call the same callstack?how to do it?The crash I test, without "大东宝马" is ok
You haven't shared your code, that crashed. It is therefore impossible
for anyone to reproduce the problem.

Create a short example code that crashes for you and show it here.

Christian

Re: Found crash on Chinese unicode“大东宝马”,a

<0adfb7a9-0d29-45da-8f3f-d91510eaf144n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20057&group=comp.lang.tcl#20057

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:6214:4118:b0:4ac:ae43:4074 with SMTP id kc24-20020a056214411800b004acae434074mr12964499qvb.13.1663149457227;
Wed, 14 Sep 2022 02:57:37 -0700 (PDT)
X-Received: by 2002:a9d:2964:0:b0:655:8471:5189 with SMTP id
d91-20020a9d2964000000b0065584715189mr9877719otb.384.1663149456857; Wed, 14
Sep 2022 02:57:36 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Wed, 14 Sep 2022 02:57:36 -0700 (PDT)
In-Reply-To: <tfrpda$2r4c3$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=119.8.242.171; posting-account=qWdLpgoAAADMgQSArwWBu1shI3dMVgE_
NNTP-Posting-Host: 119.8.242.171
References: <0441663081861@dlp> <b75d1fcf-ba8f-4fbb-acaf-78b199ede219n@googlegroups.com>
<tfrpda$2r4c3$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0adfb7a9-0d29-45da-8f3f-d91510eaf144n@googlegroups.com>
Subject: Re: Found crash on Chinese unicode“大东宝马”
,a
From: feixue7@gmail.com (fei jay)
Injection-Date: Wed, 14 Sep 2022 09:57:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3671
 by: fei jay - Wed, 14 Sep 2022 09:57 UTC

在 2022年9月14日星期三 UTC+8 13:38:54,<Christian Gollwitzer> 写道:
> Am 14.09.22 um 03:32 schrieb fei jay:
> > 在 2022年9月13日星期二 UTC+8 23:11:12,<clt.to...@dfgh.net> 写道:
> >>> From: fei jay <fei...@gmail.com>
> >>> Date: Tue Sep 13 12:00:41 GMT 2022
> >>> Subject: =?UTF-8?B?Rm91bmQgY3Jhc2ggb24gQ2hpbmVzZSB1bmljb2Rl4oCc5aSn5Lic5a6d6ams4oCd77yMYQ==?=
> >>
> >>
> >>> #0 0x00007fb7c2f7d418 in Tcl_UtfToUniChar () from libtcl8.6.so
> >>> #1 0x00007fb7c2f7ee1f in TclUtfToUCS4 () from libtcl8.6.so
> >>> #2 0x00007fb7c2f7f244 in Tcl_UtfToLower () from libtcl8.6.so
> >>> #3 0x00007fb7c2f1ebba in ?? () from libtcl8.6.so
> >>> #4 0x00007fb7c2e84aa6 in TclNRRunCallbacks () from libtcl8.6.so
> >>> #5 0x00007fb7c2e86273 in TclEvalEx () from libtcl8.6.so
> >>> #6 0x00007fb7c2e868b3 in Tcl_EvalEx () from libtcl8.6.so
> >>> #7 0x00007fb7c2e868f5 in Tcl_Eval () from libtcl8.6.so
> >>
> >>
> >>
> >> I'm using tcl 8.6.12
> >>
> >> in tclsh:
> >> set s \U5927\U4E1C\U5B9D\U9A6C
> >> shows 4 generic characters
> >>
> >> however in tkcon it displays properly
> >> 大东宝马
> >>
> >> I'm not getting any errors.
> >>
> >> Dave B
> > hi,Dave B
> > Can tclsh call the same callstack?how to do it?The crash I test, without "大东宝马" is ok
> You haven't shared your code, that crashed. It is therefore impossible
> for anyone to reproduce the problem.
>
> Create a short example code that crashes for you and show it here.
>
> Christian
I found 8.6.12 this commit missing and we apply this to 8.6.12,the crash fixed
“大东宝马‘’ ´ó¶«±¦Âí] ´ó¶«±¦Âí has char in CP-1252

invalid UTF-8 characters
https://github.com/tcltk/tcl/commit/3af16acbcb63ea2935d71b905371252560dc4659

SHA-1: 3af16acbcb63ea2935d71b905371252560dc4659

* Treat invalid UTF-8 characters in the range 0x80-0x9F as cp1252: See [https://en.wikipedia.org/wiki/UTF-8]. To be added to TIP #389

Re: Found crash on Chinese unicode“大东宝马”,a

<tfsdh0$2tppp$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20060&group=comp.lang.tcl#20060

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!paganini.bofh.team!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: nospam.nurdglaw@gmail.com (Alan Grunwald)
Newsgroups: comp.lang.tcl
Subject: Re: Found crash on Chinese unicode“大
东宝马”,a
Date: Wed, 14 Sep 2022 12:21:51 +0100
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <tfsdh0$2tppp$1@dont-email.me>
References: <0441663081861@dlp>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 14 Sep 2022 11:22:08 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="a67702767d567502e01d976158abd75a";
logging-data="3073849"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+facS7PXpYcOax96le3V1M+9r4hMriNzc="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Cancel-Lock: sha1:pE0kVjg75Y5N81/R4GII0HB8RRg=
Content-Language: en-US
In-Reply-To: <0441663081861@dlp>
 by: Alan Grunwald - Wed, 14 Sep 2022 11:21 UTC

On 13/09/2022 16:11, clt.to.davebr@dfgh.net wrote:
>> From: fei jay <feixue7@gmail.com>
>> Date: Tue Sep 13 12:00:41 GMT 2022
>> Subject: =?UTF-8?B?Rm91bmQgY3Jhc2ggb24gQ2hpbmVzZSB1bmljb2Rl4oCc5aSn5Lic5a6d6ams4oCd77yMYQ==?=
>
>
>> #0 0x00007fb7c2f7d418 in Tcl_UtfToUniChar () from libtcl8.6.so
>> #1 0x00007fb7c2f7ee1f in TclUtfToUCS4 () from libtcl8.6.so
>> #2 0x00007fb7c2f7f244 in Tcl_UtfToLower () from libtcl8.6.so
>> #3 0x00007fb7c2f1ebba in ?? () from libtcl8.6.so
>> #4 0x00007fb7c2e84aa6 in TclNRRunCallbacks () from libtcl8.6.so
>> #5 0x00007fb7c2e86273 in TclEvalEx () from libtcl8.6.so
>> #6 0x00007fb7c2e868b3 in Tcl_EvalEx () from libtcl8.6.so
>> #7 0x00007fb7c2e868f5 in Tcl_Eval () from libtcl8.6.so
>
>
>
> I'm using tcl 8.6.12
>
> in tclsh:
> set s \U5927\U4E1C\U5B9D\U9A6C
> shows 4 generic characters
>
> however in tkcon it displays properly
> 大东宝马
>
> I'm not getting any errors.
>
> Dave B
>
>
Same here, using tcl 8.6.9 on Linux - except that I get proper display
with tclsh too.

Re: Found crash on Chinese unicode“大东宝马”,a

<tg7at4$jcd$1@gioia.aioe.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20092&group=comp.lang.tcl#20092

  copy link   Newsgroups: comp.lang.tcl
Path: i2pn2.org!i2pn.org!aioe.org!U1K/hUTbRuUniUBKwH1ODw.user.46.165.242.75.POSTED!not-for-mail
From: ricardo@kozmate.net (Ricardo kozmate.net)
Newsgroups: comp.lang.tcl
Subject: Re: Found crash on Chinese unicode“大
东宝马”,a
Date: Sun, 18 Sep 2022 15:44:52 +0100
Organization: Aioe.org NNTP Server
Message-ID: <tg7at4$jcd$1@gioia.aioe.org>
References: <0441663081861@dlp> <tfsdh0$2tppp$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="19853"; posting-host="U1K/hUTbRuUniUBKwH1ODw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101
Thunderbird/91.11.0
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Ricardo kozmate.net - Sun, 18 Sep 2022 14:44 UTC

Em 14/09/22 12:21, Alan Grunwald escreveu:
>> I'm using tcl 8.6.12
>>
>> in tclsh:
>> set s \U5927\U4E1C\U5B9D\U9A6C
>> shows 4 generic characters
>>
>> however in tkcon it displays properly
>> 大东宝马
>>
>> I'm not getting any errors.
>>
>> Dave B
>>
>>
> Same here, using tcl 8.6.9 on Linux - except that I get proper display
> with tclsh too.

Using 8.6.12 I get the same characters on tclsh. I presume it depends on
the fonts available at the shell, not on TCL itself.

--
{ricardo from kozmate.net}


devel / comp.lang.tcl / Found crash on Chinese unicode“大东宝马”,a

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor