-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
17
-
x86_64
-
linux_debian_3.0
A DESCRIPTION OF THE PROBLEM :
When launching a packaged application on Linux, the program runs normally but once it terminates, the launcher exits with code 134 and the following message:
pure virtual method called
terminate called without an active exception
Aborted
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Package any application (a simple "Hello World" suffices) and package it using
# jpackage --name "example" --input path/to/jarfile --main-jar example.jar --type app-image --dest output-dir
Execute the program manually and using the launcher:
# java -jar output-dir/example/lib/app/example.jar
# output-dir/example/bin/example
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
In both cases, the program should terminate normally.
ACTUAL -
When using the launcher created by jpackage, the process terminates with error code 134 and the following output:
pure virtual method called
terminate called without an active exception
Aborted
---------- BEGIN SOURCE ----------
package example;
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
---------- END SOURCE ----------
FREQUENCY : always
When launching a packaged application on Linux, the program runs normally but once it terminates, the launcher exits with code 134 and the following message:
pure virtual method called
terminate called without an active exception
Aborted
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Package any application (a simple "Hello World" suffices) and package it using
# jpackage --name "example" --input path/to/jarfile --main-jar example.jar --type app-image --dest output-dir
Execute the program manually and using the launcher:
# java -jar output-dir/example/lib/app/example.jar
# output-dir/example/bin/example
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
In both cases, the program should terminate normally.
ACTUAL -
When using the launcher created by jpackage, the process terminates with error code 134 and the following output:
pure virtual method called
terminate called without an active exception
Aborted
---------- BEGIN SOURCE ----------
package example;
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
---------- END SOURCE ----------
FREQUENCY : always
- duplicates
-
JDK-8297026 jpackage launcher exits with 134 "terminate called without an active exception
-
- Closed
-
- relates to
-
JDK-8348560 Pure Virtual Method Error in jpackage Linux Launcher
-
- Open
-