This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Netbeans crashed during editing | ||
---|---|---|---|
Product: | platform | Reporter: | bastian_fenske |
Component: | Launchers&CLI | Assignee: | Libor Fischmeistr <lfischmeistr> |
Status: | NEW --- | ||
Severity: | normal | CC: | premek.v, sviatopolk |
Priority: | P2 | ||
Version: | 8.2 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | log |
Description
bastian_fenske
2016-10-23 07:42:57 UTC
I'm editing PHP code. Installed Plugins are: HTML5, Tools, PHP, Service Registry and Base IDE. Can you please find Java crash log and attach it here? The file is typically in your Home or NetBeans home directory and it's name is hs_err_pidXX.log. Thanks! "find / -name hs_err_*" as root returns nothing. ~/.netbeans and ~/.java does not contain any such log file. /var/log doesn't contain a directory for netbeans or java. Any ideas, where to find it? OS is debian stretch, netbeans is installed with the netbeans installer (not dpkg). openjdk version "1.8.0_102" OpenJDK Runtime Environment (build 1.8.0_102-8u102-b14.1-2-b14) OpenJDK 64-Bit Server VM (build 25.102-b14, mixed mode) I don't know how to figure out whether there is an -XX:ErrorFile specified somewere or not. I started to write down, what actions made the error appear: - Typing "re" for the PHP function "realpath" - Typing "new \Refle" (for "ReflectionClass", the box, that suggest several types during typing has already been open) - Typing a variable name - Typing a variable name - Moving the cursor left (not sure, maybe the crash happens during typing) - Typing "if (!file_exi" - Typing "file_exi" - Typing "else if" Can you please reproduce it with http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html ? This is happening to me too on Debian GLib:ERROR:/build/glib2.0-m2w47E/glib2.0-2.50.2/./glib/ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0) /home/.../netbeans-8.2/platform/lib/nbexec: line 470: 11986 Aborted Also see the Debian bug at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837081 Let me know if I can provide more info. It's happening quite often. Looks like it may be related to autocomplete popup? $ java -version openjdk version "1.8.0_111" OpenJDK Runtime Environment (build 1.8.0_111-8u111-b14-3-b14) OpenJDK 64-Bit Server VM (build 25.111-b14, mixed mode) It seems to be OK with Sun Java: java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode) Workaround: - download sun java http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html - run with: /path/to/netbeans-8.2/bin/netbeans --jdkhome /path/to/jdk1.8.0_121 Created attachment 163596 [details]
log
Logs attached from another re-ocurrence of the bug
commenting in /etc/java-8-openjdk/accessibility.properties the next line seems to work at least in debian: #assistive_technologies=org.GNOME.Accessibility.AtkWrapper I figured it out cause I have a computer with netbeans working properly without any problem with that settings due to a time ago bug that preventing netbeans to start and another with a fresh debian installation, in the last one, netbeans closed sundenly when editing in php. Changing that in the new one seems to work and I have no unexpected close of netbeans. It happens to me too using Netbeans 8.2 with Ubuntu 17.04 while editing a php project. GLib:ERROR:../../../../glib/ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0) /home/caiofior/netbeans-8.2/platform/lib/nbexec: riga 470: 4898 Annullato (core dump creato) "/usr/bin/java" -Djdk.home="/usr" -classpath "/home/caiofior/netbeans-8.2/platform/lib/boot.jar:/home/caiofior/netbeans-8.2/platform/lib/org-openide-modules.jar:/home/caiofior/netbeans-8.2/platform/lib/org-openide-util.jar:/home/caiofior/netbeans-8.2/platform/lib/org-openide-util-lookup.jar:/home/caiofior/netbeans-8.2/platform/lib/org-openide-util-ui.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/boot_ja.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/boot_pt_BR.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/boot_ru.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/boot_zh_CN.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-modules_ja.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-modules_ru.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util_ja.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util_pt_BR.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util_ru.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ja.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-ui_pt_BR.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ru.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util-ui_zh_CN.jar:/home/caiofior/netbeans-8.2/platform/lib/locale/org-openide-util_zh_CN.jar" -Dnetbeans.default_userdir_root="/home/caiofior/.netbeans" -Dnetbeans.dirs="/home/caiofior/netbeans-8.2/nb:/home/caiofior/netbeans-8.2/ergonomics:/home/caiofior/netbeans-8.2/ide:/home/caiofior/netbeans-8.2/extide:/home/caiofior/netbeans-8.2/java:/home/caiofior/netbeans-8.2/apisupport:/home/caiofior/netbeans-8.2/webcommon:/home/caiofior/netbeans-8.2/websvccommon:/home/caiofior/netbeans-8.2/enterprise:/home/caiofior/netbeans-8.2/mobility:/home/caiofior/netbeans-8.2/profiler:/home/caiofior/netbeans-8.2/python:/home/caiofior/netbeans-8.2/php:/home/caiofior/netbeans-8.2/identity:/home/caiofior/netbeans-8.2/harness:/home/caiofior/netbeans-8.2/cnd:/home/caiofior/netbeans-8.2/cndext:/home/caiofior/netbeans-8.2/dlight:/home/caiofior/netbeans-8.2/groovy:/home/caiofior/netbeans-8.2/extra:/home/caiofior/netbeans-8.2/javacard:/home/caiofior/netbeans-8.2/javafx:" -Dnetbeans.home="/home/caiofior/netbeans-8.2/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-Xmx1024m' '-client' '-Xss2m' '-Xms32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' -DaddExports:java.desktop/sun.awt=ALL-UNNAMED -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED -DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED -DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED -DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/caiofior/.netbeans/8.2/var/log/heapdump.hprof" -splash:"/home/caiofior/.cache/netbeans/8.2/splash.png" org.netbeans.Main --cachedir "/home/caiofior/.cache/netbeans/8.2" --userdir "/home/caiofior/.netbeans/8.2" "--branding" "nb" 0<&0 Also happens on Ubuntu 17.04, on Netbeans 8.2 installed with the netbeans installer, while editing java code. GLib:ERROR:../../../../glib/ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0) /usr/local/netbeans-8.2/platform/lib/nbexec: line 470: 28050 Aborted (core dumped) "/usr/lib/jvm/java-8-openjdk-amd64/bin/java" -Djdk.home="/usr/lib/jvm/java-8-openjdk-amd64" -classpath "/usr/local/netbeans-8.2/platform/lib/boot.jar:/usr/local/netbeans-8.2/platform/lib/org-openide-modules.jar:/usr/local/netbeans-8.2/platform/lib/org-openide-util.jar:/usr/local/netbeans-8.2/platform/lib/org-openide-util-lookup.jar:/usr/local/netbeans-8.2/platform/lib/org-openide-util-ui.jar:/usr/local/netbeans-8.2/platform/lib/locale/boot_ja.jar:/usr/local/netbeans-8.2/platform/lib/locale/boot_pt_BR.jar:/usr/local/netbeans-8.2/platform/lib/locale/boot_ru.jar:/usr/local/netbeans-8.2/platform/lib/locale/boot_zh_CN.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-modules_ja.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-modules_pt_BR.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-modules_ru.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-modules_zh_CN.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util_ja.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ja.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_pt_BR.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_ru.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-lookup_zh_CN.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util_pt_BR.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util_ru.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ja.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-ui_pt_BR.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-ui_ru.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util-ui_zh_CN.jar:/usr/local/netbeans-8.2/platform/lib/locale/org-openide-util_zh_CN.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/dt.jar:/usr/lib/jvm/java-8-openjdk-amd64/lib/tools.jar" -Dnetbeans.default_userdir_root="/home/jta/.netbeans" -Dnetbeans.running.environment=kde -Dnetbeans.dirs="/usr/local/netbeans-8.2/nb:/usr/local/netbeans-8.2/ergonomics:/usr/local/netbeans-8.2/ide:/usr/local/netbeans-8.2/extide:/usr/local/netbeans-8.2/java:/usr/local/netbeans-8.2/apisupport:/usr/local/netbeans-8.2/webcommon:/usr/local/netbeans-8.2/websvccommon:/usr/local/netbeans-8.2/enterprise:/usr/local/netbeans-8.2/mobility:/usr/local/netbeans-8.2/profiler:/usr/local/netbeans-8.2/python:/usr/local/netbeans-8.2/php:/usr/local/netbeans-8.2/identity:/usr/local/netbeans-8.2/harness:/usr/local/netbeans-8.2/cnd:/usr/local/netbeans-8.2/cndext:/usr/local/netbeans-8.2/dlight:/usr/local/netbeans-8.2/groovy:/usr/local/netbeans-8.2/extra:/usr/local/netbeans-8.2/javacard:/usr/local/netbeans-8.2/javafx:" -Dnetbeans.home="/usr/local/netbeans-8.2/platform" '-Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade' '-Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense' '-Xmx1024m' '-client' '-Xss2m' '-Xms32m' '-Dapple.laf.useScreenMenuBar=true' '-Dapple.awt.graphics.UseQuartz=true' '-Dsun.java2d.noddraw=true' '-Dsun.java2d.dpiaware=true' '-Dsun.zip.disableMemoryMapping=true' -DaddExports:java.desktop/sun.awt=ALL-UNNAMED -DaddExports:java.base/jdk.internal.jrtfs=ALL-UNNAMED -DaddExports:java.desktop/java.awt.peer=ALL-UNNAMED -DaddExports:java.desktop/com.sun.beans.editors=ALL-UNNAMED -DaddExports:java.desktop/sun.awt.im=ALL-UNNAMED -DaddExports:java.desktop/com.sun.java.swing.plaf.gtk=ALL-UNNAMED -DaddExports:java.management/sun.management=ALL-UNNAMED -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/home/jta/.netbeans/8.2/var/log/heapdump.hprof" -splash:"/home/jta/.cache/netbeans/8.2/splash.png" org.netbeans.Main --cachedir "/home/jta/.cache/netbeans/8.2" --userdir "/home/jta/.netbeans/8.2" "--branding" "nb" 0<&0 I have this too, but only since upgrading to Debian 9. I'm fairly certain this is not a thing about Netbeans but openjdk vs atk. We had some atk problem also last year, with a workaround of disabling atk somehow, does anybody remember it? Never mind, I found it. https://netbeans.org/bugzilla/show_bug.cgi?id=268644#c9 Now testing if it works around the current issue. It may be premature, but it SEEMS that that workaround fixed it for me. I have the same issue with the same error massages the suggested workaround unfortunately didn't work for me tough. Should I open a new Bug report or continue answering on this one? Happends to me too. NB 8.2 Linux asus 4.13.0-38-generic Resolved with @jmtorres 's comment. Thanks. |