[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#977329: krita segfaults when try to open with libQt5Gui.so.5.15.1



hi! thanks very much for your help.

the krita segfault still happens with all latest updates, including the most recent kernel 5.9.0-5-amd64

krita crashes at open. when i select the krita program from the menu nothing happens at all.
when i run like this:
$ krita
Segmentation fault

that's what happens....

i'm using lxqt

i'm using xorg as far as i know. haven't installed wayland deliberately

=======================
here's output from dpkg regarding wayland and xorg:

# dpkg -l *wayland*                                                                                                                            
Desired=Unknown/Install/Remove/Purge/Hold                                                                                                                                  
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend                                                                                              
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)                                                                                                                  
||/ Name                            Version         Architecture Description                                                                                                
+++-===============================-===============-============-========================================================
ii  kwayland-data                   4:5.74.0-2      all          Qt library wrapper for Wayland libraries - data files
ii  kwayland-integration:amd64      5.19.5-3        amd64        kwayland runtime integration plugins
ii  libkf5waylandclient5:amd64      4:5.74.0-2      amd64        Qt library wrapper for Wayland libraries
ii  libqt5waylandclient5:amd64      5.15.2-2        amd64        QtWayland client library
ii  libqt5waylandcompositor5:amd64  5.15.2-2        amd64        QtWayland compositor library
ii  libva-wayland2:amd64            2.10.0-1        amd64        Video Acceleration (VA) API for Linux -- Wayland runtime
ii  libwayland-client0:amd64        1.18.0-2~exp1.1 amd64        wayland compositor infrastructure - client library
ii  libwayland-cursor0:amd64        1.18.0-2~exp1.1 amd64        wayland compositor infrastructure - cursor library
ii  libwayland-egl1:amd64           1.18.0-2~exp1.1 amd64        wayland compositor infrastructure - EGL library
un  libwayland-egl1-mesa            <none>          <none>       (no description available)
ii  libwayland-server0:amd64        1.18.0-2~exp1.1 amd64        wayland compositor infrastructure - server library
un  libwayland0                     <none>          <none>       (no description available)
un  qtwayland-client-abi-5-15-2     <none>          <none>       (no description available)
un  qtwayland-compositor-abi-5-15-2 <none>          <none>       (no description available)
ii  qtwayland5:amd64                5.15.2-2        amd64        QtWayland platform plugin


# dpkg -l *xorg*                                          
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                           Version                     Architecture Description
+++-==============================-===========================-============-=================================================
ii  xorg                           1:7.7+21                    amd64        X.Org X Window System
un  xorg-docs                      <none>                      <none>       (no description available)
ii  xorg-docs-core                 1:1.7.1-1.1                 all          Core documentation for the X.org X Window System
un  xorg-driver-input              <none>                      <none>       (no description available)
un  xorg-driver-video              <none>                      <none>       (no description available)
un  xorg-input-abi-24              <none>                      <none>       (no description available)
un  xorg-video-abi-24              <none>                      <none>       (no description available)
ii  xserver-xorg                   1:7.7+21                    amd64        X.Org X server
ii  xserver-xorg-core              2:1.20.10-1                 amd64        Xorg X server - core server
un  xserver-xorg-driver-all        <none>                      <none>       (no description available)
ii  xserver-xorg-input-all         1:7.7+21                    amd64        X.Org X server -- input driver metapackage
un  xserver-xorg-input-evtouch     <none>                      <none>       (no description available)
ii  xserver-xorg-input-libinput    0.30.0-1                    amd64        X.Org X server -- libinput input driver
un  xserver-xorg-input-vmmouse     <none>                      <none>       (no description available)
ii  xserver-xorg-input-wacom       0.34.99.1-1+b1              amd64        X.Org X server -- Wacom input driver
ii  xserver-xorg-legacy            2:1.20.10-1                 amd64        setuid root Xorg server wrapper
ii  xserver-xorg-video-all         1:7.7+21                    amd64        X.Org X server -- output driver metapackage
ii  xserver-xorg-video-amdgpu      19.1.0-1                    amd64        X.Org X server -- AMDGPU display driver
ii  xserver-xorg-video-ati         1:19.1.0-1                  amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-fbdev       1:0.5.0-1                   amd64        X.Org X server -- fbdev display driver
ii  xserver-xorg-video-intel       2:2.99.917+git20200714-1+b1 amd64        X.Org X server -- Intel i8xx, i9xx display driver
un  xserver-xorg-video-mach64      <none>                      <none>       (no description available)
un  xserver-xorg-video-modesetting <none>                      <none>       (no description available)
ii  xserver-xorg-video-nouveau     1:1.0.16-1                  amd64        X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-qxl         0.1.5+git20200331-1         amd64        X.Org X server -- QXL display driver
un  xserver-xorg-video-r128        <none>                      <none>       (no description available)
ii  xserver-xorg-video-radeon      1:19.1.0-1                  amd64        X.Org X server -- AMD/ATI Radeon display driver
ii  xserver-xorg-video-vesa        1:2.5.0-1                   amd64        X.Org X server -- VESA display driver
ii  xserver-xorg-video-vmware      1:13.3.0-3                  amd64        X.Org X server -- VMware display driver

