Bug 1769820
| Summary: | ftrace -sym= crashes ftrace with java exception | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Magnus Glantz <sudo> | ||||||
| Component: | frysk | Assignee: | Cagney <cagney> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 31 | CC: | cagney, kasal | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | frysk-0.4-68.fc31 | Doc Type: | If docs needed, set a value | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2019-11-29 00:53:52 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Magnus Glantz
2019-11-07 14:48:22 UTC
I can't reproduce this. Created attachment 1634779 [details]
strace of ftrace that fails
I can replicate this on another instance of F31... I guess there is a dependency missing then. I only installed the frysk package, nothing else. Created attachment 1634781 [details]
sosreport from system which has 100% replicator of issue
From the java error message: 'Caused by: java.lang.ClassNotFoundException: antlr.RecognitionException' There's something missing. What antlr related package do you have installed cagney? This seems suspect:
[mglantz@darkred ~]$ grep -i "no such file" strace-ftrace.txt |grep -i antlr
[pid 16862] 1573460032.285803 lstat("/usr/share/java/antlr.jar", 0x7f02a8d02120) = -1 ENOENT (No such file or directory)
[pid 16862] 1573460032.285901 stat("/usr/share/java/antlr.jar", 0x7f02a8d041e0) = -1 ENOENT (No such file or directory)
[pid 16862] 1573460032.431554 stat("/usr/share/java/antlr.jar", 0x7f02a8d02180) = -1 ENOENT (No such file or directory)
Yes, indeed. /usr/share/java/antlr.jar is provided by the antlr-tool package. After installing this, ftrace works. So, the frysk RPM needs to depend on antlr-tool for Fedora 30+31 at least. There's something decidedly screwy going on with dependencies. It has had: BuildRequires: antlr >= 2.7.4 since 2016. I guess I now get to spell out all the java runtime dependencies vis: Requires: antlr-tool jline .... as rpm -qR frysk is looking decidedly sparse (but I'm sure that wasn't a requirement). FEDORA-2019-6f4defd30f has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-6f4defd30f frysk-0.4-68.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-6f4defd30f frysk-0.4-68.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report. |