You are not logged in.

#1 2013-08-06 09:10:55

devil_kc
Member
Registered: 2008-09-14
Posts: 93

[PARTIALLY SOLVED]javaws problem (glibc + hosts problem?)

after installation of pcsx2-svn(and removal of it) something is foobared on my system, pcsx2-svn depends on a lot of lib32 packages and one of those seem to have break my system

when i try to start jnlp file with javaws i get:

java: ../sysdeps/posix/getaddrinfo.c:1738: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
% java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

in my hosts file ther is only:
127.0.0.1    localhost.localdomain    localhost

in my resolv.conf:
# Generated by resolvconf
nameserver 192.168.1.1

Also:

javaws -verbose /tmp/kvmtail-1.jnlp
Java(TM) Web Start 10.25.2.15-fcs Launching: /opt/java/jre/bin/java
/opt/java/jre/bin/java
 -classpath
 /opt/java/jre/lib/deploy.jar
 -Djava.security.policy=file:/opt/java/jre/lib/security/javaws.policy
 -DtrustProxy=true
 -Xverify:remote
 -Djnlpx.home=/opt/java/jre/bin
 -Djnlpx.origFilenameArg=/tmp/kvmtail-1.jnlp
 -Djnlpx.remove=true
 -Dsun.awt.warmup=true
 -Xbootclasspath/a:/opt/java/jre/lib/javaws.jar:/opt/java/jre/lib/deploy.jar:/opt/java/jre/lib/plugin.jar
 -Djnlpx.splashport=37195
 -Djnlpx.jvm=/opt/java/jre/bin/java
 com.sun.javaws.Main
 -verbose
 -notWebJava
 /tmp/javawSf1kMD

spits out:

java: ../sysdeps/posix/getaddrinfo.c:1738: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.

pcsx2-svn wanted gcc, gcc-libs and binutils -multilib
so i installed those and uninstalled and after pcsx2 removal(installed gcc. gcc-libs and binutils)

pls help. this is like super urgent hmm

EDIT:
seems like reboot solved problem

Last edited by devil_kc (2013-08-07 08:39:06)

Offline

#2 2013-08-07 08:23:10

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,995

Re: [PARTIALLY SOLVED]javaws problem (glibc + hosts problem?)

devil_kc wrote:
% java -version
java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

are you using this jre aur package, https://aur.archlinux.org/packages/jre/ ?

Does the problem also occur with the openjdk packages ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2013-08-07 08:31:20

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: [PARTIALLY SOLVED]javaws problem (glibc + hosts problem?)

Hi Lone_Wolf,

Yes, i'm using that package.
I didn't try it with openjdk. i'll try now.

tried: (installed icedtea-web-java  and openjdk)

$javaws /tmp/kvmtail-3.jnlp
java.io.FileNotFoundException: /home/matija/.icedtea/deployment.properties (No such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:146)
	at java.io.FileReader.<init>(FileReader.java:72)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.parsePropertiesFile(DeploymentConfiguration.java:604)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.findSystemConfigFile(DeploymentConfiguration.java:424)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:236)
	at net.sourceforge.jnlp.config.DeploymentConfiguration.load(DeploymentConfiguration.java:205)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:194)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:186)
	at net.sourceforge.jnlp.runtime.Boot.run(Boot.java:53)
	at java.security.AccessController.doPrivileged(Native Method)
	at net.sourceforge.jnlp.runtime.Boot.main(Boot.java:177)
javaws: ../sysdeps/posix/getaddrinfo.c:1738: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
[2]    6795 abort (core dumped)  javaws /tmp/kvmtail-3.jnlp

strange thing is taht everything worked today when i powered my pc, and after an hour everything just stopped(after pacman -Syu)

will reboot now in latest kernel and we'll see then.

Offline

#4 2013-08-07 08:37:55

devil_kc
Member
Registered: 2008-09-14
Posts: 93

Re: [PARTIALLY SOLVED]javaws problem (glibc + hosts problem?)

after reboot everything works like a charm.

Who knows. every time it fails i'll just reboot smile

Offline

Board footer

Powered by FluxBB