=====================================

so there are at least _some_ wayland related things installed. myself, i am not completely sure, although i believe i am using xorg


====================
here is the krita backtrace:


[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee8cb700 (LWP 3116474)]

Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007ffff4fa62e0 in QPalette::QPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#0  0x00007ffff4fa62e0 in QPalette::QPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007ffff4f77012 in QGuiApplicationPrivate::setPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007ffff4f7c053 in QGuiApplicationPrivate::updatePalette() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#3  0x00007ffff4f7ddb8 in QGuiApplicationPrivate::init() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#4  0x00007ffff4f7eba4 in QGuiApplication::QGuiApplication(int&, char**, int) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007ffff6fa1083 in KisOpenGLModeProber::probeFormat (this=<optimized out>, rendererConfig=..., adjustGlobalState=adjustGlobalState@entry=true) at ./libs/ui/opengl/KisOpenGLModeProber.cpp:184
#6  0x00007ffff6f89478 in KisOpenGL::selectSurfaceConfig (preferredRenderer=preferredRenderer@entry=KisOpenGL::RendererAuto, preferredRootSurfaceFormat=preferredRootSurfaceFormat@entry=KisConfig::BT709_G22, enableDebug=enableDebug@entry=false) at ./libs/ui/opengl/kis_opengl.cpp:733
#7  0x0000555555e275a6 in main (argc=<optimized out>, argv=0x7fffffffe158) at ./krita/main.cc:274
#0  0x00007ffff4fa62e0 in QPalette::QPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#1  0x00007ffff4f77012 in QGuiApplicationPrivate::setPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#2  0x00007ffff4f7c053 in QGuiApplicationPrivate::updatePalette() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#3  0x00007ffff4f7ddb8 in QGuiApplicationPrivate::init() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#4  0x00007ffff4f7eba4 in QGuiApplication::QGuiApplication(int&, char**, int) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#5  0x00007ffff6fa1083 in KisOpenGLModeProber::probeFormat (this=<optimized out>, rendererConfig=..., adjustGlobalState=adjustGlobalState@entry=true) at ./libs/ui/opengl/KisOpenGLModeProber.cpp:184
        format = @0x7fffffffdcd0: {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x55555700aa70}
        sharedContextSetter = {d = 0x55555700a730}
        glSetter = {d = 0x0}
        glesSetter = {d = 0x0}
        formatSetter = {d = 0x55555700aed0}
        rendererSetter = {d = 0x55555700ac20}
        application = {d = 0x0}
        argc = 1
        probeAppName = {d = 0x55555700abc0}
        argv = 0x55555700abd8 "krita"
        surface = <incomplete type>
        context = <incomplete type>
#6  0x00007ffff6f89478 in KisOpenGL::selectSurfaceConfig (preferredRenderer=preferredRenderer@entry=KisOpenGL::RendererAuto, preferredRootSurfaceFormat=preferredRootSurfaceFormat@entry=KisConfig::BT709_G22, enableDebug=enableDebug@entry=false) at ./libs/ui/opengl/kis_opengl.cpp:733
        warningMessages = {d = 0x7ffff4c90960 <QArrayData::shared_null>}
        renderersToTest = {{d = 0x55555700aac0, e = 0x55555700aac0}}
        formatSymbols = {d = 0x55555700a3c0}
        defaultConfig = {format = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x55555700aa70}, angleRenderer = KisOpenGL::AngleRendererD3d11}
        info = {<boost::optional_detail::optional_base<KisOpenGLModeProber::Result>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = 101, m_storage = {dummy_ = {data = "" aligner_ = {<No data fields>}}}}, <No data fields>}
        defaultRenderer = <optimized out>
        preferredAutoRenderer = <optimized out>
        supportedRenderers = {i = <optimized out>}
        compareOp = {m_preferredColorSpace = <optimized out>, m_preferredRendererByQt = <optimized out>, m_preferredRendererByUser = <optimized out>, m_preferredRendererByHDR = <optimized out>, m_openGLBlacklisted = <optimized out>, m_openGLESBlacklisted = <optimized out>}
        preferredByQt = <optimized out>
        preferredConfigs = {d = 0x0}
        resultConfig = {format = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0}, angleRenderer = KisOpenGL::AngleRendererDefault}
