Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Pracovní prostředí => Téma založeno: zakerr 12 Září 2013, 22:04:34
-
Ahoj,
Nainstaloval jsem si NetBeans IDE 7.0.1 na Ubuntu 13.04, ale nejde mi spustit. Vždy při zapínání se dostane do fáze Done loading modules a v tu chvíli se vypne. Žádná chybová hláška však nevyskakuje. Nevíte někdo, co by s tím mohlo být?
-
Spustit přes terminál a sledovat na čem padne.
-
Tak při otevření NetBeans přes terminál je výsledek toto:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe266c01880, pid=4098, tid=140611705808640
#
# JRE version: 6.0_27-b27
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.12.6
# Distribution: Ubuntu 13.04, package 6b27-1.12.6-1ubuntu0.13.04.2
# Problematic frame:
# C [libglib-2.0.so.0+0x285880] _fini+0x1f9f54
#
# An error report file with more information is saved as:
# /home/zakerr/hs_err_pid4098.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
/usr/share/netbeans/7.0.1/bin/../platform/lib/nbexec: řádek 548: 4098 Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen]) "/usr/lib/jvm/java-6-openjdk-amd64/bin/java" -Djdk.home="/usr/lib/jvm/java-6-openjdk-amd64" -Djava.library.path=/usr/lib/jni -classpath "/usr/share/netbeans/7.0.1/platform/lib/boot.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-modules.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-util.jar:/usr/share/netbeans/7.0.1/platform/lib/org-openide-util-lookup.jar:/usr/lib/jvm/java-6-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar" -Dnetbeans.system_http_proxy="DIRECT" -Dnetbeans.system_http_non_proxy_hosts="" -Dnetbeans.dirs="/usr/share/netbeans/7.0.1/nb:/usr/share/netbeans/7.0.1/bin/../ergonomics:/usr/share/netbeans/7.0.1/ide:/usr/share/netbeans/7.0.1/java:/usr/share/netbeans/7.0.1/bin/../xml:/usr/share/netbeans/7.0.1/apisupport:/usr/share/netbeans/7.0.1/bin/../webcommon:/usr/share/netbeans/7.0.1/bin/../websvccommon:/usr/share/netbeans/7.0.1/bin/../enterprise:/usr/share/netbeans/7.0.1/bin/../mobility:/usr/share/netbeans/7.0.1/bin/../profiler:/usr/share/netbeans/7.0.1/bin/../ruby:/usr/share/netbeans/7.0.1/bin/../python:/usr/share/netbeans/7.0.1/bin/../php:/usr/share/netbeans/7.0.1/bin/../visualweb:/usr/share/netbeans/7.0.1/bin/../soa:/usr/share/netbeans/7.0.1/bin/../identity:/usr/share/netbeans/7.0.1/bin/../uml:/usr/share/netbeans/7.0.1/harness:/usr/share/netbeans/7.0.1/bin/../cnd:/usr/share/netbeans/7.0.1/bin/../dlight:/usr/share/netbeans/7.0.1/bin/../groovy:/usr/share/netbeans/7.0.1/bin/../extra:/usr/share/netbeans/7.0.1/bin/../javafx:/usr/share/netbeans/7.0.1/bin/../javacard:" -Dnetbeans.home="/usr/share/netbeans/7.0.1/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-XX:MaxPermSize=384m' '-Xmx768m' '-client' '-Xss2m' '-Xms32m' '-XX:PermSize=32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.pmoffscreen=false' -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/zakerr/.netbeans/7.0/var/log/heapdump.hprof" org.netbeans.Main --userdir "/home/zakerr/.netbeans/7.0" "--branding" "nb" 0<&0
Jsem v Linuxu naprostý začátečník, takže moc nechápu co si z toho odnést.
-
No začal bych tím, že bych se podíval, co je zde → home/zakerr/hs_err_pid4098.log
-
No tak v error reportu hs_err_pid4098.log bylo:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fe266c01880, pid=4098, tid=140611705808640
#
# JRE version: 6.0_27-b27
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.12.6
# Distribution: Ubuntu 13.04, package 6b27-1.12.6-1ubuntu0.13.04.2
# Problematic frame:
# C [libglib-2.0.so.0+0x285880] _fini+0x1f9f54
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# https://bugs.launchpad.net/ubuntu/+source/openjdk-6/
#
--------------- T H R E A D ---------------
Current thread is native thread
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x00007fe266c01880
Registers:
RAX=0x00007fe266c01880, RBX=0x00007fe2b6c6aa38, RCX=0x0000000000000001, RDX=0x0000000000000001
RSP=0x00007fe2b6c69e68, RBP=0x00007fe2d14ae308, RSI=0x00007fe2b6c6a700, RDI=0x00007fe2783ab8d0
R8 =0x0000000000000000, R9 =0x0000000000001014, R10=0x0000000000000008, R11=0x0000000000000246
R12=0x000000000000001e, R13=0x0000000000000000, R14=0x00007fe2d14ae2e0, R15=0x0000000000000004
RIP=0x00007fe266c01880, EFLAGS=0x0000000000010202, CSGSFS=0x0000000000000033, ERR=0x0000000000000014
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007fe2b6c69e68)
0x00007fe2b6c69e68: 00007fe2d129dd92 0000000000000000
0x00007fe2b6c69e78: 0000000000000000 0000000000000000
0x00007fe2b6c69e88: 0000000000000000 00007fe2d16d6060
0x00007fe2b6c69e98: 00007fe2cf4b5090 0000000000000000
0x00007fe2b6c69ea8: 00007fe2d129df9c 0000000000000000
0x00007fe2b6c69eb8: 00007fe2b6c6a700 00007fe2b6c6a700
0x00007fe2b6c69ec8: 40c9a050730480a6 0000000000000000
0x00007fe2b6c69ed8: 00007fe2d16d6060 00007fe2cf4b5090
0x00007fe2b6c69ee8: 0000000000000000 bf0ccddd4e6480a6
0x00007fe2b6c69ef8: bf0c0203cdaa80a6 0000000000000000
0x00007fe2b6c69f08: 0000000000000000 0000000000000000
0x00007fe2b6c69f18: 0000000000000000 0000000000000000
0x00007fe2b6c69f28: 0000000000000000 0000000000000000
0x00007fe2b6c69f38: 0000000000000000 0000000000000000
0x00007fe2b6c69f48: 0000000000000000 0000000000000000
0x00007fe2b6c69f58: 0000000000000000 0000000000000000
0x00007fe2b6c69f68: 0000000000000000 0000000000000000
0x00007fe2b6c69f78: 0000000000000000 0000000000000000
0x00007fe2b6c69f88: 0000000000000000 0000000000000000
0x00007fe2b6c69f98: 0000000000000000 0000000000000000
0x00007fe2b6c69fa8: 0000000000000000 00007fe2b6c6a700
0x00007fe2b6c69fb8: 00007fe2d0bbee1d 0000000000000000
0x00007fe2b6c69fc8: 0000000000000000 0000000000000000
0x00007fe2b6c69fd8: 0000000000000000 0000000000000000
0x00007fe2b6c69fe8: 0000000000000000 0000000000000000
0x00007fe2b6c69ff8: 0000000000000000 0000000000000000
0x00007fe2b6c6a008: 0000000000000000 0000000000000000
0x00007fe2b6c6a018: 0000000000000000 0000000000000000
0x00007fe2b6c6a028: 0000000000000000 0000000000000000
0x00007fe2b6c6a038: 0000000000000000 0000000000000000
0x00007fe2b6c6a048: 0000000000000000 0000000000000000
0x00007fe2b6c6a058: 0000000000000000 0000000000000000
Instructions: (pc=0x00007fe266c01880)
0x00007fe266c01860:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xb]
Register to memory mapping:
RAX=0x00007fe266c01880: <offset 0x285880> in /lib/x86_64-linux-gnu/libglib-2.0.so.0 at 0x00007fe26697c000
RBX=0x00007fe2b6c6aa38 is an unknown value
RCX=0x0000000000000001 is an unknown value
RDX=0x0000000000000001 is an unknown value
RSP=0x00007fe2b6c69e68 is an unknown value
RBP=0x00007fe2d14ae308: <offset 0x218308> in /lib/x86_64-linux-gnu/libpthread.so.0 at 0x00007fe2d1296000
RSI=0x00007fe2b6c6a700 is an unknown value
RDI=0x00007fe2783ab8d0 is an unknown value
R8 =0x0000000000000000 is an unknown value
R9 =0x0000000000001014 is an unknown value
R10=0x0000000000000008 is an unknown value
R11=0x0000000000000246 is an unknown value
R12=0x000000000000001e is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x00007fe2d14ae2e0: <offset 0x2182e0> in /lib/x86_64-linux-gnu/libpthread.so.0 at 0x00007fe2d1296000
R15=0x0000000000000004 is an unknown value
Stack: [0x00007fe2b6a6a000,0x00007fe2b6c6b000], sp=0x00007fe2b6c69e68, free space=2047k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libglib-2.0.so.0+0x285880] _fini+0x1f9f54
Z výpisu jsem tedy pochopil, že problematická část je: C [libglib-2.0.so.0+0x285880] _fini+0x1f9f54 ...
Co s tím dělat ovšem nemám ponětí.
-
tu je pár řešení:
- dát starší stabilnější javu (https://netbeans.org/bugzilla/show_bug.cgi?id=106425)
- disablovat smarty plugin (https://netbeans.org/bugzilla/show_bug.cgi?id=198963)
- prověřit updaty (http://stackoverflow.com/questions/13137598/netbeans-7-2-hangs-in-loading-modules-after-updates-ubuntu-12-04-32bits-syste)
atd.
(google, netbeans done loading modules crash/hang, vyhledávání za poslední rok)
-
Nakonec jsem odinstaloval 7.0.1 a nainstaloval 7.3.1, při instalaci jsem zjistil akorát problém, že nemám naistalováno JDK. Po nainstalování proběhla instalace v pořádku a NetBeans teď bez problému běží. Všem děkuji za pomoc.