Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #11947

Bug#929530: libsis-base-java: unaligned access on armhf

Path csiph.com!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From tony mancill <tmancill@debian.org>
Newsgroups linux.debian.bugs.dist, linux.debian.maint.java
Subject Bug#929530: libsis-base-java: unaligned access on armhf
Date Sat, 05 Dec 2020 02:30:01 +0100
Message-ID <BiuyB-53T-1@gated-at.bofh.it> (permalink)
References <y1KwG-6Z2-1@gated-at.bofh.it> <BhGsa-6Xl-5@gated-at.bofh.it> <y1KwG-6Z2-1@gated-at.bofh.it> <BhGsa-6Xl-5@gated-at.bofh.it>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Sat Dec 5 01:27:10 2020
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score -4
Reply-To tony mancill <tmancill@debian.org>, 929530@bugs.debian.org
Original-Sender tony mancill <tmancill@gmail.com>
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
X-Debian-Pr-Message followup 929530
X-Debian-Pr-Package src:libsis-base-java
X-Debian-Pr-Keywords help
X-Debian-Pr-Source libsis-base-java
X-Spam-Bayes score:0.0000 Tokens: new, 18; hammy, 150; neutral, 286; spammy, 0. spammytokens: hammytokens:0.000-+--armhf, 0.000-+--H*r:TLS1_3, 0.000-+--H*F:U*tmancill, 0.000-+--aarch64, 0.000-+--16PM
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=OD9vAmROscVTs1bZLZmY/qh27XGG27U/Ik4eiPu8u/A=; b=q4sAXEDxTw6YAES6DOXeQALRyhWWwTAP0sCRAPMlnd4JgpWT38lVE3H1d5JZgD9H20 BdApiBFF1mx3+ORxV0QVPd7YX0VIQVH5TWJ3IlcNsOvP1ovQrwu1emoRn2K/R9NRnq/7 diauAxe2I1Y/YT4/QkGYFUNl4NUN14xLA0Zj3HR5vvAdcXZlZEcguTuM4NKsO7HgTjTD B9icdhk7pKgdeJkxPtEoc0bNEmTCsVlBRG+yM5RoINNq8lOS/JdchYYYkvLpCWY6NQ+5 tHheYufKMxFLFoGK1154Jy0eTT8J8J3NXtxbXzhwCYviw92ZVDhpRow0b4xJvsGw3OqC /jEQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=OD9vAmROscVTs1bZLZmY/qh27XGG27U/Ik4eiPu8u/A=; b=c5Y+zPD7W2an5ii809T/2DCOe3z93FrL9SrJ2yxVIMow1WNwhPl7Qlw4fD2RiwDzrW ceVBF2ZDMj4Fgn/KYOhi3xQXW2bSTvtvvlME9b4UChUMctqrmxadV5gDx4bRv9j2Iuy2 Gdp81SU+3WAeqLNV3AGqommHJXpFA49oWZL8G86OHa7hjS3Ayi/0kzvSXCYgFE7nnx5I o5GdBUUt+blEjQNbk7mEUoJs4pyqMgyVeQvqXUPtC/e8MBQGxqu142FTCWdIlDjpYtVA Yg+dsJfrI/eo6Mkj0Du5YRkVCjq9+OoYBqQH9/aXOohfiM0e8wxUTme5D4UPhdHAybxd Fcag==
X-Gm-Message-State AOAM532130Vi+3w9ghqOTINGHsEqC+ENdx2JA/V2NyMfOvx+fodhaPma iqjx2LynQLLsMZL55L0l3N0=
X-Google-SMTP-Source ABdhPJxJIA+v46P7Lb57L33UzSFe/dHMQcZ6UiAUxnkTTQTwgxo3hw9BuJRrzH9OFaZ7a5OaonNfiA==
X-Received by 2002:a17:90a:ba83:: with SMTP id t3mr6636736pjr.213.1607131357569; Fri, 04 Dec 2020 17:22:37 -0800 (PST)
Sender robomod@news.nic.it
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
X-Debian-Message from BTS
X-Mailing-List <debian-bugs-dist@lists.debian.org> archive/latest/1636408
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 66
Organization linux.* mail to news gateway
X-Original-Cc Debian Java List <debian-java@lists.debian.org>
X-Original-Date Fri, 4 Dec 2020 17:22:35 -0800
X-Original-Message-ID <X8rg2xEaDEtBf4ys@lark>
X-Original-References <20190525192402.GC17040@virgil.dodds.net> <20201202195916.GA31595@an3as.eu> <20190525192402.GC17040@virgil.dodds.net> <20201202195916.GA31595@an3as.eu>
X-Original-Sender tony mancill <tmancill@gmail.com>
Xref csiph.com linux.debian.bugs.dist:1035808 linux.debian.maint.java:11947

