Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #12071
| Path | csiph.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Ao Qi <aoqi@loongson.cn> |
| Newsgroups | linux.debian.maint.java, linux.debian.ports.mips |
| Subject | Re: Potential bug in openjdk-11 on mips64el |
| Date | Mon, 15 Feb 2021 18:00:02 +0100 |
| Message-ID | <BIP4J-ze-1@gated-at.bofh.it> (permalink) |
| References | <BHOu6-5eX-7@gated-at.bofh.it> <BHXQJ-2p7-3@gated-at.bofh.it> <BI7n4-82x-5@gated-at.bofh.it> <BIcZr-2Yw-1@gated-at.bofh.it> <BIAp7-77-3@gated-at.bofh.it> <BINvY-7Yu-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-java-request@lists.debian.org Mon Feb 15 16:51:10 2021 |
| Old-Return-Path | <aoqi@loongson.cn> |
| X-Amavis-Spam-Status | No, score=-6.48 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, FOURLA=0.1, KHOP_HELO_FCRDNS=0.4, LDO_WHITELIST=-5, MURPHY_DRUGS_REL8=0.02] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate: -4.6 |
| X-Greylist | delayed 325 seconds by postgrey-1.36 at bendel; Mon, 15 Feb 2021 16:35:49 UTC |
| X-Gm-Message-State | AOAM532Wr4pIlouTXSoboRGGKcRPHLWyPVch9dfjJeXGFG0ay8ZibukH SLIu/zJhoEM3mbqgiOfOVVBCHD8LnoMBpoMubcs= |
| X-Google-SMTP-Source | ABdhPJxIJzAXy15OobHFZq0uRDdVaVDNMYjxVZI5w4G63xfvPxE+nCW0esRVbb4+fCZjW6/B8WMP1SE+j9pMN/tY0VA= |
| X-Received | by 2002:a17:906:3b08:: with SMTP id g8mr11142732ejf.402.1613406608093; Mon, 15 Feb 2021 08:30:08 -0800 (PST) |
| MIME-Version | 1.0 |
| X-Gmail-Original-Message-ID | <CALjzQn7sOu3LXnA816fCYZ_7iMJn3R=bAwxZEgpR499b4DicuQ@mail.gmail.com> |
| Content-Type | text/plain; charset="UTF-8" |
| X-Cm-Transid | AQAAf9Dxr_ORoSpg6FQKAA--.13176S3 |
| X-Coremail-Antispam | 1UD129KBjvJXoWxXF1xAr48tFy8tFyrGF4fuFg_yoW5WryfpF W0k3W5tFWDtF92kr92vrs2vr42krZ3XrW5AwnYgryUuas8Gr1vgr1fKayYgasrWr10va1j q398Xa45Wr98Aa7anT9S1TB71UUUUUJqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUBYb7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWUJVW8JwA2z4x0Y4vEx4 A2jsIEc7CjxVAFwI0_Jr0_Gr1ln4kS14v26r1Y6r17M2AIxVAIcxkEcVAq07x20xvEncxI r21l57IF6xkI12xvs2x26I8E6xACxx1l5I8CrVACY4xI64kE6c02F40Ex7xfMcIj6xIIjx v20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8JwAm72CE4IkC6x0Yz7v_Jr0_Gr1l F7xvr2IY64vIr41lc2xSY4AK6IIF6r1l42xK82IYc2Ij64vIr41l4I8I3I0E4IkC6x0Yz7 v_Jr0_Gr1l4IxYO2xFxVAFwI0_Jrv_JF1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8G jcxK67AKxVWUGVWUWwC2zVAF1VAY17CE14v26r126r1DMIIYrxkI7VAKI48JMIIF0xvE2I x0cI8IcVAFwI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK 8VAvwI8IcIk0rVWrZr1j6s0DMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7 CjxVAFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IUYkl1PUUUUU== |
| X-Cm-Senderinfo | pdrtxqxorr0wxvrqhubq/1tbiAQANB13QvM92twAGsy |
| X-Mailing-List | <debian-java@lists.debian.org> archive/latest/22698 |
| List-ID | <debian-java.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-java/> |
| List-Archive | https://lists.debian.org/msgid-search/CALjzQn7sOu3LXnA816fCYZ_7iMJn3R=bAwxZEgpR499b4DicuQ@mail.gmail.com |
| Approved | robomod@news.nic.it |
| Lines | 63 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Cc | Olek Wojnar <olek@debian.org>, openjdk-11@packages.debian.org, Debian Java List <debian-java@lists.debian.org>, "debian-mips@lists.debian.org" <debian-mips@lists.debian.org>, Debian Bazel Packaging Team <bazel-team@lists.launchpad.net> |
| X-Original-Date | Tue, 16 Feb 2021 00:29:31 +0800 |
| X-Original-Message-ID | <CALjzQn7sOu3LXnA816fCYZ_7iMJn3R=bAwxZEgpR499b4DicuQ@mail.gmail.com> |
| X-Original-References | <CAJj0crRGJ+=e-PCr6c187uoJs8iD2Sjov4cFLE_e4YstMxeWLA@mail.gmail.com> <22ba18ae-501b-3db3-47db-b3ac6f6fb1b6@debian.org> <CAJj0crS79kgmrJL1rPrVuQU5czJhL2pF1_RznLbdvec5JGCJEQ@mail.gmail.com> <CAC-Dh9-rCxUc1PkiJLaejXuNQo=+8F5AiC=EwTUV1jEENXO5bQ@mail.gmail.com> <CAJj0crT9HF4kGx=V_xaCa+f0L=Kj+_3GQYMEFiGH7q=JjQrGkg@mail.gmail.com> <7884a7bb-050c-7805-41ab-c0198bd0e039@redhat.com> |
| Xref | csiph.com linux.debian.maint.java:12071 linux.debian.ports.mips:2896 |
Cross-posted to 2 groups.
Show key headers only | View raw
On Mon, Feb 15, 2021 at 10:22 PM Aleksey Shipilev <shade@redhat.com> wrote: > > On 2/15/21 1:40 AM, Olek Wojnar wrote: > > On Sat, Feb 13, 2021 at 2:21 PM <raphael.jolly@free.fr <mailto:raphael.jolly@free.fr>> wrote: > > It selects the "Zero" VM, which I assume is the one used on mips64el. > > https://openjdk.java.net/projects/zero/ > > > > Ah, thanks for the explanation! It helped me to appropriately adjust build-depends. Hmm, it looks > > like Zero is not supported on MIPS at the moment, but perhaps that site is just out-of-date? > > There only Zero on mips64el for all current OpenJDKs. Zero for mips64el should be supported since > JDK 10, see JDK-8186313: https://bugs.openjdk.java.net/browse/JDK-8186313 > > ...so openjdk-11 is supposed to work. > > > On Sat, Feb 13, 2021 at 6:56 PM Tiago Daitx <tiago.daitx@canonical.com > > <mailto:tiago.daitx@canonical.com>> wrote: > > > > > > This seems to indicate that the isDirectory call [4] is getting wrong > > file attributes. Following the trail, those file attributes come from > > a fstatat call [5] which ultimately come from the native stack in > > UnixNativeDispatcher.c [6]. The actual way that fstatat is called > > depends on the build flags and defines from the arch, so somebody with > > better knowledge might want to take a look at UnixNativeDispatcher.c > > [6] and tell if OpenJDK is picking the right function to call for > > mips64el. > > > > > > Thanks for the excellent analysis! So is this indeed a bug in OpenJDK on mips64el then? I'm happy to > > file the bug, referencing all of the information in this thread, if that's the probable culprit here. > > Thing is, there is hardly anyone who supports mips64el in OpenJDK upstream. I think Debian folks are > the most heavy users of it :) So, while you can submit a bug upstream, I don't think there is a high > chance anyone picks it up. You can try to ask here: > https://mail.openjdk.java.net/mailman/listinfo/mips-port I would like to pick it up. However, I am on vacation at the moment and did not have a mips64el machine on hand. If time permits, I will return to the company in three days to follow up on this issue. Cheers, Ao Qi > > It looks to me that Zero mips64el is another instance of SecureDirectoryStream bug tail: > https://bugs.openjdk.java.net/issues/?jql=text%20~%20%22SecureDirectoryStream%22 > > If there is the mips64el machine where this reproduces, the next step would be trying the mainline > JDK NIO tests, something like: > > $ git clone https://github.com/openjdk/jdk > $ cd jdk > $ wget https://builds.shipilev.net/jtreg/jtreg.zip > $ unzip jtreg.zip > $ ./configure --with-debug-level=fastdebug --with-jtreg=./jtreg > $ make run-test TEST=java/nio > > ...and if that does not yield failures, then MCVE would be needed. > > -- > Thanks, > -Aleksey
Back to linux.debian.maint.java | Previous | Next — Previous in thread | Next in thread | Find similar
Potential bug in openjdk-11 on mips64el Olek Wojnar <olek@debian.org> - 2021-02-12 22:50 +0100
Re: Potential bug in openjdk-11 on mips64el Matthias Klose <doko@debian.org> - 2021-02-13 08:50 +0100
Re: Potential bug in openjdk-11 on mips64el Olek Wojnar <olek@debian.org> - 2021-02-13 19:00 +0100
Re: Potential bug in openjdk-11 on mips64el raphael.jolly@free.fr - 2021-02-13 20:30 +0100
Re: Potential bug in openjdk-11 on mips64el Tiago Daitx <tiago.daitx@canonical.com> - 2021-02-14 01:00 +0100
Re: Potential bug in openjdk-11 on mips64el Tiago Daitx <tiago.daitx@canonical.com> - 2021-02-14 01:00 +0100
Re: Potential bug in openjdk-11 on mips64el Olek Wojnar <olek@debian.org> - 2021-02-15 02:00 +0100
Re: Potential bug in openjdk-11 on mips64el Matthias Klose <doko@debian.org> - 2021-02-15 09:40 +0100
Re: Potential bug in openjdk-11 on mips64el Aleksey Shipilev <shade@redhat.com> - 2021-02-15 16:00 +0100
Re: Potential bug in openjdk-11 on mips64el Ao Qi <aoqi@loongson.cn> - 2021-02-15 18:00 +0100
Re: Potential bug in openjdk-11 on mips64el Ao Qi <aoqi@loongson.cn> - 2021-02-20 10:10 +0100
Re: Potential bug in openjdk-11 on mips64el Olek Wojnar <olek@debian.org> - 2021-02-21 21:20 +0100
Re: Potential bug in openjdk-11 on mips64el Olek Wojnar <olek@debian.org> - 2021-02-28 18:30 +0100
Re: Potential bug in openjdk-11 on mips64el Olek Wojnar <olek@debian.org> - 2021-03-02 18:40 +0100
csiph-web