Segmentation fault when running AppImage

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Segmentation fault when running AppImage

Joe Wrigley-2
I am getting a segmentation fault if I run either digikam-5.6.0-01-x86-64.appimage  or digikam-5.7.0-01-x86-64.appimage

I am running Oracle Linux 7.3 (RHEL 7 based, like CentOS) and according to loginctl it is an x11 session, not Wayland.

$ loginctl show-session 14 -p Type                                                  
Type=x11

$ ./digikam-5.6.0-01-x86-64.appimage debug
-bash: ./digikam-5.6.0-01-x86-64.appimage: No such file or directory
-bash-4.2$ cd Downloads/
-bash-4.2$ ./digikam-5.6.0-01-x86-64.appimage debug
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options
Starting digiKam into GDB...
Use 'bt' command on debugger prompt to get a crash backtrace.
Use 'q' command to quit debugger session.
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 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-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /tmp/.mount_HPxFpJ/usr/bin/digikam...done.
Function "__cxa_throw" not defined.
Catchpoint 1 (throw)
Starting program: /tmp/.mount_HPxFpJ/usr/bin/digikam 
digikam.widgets: Breeze icons ressource file found
[New Thread 0x7fffe0dab700 (LWP 3398)]
Detaching after fork from child process 3399.
digikam.general: "/home/jwrigley/Pictures"
digikam.general: Testing  "mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3400.
digikam.general: Testing  "mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3401.
digikam.general: Testing  "mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3402.
digikam.general: Testing  "mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3403.
digikam.general: Testing  "././/bin/mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3404.
digikam.general: All Binaries Found :  false
digikam.general: Testing  "././/bin/mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3405.
digikam.general: All Binaries Found :  false
digikam.general: Testing  "././/sbin/mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3406.
digikam.general: All Binaries Found :  false
digikam.general: Testing  "././/sbin/mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3407.
digikam.general: All Binaries Found :  false

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
38 movdqu (%rdi), %xmm1
(gdb) bt
#0  __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
#1  0x00000033a9005e52 in udev_device_new_from_syspath () from /tmp/.mount_HPxFpJ/usr/lib/libudev.so.0
#2  0x00007ffff7e1ca50 in udev_device_new_from_devnum () from /lib64/libudev.so.1
#3  0x00007fffee898e14 in udev_device_new_from_fd (fd=14, udev=0x83b430) at loader.c:194
#4  libudev_get_pci_id_for_fd (chip_id=0x7fffffffd0d4, vendor_id=0x7fffffffd0d0, fd=14) at loader.c:225
#5  loader_get_pci_id_for_fd (fd=fd@entry=14, vendor_id=vendor_id@entry=0x7fffffffd0d0, chip_id=chip_id@entry=0x7fffffffd0d4) at loader.c:584
#6  0x00007fffee899325 in loader_get_driver_for_fd (fd=14, driver_types=3, driver_types@entry=0) at loader.c:700
#7  0x00007fffee893be6 in dri2CreateScreen (screen=0, priv=0x837f50) at dri2_glx.c:1210
#8  0x00007fffee86c82c in AllocAndFetchScreenConfigs (priv=0x837f50, dpy=0x67ab10) at glxext.c:799
#9  __glXInitialize (dpy=dpy@entry=0x67ab10) at glxext.c:910
#10 0x00007fffee868387 in glXGetFBConfigs (dpy=0x67ab10, screen=0, nelements=nelements@entry=0x7fffffffd23c) at glxcmds.c:1651
#11 0x00007fffee869196 in glXChooseFBConfig (dpy=<optimized out>, screen=<optimized out>, attribList=0x837ed8, nitems=0x7fffffffd3bc) at glxcmds.c:1611
#12 0x00007ffff7fef3f7 in ?? () from /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
#13 0x00007ffff7fef71d in ?? () from /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
#14 0x00007ffff7fec029 in ?? () from /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
#15 0x00007fffe279de71 in QXcbWindow::create() () from /tmp/.mount_HPxFpJ/usr/lib/libQt5XcbQpa.so.5
#16 0x00007fffe2789130 in QXcbIntegration::createPlatformWindow(QWindow*) const () from /tmp/.mount_HPxFpJ/usr/lib/libQt5XcbQpa.so.5
#17 0x00007fffeee3a9db in QWindowPrivate::create(bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Gui.so.5
#18 0x00007fffef4403cd in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
#19 0x00007fffef43fb99 in QWidget::create(unsigned long long, bool, bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
#20 0x00007fffef44c3c2 in QWidget::setVisible(bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
#21 0x00007fffef5e87d3 in QDialog::setVisible(bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
#22 0x0000000000404cfb in main (argc=1, argv=<optimized out>) at /b/dktemp/digikam-master/core/app/main/main.cpp:196

