Newbie. I believe this to be a bug with Avogadro. When I try to download ‘chlrophyll’ the program exits immediately with no message. Other compounds such as ‘vitamin a’ and ‘vitamin c’ work fine.
Environment Information
Avogadro version: 1.99
Operating system and version:
Distributor ID:
Ubuntu
Description:
Ubuntu 24.04.1 LTS
Release:
24.04
Codename:
noble
Expected Behavior
Success
Actual Behavior
Crash after seeing “Querying for chlorophyll”
Steps to Reproduce
File → Import → Download by Name
“chlorophyll”
Please upload files if appropriate here (or via file-sharing service like Dropbox or Pastebin)
I can confirm this, I get the exact same error with Flatpak as well.
Opening that SDF file causes the same error for me.
The AppImage also fails to load it when done via File > Import > Download by Name, but gives an SSL error:
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate
Though I don’t think that’s relevant here.
Loading the SDF file with the AppImage works, but an error relating to Open Babel occurs and is reported, even though the molecule shows up in the view:
OBEnergy: method: UFF
==============================
*** Open Babel Error in ParseParamFile
Cannot open UFF.prm
==============================
*** Open Babel Error in SetTypes
Cannot open UFF.prm
Meanwhile the versions I have compiled from source (both Qt5 and Qt6) both successfully load chlorophyll, both from file and via File > Import > Download by Name, but in all cases report the following error:
Okay, then there’s some error in the Avogadro SDF parsing code. Good to know, since that’ll be easier to track.
That’s not relevant, because Avogadro is using it’s own SDF parser. But it’s good to know that there’s an issue with getting the Open Babel plugins loading.
Famous last words. Loading either from the network or from the SDF file itself works fine on my Ubuntu VM.
@matterhorn103 - would you be willing to run gdb avogadro2 to get a backtrace on the crash?
There are a bunch of possible [] calls and I don’t see anything obvious in the code. I can potentially create a debug pull request with a bunch of debugging print statements to help narrow it down, but gdb avogadro2 and then run and bt to get a backtrace is usually a big help because it shows the call trace and usually line numbers.
No, it’s threaded code. That’s just Avogadro generally saying “I was setting everything up and I can’t load Open Babel” … not that it was using Open Babel to read the file.
Well clearly I’m missing something … why would it print that message once for every time the file is loaded then? The error message only prints literally the moment that “Open” is clicked, not before (and plenty of other error messages are printed during the file browser usage on Qt5).
The response to bt is No stack. I’m afraid. Even after installing the vast majority of the debug packages from the openSUSE repos. Do I need to compile in debug mode? I thought that was the default, though.
What I get is:
❯❯❯ gdb ./qt5/prefix/bin/avogadro2
GNU gdb (GDB; openSUSE Tumbleweed) 14.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./qt5/prefix/bin/avogadro2...
(gdb) run
Starting program: /home/matt/avo/qt5/prefix/bin/avogadro2
This GDB supports auto-downloading debuginfo from the following URLs:
<https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) y
Debuginfod has been enabled.
To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit.
Downloading separate debug info for /lib64/ld-linux-x86-64.so.2
Downloading separate debug info for system-supplied DSO at 0x7ffff7fc3000
Missing separate debuginfos, use: zypper install glibc-debuginfo-2.40-2.1.x86_64
Downloading separate debug info for /lib64/libm.so.6
Downloading separate debug info for /lib64/libc.so.6
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Downloading separate debug info for /usr/lib64/libproxy/libpxbackend-1.0.so
Downloading separate debug info for /lib64/libxcb.so.1
Downloading separate debug info for /lib64/libcurl.so.4
Downloading separate debug info for /lib64/libpsl.so.5
Downloading separate debug info for /lib64/libselinux.so.1
Downloading separate debug info for /lib64/libunistring.so.5
Downloading separate debug info for /lib64/libresolv.so.2
[New Thread 0x7ffff0c006c0 (LWP 7388)]
Downloading separate debug info for /usr/lib64/qt5/plugins/platformthemes/KDEPlasmaPlatformTheme5.so
Downloading separate debug info for /lib64/libKF5GuiAddons.so.5
Downloading separate debug info for /lib64/libcanberra.so.0
Downloading separate debug info for /lib64/libdbusmenu-qt5.so.2
Downloading separate debug info for /lib64/libxcb-keysyms.so.1
Downloading separate debug info for /lib64/libXfixes.so.3
Downloading separate debug info for /lib64/libKF5DBusAddons.so.5
Downloading separate debug info for /lib64/libQt5PrintSupport.so.5
Downloading separate debug info for /lib64/libudev.so.1
Downloading separate debug info for /lib64/libimobiledevice-1.0.so.6
Downloading separate debug info for /lib64/libplist-2.0.so.4
Downloading separate debug info for /lib64/glibc-hwcaps/x86-64-v3/libvorbisfile.so.3.3.8
Downloading separate debug info for /lib64/libltdl.so.7
Downloading separate debug info for /lib64/libimobiledevice-glue-1.0.so.0
Downloading separate debug info for /lib64/glibc-hwcaps/x86-64-v3/libvorbis.so.0.4.9
[New Thread 0x7fffe9a006c0 (LWP 7390)]
[New Thread 0x7fffe90006c0 (LWP 7391)]
Downloading separate debug info for /lib64/libgbm.so.1
Downloading separate debug info for /lib64/libxcb-dri2.so.0
Downloading separate debug info for /lib64/libxcb-randr.so.0
Downloading separate debug info for /lib64/libwayland-server.so.0
Downloading separate debug info for /lib64/libxcb-sync.so.1
Downloading separate debug info for /lib64/libxshmfence.so.1
Downloading separate debug info for /lib64/libpciaccess.so.0
[New Thread 0x7fffe1a006c0 (LWP 7400)]
[New Thread 0x7fffe10006c0 (LWP 7401)]
[New Thread 0x7fffd4a006c0 (LWP 7402)]
[New Thread 0x7fffcfe006c0 (LWP 7403)]
[New Thread 0x7fffcf4006c0 (LWP 7404)]
[New Thread 0x7fffcea006c0 (LWP 7405)]
[New Thread 0x7fffce0006c0 (LWP 7406)]
[New Thread 0x7fffcd6006c0 (LWP 7407)]
[New Thread 0x7fffccc006c0 (LWP 7408)]
[New Thread 0x7fffc3e006c0 (LWP 7409)]
[New Thread 0x7fffc34006c0 (LWP 7410)]
[New Thread 0x7fffc2a006c0 (LWP 7411)]
[Thread 0x7fffc2a006c0 (LWP 7411) exited]
[Thread 0x7fffc34006c0 (LWP 7410) exited]
[Thread 0x7fffc3e006c0 (LWP 7409) exited]
[Thread 0x7fffccc006c0 (LWP 7408) exited]
[Thread 0x7fffcd6006c0 (LWP 7407) exited]
[Thread 0x7fffce0006c0 (LWP 7406) exited]
Downloading separate debug info for /usr/lib64/qt5/plugins/styles/klassy5.so
Downloading separate debug info for /lib64/libklassycommon5.so.6
Using locale: "en_GB"
AvogadroApp Translation "en_GB" loaded "/home/matt/avo/qt5/prefix/bin/../share/avogadro2/i18n/"
AvogadroLibs Translation "en_GB" loaded "/home/matt/avo/qt5/prefix/bin/../share/avogadro2/i18n/"
[New Thread 0x7fffce0006c0 (LWP 7412)]
[New Thread 0x7fffcd6006c0 (LWP 7413)]
[New Thread 0x7fffccc006c0 (LWP 7414)]
[New Thread 0x7fffc3e006c0 (LWP 7415)]
[New Thread 0x7fffc34006c0 (LWP 7416)]
[New Thread 0x7fffc2a006c0 (LWP 7417)]
[Thread 0x7fffc2a006c0 (LWP 7417) exited]
[Thread 0x7fffc34006c0 (LWP 7416) exited]
[Thread 0x7fffc3e006c0 (LWP 7415) exited]
[Thread 0x7fffccc006c0 (LWP 7414) exited]
[Thread 0x7fffcd6006c0 (LWP 7413) exited]
[Thread 0x7fffce0006c0 (LWP 7412) exited]
[New Thread 0x7fffce0006c0 (LWP 7418)]
[New Thread 0x7fffcd6006c0 (LWP 7419)]
[New Thread 0x7fffccc006c0 (LWP 7420)]
[New Thread 0x7fffc3e006c0 (LWP 7421)]
[New Thread 0x7fffc34006c0 (LWP 7422)]
Extension plugins dynamically found… 42
[New Thread 0x7fffc2a006c0 (LWP 7423)]
OBProcess::executeObabel: Running "/home/matt/avo/qt5/prefix/bin/obabel" "-L formats read"
Downloading separate debug info for /lib64/libnss_mdns_minimal.so.2
[Detaching after fork from child process 7424]
OBProcess::executeObabel: Running "/home/matt/avo/qt5/prefix/bin/obabel" "-L formats write"
[Detaching after fork from child process 7425]
OBProcess::executeObabel: Running "/home/matt/avo/qt5/prefix/bin/obabel" "-L forcefields"
[Detaching after fork from child process 7426]
OBProcess::executeObabel: Running "/home/matt/avo/qt5/prefix/bin/obabel" "-L charges"
[Detaching after fork from child process 7427]
OBProcess::executeObabel: Running "/home/matt/avo/qt5/prefix/bin/obabel" "-V"
[Detaching after fork from child process 7428]
"/home/matt/avo/qt5/prefix/bin/obabel" found: "/home/matt/avo/qt5/prefix/bin/obabel: Open Babel 3.1.1 -- Oct 21 2024 -- 23:31:07"
"Checking for energy scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /home/matt/.local/share/flatpak/exports/share/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /var/lib/flatpak/exports/share/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /usr/local/share/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /usr/share/OpenChemistry/Avogadro/energy"
"Checking for energy scripts in path /home/matt/avo/qt5/prefix/bin/../lib64/avogadro2/scripts/energy"
[Detaching after fork from child process 7429]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/ani2x.py"
[Detaching after fork from child process 7430]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/gaff.py"
[Detaching after fork from child process 7431]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/gfn1.py"
[Detaching after fork from child process 7432]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/gfn2.py"
[Detaching after fork from child process 7433]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/gfnff.py"
[Detaching after fork from child process 7434]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/mmff94.py"
[Detaching after fork from child process 7435]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/energy/uff.py"
registering obmm plugins
"Checking for commands scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/commands"
"Checking for commands scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/commands"
"Checking for commands scripts in path /home/matt/.local/share/flatpak/exports/share/OpenChemistry/Avogadro/commands"
"Checking for commands scripts in path /var/lib/flatpak/exports/share/OpenChemistry/Avogadro/commands"
"Checking for commands scripts in path /usr/local/share/OpenChemistry/Avogadro/commands"
"Checking for commands scripts in path /usr/share/OpenChemistry/Avogadro/commands"
"Checking for commands scripts in path /home/matt/avo/qt5/prefix/bin/../lib64/avogadro2/scripts/commands"
[Detaching after fork from child process 7436]
[Detaching after fork from child process 7437]
[Detaching after fork from child process 7438]
[Detaching after fork from child process 7439]
[Detaching after fork from child process 7440]
[Detaching after fork from child process 7441]
[Detaching after fork from child process 7442]
[Detaching after fork from child process 7444]
[Detaching after fork from child process 7445]
[Detaching after fork from child process 7446]
[Detaching after fork from child process 7447]
[Detaching after fork from child process 7448]
[Detaching after fork from child process 7449]
[Detaching after fork from child process 7450]
[Detaching after fork from child process 7451]
[Detaching after fork from child process 7452]
[Detaching after fork from child process 7453]
[Detaching after fork from child process 7454]
[Detaching after fork from child process 7455]
[Detaching after fork from child process 7456]
[Detaching after fork from child process 7457]
[Detaching after fork from child process 7458]
[Detaching after fork from child process 7459]
[Detaching after fork from child process 7460]
[Detaching after fork from child process 7461]
[Detaching after fork from child process 7462]
[Detaching after fork from child process 7463]
[Detaching after fork from child process 7464]
[Detaching after fork from child process 7465]
[Detaching after fork from child process 7466]
[Detaching after fork from child process 7467]
[Detaching after fork from child process 7468]
[Detaching after fork from child process 7469]
[Detaching after fork from child process 7470]
[Detaching after fork from child process 7471]
[Detaching after fork from child process 7472]
[Detaching after fork from child process 7473]
[Detaching after fork from child process 7474]
[Detaching after fork from child process 7475]
[Detaching after fork from child process 7476]
[Detaching after fork from child process 7477]
[Detaching after fork from child process 7478]
[Detaching after fork from child process 7479]
[Detaching after fork from child process 7480]
[Detaching after fork from child process 7481]
[Detaching after fork from child process 7482]
[Detaching after fork from child process 7483]
"Checking for inputGenerators scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/inputGenerators"
"Checking for inputGenerators scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/inputGenerators"
"Checking for inputGenerators scripts in path /home/matt/.local/share/flatpak/exports/share/OpenChemistry/Avogadro/inputGenerators"
"Checking for inputGenerators scripts in path /var/lib/flatpak/exports/share/OpenChemistry/Avogadro/inputGenerators"
"Checking for inputGenerators scripts in path /usr/local/share/OpenChemistry/Avogadro/inputGenerators"
"Checking for inputGenerators scripts in path /usr/share/OpenChemistry/Avogadro/inputGenerators"
"Checking for inputGenerators scripts in path /home/matt/avo/qt5/prefix/bin/../lib64/avogadro2/scripts/inputGenerators"
[Detaching after fork from child process 7484]
[Detaching after fork from child process 7485]
[Detaching after fork from child process 7486]
[Detaching after fork from child process 7487]
[Detaching after fork from child process 7488]
[Detaching after fork from child process 7489]
[Detaching after fork from child process 7490]
[Detaching after fork from child process 7491]
[Detaching after fork from child process 7492]
[Detaching after fork from child process 7493]
[Detaching after fork from child process 7494]
"Checking for charges scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/charges"
"Checking for charges scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/charges"
"Checking for charges scripts in path /home/matt/.local/share/flatpak/exports/share/OpenChemistry/Avogadro/charges"
"Checking for charges scripts in path /var/lib/flatpak/exports/share/OpenChemistry/Avogadro/charges"
"Checking for charges scripts in path /usr/local/share/OpenChemistry/Avogadro/charges"
"Checking for charges scripts in path /usr/share/OpenChemistry/Avogadro/charges"
"Checking for charges scripts in path /home/matt/avo/qt5/prefix/bin/../lib64/avogadro2/scripts/charges"
[Detaching after fork from child process 7495]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/charges/antechamber.py"
[Detaching after fork from child process 7496]
"Cannot load script /home/matt/avo/qt5/prefix/lib64/avogadro2/scripts/charges/xtb.py"
"Checking for formatScripts scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/formatScripts"
"Checking for formatScripts scripts in path /home/matt/.local/share/OpenChemistry/Avogadro/formatScripts"
"Checking for formatScripts scripts in path /home/matt/.local/share/flatpak/exports/share/OpenChemistry/Avogadro/formatScripts"
"Checking for formatScripts scripts in path /var/lib/flatpak/exports/share/OpenChemistry/Avogadro/formatScripts"
"Checking for formatScripts scripts in path /usr/local/share/OpenChemistry/Avogadro/formatScripts"
"Checking for formatScripts scripts in path /usr/share/OpenChemistry/Avogadro/formatScripts"
"Checking for formatScripts scripts in path /home/matt/avo/qt5/prefix/bin/../lib64/avogadro2/scripts/formatScripts"
[Detaching after fork from child process 7497]
[Detaching after fork from child process 7498]
[Detaching after fork from child process 7499]
Downloading separate debug info for /usr/lib64/qt5/plugins/imageformats/libqicns.so
Downloading separate debug info for /usr/lib64/qt5/plugins/imageformats/libqmng.so
Downloading separate debug info for /lib64/glibc-hwcaps/x86-64-v3/libmng.so.2.0.2
Downloading separate debug info for /lib64/liblcms2.so.2
Downloading separate debug info for /usr/lib64/qt5/plugins/imageformats/libqtga.so
Downloading separate debug info for /usr/lib64/qt5/plugins/imageformats/libqtiff.so
Downloading separate debug info for /usr/lib64/qt5/plugins/imageformats/libqwbmp.so
Downloading separate debug info for /usr/lib64/qt5/plugins/imageformats/libqwebp.so
Downloading separate debug info for /lib64/libwebp.so.7
Downloading separate debug info for /lib64/libwebpmux.so.3
[New Thread 0x7fffc12006c0 (LWP 7500)]
[New Thread 0x7fffb7e006c0 (LWP 7501)]
[New Thread 0x7fffb74006c0 (LWP 7502)]
[New Thread 0x7fffb6a006c0 (LWP 7503)]
[New Thread 0x7fffb60006c0 (LWP 7504)]
[New Thread 0x7fffb56006c0 (LWP 7505)]
[New Thread 0x7fffb4c006c0 (LWP 7506)]
[New Thread 0x7fffabe006c0 (LWP 7507)]
[New Thread 0x7fffab4006c0 (LWP 7508)]
[New Thread 0x7fffaaa006c0 (LWP 7509)]
[New Thread 0x7fffaa0006c0 (LWP 7510)]
[New Thread 0x7fffa96006c0 (LWP 7511)]
[New Thread 0x7fffa8c006c0 (LWP 7512)]
[New Thread 0x7fff9fe006c0 (LWP 7513)]
[New Thread 0x7fff9f4006c0 (LWP 7514)]
[New Thread 0x7fff9ea006c0 (LWP 7515)]
Open Babel formats ready: 145
Setting default format to cjson.
[New Thread 0x7fff9e0006c0 (LWP 7524)]
[New Thread 0x7fff9d6006c0 (LWP 7525)]
[New Thread 0x7fff9cc006c0 (LWP 7526)]
[New Thread 0x7fff93e006c0 (LWP 7527)]
[New Thread 0x7fff934006c0 (LWP 7528)]
[New Thread 0x7fff92a006c0 (LWP 7529)]
[Thread 0x7fffc2a006c0 (LWP 7423) exited]
[Thread 0x7fffb74006c0 (LWP 7502) exited]
[Thread 0x7fffb7e006c0 (LWP 7501) exited]
[Thread 0x7fffc12006c0 (LWP 7500) exited]
[New Thread 0x7fffb7e006c0 (LWP 7969)]
[New Thread 0x7fffb74006c0 (LWP 7970)]
Error, Open Babel plugins directory not found.
[Detaching after fork from child process 7971]
QProcess: Destroyed while process ("/home/matt/avo/qt5/prefix/bin/obmm") is still running.
[New Thread 0x7fffc12006c0 (LWP 7975)]
[New Thread 0x7fffc2a006c0 (LWP 7976)]
Downloading separate debug info for /lib64/libnss_compat.so.2
Downloading separate debug info for /lib64/libnss_systemd.so.2
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
[New Thread 0x7fff920006c0 (LWP 7978)]
[Detaching after fork from child process 7979]
[Detaching after fork from child process 7980]
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
kf.service.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
[New Thread 0x7fff910006c0 (LWP 7984)]
[Thread 0x7fff910006c0 (LWP 7984) exited]
Error, Open Babel plugins directory not found.
[Detaching after fork from child process 7985]
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
QProcess: Destroyed while process ("/home/matt/avo/qt5/prefix/bin/obmm") is still running.
[Thread 0x7fffcd6006c0 (LWP 7419) exited]
[Thread 0x7fffb7e006c0 (LWP 7969) exited]
[Thread 0x7fff9f4006c0 (LWP 7514) exited]
[Thread 0x7fff9fe006c0 (LWP 7513) exited]
[Thread 0x7fffa8c006c0 (LWP 7512) exited]
[Thread 0x7fffa96006c0 (LWP 7511) exited]
[Thread 0x7fffaa0006c0 (LWP 7510) exited]
[Thread 0x7fffaaa006c0 (LWP 7509) exited]
[Thread 0x7fff92a006c0 (LWP 7529) exited]
[Thread 0x7fff934006c0 (LWP 7528) exited]
[Thread 0x7fff93e006c0 (LWP 7527) exited]
[Thread 0x7fff9cc006c0 (LWP 7526) exited]
[Thread 0x7fff9d6006c0 (LWP 7525) exited]
[Thread 0x7fff9e0006c0 (LWP 7524) exited]
[Thread 0x7fffab4006c0 (LWP 7508) exited]
[Thread 0x7fffabe006c0 (LWP 7507) exited]
[Thread 0x7fffb4c006c0 (LWP 7506) exited]
[Thread 0x7fffb56006c0 (LWP 7505) exited]
[Thread 0x7fffb60006c0 (LWP 7504) exited]
[Thread 0x7fffb6a006c0 (LWP 7503) exited]
[Thread 0x7fffce0006c0 (LWP 7418) exited]
[Thread 0x7fffb74006c0 (LWP 7970) exited]
[Thread 0x7fffc12006c0 (LWP 7975) exited]
[Thread 0x7fff920006c0 (LWP 7978) exited]
[Thread 0x7fffc2a006c0 (LWP 7976) exited]
[Thread 0x7fff9ea006c0 (LWP 7515) exited]
[Thread 0x7fffd4a006c0 (LWP 7402) exited]
[Thread 0x7fffcfe006c0 (LWP 7403) exited]
[Thread 0x7fffcf4006c0 (LWP 7404) exited]
[Thread 0x7fffcea006c0 (LWP 7405) exited]
[Thread 0x7fffe10006c0 (LWP 7401) exited]
[Thread 0x7fffe1a006c0 (LWP 7400) exited]
[Thread 0x7fffe90006c0 (LWP 7391) exited]
[Thread 0x7fffe9a006c0 (LWP 7390) exited]
[Thread 0x7ffff0c006c0 (LWP 7388) exited]
[Thread 0x7fffc3e006c0 (LWP 7421) exited]
[Thread 0x7fffccc006c0 (LWP 7420) exited]
[Thread 0x7ffff2f9a9c0 (LWP 7380) exited]
[Thread 0x7fffc34006c0 (LWP 7422) exited]
[New process 7380]
[Inferior 1 (process 7380) exited normally]
Missing separate debuginfos, use: zypper install libKF5DBusAddons5-debuginfo-5.116.0-1.1.x86_64 libKF5GuiAddons5-debuginfo-5.116.0-1.2.x86_64 libQt5PrintSupport5-debuginfo-5.15.15+kde127-1.3.x86_64 libXfixes3-debuginfo-6.0.1-1.3.x86_64 libcanberra0-debuginfo-0.30-18.1.x86_64 libcurl4-debuginfo-8.10.1-1.1.x86_64 libdbusmenu-qt5-2-debuginfo-0.9.3+16.04.20160218-2.2.x86_64 libgbm1-debuginfo-24.1.7-391.1.x86_64 liblcms2-2-debuginfo-2.16-1.3.x86_64 libmng2-x86-64-v3-debuginfo-2.0.3-3.8.x86_64 libpciaccess0-debuginfo-0.18.1-1.2.x86_64 libplist-2_0-4-debuginfo-2.3.0-1.6.x86_64 libpsl5-debuginfo-0.21.5-1.2.x86_64 libpxbackend-1_0-debuginfo-0.5.9-1.1.x86_64 libqt5-qtimageformats-debuginfo-5.15.15+kde4-1.1.x86_64 libudev1-debuginfo-256.7-1.1.x86_64 libunistring5-debuginfo-1.3-1.1.x86_64 libvorbis0-x86-64-v3-debuginfo-1.3.7-5.1.x86_64 libvorbisfile3-x86-64-v3-debuginfo-1.3.7-5.1.x86_64 libwayland-server0-debuginfo-1.23.1-1.1.x86_64 libwebpmux3-debuginfo-1.4.0-1.1.x86_64 libxcb-dri2-0-debuginfo-1.17.0-1.1.x86_64 libxcb-keysyms1-debuginfo-0.4.1-1.4.x86_64 libxcb-randr0-debuginfo-1.17.0-1.1.x86_64 libxcb-sync1-debuginfo-1.17.0-1.1.x86_64 libxcb1-debuginfo-1.17.0-1.1.x86_64 libxshmfence1-debuginfo-1.3.2-1.4.x86_64 nss-mdns-debuginfo-0.15.1-1.5.x86_64 plasma6-integration-plugin-debuginfo-6.2.1-1.2.x86_64 systemd-debuginfo-256.7-1.1.x86_64
(gdb) bt
No stack.
This was produced by opening the program, loading once by name, closing the molecule, loading from file, closing the molecule again. It’s these snippets:
[New Thread 0x7fff910006c0 (LWP 7984)]
[Thread 0x7fff910006c0 (LWP 7984) exited]
Error, Open Babel plugins directory not found.
[Detaching after fork from child process 7985]
The default should be RelWithDebInfo which does some optimization but leaves in the debug symbols.
So it crashes in the debugger, but there’s no back trace?
I suspect that’s from checking file formats, but I’m not sure. OTOH if “load by name” works for most molecules, but not chlorophyll, it’s specific to that file parsing – which shouldn’t happen with Open Babel.
I’ll go make a branch with a bunch of debugging statements.
It doesn’t crash, the error is non-terminal, and the structure loads regardless. It’s only the AppImage that actually crashes. If you can whip up an AppImage that has debugging symbols, I can try running that in gdb?
This is a good point, I checked now and the same error appears with other molecules that do load successfully in the AppImage (from file at least, I can’t check the web lookup due to the SSL not working.)
So yeah, it’s not the Open Babel error that’s causing it to crash.