NetXMS Support Forum

English Support => General Support => Topic started by: kavirondo on January 13, 2026, 01:48:59 PM

Title: nxmc 5.2.8 standalone jar core dump
Post by: kavirondo on January 13, 2026, 01:48:59 PM
Hello,

I am trying to run nxmc standalone version 5.2.8, and it runs and I can log in, but when I click the inventory and click on the netxms host the application quits with below error: core dump

I am using Raspberry Pi 5 with Raspberry Pi (aarch64, arm64) OS Debian Trixie and KDE Plasma, with default-jre:

java -version
openjdk version "21.0.9" 2025-10-21
OpenJDK Runtime Environment (build 21.0.9+10-Debian-1deb13u1)
OpenJDK 64-Bit Server VM (build 21.0.9+10-Debian-1deb13u1, mixed mode, sharing)

Please suggest what I can do.

Thank you,
Alex

Error message:
java -jar nxmc-5.2.8-standalone.jar
onfiguration hint: DefaultLineChartPeriod = 60
14:40:30.379 [ModalContext] INFO  org.netxms.client.NXCSession - Succesfully logged in, userId=1
14:40:30.682 [ModalContext] DEBUG org.netxms.nxmc.base.login.LoginJob - Calling login listener org.netxms.nxmc.modules.alarms.AlarmsModuleLoginListener@5a4abe67
14:40:30.713 [ModalContext] INFO  o.n.n.modules.alarms.AlarmNotifier - Received 74 alarms from server (74 outstanding)
14:40:30.717 [ModalContext] DEBUG org.netxms.nxmc.base.login.LoginJob - Calling login listener org.netxms.nxmc.modules.worldmap.MapTilesHousekeeper@2c5e670b
14:40:30.731 [ModalContext] INFO  o.n.n.m.worldmap.MapTilesHousekeeper - Map tiles housekeeper job scheduled
14:40:30.732 [ModalContext] INFO  org.netxms.nxmc.base.login.LoginJob - Creating keepalive timer
14:40:30.733 [ModalContext] INFO  org.netxms.nxmc.base.login.LoginJob - Login job completed
14:40:30.734 [Session Keepalive Timer] INFO  o.n.nxmc.base.login.KeepAliveTimer - Session keepalive timer started
14:40:30.770 [main] DEBUG o.n.n.m.objecttools.ObjectToolsCache - Registered object tool handler for ID="wakeup"
14:40:30.912 [main] DEBUG org.netxms.nxmc.Startup - User inactivity timer not set

(SWT:42514): Gtk-CRITICAL **: 14:40:30.914: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed
14:40:30.988 [main] DEBUG o.n.nxmc.base.windows.MainWindow - Switching to perspective Pinboard
14:40:30.988 [main] DEBUG o.netxms.nxmc.base.views.Perspective - Creating content for perspective Pinboard
14:40:31.205 [main] DEBUG o.n.nxmc.base.windows.MainWindow - Executing post-open handler
14:40:39.979 [main] DEBUG o.n.nxmc.base.windows.MainWindow - Switching to perspective Infrastructure
14:40:39.980 [main] DEBUG o.netxms.nxmc.base.views.Perspective - Creating content for perspective Infrastructure
14:40:41.616 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.646 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.663 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.676 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.713 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.723 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.738 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.747 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans
14:40:41.757 [main] DEBUG org.netxms.nxmc.tools.FontTools - Selected font Liberation Sans

(SWT:42514): Gtk-WARNING **: 14:40:41.848: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.853: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.856: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.865: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.869: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.873: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.879: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.883: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)

(SWT:42514): Gtk-WARNING **: 14:40:41.889: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node scrolledwindow, owner GtkScrolledWindow)
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ffed2e0f964, pid=42514, tid=42515
#
# JRE version: OpenJDK Runtime Environment (21.0.9+10) (build 21.0.9+10-Debian-1deb13u1)
# Java VM: OpenJDK 64-Bit Server VM (21.0.9+10-Debian-1deb13u1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C  [libgobject-2.0.so.0+0x3f964]  g_type_check_instance_is_a+0x64
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (or dumping to /home/alex/Downloads/core.42514)
#
# An error report file with more information is saved as:
# /home/alex/Downloads/hs_err_pid42514.log
[32.231s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://bugs.debian.org/openjdk-21
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)
Title: Re: nxmc 5.2.8 standalone jar core dump
Post by: kavirondo on January 23, 2026, 03:21:00 PM
I have also tried to update java to openjdk-25-jre

