NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.31k stars 13.55k forks source link

dbeaver-bin fails to start in master branch #330889

Closed spiage closed 2 weeks ago

spiage commented 1 month ago

Describe the bug

dbeaver does not start

Steps To Reproduce

Steps to reproduce the behavior:

  1. run dbeaver

Expected behavior

it's gui appears

Additional context

~ via  v3.12.4 via 💠 default 
❯ dbeaver .
WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
Warning: NLS unused message: Workbench_missingPropertyMessage in: org.eclipse.ui.internal.messages
> Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.15.300.v20240418-0734]
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.4.300.v20240419-2334]
> Start DBeaver Application Standalone [org.jkiss.dbeaver.ui.app.standalone 24.1.3.202407211303]
> Start Интерфейс приложения IDE Eclipse [org.eclipse.ui.ide.application 1.5.400.v20240416-0658]
> Start DBeaver UI Editors - Base [org.jkiss.dbeaver.ui.editors.base 1.0.135.202407211303]
2024-07-29 18:49:19.742 - Can't process commands because no running instance is present
SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.
Dbeaver:
An error has occurred. See the log file
/home/spiage/.eclipse/1948949714_linux_gtk_x86_64/configuration/1722268159354.log.
~ via  v3.12.4 via 💠 default 
❯ cat /home/spiage/.eclipse/1948949714_linux_gtk_x86_64/configuration/1722268159354.log
!SESSION 2024-07-29 18:49:19.246 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.11
java.vendor=N/A
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ru_RU
Framework arguments:  . -eclipse.keyring /home/spiage/.local/share/DBeaverData/secure/secure_storage
Command-line arguments:  -os linux -ws gtk -arch x86_64 .

!ENTRY org.eclipse.osgi 4 0 2024-07-29 18:49:19.757
!MESSAGE An error occurred while automatically activating bundle org.eclipse.ui.ide (164).
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start() of bundle org.eclipse.ui.ide.
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:854)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:775)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1057)
        at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:387)
        at org.eclipse.osgi.container.Module.doStart(Module.java:639)
        at org.eclipse.osgi.container.Module.start(Module.java:498)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:528)
        at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:620)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:348)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:414)
        at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:516)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.getRecentWorkspaces(DBeaverApplication.java:375)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.setIDEWorkspace(DBeaverApplication.java:351)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:191)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1481)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1454)
Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        no swt-pi4-gtk-4965r11 in java.library.path: /etc/sane-libs
        no swt-pi4-gtk in java.library.path: /etc/sane-libs
        no swt-pi4 in java.library.path: /etc/sane-libs
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4-gtk-4965r11.so
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4-gtk.so
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4.so

        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:345)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:97)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:170)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.createProblemsViews(IDEWorkbenchPlugin.java:390)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start(IDEWorkbenchPlugin.java:347)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:833)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:825)
        ... 31 more
Root exception:
java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        no swt-pi4-gtk-4965r11 in java.library.path: /etc/sane-libs
        no swt-pi4-gtk in java.library.path: /etc/sane-libs
        no swt-pi4 in java.library.path: /etc/sane-libs
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4-gtk-4965r11.so
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4-gtk.so
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4.so

        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:345)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:97)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:170)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.createProblemsViews(IDEWorkbenchPlugin.java:390)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start(IDEWorkbenchPlugin.java:347)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:833)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:825)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:775)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1057)
        at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:387)
        at org.eclipse.osgi.container.Module.doStart(Module.java:639)
        at org.eclipse.osgi.container.Module.start(Module.java:498)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:528)
        at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:620)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:348)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:414)
        at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:516)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.getRecentWorkspaces(DBeaverApplication.java:375)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.setIDEWorkspace(DBeaverApplication.java:351)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:191)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1481)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1454)

!ENTRY org.eclipse.osgi 4 0 2024-07-29 18:49:19.759
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/ui/internal/ide/ChooseWorkspaceData
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.getRecentWorkspaces(DBeaverApplication.java:375)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.setIDEWorkspace(DBeaverApplication.java:351)
        at org.jkiss.dbeaver.ui.app.standalone.DBeaverApplication.start(DBeaverApplication.java:191)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:143)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:109)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:439)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:271)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:568)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:668)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:605)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1481)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1454)
Caused by: java.lang.ClassNotFoundException: An error occurred while automatically activating bundle org.eclipse.ui.ide (164).
        at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:134)
        at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:620)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:348)
        at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:414)
        at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:41)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:516)
        at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:434)
        at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:174)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
        ... 16 more
Caused by: org.osgi.framework.BundleException: Exception in org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start() of bundle org.eclipse.ui.ide.
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:854)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:775)
        at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1057)
        at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:387)
        at org.eclipse.osgi.container.Module.doStart(Module.java:639)
        at org.eclipse.osgi.container.Module.start(Module.java:498)
        at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:528)
        at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:122)
        ... 24 more