$ ./digikam-5.7.0-01-x86-64.appimage debug
-- digiKam AppImage Bundle
-- Use 'help' as CLI argument to know all available options
Starting digiKam into GDB...
Use 'bt' command on debugger prompt to get a crash backtrace.
Use 'q' command to quit debugger session.
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 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-redhat-linux-gnu".
For bug reporting instructions, please see:
Reading symbols from /tmp/.mount_6iicTl/usr/bin/digikam...done.
Function "__cxa_throw" not defined.
Catchpoint 1 (throw)
Starting program: /tmp/.mount_6iicTl/usr/bin/digikam
[New Thread 0x7fffda973700 (LWP 3494)]
digikam.widgets: Breeze icons ressource file found
[New Thread 0x7fffd8fc8700 (LWP 3495)]
Detaching after fork from child process 3496.
digikam.general: "/home/jwrigley/Pictures"
digikam.general: Testing  "mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3497.
digikam.general: Testing  "mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3498.
digikam.general: Testing  "mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3499.
digikam.general: Testing  "mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3500.
digikam.general: Testing  "././/bin/mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3501.
digikam.general: All Binaries Found :  false
digikam.general: Testing  "././/bin/mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3502.
digikam.general: All Binaries Found :  false
digikam.general: Testing  "././/sbin/mysql_install_db" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3503.
digikam.general: All Binaries Found :  false
digikam.general: Testing  "././/sbin/mysqld" ...
digikam.general: Adjusting environment variables for AppImage bundle
Detaching after fork from child process 3504.
digikam.general: All Binaries Found :  false

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
38 movdqu (%rdi), %xmm1
(gdb) bt
#0  __strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
#1  0x0000003fdfa05e52 in udev_device_new_from_syspath () from /tmp/.mount_6iicTl/usr/lib/libudev.so.0
#2  0x00007fffe1ec1a50 in udev_device_new_from_devnum () from /lib64/libudev.so.1
#3  0x00007fffec6cae14 in udev_device_new_from_fd (fd=14, udev=0x7a3560) at loader.c:194
#4  libudev_get_pci_id_for_fd (chip_id=0x7fffffffd064, vendor_id=0x7fffffffd060, fd=14) at loader.c:225
#5  loader_get_pci_id_for_fd (fd=fd@entry=14, vendor_id=vendor_id@entry=0x7fffffffd060, chip_id=chip_id@entry=0x7fffffffd064) at loader.c:584
#6  0x00007fffec6cb325 in loader_get_driver_for_fd (fd=14, driver_types=3, driver_types@entry=0) at loader.c:700
#7  0x00007fffec6c5be6 in dri2CreateScreen (screen=0, priv=0x836280) at dri2_glx.c:1210
#8  0x00007fffec69e82c in AllocAndFetchScreenConfigs (priv=0x836280, dpy=0x67a130) at glxext.c:799
#9  __glXInitialize (dpy=dpy@entry=0x67a130) at glxext.c:910
#10 0x00007fffec69a387 in glXGetFBConfigs (dpy=0x67a130, screen=0, nelements=nelements@entry=0x7fffffffd1cc) at glxcmds.c:1651
#11 0x00007fffec69b196 in glXChooseFBConfig (dpy=<optimized out>, screen=<optimized out>, attribList=0x836208, nitems=0x7fffffffd34c) at glxcmds.c:1611
#12 0x00007ffff7feeaf7 in ?? () from /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
#13 0x00007ffff7feee1d in ?? () from /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
#14 0x00007ffff7feb1b0 in ?? () from /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
#15 0x00007fffda9cbece in QXcbWindow::create() () from /tmp/.mount_6iicTl/usr/lib/libQt5XcbQpa.so.5
#16 0x00007fffda9b7180 in QXcbIntegration::createPlatformWindow(QWindow*) const () from /tmp/.mount_6iicTl/usr/lib/libQt5XcbQpa.so.5
#17 0x00007fffed1d3cb6 in QWindowPrivate::create(bool, unsigned long long) () from /tmp/.mount_6iicTl/usr/lib/libQt5Gui.so.5
#18 0x00007fffed81505d in QWidgetPrivate::create_sys(unsigned long long, bool, bool) () from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
#19 0x00007fffed814819 in QWidget::create(unsigned long long, bool, bool) () from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
#20 0x00007fffed8205c2 in QWidget::setVisible(bool) () from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
#21 0x00007fffeda015a3 in QDialog::setVisible(bool) () from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
#22 0x0000000000404cfb in main (argc=1, argv=<optimized out>) at /b/dktemp/digikam-master/core/app/main/main.cpp:196


Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when running AppImage

