Bug 414584

Summary: Application: krita (krita), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f2cc8ecf800 (LWP 4432))]
Product: [Applications] krita Reporter: Nioh <frutidoody>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: anonkun, halla
Priority: NOR    
Version First Reported In: 4.2.8   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nioh 2019-11-27 18:45:32 UTC
Application: krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2cc8ecf800 (LWP 4432))]

Thread 2 (Thread 0x7f2ca390e700 (LWP 4437)):
#0  0x00007f2cc3d22bf9 in __GI___poll (fds=0x7f2c9c01cfb0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f2cbc0c65c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f2cbc0c66dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f2cc488db9b in QEventDispatcherGlib::processEvents (this=0x7f2c9c000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f2cc482e06a in QEventLoop::exec (this=this@entry=0x7f2ca390dd70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f2cc46493aa in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f2cbdbf10e5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f2cc464ab52 in QThreadPrivate::start (arg=0x7f2cbde68d80) at thread/qthread_unix.cpp:360
#8  0x00007f2cbd9c36db in start_thread (arg=0x7f2ca390e700) at pthread_create.c:463
#9  0x00007f2cc3d2f88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f2cc8ecf800 (LWP 4432)):
[KCrash Handler]
#6  QThreadStorageData::get (this=0x0) at thread/qthreadstorage.cpp:122
#7  0x00007f2cc470b477 in QThreadStorage<QPcreJitStackPointer*>::hasLocalData (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:142
#8  qtPcreCallback () at tools/qregularexpression.cpp:1094
#9  0x00007f2cbc5e3190 in pcre2_jit_match_16 (code=code@entry=0x5626520c1de0, subject=subject@entry=0x56265a232e38, length=length@entry=30, start_offset=start_offset@entry=0, options=options@entry=0, match_data=match_data@entry=0x5626521c1e80, mcontext=0x5626597fdb60) at src/pcre2_jit_match.c:141
#10 0x00007f2cbc5e8d00 in pcre2_match_16 (code=code@entry=0x5626520c1de0, subject=subject@entry=0x56265a232e38, length=length@entry=30, start_offset=start_offset@entry=0, options=options@entry=0, match_data=match_data@entry=0x5626521c1e80, mcontext=0x5626597fdb60) at src/pcre2_match.c:6154
#11 0x00007f2cc470b616 in safe_pcre2_match_16 (code=0x5626520c1de0, subject=0x56265a232e38, length=length@entry=30, startOffset=startOffset@entry=0, options=options@entry=0, matchData=matchData@entry=0x5626521c1e80, matchContext=0x5626597fdb60) at tools/qregularexpression.cpp:1174
#12 0x00007f2cc470fc4f in QRegularExpressionPrivate::doMatch (previous=0x0, checkSubjectStringOption=QRegularExpressionPrivate::CheckSubjectString, matchOptions=..., matchType=QRegularExpression::NormalMatch, offset=0, subjectLength=30, subjectStart=0, subject=..., this=0x562651c13240) at tools/qregularexpression.cpp:1273
#13 QRegularExpression::match (this=this@entry=0x7ffd0687b9e8, subject=..., offset=offset@entry=0, matchType=matchType@entry=QRegularExpression::NormalMatch, matchOptions=..., matchOptions@entry=...) at tools/qregularexpression.cpp:1681
#14 0x00007f2cbfbd5cb1 in QDomDocumentPrivate::saveDocument (this=0x562651c59880, s=..., indent=1, encUsed=<optimized out>) at dom/qdom.cpp:6444
#15 0x00007f2cbfbdac33 in QDomDocument::toString (this=this@entry=0x7ffd0687bb00, indent=indent@entry=1) at dom/qdom.cpp:6840
#16 0x00007f2cc235798e in KoResourceTagStore::writeXMLFile (this=this@entry=0x562654839c50, tagstore=...) at ./libs/widgets/KoResourceTagStore.cpp:294
#17 0x00007f2cc2358724 in KoResourceTagStore::serializeTags (this=this@entry=0x562654839c50) at ./libs/widgets/KoResourceTagStore.cpp:416
#18 0x00007f2cc235889e in KoResourceTagStore::~KoResourceTagStore (this=0x562654839c50, __in_chrg=<optimized out>) at ./libs/widgets/KoResourceTagStore.cpp:58
#19 0x00007f2cc7a3a7c8 in KoResourceServer<KisResourceBundle, PointerStoragePolicy<KisResourceBundle> >::~KoResourceServer (this=this@entry=0x562654817160, __in_chrg=<optimized out>) at ./libs/widgets/KoResourceServer.h:150
#20 0x00007f2cc7a3ab03 in KoResourceServerSimpleConstruction<KisResourceBundle, PointerStoragePolicy<KisResourceBundle> >::~KoResourceServerSimpleConstruction (this=0x562654817160, __in_chrg=<optimized out>) at ./libs/widgets/KoResourceServer.h:747
#21 KoResourceServerSimpleConstruction<KisResourceBundle, PointerStoragePolicy<KisResourceBundle> >::~KoResourceServerSimpleConstruction (this=0x562654817160, __in_chrg=<optimized out>) at ./libs/widgets/KoResourceServer.h:747
#22 0x00007f2cc7a390f1 in KisResourceBundleServerProvider::~KisResourceBundleServerProvider (this=0x7f2cc8ce98c0 <_ZZN12_GLOBAL__N_116Q_QGS_s_instance13innerFunctionEvE6holder>, __in_chrg=<optimized out>) at ./libs/ui/KisResourceBundleServerProvider.cpp:56
#23 0x00007f2cc7a39109 in (anonymous namespace)::Q_QGS_s_instance::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at ./libs/ui/KisResourceBundleServerProvider.cpp:38
#24 0x00007f2cc3c51041 in __run_exit_handlers (status=0, listp=0x7f2cc3ff9718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#25 0x00007f2cc3c5113a in __GI_exit (status=<optimized out>) at exit.c:139
#26 0x00007f2cc3c2fb9e in __libc_start_main (main=0x56264f58ff00 <main(int, char**)>, argc=1, argv=0x7ffd0687beb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd0687bea8) at ../csu/libc-start.c:344
#27 0x000056264f5926da in _start ()


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2019-11-27 19:51:28 UTC
*** Bug 414586 has been marked as a duplicate of this bug. ***
Comment 2 Halla Rempt 2019-12-04 12:54:44 UTC

*** This bug has been marked as a duplicate of bug 410867 ***