Bug 2123726

Summary: consoleImageViewer crashes at start
Product: [Fedora] Fedora Reporter: Zdenek Dohnal <zdohnal>
Component: console-image-viewerAssignee: jiri vanek <jvanek>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: jvanek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: console-image-viewer-1.2-23.fc39 console-image-viewer-1.2-23.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-01 13:36:21 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:

Description Zdenek Dohnal 2022-09-02 12:21:37 UTC
Description of problem:
$ consoleImageViewer ~/Download/Tux.jpg
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-17-openjdk-17.0.4.1.1-2.fc38.x86_64/lib/libawt_xawt.so
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2393)
	at java.base/java.lang.Runtime.load0(Runtime.java:755)
	at java.base/java.lang.System.load(System.java:1953)
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(NativeLibraries.java:388)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:232)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:174)
	at java.base/jdk.internal.loader.NativeLibraries.findFromPaths(NativeLibraries.java:315)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(NativeLibraries.java:285)
	at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2398)
	at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:818)
	at java.base/java.lang.System.loadLibrary(System.java:1989)
	at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1392)
	at java.desktop/java.awt.Toolkit$2.run(Toolkit.java:1390)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
	at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1389)
	at java.desktop/java.awt.Toolkit.initStatic(Toolkit.java:1427)
	at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1401)
	at java.desktop/sun.awt.AppContext$2.run(AppContext.java:273)
	at java.desktop/sun.awt.AppContext$2.run(AppContext.java:262)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
	at java.desktop/sun.awt.AppContext.initMainAppContext(AppContext.java:262)
	at java.desktop/sun.awt.AppContext$3.run(AppContext.java:315)
	at java.desktop/sun.awt.AppContext$3.run(AppContext.java:298)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
	at java.desktop/sun.awt.AppContext.getAppContext(AppContext.java:297)
	at java.desktop/javax.imageio.spi.IIORegistry.getDefaultInstance(IIORegistry.java:129)
	at java.desktop/javax.imageio.ImageIO.<clinit>(ImageIO.java:66)
	at org.judovana.linux.ConsoleImageViewer.tui(ConsoleImageViewer.java:370)
	at org.judovana.linux.ConsoleImageViewer.main(ConsoleImageViewer.java:345)
ABRT problem creation: 'failure'

Tux.jpg -> downloaded from https://upload.wikimedia.org/wikipedia/commons/5/56/Tux.jpg?20090323211402

Version-Release number of selected component (if applicable):
console-image-viewer-1.2-17.fc37.noarch

How reproducible:
always

Steps to Reproduce:
1. download the jpg
2. consoleImageViewer ~/Download/Tux.jpg


Actual results:
Crash

Expected results:
Terminal Tux :)

Additional info:

Comment 1 Ben Cotton 2023-02-07 14:54:33 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 38 development cycle.
Changing version to 38.

Comment 2 jiri vanek 2024-03-01 13:18:42 UTC
hi! That is some lag. My apologise. The issue is simple - you have only java-headless installed. Install full JRE, and you will have it working. True is, that its requires should be clear. will elaborate

Comment 3 jiri vanek 2024-03-01 13:23:31 UTC
I had amended the package and it now requires whole jre.

Comment 4 jiri vanek 2024-03-01 13:36:21 UTC
fixed, will land to all stable repos udpates soon.

Comment 5 Fedora Update System 2024-03-01 13:46:44 UTC
FEDORA-2024-e52eee2916 (console-image-viewer-1.2-23.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e52eee2916

Comment 6 Fedora Update System 2024-03-01 13:46:45 UTC
FEDORA-2024-2a9ef87d3e (console-image-viewer-1.2-23.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-2a9ef87d3e

Comment 7 Fedora Update System 2024-03-01 13:46:45 UTC
FEDORA-2024-a893016f00 (console-image-viewer-1.2-23.fc38) has been submitted as an update to Fedora 38.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-a893016f00

Comment 8 Fedora Update System 2024-03-02 01:02:38 UTC
FEDORA-2024-e52eee2916 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-e52eee2916`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-e52eee2916

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2024-03-02 01:41:46 UTC
FEDORA-2024-2a9ef87d3e has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-2a9ef87d3e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2a9ef87d3e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2024-03-02 02:01:02 UTC
FEDORA-2024-a893016f00 has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-a893016f00`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-a893016f00

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2024-03-05 01:58:27 UTC
FEDORA-2024-129d8ca6fc has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-129d8ca6fc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-129d8ca6fc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2024-03-06 02:10:46 UTC
FEDORA-2024-129d8ca6fc has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-129d8ca6fc`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-129d8ca6fc

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2024-03-07 22:24:55 UTC
FEDORA-2024-129d8ca6fc (System JDK update from 17 to 21) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2024-03-10 01:07:07 UTC
FEDORA-2024-e52eee2916 (console-image-viewer-1.2-23.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2024-03-10 01:23:05 UTC
FEDORA-2024-a893016f00 (console-image-viewer-1.2-23.fc38) has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.