Summary: | java/openjdk8 unsatisfied link inotify | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | bsdbugs_mr | ||||||||||
Component: | Individual Port(s) | Assignee: | Jung-uk Kim <jkim> | ||||||||||
Status: | Closed FIXED | ||||||||||||
Severity: | Affects Many People | CC: | freebsd, ivt, jkim, junovitch, markusalbertgraf, mizhka, puppet, romain, sachin1618, wolfgang | ||||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(java) |
||||||||||
Version: | Latest | ||||||||||||
Hardware: | amd64 | ||||||||||||
OS: | Any | ||||||||||||
Attachments: |
|
Created attachment 210917 [details]
puppetserver log
Same issue with puppetserver, attached is a log of puppetserver attempting to start using openjdk8-8.242.07.1. Puppetserver starts correctly if I downgrade to openjdk-8.232.09.1_1
The same problem happens with astro/josm The same error stops clojurescript development tool 'shadow-cljs' from working. I guess that adding "-Dsun.nio.fs.watchservice=polling" to the java(1) parameters might help. This property is checked to choose between the openjdk upstream provider and the inotify implementation in this patch: files/patch-jdk-src-solaris-classes-sun-nio-fs-BsdFileSystem.java I can confirm that the suggestion from Comment #4 fixes the problem for astro/josm Created attachment 211358 [details]
java/openjdk8: Remove broken inotify compatibility
Instead of reverting to a vulnerable version of openjdk8, it might be better to drop the FreeBSD local patches that add the broken "inotify compatibility".
(In reply to Romain Tartière from comment #4) Adding "-Dsun.nio.fs.watchservice=polling" fixes the problem for net/serviio. Created attachment 213200 [details]
Fix mismerged patch for mapfile-bsd
Please try this patch.
A commit references this bug: Author: jkim Date: Wed Apr 8 20:43:12 UTC 2020 New revision: 531145 URL: https://svnweb.freebsd.org/changeset/ports/531145 Log: Fix linker errors with libinotify. A patch was mismerged in the previous update. PR: 243454 Changes: head/java/openjdk8/Makefile head/java/openjdk8/files/patch-jdk-make-mapfiles-libnio-mapfile-bsd I just went ahead and committed it. Please let me know if it does not work for you. (In reply to Jung-uk Kim from comment #10) Good day. The patched OpenJDK no longer causes the run time issue in net/serviio based on run time testing on 11.3-RELEASE amd64 and 12.1-RELEASE amd64. Thank you very much for addressing this. Can you MFH to quarterly given the branch was cut with this? (In reply to Jung-uk Kim from comment #10) puppetserver starts correctly after the update. Thanks from puppet@ |
Created attachment 210875 [details] Partial log from net/serviio After openjdk8 upgraded: 8.232.09.1_1 -> 8.242.07.1 I got always ~20 seconds running net/serviio crashes with log attached