Bug 460825 - Segfault on startup with fresh install (all versions)
Summary: Segfault on startup with fresh install (all versions)
Status: RESOLVED DOWNSTREAM
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: 5.1.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-21 19:21 UTC by gapokev808
Modified: 2022-10-24 15:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Longer coredumpctl (19.55 KB, text/plain)
2022-10-21 19:21 UTC, gapokev808
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gapokev808 2022-10-21 19:21:34 UTC
Created attachment 153098 [details]
Longer coredumpctl

SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. type `krita` in terminal emulator

OBSERVED RESULT
Segmentation fault within a tenth of a second

EXPECTED RESULT
The program should open

SOFTWARE/OS VERSIONS
Literally ran `sudo Pacman -Syu` three minutes before running the program, before and after a reboot.

ADDITIONAL INFORMATION
Stack trace of thread 7494:
                #0  0x00007f883f1840dd _ZN14QOpenGLContext6createEv (libQt5Gui.so.5 + 0x1840dd)
                #1  0x00007f883860b191 n/a (KDEPlasmaPlatformTheme.so + 0x39191)
                #2  0x00007f883ec9202f _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x29202f)
                #3  0x00007f883ec92262 _ZN16QCoreApplicationC1ERiPPci (libQt5Core.so.5 + 0x292262)
                #4  0x0000559908571e27 n/a (krita + 0x5e27)
                #5  0x00007f883e43c290 n/a (libc.so.6 + 0x23290)
                #6  0x00007f883e43c34a __libc_start_main (libc.so.6 + 0x2334a)
                #7  0x0000559908575a55 n/a (krita + 0x9a55)
                
                Stack trace of thread 7495:
                #0  0x00007f883e5140bf __poll (libc.so.6 + 0xfb0bf)
                #1  0x00007f883c56fe2f n/a (libglib-2.0.so.0 + 0xabe2f)
                #2  0x00007f883c5180d2 g_main_context_iteration (libglib-2.0.so.0 + 0x540d2)
                #3  0x00007f883ecd750c _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d750c)
                #4  0x00007f883ec8532c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28532c)
                #5  0x00007f883eae749f _ZN7QThread4execEv (libQt5Core.so.5 + 0xe749f)
                #6  0x00007f883c3f7cba n/a (libQt5DBus.so.5 + 0x23cba)
                #7  0x00007f883eae42ba n/a (libQt5Core.so.5 + 0xe42ba)
                #8  0x00007f883e49f8fd n/a (libc.so.6 + 0x868fd)
                #9  0x00007f883e521a60 n/a (libc.so.6 + 0x108a60)
                ELF object binary architecture: AMD x86-64
Comment 1 gapokev808 2022-10-21 19:24:19 UTC
To clarify: I additionally downloaded and tested 5.1.0, 5.0.8, 5.0.6, all of which had the exact same output.
Comment 2 vanyossi 2022-10-21 20:20:36 UTC
For linux we recommend using the Appgimage (https://krita.org/en/download/krita-desktop/) as we use a heavily patched Qt-5.12 and is mantained by us.

This is likely a bug in archlinux packaging and should be reported to their package mantainer: https://archlinux.org/packages/extra/x86_64/krita/