#7  0x0000555555e275a6 in main (argc=<optimized out>, argv=0x7fffffffe158) at ./krita/main.cc:274
        rootSurfaceFormat = KisConfig::BT709_G22
        preferredRenderer = KisOpenGL::RendererAuto
        preferredRendererString = {d = 0x55555700a390}
        config = {format = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x55555700a390}, angleRenderer = (unknown: 0x80000000)}
        runningInKDE = false
        key = {d = 0x55555700a340}
        configPath = {d = 0x55555700a3f0}
        kritarc = <incomplete type>
        singleApplication = true
        enableOpenGLDebug = <optimized out>
        openGLDebugSynchronous = false
        logUsage = <optimized out>
        root = {d = 0x1e}
        language = {d = 0x0}
        rightToLeft = <optimized out>
        app = {<QtSingleApplication> = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff5b62fa0 <QApplication::staticMetaObject>}, stringdata = 0x7ffff71a37c0 <qt_meta_stringdata_QtSingleApplication>, data = "" <qt_meta_data_QtSingleApplication>, static_metacall = 0x7ffff6d9dd50 <QtSingleApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, firstPeer = 93825014506568, instances = 0x7ffff458f8a2 <__internal_atexit+66>, pidPeer = 0x13, actWin = 0x14, appId = {d = 0x1}, block = 88}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff7c86fe0 <QtSingleApplication::staticMetaObject>}, stringdata = 0x7ffff71beee0 <qt_meta_stringdata_KisApplication>, data = "" <qt_meta_data_KisApplication>, static_metacall = 0x7ffff6da4780 <KisApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = {d = 0x7fffffffe168}}
        args = {d = {d = 0xe}}
        state = <optimized out>

Thread 2 (Thread 0x7fffee8cb700 (LWP 3116474) "QXcbEventQueue"):
#0  0x00007ffff464439f in __GI___poll (fds=0x7fffee8cac68, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        resultvar = 18446744073709551100
        sc_cancel_oldtype = 0
        sc_ret = <optimized out>
#1  0x00007ffff2006d02 in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#2  0x00007ffff200898a in xcb_wait_for_event () from /lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#3  0x00007fffeee947e0 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#4  0x00007ffff49c9b81 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#5  0x00007ffff2a84ea7 in start_thread (arg=<optimized out>) at pthread_create.c:477
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737195587328, -6272368354883413095, 140737488344366, 140737488344367, 140737195585216, 8396800, 6272334710819904409, 6272378924280306585}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = "" = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#6  0x00007ffff464ed8f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.

Thread 1 (Thread 0x7fffef2ce840 (LWP 3115948) "krita"):
#0  0x00007ffff4fa62e0 in QPalette::QPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#1  0x00007ffff4f77012 in QGuiApplicationPrivate::setPalette(QPalette const&) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#2  0x00007ffff4f7c053 in QGuiApplicationPrivate::updatePalette() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#3  0x00007ffff4f7ddb8 in QGuiApplicationPrivate::init() () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#4  0x00007ffff4f7eba4 in QGuiApplication::QGuiApplication(int&, char**, int) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
No symbol table info available.
#5  0x00007ffff6fa1083 in KisOpenGLModeProber::probeFormat (this=<optimized out>, rendererConfig=..., adjustGlobalState=adjustGlobalState@entry=true) at ./libs/ui/opengl/KisOpenGLModeProber.cpp:184
        format = @0x7fffffffdcd0: {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x55555700aa70}
        sharedContextSetter = {d = 0x55555700a730}
        glSetter = {d = 0x0}
        glesSetter = {d = 0x0}
        formatSetter = {d = 0x55555700aed0}
        rendererSetter = {d = 0x55555700ac20}
        application = {d = 0x0}
        argc = 1
        probeAppName = {d = 0x55555700abc0}
        argv = 0x55555700abd8 "krita"
        surface = <incomplete type>
        context = <incomplete type>
#6  0x00007ffff6f89478 in KisOpenGL::selectSurfaceConfig (preferredRenderer=preferredRenderer@entry=KisOpenGL::RendererAuto, preferredRootSurfaceFormat=preferredRootSurfaceFormat@entry=KisConfig::BT709_G22, enableDebug=enableDebug@entry=false) at ./libs/ui/opengl/kis_opengl.cpp:733
        warningMessages = {d = 0x7ffff4c90960 <QArrayData::shared_null>}
        renderersToTest = {{d = 0x55555700aac0, e = 0x55555700aac0}}
        formatSymbols = {d = 0x55555700a3c0}
        defaultConfig = {format = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x55555700aa70}, angleRenderer = KisOpenGL::AngleRendererD3d11}
        info = {<boost::optional_detail::optional_base<KisOpenGLModeProber::Result>> = {<boost::optional_detail::optional_tag> = {<No data fields>}, m_initialized = 101, m_storage = {dummy_ = {data = "" aligner_ = {<No data fields>}}}}, <No data fields>}
        defaultRenderer = <optimized out>
        preferredAutoRenderer = <optimized out>
        supportedRenderers = {i = <optimized out>}
        compareOp = {m_preferredColorSpace = <optimized out>, m_preferredRendererByQt = <optimized out>, m_preferredRendererByUser = <optimized out>, m_preferredRendererByHDR = <optimized out>, m_openGLBlacklisted = <optimized out>, m_openGLESBlacklisted = <optimized out>}
        preferredByQt = <optimized out>
        preferredConfigs = {d = 0x0}
        resultConfig = {format = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x0}, angleRenderer = KisOpenGL::AngleRendererDefault}
