FS#26531 - [jre7-openjdk]

Attached to Project: Arch Linux
Opened by Alexander (AlexanderR) - Thursday, 20 October 2011, 05:00 GMT
Last edited by Guillaume ALAUX (galaux) - Thursday, 20 October 2011, 20:58 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Guillaume ALAUX (galaux)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

Any program that uses system configuration (for example sets "java.net.useSystemProxies" property to use global proxy settings) will crash with message about SIGSEGV in libglib-2.0.so. Short search explains that it happens due to lack of gsettings-desktop-schemas package. Installation of this package solves the problem.

Resolution:
Add gsettings-desktop-schemas to jre7-openjdk dependencies.

TODO:
- Is it Arch-only problem? Are other distributions affected?
- Arch openjdk dependency list is shorter that one at http://packages.debian.org/wheezy/openjdk-7-jre.
Are we missing something else?

Additional info:

jre7-openjdk 7.b147_2.0-0.20110922.1
default configuration

Steps to reproduce:

1) gsettings-desktop-schemas is not present

2) following program launches

import java.io.InputStream;
import java.io.IOException;

import java.net.URL;
import java.net.MalformedURLException;

public class CrashDemo
{
public static void main(final String[] args) throws MalformedURLException, IOException
{
System.setProperty("java.net.useSystemProxies", "true");

try(InputStream is = new URL("http://www.google.com").openConnection().getInputStream())
{
is.read();
}
}
}

3) JVM crashes
This task depends upon

Closed by  Guillaume ALAUX (galaux)
Thursday, 20 October 2011, 20:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 7.b147_2.0-2
Comment by Guillaume ALAUX (galaux) - Thursday, 20 October 2011, 20:58 GMT
Checked and done. -2 is in testing with this dependency.
As for possible other missing dependency, we could add them add them when discovered.
Thanks for this report.

Loading...