Gilles Caulier-4
Yes,

Already reported into this file :

https://bugs.kde.org/show_bug.cgi?id=381193

Gilles Caulier

2017-06-28 10:52 GMT+02:00 Joe Wrigley <[hidden email]>:

> I am getting a segmentation fault if I run either
> digikam-5.6.0-01-x86-64.appimage  or digikam-5.7.0-01-x86-64.appimage
>
> I am running Oracle Linux 7.3 (RHEL 7 based, like CentOS) and according to
> loginctl it is an x11 session, not Wayland.
>
> $ loginctl show-session 14 -p Type
> Type=x11
>
> $ ./digikam-5.6.0-01-x86-64.appimage debug
> -bash: ./digikam-5.6.0-01-x86-64.appimage: No such file or directory
> -bash-4.2$ cd Downloads/
> -bash-4.2$ ./digikam-5.6.0-01-x86-64.appimage debug
> -- digiKam AppImage Bundle
> -- Use 'help' as CLI argument to know all available options
> Starting digiKam into GDB...
> Use 'bt' command on debugger prompt to get a crash backtrace.
> Use 'q' command to quit debugger session.
> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
> Copyright (C) 2013 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-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /tmp/.mount_HPxFpJ/usr/bin/digikam...done.
> Function "__cxa_throw" not defined.
> Catchpoint 1 (throw)
> Starting program: /tmp/.mount_HPxFpJ/usr/bin/digikam
> digikam.widgets: Breeze icons ressource file found
> [New Thread 0x7fffe0dab700 (LWP 3398)]
> Detaching after fork from child process 3399.
> digikam.general: "/home/jwrigley/Pictures"
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3400.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3401.
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3402.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3403.
> digikam.general: Testing  "././/bin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3404.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/bin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3405.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3406.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3407.
> digikam.general: All Binaries Found :  false
>
> Program received signal SIGSEGV, Segmentation fault.
> __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> 38 movdqu (%rdi), %xmm1
> (gdb) bt
> #0  __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> #1  0x00000033a9005e52 in udev_device_new_from_syspath () from
> /tmp/.mount_HPxFpJ/usr/lib/libudev.so.0
> #2  0x00007ffff7e1ca50 in udev_device_new_from_devnum () from
> /lib64/libudev.so.1
> #3  0x00007fffee898e14 in udev_device_new_from_fd (fd=14, udev=0x83b430) at
> loader.c:194
> #4  libudev_get_pci_id_for_fd (chip_id=0x7fffffffd0d4,
> vendor_id=0x7fffffffd0d0, fd=14) at loader.c:225
> #5  loader_get_pci_id_for_fd (fd=fd@entry=14,
> vendor_id=vendor_id@entry=0x7fffffffd0d0,
> chip_id=chip_id@entry=0x7fffffffd0d4) at loader.c:584
> #6  0x00007fffee899325 in loader_get_driver_for_fd (fd=14, driver_types=3,
> driver_types@entry=0) at loader.c:700
> #7  0x00007fffee893be6 in dri2CreateScreen (screen=0, priv=0x837f50) at
> dri2_glx.c:1210
> #8  0x00007fffee86c82c in AllocAndFetchScreenConfigs (priv=0x837f50,
> dpy=0x67ab10) at glxext.c:799
> #9  __glXInitialize (dpy=dpy@entry=0x67ab10) at glxext.c:910
> #10 0x00007fffee868387 in glXGetFBConfigs (dpy=0x67ab10, screen=0,
> nelements=nelements@entry=0x7fffffffd23c) at glxcmds.c:1651
> #11 0x00007fffee869196 in glXChooseFBConfig (dpy=<optimized out>,
> screen=<optimized out>, attribList=0x837ed8, nitems=0x7fffffffd3bc) at
> glxcmds.c:1611
> #12 0x00007ffff7fef3f7 in ?? () from
> /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #13 0x00007ffff7fef71d in ?? () from
> /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #14 0x00007ffff7fec029 in ?? () from
> /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #15 0x00007fffe279de71 in QXcbWindow::create() () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5XcbQpa.so.5
> #16 0x00007fffe2789130 in QXcbIntegration::createPlatformWindow(QWindow*)
> const () from /tmp/.mount_HPxFpJ/usr/lib/libQt5XcbQpa.so.5
> #17 0x00007fffeee3a9db in QWindowPrivate::create(bool) () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5Gui.so.5
> #18 0x00007fffef4403cd in QWidgetPrivate::create_sys(unsigned long long,
> bool, bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #19 0x00007fffef43fb99 in QWidget::create(unsigned long long, bool, bool) ()
> from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #20 0x00007fffef44c3c2 in QWidget::setVisible(bool) () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #21 0x00007fffef5e87d3 in QDialog::setVisible(bool) () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #22 0x0000000000404cfb in main (argc=1, argv=<optimized out>) at
> /b/dktemp/digikam-master/core/app/main/main.cpp:196
>
> $ ./digikam-5.7.0-01-x86-64.appimage debug
> -- digiKam AppImage Bundle
> -- Use 'help' as CLI argument to know all available options
> Starting digiKam into GDB...
> Use 'bt' command on debugger prompt to get a crash backtrace.
> Use 'q' command to quit debugger session.
> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
> Copyright (C) 2013 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-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /tmp/.mount_6iicTl/usr/bin/digikam...done.
> Function "__cxa_throw" not defined.
> Catchpoint 1 (throw)
> Starting program: /tmp/.mount_6iicTl/usr/bin/digikam
> [New Thread 0x7fffda973700 (LWP 3494)]
> digikam.widgets: Breeze icons ressource file found
> [New Thread 0x7fffd8fc8700 (LWP 3495)]
> Detaching after fork from child process 3496.
> digikam.general: "/home/jwrigley/Pictures"
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3497.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3498.
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3499.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3500.
> digikam.general: Testing  "././/bin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3501.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/bin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3502.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3503.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3504.
> digikam.general: All Binaries Found :  false
>
> Program received signal SIGSEGV, Segmentation fault.
> __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> 38 movdqu (%rdi), %xmm1
> (gdb) bt
> #0  __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> #1  0x0000003fdfa05e52 in udev_device_new_from_syspath () from
> /tmp/.mount_6iicTl/usr/lib/libudev.so.0
> #2  0x00007fffe1ec1a50 in udev_device_new_from_devnum () from
> /lib64/libudev.so.1
> #3  0x00007fffec6cae14 in udev_device_new_from_fd (fd=14, udev=0x7a3560) at
> loader.c:194
> #4  libudev_get_pci_id_for_fd (chip_id=0x7fffffffd064,
> vendor_id=0x7fffffffd060, fd=14) at loader.c:225
> #5  loader_get_pci_id_for_fd (fd=fd@entry=14,
> vendor_id=vendor_id@entry=0x7fffffffd060,
> chip_id=chip_id@entry=0x7fffffffd064) at loader.c:584
> #6  0x00007fffec6cb325 in loader_get_driver_for_fd (fd=14, driver_types=3,
> driver_types@entry=0) at loader.c:700
> #7  0x00007fffec6c5be6 in dri2CreateScreen (screen=0, priv=0x836280) at
> dri2_glx.c:1210
> #8  0x00007fffec69e82c in AllocAndFetchScreenConfigs (priv=0x836280,
> dpy=0x67a130) at glxext.c:799
> #9  __glXInitialize (dpy=dpy@entry=0x67a130) at glxext.c:910
> #10 0x00007fffec69a387 in glXGetFBConfigs (dpy=0x67a130, screen=0,
> nelements=nelements@entry=0x7fffffffd1cc) at glxcmds.c:1651
> #11 0x00007fffec69b196 in glXChooseFBConfig (dpy=<optimized out>,
> screen=<optimized out>, attribList=0x836208, nitems=0x7fffffffd34c) at
> glxcmds.c:1611
> #12 0x00007ffff7feeaf7 in ?? () from
> /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #13 0x00007ffff7feee1d in ?? () from
> /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #14 0x00007ffff7feb1b0 in ?? () from
> /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #15 0x00007fffda9cbece in QXcbWindow::create() () from
> /tmp/.mount_6iicTl/usr/lib/libQt5XcbQpa.so.5
> #16 0x00007fffda9b7180 in QXcbIntegration::createPlatformWindow(QWindow*)
> const () from /tmp/.mount_6iicTl/usr/lib/libQt5XcbQpa.so.5
> #17 0x00007fffed1d3cb6 in QWindowPrivate::create(bool, unsigned long long)
> () from /tmp/.mount_6iicTl/usr/lib/libQt5Gui.so.5
> #18 0x00007fffed81505d in QWidgetPrivate::create_sys(unsigned long long,
> bool, bool) () from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #19 0x00007fffed814819 in QWidget::create(unsigned long long, bool, bool) ()
> from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #20 0x00007fffed8205c2 in QWidget::setVisible(bool) () from
> /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #21 0x00007fffeda015a3 in QDialog::setVisible(bool) () from
> /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #22 0x0000000000404cfb in main (argc=1, argv=<optimized out>) at
> /b/dktemp/digikam-master/core/app/main/main.cpp:196
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Segmentation fault when running AppImage