#7  0x0000555555e275a6 in main (argc=<optimized out>, argv=0x7fffffffe158) at ./krita/main.cc:274
        rootSurfaceFormat = KisConfig::BT709_G22
        preferredRenderer = KisOpenGL::RendererAuto
        preferredRendererString = {d = 0x55555700a390}
        config = {format = {static staticMetaObject = {d = {superdata = {direct = 0x0}, stringdata = 0x7ffff5436840, data = "" static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0x55555700a390}, angleRenderer = (unknown: 0x80000000)}
        runningInKDE = false
        key = {d = 0x55555700a340}
        configPath = {d = 0x55555700a3f0}
        kritarc = <incomplete type>
        singleApplication = true
        enableOpenGLDebug = <optimized out>
        openGLDebugSynchronous = false
        logUsage = <optimized out>
        root = {d = 0x1e}
        language = {d = 0x0}
        rightToLeft = <optimized out>
        app = {<QtSingleApplication> = {<QApplication> = {<No data fields>}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff5b62fa0 <QApplication::staticMetaObject>}, stringdata = 0x7ffff71a37c0 <qt_meta_stringdata_QtSingleApplication>, data = "" <qt_meta_data_QtSingleApplication>, static_metacall = 0x7ffff6d9dd50 <QtSingleApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, firstPeer = 93825014506568, instances = 0x7ffff458f8a2 <__internal_atexit+66>, pidPeer = 0x13, actWin = 0x14, appId = {d = 0x1}, block = 88}, static staticMetaObject = {d = {superdata = {direct = 0x7ffff7c86fe0 <QtSingleApplication::staticMetaObject>}, stringdata = 0x7ffff71beee0 <qt_meta_stringdata_KisApplication>, data = "" <qt_meta_data_KisApplication>, static_metacall = 0x7ffff6da4780 <KisApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, d = {d = 0x7fffffffe168}}
        args = {d = {d = 0xe}}
        state = <optimized out>

On Thu, 24 Dec 2020 at 11:01, Pino Toscano <pino@debian.org> wrote:
tag 977329 + moreinfo
thanks

Hi,

In data lunedì 14 dicembre 2020 02:12:14 CET, proctor ha scritto:
> Package: krita
> Version: 1:4.4.1+dfsg-1+b1
> Severity: important
> X-Debbugs-Cc: damonswirled@gmail.com
>
> Dear Maintainer,
>
> *** Reporter, please consider answering these questions, where appropriate ***
>
>    * What led up to the situation?
>    * What exactly did you do (or not do) that was effective (or
>      ineffective)?
>    * What was the outcome of this action?
>    * What outcome did you expect instead?
>
> *** End of the template - remove these template lines ***
>
>
> krita will not open. when i try i get this in dmesg and syslog
>
> [327378.536890] krita[1273329]: segfault at 0 ip 00007efdeea7c190 sp 00007fff99cbf6f8 error 4 in libQt5Gui.so.5.15.1[7efdee9fe000+4c3000]
> [327378.536895] Code: e0 10 48 09 f0 48 c1 e0 10 4c 09 e8 49 89 40 04 31 c0 66 41 89 40 0c 48 83 c4 18 4c 89 c0 5b 5d 41 5c 41 5d 41 5e 41 5f c3 90 <48> 8b 06 8b 56 08 48 89 07 89 57 08 f0 83 00 01 c3 90 66 66 2e 0f
>
> krita does work on a similar system but with AMD video card (this machine
> has nvidia card) so maybe this is a video driver problem instead? is so let
> me know and i will try to file this bug there instead!

Unfortunately this dmesg line is not exactly useful, it merely says it
crashed "somewhere" within QtGui.

Do you still get a crash in an up-to-date testing installation?
What where you doing when krita crashed?
Which desktop environment or WM are you running?
Are you running a Wayland session or an Xorg session?

In case you still get a crash: please follow these two pages to install
the debug packages for krita, and get a stack trace of the crash:
https://wiki.debian.org/HowToGetABacktrace
https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Thanks,
--
Pino Toscano


--
.this message has been rot26 encrypted for security reasons.
gpg 0x385E2954CE572CADE8C091C09479B105A6770473

Reply to: