From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "gliao.tw--- via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45376: 28.0.50; [Feature/Native-Comp] strange `ls` output in eshell loaded from eln Date: Wed, 23 Dec 2020 15:34:48 +0000 Message-ID: References: Reply-To: "gliao.tw@pm.me" , "gliao.tw@pm.me" Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23065"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 45376@debbugs.gnu.org To: Andrea Corallo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 23 16:36:16 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ks6BQ-0005lF-Lx for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 16:36:12 +0100 Original-Received: from localhost ([::1]:35388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ks6BP-0003zP-Lj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Dec 2020 10:36:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks6BG-0003xl-9Y for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:36:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ks6BG-0003KH-0s for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:36:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ks6BF-0005lY-TJ for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:36:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "gliao.tw@pm.me" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Dec 2020 15:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45376 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.160873770222085 (code B ref -1); Wed, 23 Dec 2020 15:36:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Dec 2020 15:35:02 +0000 Original-Received: from localhost ([127.0.0.1]:53895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks6AH-0005k2-PV for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:35:02 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:57750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ks6AE-0005jg-Hp for submit@debbugs.gnu.org; Wed, 23 Dec 2020 10:35:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks6AE-0003uE-BY for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:34:58 -0500 Original-Received: from mail-40134.protonmail.ch ([185.70.40.134]:48794) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ks6AB-0002uv-6h for bug-gnu-emacs@gnu.org; Wed, 23 Dec 2020 10:34:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pm.me; s=protonmail; t=1608737692; bh=Yd9bTy5S2GE0SAiSl2XMtEvn9Hid/8xhHIvmJrcv/Yk=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=T6jiBuxQPGDyuDDkA5ns3vQucIoqaT0Jg0ydGZMRqwcJ5+3F16tHxO2F0g+DOthDP gkpZrlz7D80bvkeEdAx/2MfkZlT9kCeQNL0s/bN4RnaVFAsclsosENAqpuhzMX/vxk OtD7PVjh0SOtcyMGxYelnAwTM5HaNS8Z+Ia2tzKtgZsNv8Of5weXmZQv8qSFqf3HEV qJ2mRucJ8834hifKhFJBYoXcdgNQikJVYAJN0k4cI54scnH3fFjdTNkiCsjWaNr7Oe KocsaPh+xnyR4Vs7H/7REUI8H+9xNcPcut4XvkAPyTmbihN/FfuBjqbX7sg2UKD1jI rvHMg9qGRsuOg== In-Reply-To: Received-SPF: pass client-ip=185.70.40.134; envelope-from=gliao.tw@pm.me; helo=mail-40134.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196620 Archived-At: Indeed. On f244c21902, I got ~ $ (eshell-ls-find-column-lengths (list (list "dd" "kk") (list "rr" "uue")= )) ([4 4] ("dd" "kk") ("rr" "uue")) but on =09433ae7b0a5cedbcd7b0a1daf12846e38f00fd111, I got ~ $ (eshell-ls-find-column-lengths (list (list "dd" "kk") (list "rr" "uue")= )) ([4 0] ("dd" "kk") ("dd" "kk")) =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 Original Me= ssage =E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90=E2=80=90 On Wednesday, December 23, 2020 1:51 AM, Andrea Corallo wrot= e: > %22gliao.tw@pm.me">--protonSignature--"gliao.tw@pm.me" gliao.tw@pm.me wri= tes: > > > Hi, > > I checked the last updated feature/native-comp branch (commit 433ae7b0a= 5cedbcd7b0a1daf12846e38f00fd111) and identified a strange outputs from eln-= compiled eshell. > > The first attachment shows the `ls` command output under eshell loaded > > from elc, while the second attachment shows the same command, but much > > stranger output under eshell loaded from eln. > > I have tested/complied the last updated code on Linux/x86-64, > > Linux/aarch64 (Debian Bullseye, GCC 10.2.1) and Windows (Msys2), all > > the test cases generate the same weird output from `ls` under > > eln-loaded eshell. > > This issue does not happen on the code based at or before commit f244c2= 1902 > > Thanks, > > Kiong-Ge. > > Hi Kiong-Ge, > > yep, I've merged a lot of stuff into the value/type inference logic so > this is certanly related. > > The offending function is `eshell-ls-find-column-lengths', I'll have a > look. > > Thanks for reporting > > Andrea > > PS leaving out emacs-devel to avoid cross posting