Joe Wrigley-2
That would appear to be a different backtrace than mine. The one from bugzilla is:

Thread 1 "digikam" received signal SIGSEGV, Segmentation fault.
0x00007fffe9fcd9b4 in free () from /lib64/libc.so.6

Mine is:

Program received signal SIGSEGV, Segmentation fault.
__strlen_sse2_pminub () at ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38

Would I be better off reporting as a bug than on the users mailing list?

On 28 June 2017 at 09:57, Gilles Caulier <[hidden email]> wrote:
Yes,

Already reported into this file :

https://bugs.kde.org/show_bug.cgi?id=381193

Gilles Caulier

2017-06-28 10:52 GMT+02:00 Joe Wrigley <[hidden email]>:
> I am getting a segmentation fault if I run either
> digikam-5.6.0-01-x86-64.appimage  or digikam-5.7.0-01-x86-64.appimage
>
> I am running Oracle Linux 7.3 (RHEL 7 based, like CentOS) and according to
> loginctl it is an x11 session, not Wayland.
>
> $ loginctl show-session 14 -p Type
> Type=x11
>
> $ ./digikam-5.6.0-01-x86-64.appimage debug
> -bash: ./digikam-5.6.0-01-x86-64.appimage: No such file or directory
> -bash-4.2$ cd Downloads/
> -bash-4.2$ ./digikam-5.6.0-01-x86-64.appimage debug
> -- digiKam AppImage Bundle
> -- Use 'help' as CLI argument to know all available options
> Starting digiKam into GDB...
> Use 'bt' command on debugger prompt to get a crash backtrace.
> Use 'q' command to quit debugger session.
> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
> Copyright (C) 2013 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-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /tmp/.mount_HPxFpJ/usr/bin/digikam...done.
> Function "__cxa_throw" not defined.
> Catchpoint 1 (throw)
> Starting program: /tmp/.mount_HPxFpJ/usr/bin/digikam
> digikam.widgets: Breeze icons ressource file found
> [New Thread 0x7fffe0dab700 (LWP 3398)]
> Detaching after fork from child process 3399.
> digikam.general: "/home/jwrigley/Pictures"
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3400.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3401.
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3402.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3403.
> digikam.general: Testing  "././/bin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3404.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/bin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3405.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3406.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3407.
> digikam.general: All Binaries Found :  false
>
> Program received signal SIGSEGV, Segmentation fault.
> __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> 38 movdqu (%rdi), %xmm1
> (gdb) bt
> #0  __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> #1  0x00000033a9005e52 in udev_device_new_from_syspath () from
> /tmp/.mount_HPxFpJ/usr/lib/libudev.so.0
> #2  0x00007ffff7e1ca50 in udev_device_new_from_devnum () from
> /lib64/libudev.so.1
> #3  0x00007fffee898e14 in udev_device_new_from_fd (fd=14, udev=0x83b430) at
> loader.c:194
> #4  libudev_get_pci_id_for_fd (chip_id=0x7fffffffd0d4,
> vendor_id=0x7fffffffd0d0, fd=14) at loader.c:225
> #5  loader_get_pci_id_for_fd (fd=fd@entry=14,
> vendor_id=vendor_id@entry=0x7fffffffd0d0,
> chip_id=chip_id@entry=0x7fffffffd0d4) at loader.c:584
> #6  0x00007fffee899325 in loader_get_driver_for_fd (fd=14, driver_types=3,
> driver_types@entry=0) at loader.c:700
> #7  0x00007fffee893be6 in dri2CreateScreen (screen=0, priv=0x837f50) at
> dri2_glx.c:1210
> #8  0x00007fffee86c82c in AllocAndFetchScreenConfigs (priv=0x837f50,
> dpy=0x67ab10) at glxext.c:799
> #9  __glXInitialize (dpy=dpy@entry=0x67ab10) at glxext.c:910
> #10 0x00007fffee868387 in glXGetFBConfigs (dpy=0x67ab10, screen=0,
> nelements=nelements@entry=0x7fffffffd23c) at glxcmds.c:1651
> #11 0x00007fffee869196 in glXChooseFBConfig (dpy=<optimized out>,
> screen=<optimized out>, attribList=0x837ed8, nitems=0x7fffffffd3bc) at
> glxcmds.c:1611
> #12 0x00007ffff7fef3f7 in ?? () from
> /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #13 0x00007ffff7fef71d in ?? () from
> /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #14 0x00007ffff7fec029 in ?? () from
> /tmp/.mount_HPxFpJ/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #15 0x00007fffe279de71 in QXcbWindow::create() () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5XcbQpa.so.5
> #16 0x00007fffe2789130 in QXcbIntegration::createPlatformWindow(QWindow*)
> const () from /tmp/.mount_HPxFpJ/usr/lib/libQt5XcbQpa.so.5
> #17 0x00007fffeee3a9db in QWindowPrivate::create(bool) () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5Gui.so.5
> #18 0x00007fffef4403cd in QWidgetPrivate::create_sys(unsigned long long,
> bool, bool) () from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #19 0x00007fffef43fb99 in QWidget::create(unsigned long long, bool, bool) ()
> from /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #20 0x00007fffef44c3c2 in QWidget::setVisible(bool) () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #21 0x00007fffef5e87d3 in QDialog::setVisible(bool) () from
> /tmp/.mount_HPxFpJ/usr/lib/libQt5Widgets.so.5
> #22 0x0000000000404cfb in main (argc=1, argv=<optimized out>) at
> /b/dktemp/digikam-master/core/app/main/main.cpp:196
>
> $ ./digikam-5.7.0-01-x86-64.appimage debug
> -- digiKam AppImage Bundle
> -- Use 'help' as CLI argument to know all available options
> Starting digiKam into GDB...
> Use 'bt' command on debugger prompt to get a crash backtrace.
> Use 'q' command to quit debugger session.
> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
> Copyright (C) 2013 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-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /tmp/.mount_6iicTl/usr/bin/digikam...done.
> Function "__cxa_throw" not defined.
> Catchpoint 1 (throw)
> Starting program: /tmp/.mount_6iicTl/usr/bin/digikam
> [New Thread 0x7fffda973700 (LWP 3494)]
> digikam.widgets: Breeze icons ressource file found
> [New Thread 0x7fffd8fc8700 (LWP 3495)]
> Detaching after fork from child process 3496.
> digikam.general: "/home/jwrigley/Pictures"
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3497.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3498.
> digikam.general: Testing  "mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3499.
> digikam.general: Testing  "mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3500.
> digikam.general: Testing  "././/bin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3501.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/bin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3502.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysql_install_db" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3503.
> digikam.general: All Binaries Found :  false
> digikam.general: Testing  "././/sbin/mysqld" ...
> digikam.general: Adjusting environment variables for AppImage bundle
> Detaching after fork from child process 3504.
> digikam.general: All Binaries Found :  false
>
> Program received signal SIGSEGV, Segmentation fault.
> __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> 38 movdqu (%rdi), %xmm1
> (gdb) bt
> #0  __strlen_sse2_pminub () at
> ../sysdeps/x86_64/multiarch/strlen-sse2-pminub.S:38
> #1  0x0000003fdfa05e52 in udev_device_new_from_syspath () from
> /tmp/.mount_6iicTl/usr/lib/libudev.so.0
> #2  0x00007fffe1ec1a50 in udev_device_new_from_devnum () from
> /lib64/libudev.so.1
> #3  0x00007fffec6cae14 in udev_device_new_from_fd (fd=14, udev=0x7a3560) at
> loader.c:194
> #4  libudev_get_pci_id_for_fd (chip_id=0x7fffffffd064,
> vendor_id=0x7fffffffd060, fd=14) at loader.c:225
> #5  loader_get_pci_id_for_fd (fd=fd@entry=14,
> vendor_id=vendor_id@entry=0x7fffffffd060,
> chip_id=chip_id@entry=0x7fffffffd064) at loader.c:584
> #6  0x00007fffec6cb325 in loader_get_driver_for_fd (fd=14, driver_types=3,
> driver_types@entry=0) at loader.c:700
> #7  0x00007fffec6c5be6 in dri2CreateScreen (screen=0, priv=0x836280) at
> dri2_glx.c:1210
> #8  0x00007fffec69e82c in AllocAndFetchScreenConfigs (priv=0x836280,
> dpy=0x67a130) at glxext.c:799
> #9  __glXInitialize (dpy=dpy@entry=0x67a130) at glxext.c:910
> #10 0x00007fffec69a387 in glXGetFBConfigs (dpy=0x67a130, screen=0,
> nelements=nelements@entry=0x7fffffffd1cc) at glxcmds.c:1651
> #11 0x00007fffec69b196 in glXChooseFBConfig (dpy=<optimized out>,
> screen=<optimized out>, attribList=0x836208, nitems=0x7fffffffd34c) at
> glxcmds.c:1611
> #12 0x00007ffff7feeaf7 in ?? () from
> /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #13 0x00007ffff7feee1d in ?? () from
> /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #14 0x00007ffff7feb1b0 in ?? () from
> /tmp/.mount_6iicTl/usr/plugins/xcbglintegrations/libqxcb-glx-integration.so
> #15 0x00007fffda9cbece in QXcbWindow::create() () from
> /tmp/.mount_6iicTl/usr/lib/libQt5XcbQpa.so.5
> #16 0x00007fffda9b7180 in QXcbIntegration::createPlatformWindow(QWindow*)
> const () from /tmp/.mount_6iicTl/usr/lib/libQt5XcbQpa.so.5
> #17 0x00007fffed1d3cb6 in QWindowPrivate::create(bool, unsigned long long)
> () from /tmp/.mount_6iicTl/usr/lib/libQt5Gui.so.5
> #18 0x00007fffed81505d in QWidgetPrivate::create_sys(unsigned long long,
> bool, bool) () from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #19 0x00007fffed814819 in QWidget::create(unsigned long long, bool, bool) ()
> from /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #20 0x00007fffed8205c2 in QWidget::setVisible(bool) () from
> /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #21 0x00007fffeda015a3 in QDialog::setVisible(bool) () from
> /tmp/.mount_6iicTl/usr/lib/libQt5Widgets.so.5
> #22 0x0000000000404cfb in main (argc=1, argv=<optimized out>) at
> /b/dktemp/digikam-master/core/app/main/main.cpp:196
>
>