Cross-posted to 2 groups.

Show key headers only | View raw


On Wed, Dec 02, 2020 at 08:59:16PM +0100, Andreas Tille wrote:
> Control: tags -1 help
> 
> I wonder whether some Java expert might be able to clarify the
> situation in bug #929530.

Hi Andreas,

There is good news and bad news... :)  The good news is that the
unaligned access error is no longer an issue on armhf.  I am able
to compile without JVM crashing on the amdahl porter box:

Java VM: OpenJDK 64-Bit Server VM (v11.0.9.1+1-post-Debian-1)
CPU Architecture: aarch64
OS: Linux (v4.19.0-12-arm64)

I've run the build at least 6 times by now and not observed any issues
with the JVM.

The bad news is that tests are consistently failing.  Specifically, the
code [1] that runs after this test [2] fails consistently while trying
to clean up after the test with the error below:

[1] https://salsa.debian.org/med-team/libsis-base-java/-/blob/master/source/java/ch/systemsx/cisd/base/tests/AbstractFileSystemTestCase.java#L139
[2] https://salsa.debian.org/med-team/libsis-base-java/-/blob/master/sourceTest/java/ch/systemsx/cisd/base/unix/UnixTests.java#L121


Running testTouchSymLinkAndFileRealtimeTimer
Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someLink]
Could not delete the directory targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests in second try because: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someLink]
Exception in thread "main" org.apache.commons.io.IOExceptionList: 1 exceptions: [java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someLink]
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:345)
	at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:1206)
	at ch.systemsx.cisd.base.tests.AbstractFileSystemTestCase.afterClass(AbstractFileSystemTestCase.java:139)
	at ch.systemsx.cisd.base.unix.UnixTests.main(UnixTests.java:495)
	at ch.systemsx.cisd.base.AllTests.main(AllTests.java:56)
Caused by: java.io.IOException: Unable to delete file: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someLink
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1425)
	at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:338)
	... 4 more
Caused by: java.nio.file.NoSuchFileException: targets/unit-test-wd/ch.systemsx.cisd.base.unix.UnixTests/someLink
	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)
	at java.base/java.nio.file.Files.readAttributes(Files.java:1763)
	at java.base/java.nio.file.Files.size(Files.java:2380)
	at org.apache.commons.io.file.PathUtils.deleteFile(PathUtils.java:361)
	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:304)
	at org.apache.commons.io.file.PathUtils.delete(PathUtils.java:280)
	at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1423)
	... 5 more

However the symlink *is* present after the build (I have to remove it from
the build tree manually), so I don't know yet whether this is an issue
with the code on this architecture or something about how I'm using the
schroot on the porterbox.

In any event, my inclination is to close the unaligned access bug and
open a new bug for the test failure on this architecture.  I can't
reproduce it on amd64.

Cheers,
tony

Back to linux.debian.maint.java | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#929530: libsis-base-java: unaligned access on armhf Andreas Tille <andreas@an3as.eu> - 2020-12-02 21:10 +0100
  Bug#929530: libsis-base-java: unaligned access on armhf tony mancill <tmancill@debian.org> - 2020-12-05 02:30 +0100
    Re: Bug#929530: libsis-base-java: unaligned access on armhf Pierre Gruet <pgtdebian@free.fr> - 2020-12-06 21:20 +0100

csiph-web