Caused by: java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
        no swt-pi4-gtk-4965r11 in java.library.path: /etc/sane-libs
        no swt-pi4-gtk in java.library.path: /etc/sane-libs
        no swt-pi4 in java.library.path: /etc/sane-libs
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4-gtk-4965r11.so
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4-gtk.so
        Can't load library: /home/spiage/.swt/lib/linux/x86_64/libswt-pi4.so

        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:345)
        at org.eclipse.swt.internal.Library.loadLibrary(Library.java:254)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:97)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:209)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:155)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:170)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.createProblemsViews(IDEWorkbenchPlugin.java:390)
        at org.eclipse.ui.internal.ide.IDEWorkbenchPlugin.start(IDEWorkbenchPlugin.java:347)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:833)
        at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1)
        at java.base/java.security.AccessController.doPrivileged(AccessController.java:569)
        at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:825)
        ... 31 more

Notify maintainers

@gepbird @mkg20001 @yzx9

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

~ via  v3.12.4 via 💠 default 
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.10.2, NixOS, 24.11 (Vicuna), 24.11.20240729.4d67eb3`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.5`
 - channels(root): `""`
 - nixpkgs: `/nix/store/ril0qzscfs2i45z7akg2ssj7xa3mrzz7-source`

Add a :+1: reaction to issues you find important.

gepbird commented 1 month ago

I can't reproduce this. I'm guessing something is wrong with how we pass the java installation to dbeaver. Seems like https://github.com/NixOS/nixpkgs/pull/312374/commits/f467be8e15f8905e2e9d117eb2b21978a6c90e0c fixed a similar issue.

Can you try going into a nix shell with swt package and launch dbeaver?

spiage commented 1 month ago

Am I did it right?

~ via  v3.12.4 via 💠 default
❯ nix shell github:nixos/nixpkgs#swt

~ via  v3.12.4 via 💠 default
❯ dbeaver
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Warning: NLS unused message: Workbench_missingPropertyMessage in: org.eclipse.ui.internal.messages
> Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.15.300.v20240418-0734]
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.4.300.v20240419-2334]
> Start DBeaver Application Standalone [org.jkiss.dbeaver.ui.app.standalone 24.1.3.202407211303]
> Start Интерфейс приложения IDE Eclipse [org.eclipse.ui.ide.application 1.5.400.v20240416-0658]
SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.
Dbeaver:
An error has occurred. See the log file
/home/spiage/.eclipse/1948949714_linux_gtk_x86_64/configuration/1722299101432.log.
spiage commented 1 month ago

and when I ran from nixpkgs-unstable it worked

~ via  v3.12.4 via 💠 default
❯ dbeaver
WARNING: Using incubator modules: jdk.incubator.foreign, jdk.incubator.vector
Warning: NLS unused message: Workbench_missingPropertyMessage in: org.eclipse.ui.internal.messages
> Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.15.300.v20240418-0734]
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.4.300.v20240419-2334]
> Start DBeaver Application Standalone [org.jkiss.dbeaver.ui.app.standalone 24.1.3.202407211303]
> Start Интерфейс приложения IDE Eclipse [org.eclipse.ui.ide.application 1.5.400.v20240416-0658]
> Start Eclipse IDE UI [org.eclipse.ui.ide 3.22.200.v20240524-2010]
> Start jna [com.sun.jna 5.14.0.v20231211-1200]
> Start DBeaver UI [org.jkiss.dbeaver.ui 5.1.150.202407211303]
> Start Expression Language [org.eclipse.core.expressions 3.9.400.v20240413-1529]
> Start DBeaver Usage Statistics [org.jkiss.dbeaver.ui.statistics 1.0.31.202407211303]
> Start DBeaver Desktop Application Core [org.jkiss.dbeaver.core 24.1.3.202407211303]
2024-07-30 03:34:35.259 - DBeaver 24.1.3.202407211303 is starting
2024-07-30 03:34:35.260 - OS: Linux 6.10.2 (amd64)
2024-07-30 03:34:35.260 - Java version: 17.0.11 by N/A (64bit)
2024-07-30 03:34:35.260 - Install path: '/nix/store/pdbkjph8xsv3iq2rr1p6ww7vl1g1ajlk-dbeaver-bin-24.1.3/opt/dbeaver'
2024-07-30 03:34:35.260 - Instance path: 'file:/home/spiage/.local/share/DBeaverData/workspace6/'
2024-07-30 03:34:35.261 - Memory available 66Mb/1024Mb
gepbird commented 1 month ago

Am I did it right?

You did it right, it was just a wild guess from me and it didn't work.

and when I ran from nixpkgs-unstable it worked

That's good news that it worked for you before, can you git bisect it?

spiage commented 1 month ago

I found the last commit I can use, and it is the one before staging was merged ( May be @vcunat can help us? https://github.com/NixOS/nixpkgs/compare/4d10225ee46c0ab16332a2450b493e0277d1741a..a5b2fe73740c3b1a1835bb1335d30b88c276924c

spiage commented 1 month ago

there was some changes in openjdk17, like this:

- , enableGnome2 ? true, gtk3, gnome_vfs, glib, GConf
+ , enableGtk ? true, gtk3, glib

but I can't find anything about SWT

vcunat commented 1 month ago

I don't recall anything relevant in that merge, but it touched almost a thousand files.

denisfalqueto commented 1 month ago

I've been hit by this today. I've noticed that dbeaver (or SWT underneath) says that it can't find swt-pi3 and it's trying to use swt-pi4 as fallback, but in my home dir there is this file:

$ ls ~/.swt/lib/linux/x86_64/
libswt-pi3-gtk-4965r11.so

I've tried to remove ~/.swt but it got recreated after running dbeaver again.

Maybe this can help find the problem...

gepbird commented 1 month ago

I've been hit by this today. I've noticed that dbeaver (or SWT underneath) says that it can't find swt-pi3 and it's trying to use swt-pi4 as fallback, but in my home dir there is this file:

$ ls ~/.swt/lib/linux/x86_64/
libswt-pi3-gtk-4965r11.so

I've tried to remove ~/.swt but it got recreated after running dbeaver again.

Maybe this can help find the problem...

Maybe that file is a product of the error, I don't have it:

~/.swt ❯ command ls ~/.swt
trims.prefs
denisfalqueto commented 1 month ago

I see that dbeaver depends on jdk17. Shouldn't it depend on 21 instead?

andresilva commented 1 month ago

Same problem with portfolio, not sure which commit introduced it but it was recent.

gepbird commented 1 month ago

I see that dbeaver depends on jdk17. Shouldn't it depend on 21 instead?

@denisfalqueto They recommend jdk17: https://github.com/dbeaver/dbeaver/tree/24.1.3?tab=readme-ov-file#running.

nbjames2 commented 1 month ago

Same issue here. Has anyone found a temporary workaround?

spiage commented 1 month ago

I'm using this in flake: inputs.dbeaver-last.url = "github:nixos/nixpkgs/4d10225ee46c0ab16332a2450b493e0277d1741a"; and in environment.systemPackages: inputs.dbeaver-last.legacyPackages.x86_64-linux.pkgs.dbeaver-bin

i.e. last commit with worked dbeaver-bin

nbjames2 commented 1 month ago

Amazing. Thanks @spiage !

denisfalqueto commented 1 month ago

Same issue here. Has anyone found a temporary workaround?

I've switched to the flatpak version (works on Linux...)

spiage commented 1 month ago

Could it be the reason? image

spiage commented 1 month ago

pkgs/by-name: remove unused arguments master (#328726) @Sigmanificient Sigmanificient committed 2 weeks ago 1 parent 23e715c commit 61fe0c0

Showing 113 changed files with 55 additions and 157 deletions.

once I had an adventure after my own "remove unused arguments" =)

spiage commented 1 month ago

https://github.com/NixOS/nixpkgs/commit/cbe511af766109cfedf2aa2d5076dba3b269336c 24.1.4 is working fine

gkze commented 1 month ago

Hm I just grabbed this commit and it's not launching for me still, I cleared out all directories too (~/.swt, ~/.eclipse, ~/.local/share/DBeaverData). Using it like this

    dbeaver-next.url = "github:NixOS/nixpkgs/cbe511af766109cfedf2aa2d5076dba3b269336c";

and

          inputs.dbeaver-next.legacyPackages.${hostPlatform}.pkgs.dbeaver-bin
spiage commented 1 month ago

I'm using master branch, may be some other package which is the hidden runtime dependency was updated too?

spiage commented 4 weeks ago

I have again the same issue (

❯ dbeaver 
WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign
Warning: NLS unused message: Workbench_missingPropertyMessage in: org.eclipse.ui.internal.messages
> Start Eclipse Jobs Mechanism [org.eclipse.core.jobs 3.15.300.v20240418-0734]
> Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.4.300.v20240419-2334]
> Start DBeaver Application Standalone [org.jkiss.dbeaver.ui.app.standalone 24.1.4.202408041450]
> Start Интерфейс приложения IDE Eclipse [org.eclipse.ui.ide.application 1.5.400.v20240416-0658]
SWT OS.java Error: Failed to load swt-pi3, loading swt-pi4 as fallback.
spiage commented 4 weeks ago

temporary workaround this works for me inputs.dbeaver-last.url = "github:nixos/nixpkgs/4d10225ee46c0ab16332a2450b493e0277d1741a"; while this commit not dbeaver-next.url = "github:NixOS/nixpkgs/cbe511af766109cfedf2aa2d5076dba3b269336c";

francisek commented 4 weeks ago

Had the same issue. After stracing dbeaver, it looks like it could not find the libgtk-3.so. After installing the libgtk-3-0 package on my debian, it starts like a charm.

mausch commented 3 weeks ago

For me: Works on NixOS 24.05 On Ubuntu 22.04 out of the box:

stracing the failure here's the problem:

openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgtk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgtk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libgtk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgobject-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgobject-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libgobject-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgio-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgio-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libgio-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

Repro on any Linux distro:

xhost +
docker run --rm -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix ubuntu:24.04
apt update && apt upgrade -y && apt install -y curl
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install linux --init none
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
nix run nixpkgs#dbeaver-bin  # fails
nix run github:nixos/nixpkgs/22.05#dbeaver  # works
gepbird commented 3 weeks ago

@mausch big thanks for the reproduction commands!

On Ubuntu 22.04 out of the box:

  • nix run github:nixos/nixpkgs/24.05#dbeaver-bin : fails
  • nix run github:nixos/nixpkgs/23.11#dbeaver-bin : fails
  • nix run github:nixos/nixpkgs/23.05#dbeaver : fails
  • nix run github:nixos/nixpkgs/22.11#dbeaver : works

For me nix run github:nixos/nixpkgs/24.05#dbeaver-bin works and nix run github:nixos/nixpkgs/nixos-unstable#dbeaver-bin fails using the reproduction environment you provided. This too confirms that the recent staging merge caused this issue. I'm surprised it didn't work for you on 24.05.

stracing the failure here's the problem:

openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/dffyikn59cy7fff2qd60gs9jl63szqnh-xgcc-13.3.0-libgcc/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/nix/store/0wydilnf1c9vznywsvxqnaing4wraaxp-glibc-2.39-52/lib/libgtk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

I straced the working 24.05 version and I get these errors too. The only difference seems to be dbeaver's log where it continues loading rather than crashing with swt-pi3, syscalls look the same near the crash using unstable version.

strace on 24.05 ```console execve("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/bin/dbeaver", ["dbeaver"], 0x7ffecf26f9f0 /* 15 vars */) = 0 brk(NULL) = 0x21f7000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08576b8000 access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v3/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v3/", 0x7fff16ab7320, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v2/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v2/", 0x7fff16ab7320, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\242\2\0\0\0\0\0"..., 832) = 832 pread64(5, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 fstat(5, {st_mode=S_IFREG|0555, st_size=2285600, ...}) = 0 pread64(5, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 mmap(NULL, 2018704, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f08574cb000 mmap(0x7f08574f3000, 1425408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x28000) = 0x7f08574f3000 mmap(0x7f085764f000, 352256, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x184000) = 0x7f085764f000 mmap(0x7f08576a5000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1d9000) = 0x7f08576a5000 mmap(0x7f08576ab000, 52624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f08576ab000 close(5) = 0 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f08574c8000 arch_prctl(ARCH_SET_FS, 0x7f08574c8740) = 0 set_tid_address(0x7f08574c8a10) = 7140 set_robust_list(0x7f08574c8a20, 24) = 0 rseq(0x7f08574c9060, 0x20, 0, 0x53053053) = 0 mprotect(0x7f08576a5000, 16384, PROT_READ) = 0 mprotect(0x403000, 4096, PROT_READ) = 0 mprotect(0x7f08576ed000, 8192, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 getrandom("\xad\x15\x4e\x7e\x54\xda\x40\xef", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x21f7000 brk(0x2218000) = 0x2218000 execve("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/bin/.dbeaver-wrapped", ["dbeaver"], 0x21f7550 /* 17 vars */) = 0 brk(NULL) = 0x1767000 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e0ba2a000 access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v3/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v3/", 0x7fff0125b5b0, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v2/libc.so.6", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v2/", 0x7fff0125b5b0, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\242\2\0\0\0\0\0"..., 832) = 832 pread64(5, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 fstat(5, {st_mode=S_IFREG|0555, st_size=2285600, ...}) = 0 pread64(5, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 mmap(NULL, 2018704, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f2e0b83d000 mmap(0x7f2e0b865000, 1425408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x28000) = 0x7f2e0b865000 mmap(0x7f2e0b9c1000, 352256, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x184000) = 0x7f2e0b9c1000 mmap(0x7f2e0ba17000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1d9000) = 0x7f2e0ba17000 mmap(0x7f2e0ba1d000, 52624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2e0ba1d000 close(5) = 0 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2e0b83a000 arch_prctl(ARCH_SET_FS, 0x7f2e0b83a740) = 0 set_tid_address(0x7f2e0b83aa10) = 7140 set_robust_list(0x7f2e0b83aa20, 24) = 0 rseq(0x7f2e0b83b060, 0x20, 0, 0x53053053) = 0 mprotect(0x7f2e0ba17000, 16384, PROT_READ) = 0 mprotect(0x403000, 4096, PROT_READ) = 0 mprotect(0x7f2e0ba5f000, 8192, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 getrandom("\xac\x55\xa2\xd2\x69\xde\x1d\x53", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x1767000 brk(0x1788000) = 0x1788000 execve("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/dbeaver", ["/nix/store/qi3vvlia54sc762mqw06y"...], 0x1767540 /* 18 vars */) = 0 brk(NULL) = 0x137e000 access("/etc/ld-nix.so.preload", R_OK) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v3/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v3/", 0x7ffceccfc990, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v2/libpthread.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/glibc-hwcaps/x86-64-v2/", 0x7ffceccfc990, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ef36a000 fstat(5, {st_mode=S_IFREG|0555, st_size=16536, ...}) = 0 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f29ef365000 mmap(0x7f29ef366000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000) = 0x7f29ef366000 mmap(0x7f29ef367000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2000) = 0x7f29ef367000 mmap(0x7f29ef368000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2000) = 0x7f29ef368000 close(5) = 0 openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\0\0\0\0\0\0\0"..., 832) = 832 fstat(5, {st_mode=S_IFREG|0555, st_size=15688, ...}) = 0 mmap(NULL, 16400, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f29ef360000 mmap(0x7f29ef361000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000) = 0x7f29ef361000 mmap(0x7f29ef362000, 4096, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2000) = 0x7f29ef362000 mmap(0x7f29ef363000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x2000) = 0x7f29ef363000 close(5) = 0 openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\242\2\0\0\0\0\0"..., 832) = 832 pread64(5, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 fstat(5, {st_mode=S_IFREG|0555, st_size=2285600, ...}) = 0 pread64(5, "\6\0\0\0\4\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0\0"..., 784, 64) = 784 mmap(NULL, 2018704, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f29ef173000 mmap(0x7f29ef19b000, 1425408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x28000) = 0x7f29ef19b000 mmap(0x7f29ef2f7000, 352256, PROT_READ, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x184000) = 0x7f29ef2f7000 mmap(0x7f29ef34d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1d9000) = 0x7f29ef34d000 mmap(0x7f29ef353000, 52624, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f29ef353000 close(5) = 0 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f29ef170000 arch_prctl(ARCH_SET_FS, 0x7f29ef170740) = 0 set_tid_address(0x7f29ef170a10) = 7140 set_robust_list(0x7f29ef170a20, 24) = 0 rseq(0x7f29ef171060, 0x20, 0, 0x53053053) = 0 mprotect(0x7f29ef34d000, 16384, PROT_READ) = 0 mprotect(0x7f29ef363000, 4096, PROT_READ) = 0 mprotect(0x7f29ef368000, 4096, PROT_READ) = 0 mprotect(0x604000, 4096, PROT_READ) = 0 mprotect(0x7f29ef39f000, 8192, PROT_READ) = 0 prlimit64(0, RLIMIT_STACK, NULL, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0 getrandom("\x6d\xb1\x83\x91\xa3\x5e\xa2\xd3", 8, GRND_NONBLOCK) = 8 brk(NULL) = 0x137e000 brk(0x139f000) = 0x139f000 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/dbeaver", {st_mode=S_IFREG|0555, st_size=94264, ...}) = 0 readlink("/nix", 0x7ffceccfd160, 1023) = -1 EINVAL (Invalid argument) readlink("/nix/store", 0x7ffceccfd160, 1023) = -1 EINVAL (Invalid argument) readlink("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5", 0x7ffceccfd160, 1023) = -1 EINVAL (Invalid argument) readlink("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt", 0x7ffceccfd160, 1023) = -1 EINVAL (Invalid argument) readlink("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver", 0x7ffceccfd160, 1023) = -1 EINVAL (Invalid argument) readlink("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/dbeaver", 0x7ffceccfd160, 1023) = -1 EINVAL (Invalid argument) openat(AT_FDCWD, "/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/dbeaver.ini", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0444, st_size=1439, ...}) = 0 read(5, "-startup\nplugins/org.eclipse.equ"..., 4096) = 1439 read(5, "", 4096) = 0 close(5) = 0 getcwd("/root/nixpkgs", 2000) = 14 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338", {st_mode=S_IFDIR|0555, st_size=140, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338", {st_mode=S_IFDIR|0555, st_size=140, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338", {st_mode=S_IFDIR|0555, st_size=140, ...}) = 0 openat(AT_FDCWD, "/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = 5 fstat(5, {st_mode=S_IFDIR|0555, st_size=140, ...}) = 0 getdents64(5, 0x13819e0 /* 6 entries */, 32768) = 208 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/.", {st_mode=S_IFDIR|0555, st_size=140, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/..", {st_mode=S_IFDIR|0555, st_size=36962, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/META-INF", {st_mode=S_IFDIR|0555, st_size=68, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/eclipse_11900.so", {st_mode=S_IFREG|0444, st_size=198056, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/about.html", {st_mode=S_IFREG|0444, st_size=1460, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/launcher.gtk.linux.x86_64.properties", {st_mode=S_IFREG|0444, st_size=634, ...}) = 0 getdents64(5, 0x13819e0 /* 0 entries */, 32768) = 0 close(5) = 0 openat(AT_FDCWD, "/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.900.v20240129-1338/eclipse_11900.so", O_RDONLY|O_CLOEXEC) = 5 read(5, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220B\0\0\0\0\0\0"..., 832) = 832 fstat(5, {st_mode=S_IFREG|0444, st_size=198056, ...}) = 0 mmap(NULL, 4268136, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_DENYWRITE, -1, 0) = 0x7f29eed5d000 mmap(0x7f29eee00000, 2170984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0) = 0x7f29eee00000 munmap(0x7f29eed5d000, 667648) = 0 munmap(0x7f29ef013000, 1425512) = 0 mprotect(0x7f29eee10000, 2097152, PROT_NONE) = 0 mmap(0x7f29ef010000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x10000) = 0x7f29ef010000 mmap(0x7f29ef012000, 104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f29ef012000 close(5) = 0 mprotect(0x7f29ef010000, 4096, PROT_READ) = 0 openat(AT_FDCWD, "/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/dbeaver.ini", O_RDONLY) = 5 fstat(5, {st_mode=S_IFREG|0444, st_size=1439, ...}) = 0 read(5, "-startup\nplugins/org.eclipse.equ"..., 4096) = 1439 read(5, "", 4096) = 0 close(5) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/jre/bin/default.ee", 0x7ffceccfd4d0) = -1 ENOENT (No such file or directory) stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver/jre/bin/java", 0x7ffceccfd4f0) = -1 ENOENT (No such file or directory) stat("/nix/store/afnzkm3v6mly3ffnvfyffk2kq1cvzzjh-openjdk-17.0.7+7/bin/java", {st_mode=S_IFREG|0555, st_size=19120, ...}) = 0 stat("/nix/store/afnzkm3v6mly3ffnvfyffk2kq1cvzzjh-openjdk-17.0.7+7/bin/java", {st_mode=S_IFREG|0555, st_size=19120, ...}) = 0 getcwd("/root/nixpkgs", 2000) = 14 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher_1.6.800.v20240426-1701.jar", {st_mode=S_IFREG|0444, st_size=48871, ...}) = 0 stat("/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver//plugins/org.eclipse.equinox.launcher_1.6.800.v20240426-1701.jar", {st_mode=S_IFREG|0444, st_size=48871, ...}) = 0 getpid() = 7140 shmget(0x1be4, 16384, IPC_CREAT|0666) = 34 shmat(34, NULL, 0) = 0x7f29ef16c000 shmdt(0x7f29ef16c000) = 0 openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/glibc-hwcaps/x86-64-v3/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/glibc-hwcaps/x86-64-v3/", 0x7ffceccfca60, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/glibc-hwcaps/x86-64-v2/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/glibc-hwcaps/x86-64-v2/", 0x7ffceccfca60, 0) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/libgdk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) newfstatat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/", {st_mode=S_IFDIR|0555, st_size=48, ...}, 0) = 0 openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libgtk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/libgtk-3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libgobject-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/libgobject-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/libgdk_pixbuf-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libgio-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/libgio-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/87848rvrg5c7jmplpi0iapvbxyj9kfid-glibc-2.39-52/lib/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/nix/store/19avl2s0rd4whz3b0n118qdrv6yr3b0g-xgcc-13.2.0-libgcc/lib/libglib-2.0.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) pipe2([5, 6], O_CLOEXEC) = 0 prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=512*1024}) = 0 prlimit64(0, RLIMIT_NOFILE, NULL, {rlim_cur=1024, rlim_max=512*1024}) = 0 mmap(NULL, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7f29ef167000 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0 clone3({flags=CLONE_VM|CLONE_VFORK|CLONE_CLEAR_SIGHAND, exit_signal=SIGCHLD, stack=0x7f29ef167000, stack_size=0x9000}, 88) = -1 ENOSYS (Function not implemented) clone(child_stack=0x7f29ef16fff0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 7141 munmap(0x7f29ef167000, 36864) = 0 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0 close(6) = 0 fcntl(5, F_SETFD, 0) = 0 fstat(5, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 read(5, "openjdk version \"17.0.7\" 2023-04"..., 4096) = 36 close(5) = 0 wait4(7141, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 7141 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7141, si_uid=0, si_status=0, si_utime=0, si_stime=0} --- clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f29ef170a10) = 7160 wait4(7160, WARNING: Using incubator modules: jdk.incubator.vector, jdk.incubator.foreign Fontconfig error: Cannot load default config file: No such file: (null) > Start Equinox Java Authentication and Authorization Service (JAAS) [org.eclipse.equinox.security 1.4.300.v20240419-2334] > Start DBeaver Application Standalone [org.jkiss.dbeaver.ui.app.standalone 24.0.5.202405191503] > Start Eclipse IDE UI Application [org.eclipse.ui.ide.application 1.5.400.v20240416-0658] > Start Eclipse IDE UI [org.eclipse.ui.ide 3.22.200.v20240424-0956] > Start jna [com.sun.jna 5.14.0.v20231211-1200] > Start DBeaver UI [org.jkiss.dbeaver.ui 5.1.146.202405191503] > Start Expression Language [org.eclipse.core.expressions 3.9.400.v20240413-1529] > Start DBeaver Usage Statistics [org.jkiss.dbeaver.ui.statistics 1.0.27.202405191503] 2024-08-18 01:23:44.787 - send collected statistics > Start DBeaver Desktop Application Core [org.jkiss.dbeaver.core 24.0.5.202405191503] 2024-08-18 01:23:44.846 - DBeaver 24.0.5.202405191503 is starting 2024-08-18 01:23:44.848 - OS: Linux 6.6.36 (amd64) 2024-08-18 01:23:44.848 - Java version: 17.0.7 by N/A (64bit) 2024-08-18 01:23:44.849 - Install path: '/nix/store/qi3vvlia54sc762mqw06y22c1agkjxpj-dbeaver-bin-24.0.5/opt/dbeaver' 2024-08-18 01:23:44.850 - Instance path: 'file:/root/.local/share/DBeaverData/workspace6/' 2024-08-18 01:23:44.853 - Memory available 66Mb/1024Mb 2024-08-18 01:23:44.869 - Create display SWT SessionManagerDBus: Failed to connect to org.gnome.SessionManager: Cannot spawn a message bus without a machine-id: Invalid machine ID in /nix/store/gr721qp1h5wbb416p05ijijrmggb03db-glib-2.80.2/var/lib/dbus/machine-id or /etc/machine-id SWT SessionManagerDBus: Failed to connect to org.xfce.SessionManager: Cannot spawn a message bus without a machine-id: Invalid machine ID in /nix/store/gr721qp1h5wbb416p05ijijrmggb03db-glib-2.80.2/var/lib/dbus/machine-id or /etc/machine-id 2024-08-18 01:23:44.989 - Initialize desktop platform... 2024-08-18 01:23:45.132 - BounceCastle bundle found. Use JCE provider BC > Start Core File Systems [org.eclipse.core.filesystem 1.10.400.v20240426-1040] > Start Core Resource Management [org.eclipse.core.resources 3.20.200.v20240426-1040] > Start Team Support Core [org.eclipse.team.core 3.10.400.v20240413-1529] > Start DBeaver UI Navigator [org.jkiss.dbeaver.ui.navigator 1.0.131.202405191503] 2024-08-18 01:23:45.364 - Initialize base platform... 2024-08-18 01:23:45.395 - Platform initialized (406ms) > Start DBeaver UI Editors - Base [org.jkiss.dbeaver.ui.editors.base 1.0.131.202405191503] 2024-08-18 01:23:45.427 - Starting instance server at http://localhost:42477 0x7ffceccfd608, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- wait4(7160, 2024-08-18 01:23:45.458 - Run workbench > Start Eclipse e4 Workbench SWT [org.eclipse.e4.ui.workbench.swt 0.17.400.v20240425-0840] > Start Eclipse Application Services [org.eclipse.e4.core.services 2.4.400.v20240413-1529] > Start Eclipse UI Application Services [org.eclipse.e4.ui.services 1.6.300.v20231201-1637] > Start Eclipse e4 Progress View [org.eclipse.e4.ui.progress 0.4.400.v20240424-0956] > Start Eclipse Bindings Support [org.eclipse.e4.ui.bindings 0.14.400.v20240321-1245] > Start Eclipse e4 core commands [org.eclipse.e4.core.commands 1.1.400.v20240424-0444] > Start EMF XML/XMI Persistence [org.eclipse.emf.ecore.xmi 2.37.0.v20231208-1346] > Start Eclipse CSS SWT Theme Support [org.eclipse.e4.ui.css.swt.theme 0.14.400.v20240424-0956] > Start Eclipse e4 Workbench Add-ons [org.eclipse.e4.ui.workbench.addons.swt 1.5.400.v20240416-0658] > Start Eclipse e4 Workbench SWT Renderer [org.eclipse.e4.ui.workbench.renderers.swt 0.16.400.v20240418-1547] > Start Eclipse Dependency Injection Extensions [org.eclipse.e4.core.di.extensions 0.18.300.v20240413-1529] > Start Eclipse CSS SWT Support [org.eclipse.e4.ui.css.swt 0.15.400.v20240321-1245] 2024-08-18 01:23:47.283 - Configure workbench window > Start DBeaver SQL Model [org.jkiss.dbeaver.model.sql 1.0.121.202405191503] 2024-08-18 01:23:47.442 - Total database drivers: 117 (117) > Start Help System Core [org.eclipse.help 3.10.400.v20240415-0528] 2024-08-18 01:23:47.520 - Create actions 2024-08-18 01:23:47.525 - Disable Eclipse action set 'org.eclipse.ui.edit.text.actionSet.annotationNavigation' 2024-08-18 01:23:47.526 - Disable Eclipse action set 'org.eclipse.ui.WorkingSetActionSet' 2024-08-18 01:23:47.527 - Disable Eclipse action set 'org.eclipse.ui.actionSet.openFiles' 2024-08-18 01:23:47.528 - Create workbench actions 2024-08-18 01:23:47.807 - Open [https://stats.dbeaver.com/send-statistics?session=b4cae494-4dfb-40f7-9052-9f50461da25b&time=1723936470] 2024-08-18 01:23:48.013 - Initialize workbench window 2024-08-18 01:23:48.020 - Finish initialization 2024-08-18 01:23:48.314 - Statistics sent (OK) > Start Internet Connection Management UI [org.eclipse.ui.net 1.5.400.v20240413-1529] > Start Internet Connection Management [org.eclipse.core.net 1.5.400.v20240413-1529] > Start DBeaver UI Editors - Data [org.jkiss.dbeaver.ui.editors.data 1.0.131.202405191503] > Start DBeaver UI Editors - SQL [org.jkiss.dbeaver.ui.editors.sql 1.0.131.202405191503] > Start DBeaver Sample Database [org.jkiss.dbeaver.ext.sample.database 1.0.168.202405191503] > Start DBeaver Tip of the day [org.jkiss.dbeaver.ext.ui.tipoftheday 1.0.137.202405191503] > Start GEF Classic Draw2d [org.eclipse.draw2d 3.16.0.202405011806] > Start GEF Classic GEF (MVC) [org.eclipse.gef 3.18.0.202405011806] > Start DBeaver ERD UI [org.jkiss.dbeaver.erd.ui 3.0.91.202405191503] > Start DBeaver ERD Model [org.jkiss.dbeaver.erd.model 1.0.91.202405191503] > Start DBeaver Dashboard UI [org.jkiss.dbeaver.ui.dashboard 1.0.128.202405191503] > Start DBeaver Dashboards Model [org.jkiss.dbeaver.model.dashboard 1.0.4.202405191503] > Start Default Text Editor [org.eclipse.ui.editors 3.17.300.v20240416-0658] > Start Text Editor Framework [org.eclipse.ui.workbench.texteditor 3.17.400.v20240424-0941] 0x7ffceccfd608, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- wait4(7160, 0x7ffceccfd608, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- wait4(7160, 2024-08-18 01:23:57.488 - DBeaver is stopping 2024-08-18 01:23:57.491 - Stop instance server 0x7ffceccfd608, 0, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGWINCH {si_signo=SIGWINCH, si_code=SI_KERNEL} --- wait4(7160, 2024-08-18 01:23:58.493 - Instance server has been stopped 2024-08-18 01:23:58.494 - DBeaver shutdown completed 2024-08-18 01:23:58.529 - Shutdown desktop platform... 2024-08-18 01:23:58.573 - Platform shutdown completed (44ms) 2024-08-18 01:23:58.574 - send collected statistics 2024-08-18 01:23:58.576 - Open [https://stats.dbeaver.com/send-statistics?session=b5120c61-74fb-450d-95d0-6670f24087bb&time=1723937029] 2024-08-18 01:23:58.647 - Statistics sent (OK) [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 7160 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=7160, si_uid=0, si_status=0, si_utime=1771 /* 17.71 s */, si_stime=119 /* 1.19 s */} --- shmctl(34, IPC_RMID, NULL) = 0 munmap(0x7f29eee00000, 2170984) = 0 exit_group(0) = ? +++ exited with 0 +++ ```
gepbird commented 3 weeks ago

I cherry picked openjdk related commits onto the last known good commit before the staging merge (4d10225ee46c0ab16332a2450b493e0277d1741a) and I bisected it to a single commit that is causing the issue: dbd9745e11c6. If you want to quickly verify this is the failing commit (trying to build that exact commit will take a long time), I made a branch which has the good commit as the base and the bad commit cherry picked.

nix run github:nixos/nixpkgs/4d10225#dbeaver-bin # works
nix run github:gepbird/nixpkgs/dbeaver-bad-staging-commit#dbeaver-bin # fails

I don't have much time right now to look into what does the failing commit exactly do and how to fix this, anyone feel free to continue from here :)

mausch commented 3 weeks ago

Try https://github.com/NixOS/nixpkgs/pull/335633 .

spiage commented 2 weeks ago

@mkg20001 I can confirm, it's fixed now for my system too Can we wait for 24.1.5 soon? =)

mkg20001 commented 2 weeks ago

This tracks when the fix will be released in which unstable channel: https://nixpk.gs/pr-tracker.html?pr=335633

spiage commented 2 weeks ago

This tracks when the fix will be released in which unstable channel: https://nixpk.gs/pr-tracker.html?pr=335633

I'm already have it - I use nixpkgs/master as a daily driver for a long time 24.1.5 was yesterday's release =)

mkg20001 commented 2 weeks ago

https://github.com/NixOS/nixpkgs/pull/335840