Its better, I could use the client for about 2-3 minutes, then it crashed.

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ffe43d70648, pid=144722, tid=144723
#
# JRE version: OpenJDK Runtime Environment (25.0.1+8) (build 25.0.1+8-Debian-1deb13u1)
# Java VM: OpenJDK 64-Bit Server VM (25.0.1+8-Debian-1deb13u1, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
# Problematic frame:
# C  [libgtk-3.so.0+0x5d0648]  gtk_widget_is_sensitive+0x28
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (or dumping to /home/alex/Downloads/core.144722)
#
# An error report file with more information is saved as:
# /home/alex/Downloads/hs_err_pid144722.log
[204.802s][warning][os] Loading hsdis library failed
#
# If you would like to submit a bug report, please visit:
#   https://bugs.debian.org/openjdk-25
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Aborted (core dumped)

Title: Re: nxmc 5.2.8 standalone jar core dump
Post by: Filipp Sudanov on January 23, 2026, 03:33:01 PM
The reason seems to be with the framework used to build the GUI. Here's Anthropic's Claude's comment on this, pls give us update if any of this helps:

● This is a SWT/GTK compatibility crash on ARM64 (Raspberry Pi 5). The segfault occurs in GTK's native code when rendering the         
  Infrastructure view. Here are potential fixes:                                                                                       
                                                                                                                                       
  Quick Fixes to Try                                                                                                                   
                                                                                                                                       
  1. Force GTK3 settings                                                                                                               
                                                                                                                                       
  export SWT_GTK3=1                                                                                                                   
  export GDK_BACKEND=x11                                                                                                               
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  2. Disable GTK overlay scrollbars (likely culprit given "Negative content width" errors)                                             
                                                                                                                                       
  export GTK_OVERLAY_SCROLLING=0                                                                                                       
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  3. Try a simpler GTK theme                                                                                                           
                                                                                                                                       
  export GTK_THEME=Adwaita                                                                                                             
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  4. All environment variables combined                                                                                               
                                                                                                                                       
  export SWT_GTK3=1                                                                                                                   
  export GDK_BACKEND=x11                                                                                                               
  export GTK_OVERLAY_SCROLLING=0                                                                                                       
  export GTK_THEME=Adwaita                                                                                                             
  java -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  5. Try with additional JVM flags                                                                                                     
                                                                                                                                       
  java -Dorg.eclipse.swt.internal.gtk.disablePrinting=true \                                                                           
       -Dorg.eclipse.swt.internal.gtk.noFocusHack=true \                                                                               
       -jar nxmc-5.2.8-standalone.jar                                                                                                 
                                                                                                                                       
  Root Cause                                                                                                                           
                                                                                                                                       
  The crash happens in g_type_check_instance_is_a which indicates GTK is receiving an invalid widget reference. The "Negative content 
  width -1" warnings suggest the scrollbar widget calculation fails before the crash. This is a known issue with:                     
  - SWT on ARM64 Linux                                                                                                                 
  - Certain GTK3 versions with KDE/Plasma (GTK apps under Qt-based desktop)                                                           
  - Overlay scrollbars in newer GTK versions                                                                                           
                                                                                                                                       
  If Above Doesn't Work                                                                                                               
                                                                                                                                       
  1. Try Wayland instead of X11 (or vice versa):                                                                                       
  export GDK_BACKEND=wayland                                                                                                           
  2. Install older GTK3:                                                                                                               
  Debian Trixie (testing) may have a bleeding-edge GTK that has compatibility issues.                                                 
  3. Use the Web UI instead - avoids native SWT/GTK entirely by running NXMC in a browser.                                             
  4. Report to NetXMS with the workaround that helped (or didn't) so they can investigate the SWT version bundled in the standalone JAR
   for ARM64.     
Title: Re: nxmc 5.2.8 standalone jar core dump
Post by: kavirondo on January 23, 2026, 03:39:18 PM
Quote from: Filipp Sudanov on January 23, 2026, 03:33:01 PMThe reason seems to be with the framework used to build the GUI. Here's Anthropic's Claude's comment on this, pls give us update if any of this helps:

● This is a SWT/GTK compatibility crash on ARM64 (Raspberry Pi 5). The segfault occurs in GTK's native code when rendering the         
  Infrastructure view. Here are potential fixes:                                                                                       
                                                                                                                                       
  Quick Fixes to Try                                                                                                                   
                                                                                                                                       

Hi Filipp,

Thanks for the feedback. Given that I am using KDE then that may further explain the issues as there is not much by way of GTK installed on this machine, though the core libraries are present.

I will try the suggestions and revert.

Best,

Alex