You are not logged in.
Whenever I tried running any java applications my applications would never open, so I tried starting it from a Terminal with "java -jar "dadada.jar" and then I always get:
java: ../sysdeps/posix/getaddrinfo.c:1747: rfc3484_sort: Assertion `src->results[i].native == -1 || src->results[i].native == a2_native' failed.
Aborted (core dumped)I have no idea what this is supposed to mean, I tried reinstalling jre7-openjdk and jdk7-openjdk but that didn't work.
Any ideas ?
Thanks.
Edit: It did work before, I have no idea when this started happening, I found some threads on this forum about similar problems, but nothing to do with java, I tried restarting just in case, it didn't work.
Dafuk... If I disconnect my internet connection it works, I don't get it.
As suggested in some old threads I checked the contents of /etc/hosts for any other address that my local address, which supposedly could cause problems.
This are the contents of my /etc/hosts file:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost
# End of fileLast edited by LucetLux (2013-08-29 15:02:42)
Offline
What JVM are you running?
Edit: missed the info in the OP. Can you temporarily switch to openjdk6 or install the Oracle branded VM from AUR?
Last edited by Pse (2013-08-27 22:27:39)
Offline
Sure, I just tried using oracle's java, same result. I don't think this is java related according to what I've found so far:
https://bugzilla.redhat.com/show_bug.cgi?id=739743
That's for fedora, so I don't think the workaround proposed there would work, al least not directly as it is.
https://bugs.archlinux.org/task/34832
And this is from arch, I have no idea how to use the patch that is given there.
Some extra information just in case it could be related in some way; I had some problems setting up my DSL connection on arch's installation that I was able to solve ( https://bbs.archlinux.org/viewtopic.php?id=168364 ) back then I used pppoe-setup and added the adsl service to start it at boot.
Then I decided to install gnome, I noticed that my internet connection wasn't shown on gnome's network connections and it was running "in the background", I sorted that out by disabling the adsl service so it wouldn't start at boot, and then reconfigured my connection using gnome's built-in network settings.
Last edited by LucetLux (2013-08-27 23:37:28)
Offline
Those links are interesting. Have you tried some of the workarounds mentioned in the bugzilla report? Namely editing nsswitch.conf and adding a link-local IPv6 address to all network interfaces?
What's the output of 'ip addr' on your system?
Edit: if this issue is affecting you, you should probably vote for the Arch bug report above in the bug tracker.
Last edited by Pse (2013-08-28 13:57:23)
Offline
Well, this worked for me, from the redhat one.
"Removing "myhostname" from /etc/nsswitch.conf is a workaround that works for me."
I don't know which consequences this might have in the future, but now it works, who cares.
Here is my 'ip addr' output, just for the record:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp0s10: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:23:54:6f:6a:33 brd ff:ff:ff:ff:ff:ff
inet6 fe80::223:54ff:fe6f:6a33/64 scope link
valid_lft forever preferred_lft forever
3: ham0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1404 qdisc pfifo_fast state UNKNOWN qlen 500
link/ether 7a:79:19:d3:3f:d1 brd ff:ff:ff:ff:ff:ff
inet 25.211.63.209/8 brd 25.255.255.255 scope global ham0
valid_lft forever preferred_lft forever
inet6 fe80::7879:19ff:fed3:3fd1/64 scope link
valid_lft forever preferred_lft forever
5: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1492 qdisc pfifo_fast state UNKNOWN qlen 3
link/ppp
inet 186.52.218.119 peer 200.40.22.2/32 brd 186.52.218.119 scope global ppp0
valid_lft forever preferred_lft forever(#3 is the hamachi network adapter)
Thank you Pse for your help.
Offline