Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.maint.java > #11947
| 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 | 2020-12-05 02:30 +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> |
| Organization | linux.* mail to news gateway |
Cross-posted to 2 groups.
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 | Next — Previous in thread | Next in thread | Find similar
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