Karmic fresh install, vuze won't open, gives java error
Already asked this in the forums, but nobody has an answer....yet. Not sure if it really ought to be a bug report, suspect I broke it myself but here goes:
I recently upgraded from Jaunty to Karmic, had some hardware issues. Software all worked okay, in particular, vuze was better than before. In order to resolve some of the other issues, I decided to do a fresh install of Karmic, to see if ext4 and grub2 actually improved the performance of my computer. Actually it is even slower than before especially on booting, but that is not my issue...
I installed my usual extras: including ubuntu-
Now when I open vuze it just aborts. I tried opening it using the terminal, and it gave an error about java. I am unable to figure out how to fix this. I have tried uninstalling the extras, and reinstalling, tried installing different versions of java. Nothing...
Before I go ahead and try to do a fresh install over again, is there ANYTHING else I should try first?
Here is the message that it gives:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x0119c1c0, pid=4041, tid=3079375728
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu1
# Problematic frame:
# V [libjvm.
#
# An error report file with more information is saved as:
# /home/scott/
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https:/
#
Aborted
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu azureus Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Scott Todd
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Yeah... you'll need to install Sun Java 32 bit (even on 64-bit systems).... and pretend OpenJDK doesn't exist.
apt-get install ia32-sun-java5-bin
apt-get install ia32-sun-java6-bin
Pretend OpenJDK doesn't exist.
export AZUREUS_
Revision history for this message
|
#2 |
Gave it a shot. Though apparently version 5 is now obsolete and the name of the pkg is now just sun-java6-bin, no ia32...
Here is what I did:
sudo apt-get install vuze ia32-sun-java5-bin ia32-sun-java6-bin
sudo apt-get install vuze sun-java6-jre
export AZUREUS_
I got the same error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x00fcb1c0, pid=3465, tid=3078929264
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu1
# Problematic frame:
# V [libjvm.
#
# An error report file with more information is saved as:
# /home/scott/
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https:/
#
Aborted
What else should I try?
Revision history for this message
|
#3 |
Is your ubuntu 64bit or 32bit? If you re unsure please give the output of:
uname -a
I found the java on the repos to be a real pain in the ass so I can give the manual method.
Thanks
Revision history for this message
|
#4 |
Not sure, if I were to guess I would have said 32.
scott@scott-
Linux scott-desktop 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686 GNU/Linux
However, I might like to point out that vuze was working fine before I did the clean install. This is one of 2 issues left from before I did the clean reinstall (with home on a separate partition kept intact), with the reasons I did the clean install no longer an issue.
Previously, I upgraded from Jaunty, so there are bound to be differences that I am unaware. Just trying to give a complete picture.
Revision history for this message
|
#5 |
Your Ubuntu is 32bit:
i686 = 32bit
x86_64 = 64bit
This will give you java:
http://
32bit is insanely easy for native plugins
If you have java please mark as solved (I read your previous post as you had done a clean install and all is well now)
Revision history for this message
|
#6 |
Still no dice. Here's what I did:
scott@scott-
[sudo] password for scott:
Reading package lists... Done
Building dependency tree
Reading state information... Done
sun-java6-jre is already the newest version.
The following NEW packages will be installed:
sun-java6-fonts sun-java6-plugin
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,704B of archives.
After this operation, 168kB of additional disk space will be used.
Get:1 http://
Get:2 http://
Fetched 3,704B in 0s (7,820B/s)
Selecting previously deselected package sun-java6-fonts.
(Reading database ... 143410 files and directories currently installed.)
Unpacking sun-java6-fonts (from .../sun-
Selecting previously deselected package sun-java6-plugin.
Unpacking sun-java6-plugin (from .../sun-
Setting up sun-java6-fonts (6-15-1) ...
Updating fontconfig cache for /usr/share/
No CIDSupplement specified for Dotum-Bold, defaulting to 0.
No CIDSupplement specified for ZenHei, defaulting to 0.
No CIDSupplement specified for Batang-Regular, defaulting to 0.
No CIDSupplement specified for Dotum-Regular, defaulting to 0.
No CIDSupplement specified for ZenHei-CNS, defaulting to 0.
No CIDSupplement specified for Batang-Bold, defaulting to 0.
Setting up sun-java6-plugin (6-15-1) ...
scott@scott-
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x012431c0, pid=4289, tid=3078409072
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu1
# Problematic frame:
# V [libjvm.
#
# An error report file with more information is saved as:
# /home/scott/
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https:/
#
Aborted
Revision history for this message
|
#7 |
ok can you give the output of:
/home/scott/
Revision history for this message
|
#8 |
I have been deleting the logs, since everything I try creates another one. But they appear identical in every other way. This is hs_err_pid4330.log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGBUS (0x7) at pc=0x011ba1c0, pid=4330, tid=3079334768
#
# JRE version: 6.0-b16
# Java VM: OpenJDK Client VM (14.0-b16 mixed mode, sharing linux-x86 )
# Distribution: Ubuntu 9.10, package 6b16-1.6.1-3ubuntu1
# Problematic frame:
# V [libjvm.
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https:/
#
--------------- T H R E A D ---------------
Current thread (0x08b66000): JavaThread "Unknown thread" [_thread_in_vm, id=4331, stack(0xb785e00
siginfo:
Error accessing class data sharing archive. Mapped file inaccessible during execution, possible disk/network problem.
Registers:
EAX=0x9aee0000, EBX=0x012c5ff4, ECX=0x0032c3a0, EDX=0x016e98c4
ESP=0xb78ae054, EBP=0xb78ae0a8, ESI=0xb78ae0c0, EDI=0x00000000
EIP=0x011ba1c0, CR2=0x9aee0040, EFLAGS=0x00210212
Top of Stack: (sp=0xb78ae054)
0xb78ae054: 24a03156 00000000 0117845a 012c5ff4
0xb78ae064: 0000000c b78ae098 00ef4ead 0000000c
0xb78ae074: 08b69d10 b78ae0a8 0122c809 08b69790
0xb78ae084: 00000003 00000000 00ef4e9a 012c5ff4
0xb78ae094: b78ae0c0 b78ae0f8 012c5ff4 b78ae0c0
0xb78ae0a4: 00000000 b78ae0f8 0122e875 00010100
0xb78ae0b4: 00000000 012c6b08 08b69790 01010100
0xb78ae0c4: 00000000 00000000 08b60f40 08b60d40
Instructions: (pc=0x011ba1c0)
0x011ba1b0: c3 46 be 10 00 8b 83 c8 da ff ff 8b 00 8b 40 44
0x011ba1c0: 8b 50 40 8d 74 10 44 8b 46 04 8b 3e 6a 1c 89 45
Stack: [0xb785e000,
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.
V [libjvm.
V [libjvm.
V [libjvm.
V [libjvm.
C [java+0x2ce8] JavaMain+0x88
C [libpthread.
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
Other Threads:
=>0x08b66000 (exited) JavaThread "Unknown thread" [_thread_in_vm, id=4331, stack(0xb785e00
VM state:not at safepoint (not fully initialized)
VM Mutex/Monitor currently owned by a thread: None
Dynamic libraries:
00110000-00134000 r-xp 00000000 08:01 4311 /lib/tls/
00134000-00135000 r--p 00023000 08:01 4311 /lib/tls/
00135000-00136000 rw-p 00024000 08:01 4311 /lib/tls/
00136000-0013d000 r-xp 00000000 08:01 134431 /usr/lib/
0013d000-0013e000 r--p 00006000 08:01 134431 /usr/lib/
0013e000-0013f000 rw-p 00007000 08:01 134431 /usr/lib/
0013f000-00145000 r-xp 00000000 08:01 4316 /lib/tls/
00145000-00146000 r--p 00005000 08:01 4316 /lib/tls/
00146000-00147000 rw-p 00006000 08:01 4316 /lib/tls/
00147000-00153000 rwxp 00000000 00:00 0
00180000-001a4000 r-xp 00000000 08:01 134413 /usr/lib/
001a4000-001a5000 r--p 00023000 08:01 134413 /usr/lib/
001a5000-001a7000 rw-p 00024000 08:01 134413 /usr/lib/
001b6000-001c0000 r-xp 00000000 08:01 4320 /lib/tls/
001c0000-001c1000 r--p 00009000 08:01 4320 /lib/tls/
001c1000-001c2000 rw-p 0000a000 08:01 4320 /lib/tls/
001e6000-001e9000 r-xp 00000000 08:01 134401 /usr/lib/
001e9000-001ea000 r--p 00003000 08:01 134401 /usr/lib/
001ea000-001eb000 rw-p 00004000 08:01 134401 /usr/lib/
001eb000-00329000 r-xp 00000000 08:01 4303 /lib/tls/
00329000-0032b000 r--p 0013e000 08:01 4303 /lib/tls/
0032b000-0032c000 rw-p 00140000 08:01 4303 /lib/tls/
0032c000-0032f000 rw-p 00000000 00:00 0
003f3000-003fa000 r-xp 00000000 08:01 134430 /usr/lib/
003fa000-003fb000 r--p 00006000 08:01 134430 /usr/lib/
003fb000-003fc000 rw-p 00007000 08:01 134430 /usr/lib/
004cb000-004d4000 r-xp 00000000 08:01 4324 /lib/tls/
004d4000-004d5000 r--p 00008000 08:01 4324 /lib/tls/
004d5000-004d6000 rw-p 00009000 08:01 4324 /lib/tls/
00597000-00599000 r-xp 00000000 08:01 4309 /lib/tls/
00599000-0059a000 r--p 00001000 08:01 4309 /lib/tls/
0059a000-0059b000 rw-p 00002000 08:01 4309 /lib/tls/
0067a000-00686000 r-xp 00000000 08:01 134429 /usr/lib/
00686000-00687000 r--p 0000b000 08:01 134429 /usr/lib/
00687000-00688000 rw-p 0000c000 08:01 134429 /usr/lib/
00692000-006a6000 r-xp 00000000 08:01 1558 /lib/libz.
006a6000-006a7000 r--p 00013000 08:01 1558 /lib/libz.
006a7000-006a8000 rw-p 00014000 08:01 1558 /lib/libz.
006a8000-006ab000 rwxp 00000000 00:00 0
006ab000-00795000 rwxp 00000000 00:00 0
007cf000-007d0000 rwxp 00000000 00:00 0
007d0000-0084f000 rwxp 00000000 00:00 0
0084f000-00850000 rwxp 00000000 00:00 0
00850000-00862000 rwxp 00000000 00:00 0
00862000-00865000 rwxp 00000000 00:00 0
00865000-0094f000 rwxp 00000000 00:00 0
0094f000-00955000 rwxp 00000000 00:00 0
00955000-0096f000 rwxp 00000000 00:00 0
0096f000-0097a000 rwxp 00000000 00:00 0
00ab3000-00ac8000 r-xp 00000000 08:01 4329 /lib/tls/
00ac8000-00ac9000 r--p 00014000 08:01 4329 /lib/tls/
00ac9000-00aca000 rw-p 00015000 08:01 4329 /lib/tls/
00aca000-00acc000 rw-p 00000000 00:00 0
00b09000-00b24000 r-xp 00000000 08:01 1403 /lib/ld-2.10.1.so
00b24000-00b25000 r--p 0001a000 08:01 1403 /lib/ld-2.10.1.so
00b25000-00b26000 rw-p 0001b000 08:01 1403 /lib/ld-2.10.1.so
00b85000-00b8c000 rwxp 00000000 00:00 0
00b8c000-00ba6000 rwxp 00000000 00:00 0
00ca3000-00cb6000 r-xp 00000000 08:01 4314 /lib/tls/
00cb6000-00cb7000 r--p 00012000 08:01 4314 /lib/tls/
00cb7000-00cb8000 rw-p 00013000 08:01 4314 /lib/tls/
00cb8000-00cba000 rw-p 00000000 00:00 0
00da7000-00dae000 r-xp 00000000 08:01 4333 /lib/tls/
00dae000-00daf000 r--p 00006000 08:01 4333 /lib/tls/
00daf000-00db0000 rw-p 00007000 08:01 4333 /lib/tls/
00eb9000-00eba000 r-xp 00000000 00:00 0 [vdso]
00eba000-012af000 r-xp 00000000 08:01 134398 /usr/lib/
012af000-012b0000 ---p 003f5000 08:01 134398 /usr/lib/
012b0000-012c6000 r--p 003f5000 08:01 134398 /usr/lib/
012c6000-012d2000 rw-p 0040b000 08:01 134398 /usr/lib/
012d2000-016f2000 rw-p 00000000 00:00 0
016f2000-0171a000 rwxp 00000000 00:00 0
0171a000-036f2000 rwxp 00000000 00:00 0
08048000-08051000 r-xp 00000000 08:01 134453 /usr/lib/
08051000-08052000 r--p 00008000 08:01 134453 /usr/lib/
08052000-08053000 rw-p 00009000 08:01 134453 /usr/lib/
08b60000-08b81000 rw-p 00000000 00:00 0 [heap]
75ae0000-75be0000 rwxp 00000000 00:00 0
75be0000-78240000 rwxp 00000000 00:00 0
78240000-78640000 rwxp 00000000 00:00 0
78640000-95ae0000 rwxp 00000000 00:00 0
95ae0000-966e0000 rwxp 00000000 00:00 0
966e0000-99ae0000 rwxp 00000000 00:00 0
99ae0000-9a20e000 r--s 00001000 08:01 135618 /usr/lib/
9a20e000-9a2e0000 rwxp 00000000 00:00 0
9a2e0000-9aa0d000 rw-p 0072f000 08:01 135618 /usr/lib/
9aa0d000-9aee0000 rwxp 00000000 00:00 0
9aee0000-9afd9000 rw-p 00e5c000 08:01 135618 /usr/lib/
9afd9000-9b2e0000 rwxp 00000000 00:00 0
9b2e0000-9b2e8000 r-xs 00f55000 08:01 135618 /usr/lib/
9b2e8000-9b6e0000 rwxp 00000000 00:00 0
b785e000-b7861000 ---p 00000000 00:00 0
b7861000-b78b2000 rw-p 00000000 00:00 0
b78b8000-b78c0000 rw-s 00000000 08:01 159737 /tmp/hsperfdata
b78c0000-b78c1000 rw-p 00000000 00:00 0
b78c1000-b78c2000 r--p 00000000 00:00 0
b78c2000-b78c4000 rw-p 00000000 00:00 0
bf81b000-bf830000 rw-p 00000000 00:00 0 [stack]
VM Arguments:
java_command: <unknown>
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/
USERNAME=scott
LD_LIBRARY_
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.
SIGBUS: [libjvm.
SIGFPE: [libjvm.
SIGPIPE: [libjvm.
SIGXFSZ: [libjvm.
SIGILL: [libjvm.
SIGUSR1: SIG_DFL, sa_mask[
SIGUSR2: [libjvm.
SIGHUP: SIG_DFL, sa_mask[
SIGINT: SIG_DFL, sa_mask[
SIGTERM: SIG_DFL, sa_mask[
SIGQUIT: SIG_DFL, sa_mask[
--------------- S Y S T E M ---------------
OS:Ubuntu 9.10 (karmic)
uname:Linux 2.6.31-15-generic #50-Ubuntu SMP Tue Nov 10 14:54:29 UTC 2009 i686
libc:glibc 2.10.1 NPTL 2.10.1
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.54 0.51 0.41
CPU:total 1 (1 cores per cpu, 1 threads per core) family 15 model 0 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2
Memory: 4k page, physical 509176k(35392k free), swap 746980k(634692k free)
vm_info: OpenJDK Client VM (14.0-b16) for linux-x86 JRE (1.6.0_0-b16), built on Nov 10 2009 02:02:45 by "buildd" with gcc 4.4.1
time: Sun Nov 15 15:09:44 2009
elapsed time: 0 seconds
Revision history for this message
|
#9 |
suggestion:
it seems as if your java binary still points to the same java package. you need to point to the newly installed package.
type 'which java' to find the binary path
make sure the path to the binary points to the new sun jre
type java -version to see which you are running
if its the wrong one, make a symbolic link to the right one.
another way to test this would be to find the sun binary, call it with the program you wish to run as an argument to see if the new jre works for you.
Revision history for this message
|
#10 |
scott@scott-
/usr/bin/java
...which is linked to /etc/alternativ
Revision history for this message
|
#11 |
/etc/alternativ
... how do I change a link to point to the right one?
Revision history for this message
|
#12 |
From the beginning I have believed that something got corrupted in my java install when I first added vuze after my clean install. I didn't have issues running vuze in karmic before using the defaults, so when my vuze install crashed and wouldn't start, I thought the answer was there. My initial reaction was to uninstall and reinstall, but nothing changed. However...
sudo apt-get remove --purge vuze openjdk-6-jre
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get install vuze
...seemed to do the trick. So it works now, I am happy. On to my other remaining issue, hopefully I won't need to open another case just for that one... ;)
Revision history for this message
|
#13 |
Azures/Vuze isn't pure Java. It contains some binary 32-bit code. That code needs to be run within SUN MICROSYSTEMS 32-BIT JRE, not OpenJDK OR 64-bit Java.
Steps to fix:
1. Install the Sun Microsystem's Java
2. set AZUREUS_JAVA environment variable to point to Sun Microsystems' 32-bit JRE binary (/xxx/xxx/bin/java) -- I know you didn't do this, because "Java VM: OpenJDK Client VM" shows up when you run vuez/azures
might want to check if AZUREUS_JAVA ... pretty sure the environment variable is sitll called the same thing.vuze, but I might be wrong...
Revision history for this message
|
#14 |
First, I want to thank you for taking the time to help me. It is really appreciated.
Please believe me, I ran the line that you asked me to run and it still came up with OpenJDK. I believe it may have to do with the fact that the java installation got corrupted when the install was abruptly interrupted. This is why it kept crashing whenever I tried to do a regular uninstall/
As for OpenJDK not working with vuze, could you kindly provide me with some links to show me the evidence/reasons (if you know of any), because as far as I can tell, vuze was working perfectly with OpenJDK before I corrupted the install. And it is working perfectly now; note that I have no Sun Java, only OpenJDK.