rbreu / beeref

BeeRef Reference Image Viewer
GNU General Public License v3.0
501 stars 37 forks source link

terminated by signal SIGSEGV (Address boundary error) #14

Closed Flone-dnb closed 8 months ago

Flone-dnb commented 3 years ago

Describe the bug Unable to run the executable on Arch-based Linux distro. Getting this:

INFO __main__: Starting BeeRef version 0.1.1
INFO __main__: Using settings: /home/flone/.config/BeeRef/BeeRef.ini
INFO __main__: Logging to: /home/flone/.config/BeeRef/BeeRef.log
fish: Job 1, './BeeRef-0.1.1' terminated by signal SIGSEGV (Address boundary error)

Although I was able to run the executable produced by pip install git+https://github.com/rbreu/beeref.git without any issues.

QT_DEBUG_PLUGINS=1 ./BeeRef-0.1.1 shows me this:

INFO __main__: Starting BeeRef version 0.1.1
INFO __main__: Using settings: /home/flone/.config/BeeRef/BeeRef.ini
INFO __main__: Logging to: /home/flone/.config/BeeRef/BeeRef.log
WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqeglfs.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"eglfs"
]
},
"archreq": 0,
"className": "QEglFSIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqlinuxfb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"linuxfb"
]
},
"archreq": 0,
"className": "QLinuxFbIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqminimal.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimal"
]
},
"archreq": 0,
"className": "QMinimalIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqminimalegl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"minimalegl"
]
},
"archreq": 0,
"className": "QMinimalEglIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqoffscreen.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"offscreen"
]
},
"archreq": 0,
"className": "QOffscreenIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqvnc.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"vnc"
]
},
"archreq": 0,
"className": "QVncIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqwayland-egl.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-egl"
]
},
"archreq": 0,
"className": "QWaylandEglPlatformIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqwayland-generic.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland"
]
},
"archreq": 0,
"className": "QWaylandIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqwayland-xcomposite-egl.so,metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-egl"
]
},
"archreq": 0,
"className": "QWaylandXCompositeEglPlatformIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqwayland-xcomposite-glx.so,metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"wayland-xcomposite-glx"
]
},
"archreq": 0,
"className": "QWaylandXCompositeGlxPlatformIntegrationPlugin",
"debug": false,
"version": 393472
}

WARNING Qt: Found metadata in lib /home/flone/CustomApps/BeeRef-0.1.1/platforms/libqxcb.so, metadata=
{
"IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
"MetaData": {
"Keys": [
"xcb"
]
},
"archreq": 0,
"className": "QXcbIntegrationPlugin",
"debug": false,
"version": 393472
}

fish: Job 1, 'QT_DEBUG_PLUGINS=1 ./BeeRef-0.1…' terminated by signal SIGSEGV (Address boundary error)

Not a long-time Linux user, I'm I missing something?

P.S. Also you have a typo in the readme: If there are issues starting the application, run it with the environment varibale...

rbreu commented 3 years ago

Huh, that's weird. Since you are able to run BeeRef via Python, your system has everything you need. The only other possible issue with the executable I'm aware of is if your system's glibc version is older than 2.28, but then you usually get an error message telling you so.

In the future I'd like to provide different kinds of packages for Linux (appimages, ...) so that there should be something working for everyone, but since you got it working for now, I'll put that off for a bit and focus on other features.

Btw, if you want to upgrade your BeerRef when I make new releases, you can specify the version number like this: pip install BeeRef==0.1.1

Flone-dnb commented 3 years ago

Oh, AppImages will be great! Also, I have glibc version 2.33-5. It's fine for now, I've installed BeeRef from AUR: https://aur.archlinux.org/packages/beeref/ And yes I can also build it using pip, so it's not really an issue. You can close the issue any time, just wanted to let you know.

Flone-dnb commented 8 months ago

Latest binary (BeeRef-0.3.1-linux-ub22) from the releases tab works fine on Arch Linux (Wayland). I guess I can close this since there is no longer an issue with this.