Bug 410979 - Crashes after reading a ODS file opened from Dolphin via webdav (connected to box.com)
Summary: Crashes after reading a ODS file opened from Dolphin via webdav (connected to...
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 3.1.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2019-08-16 12:55 UTC by Harald
Modified: 2022-11-09 05:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Harald 2019-08-16 12:55:57 UTC
Application: calligrasheets (3.1.0)

Qt Version: 5.13.0
Frameworks Version: 5.60.0
Operating System: Linux 5.2.8-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I have a ODS file on box.com, which I connect to via webdav set up in Dolphin. I did not make any changes to the file nor did I try to save, but when I closed Caligra, it crashed instead.

I'm running OpenSuse tumbleweed.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe8a9878080 (LWP 20142))]

Thread 2 (Thread 0x7fe8a630e700 (LWP 20144)):
#0  qt_gettime () at kernel/qelapsedtimer_unix.cpp:173
#1  0x00007fe8ad02dbf9 in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fe898004d20) at kernel/qtimerinfo_unix.cpp:91
#2  0x00007fe8ad02e1c5 in QTimerInfoList::timerWait (this=0x7fe898004d20, tm=...) at kernel/qtimerinfo_unix.cpp:388
#3  0x00007fe8ad02f73e in timerSourcePrepareHelper (timeout=0x7fe8a630db24, src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:162
#4  timerSourcePrepare (source=<optimized out>, timeout=0x7fe8a630db24) at kernel/qeventdispatcher_glib.cpp:166
#5  0x00007fe8aa850c8f in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#6  0x00007fe8aa8512cb in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007fe8aa85146f in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#8  0x00007fe8ad02f9db in QEventDispatcherGlib::processEvents (this=0x7fe898000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#9  0x00007fe8acfd823b in QEventLoop::exec (this=this@entry=0x7fe8a630dcf0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:140
#10 0x00007fe8ace10f91 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#11 0x00007fe8ab6b44f6 in ?? () from /usr/lib64/libQt5DBus.so.5
#12 0x00007fe8ace12112 in QThreadPrivate::start (arg=0x7fe8ab736d80) at thread/qthread_unix.cpp:360
#13 0x00007fe8aaf71faa in start_thread () from /lib64/libpthread.so.0
#14 0x00007fe8ade6473f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fe8a9878080 (LWP 20142)):
[KCrash Handler]
#6  QThreadStorageData::get (this=0x0) at ../../include/QtCore/../../src/corelib/tools/qvector.h:86
#7  0x00007fe8acec5aa7 in QThreadStorage<QPcreJitStackPointer*>::hasLocalData (this=<optimized out>) at ../../include/QtCore/../../src/corelib/thread/qthreadstorage.h:141
#8  qtPcreCallback () at tools/qregularexpression.cpp:1094
#9  0x00007fe8aa976f52 in pcre2_jit_match_16 (code=code@entry=0x55a640134660, subject=subject@entry=0x55a63f3036e8, length=length@entry=30, start_offset=start_offset@entry=0, options=options@entry=0, match_data=match_data@entry=0x55a641ca75d0, mcontext=0x55a64063aed0) at src/pcre2_jit_match.c:141
#10 0x00007fe8aa97cfb6 in pcre2_match_16 (code=code@entry=0x55a640134660, subject=subject@entry=0x55a63f3036e8, length=length@entry=30, start_offset=start_offset@entry=0, options=options@entry=0, match_data=match_data@entry=0x55a641ca75d0, mcontext=0x55a64063aed0) at src/pcre2_match.c:6196
#11 0x00007fe8acec5c38 in safe_pcre2_match_16 (code=0x55a640134660, subject=0x55a63f3036e8, length=30, startOffset=0, options=0, matchData=0x55a641ca75d0, matchContext=0x55a64063aed0) at tools/qregularexpression.cpp:1173
#12 0x00007fe8acec9619 in QRegularExpressionPrivate::doMatch (this=0x55a641b10bb0, subject=..., subjectStart=0, subjectLength=30, offset=0, matchType=<optimized out>, matchOptions=..., checkSubjectStringOption=QRegularExpressionPrivate::CheckSubjectString, previous=0x0) at tools/qregularexpression.cpp:1273
#13 0x00007fe8acec9a7c in QRegularExpression::match (this=this@entry=0x7fff420830f8, subject=..., offset=offset@entry=0, matchType=matchType@entry=QRegularExpression::NormalMatch, matchOptions=matchOptions@entry=...) at ../../include/QtCore/../../src/corelib/tools/qstring.h:932
#14 0x00007fe8ab750845 in QDomDocumentPrivate::saveDocument (this=0x55a63f753cb0, s=..., indent=1, encUsed=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:120
#15 0x00007fe8ab755264 in QDomDocument::toString (this=this@entry=0x7fff42083218, indent=indent@entry=1) at dom/qdom.cpp:6840
#16 0x00007fe8acad733e in KoResourceTagStore::writeXMLFile (this=this@entry=0x55a6418507a0, tagstore=...) at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceTagStore.cpp:244
#17 0x00007fe8acad7677 in KoResourceTagStore::serializeTags (this=this@entry=0x55a6418507a0) at /usr/include/qt5/QtCore/qstringbuilder.h:313
#18 0x00007fe8acad774e in KoResourceTagStore::~KoResourceTagStore (this=<optimized out>, this=<optimized out>) at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceTagStore.cpp:52
#19 0x00007fe8acac34e9 in KoResourceServer<KoPattern, PointerStoragePolicy<KoPattern> >::~KoResourceServer (this=<optimized out>, this=<optimized out>) at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceServer.h:700
#20 KoResourceServerSimpleConstruction<KoPattern, PointerStoragePolicy<KoPattern> >::~KoResourceServerSimpleConstruction (this=<optimized out>, this=<optimized out>) at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceServer.h:700
#21 KoResourceServerSimpleConstruction<KoPattern, PointerStoragePolicy<KoPattern> >::~KoResourceServerSimpleConstruction (this=<optimized out>, this=<optimized out>) at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceServer.h:700
#22 0x00007fe8acabdf09 in KoResourceServerProvider::~KoResourceServerProvider (this=<optimized out>, this=<optimized out>) at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceServerProvider.cpp:215
#23 0x00007fe8acabdf69 in (anonymous namespace)::Q_QGS_s_instance::innerFunction()::Holder::~Holder() () at /usr/src/debug/calligra-3.1.0-4.1.x86_64/libs/widgets/KoResourceServerProvider.cpp:222
#24 0x00007fe8adda5500 in __run_exit_handlers () from /lib64/libc.so.6
#25 0x00007fe8adda563c in exit () from /lib64/libc.so.6
#26 0x00007fe8add8dbd2 in __libc_start_main () from /lib64/libc.so.6
#27 0x000055a63d3f608a in _start () at ../sysdeps/x86_64/start.S:120
[Inferior 1 (process 20142) detached]

Reported using DrKonqi
Comment 1 Christoph Feck 2019-09-09 13:38:24 UTC
Global object KoResourceServerProvider probably references already deleted objects.
Comment 2 Justin Zobel 2022-09-25 22:38:33 UTC
Thank you for reporting this crash in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the crash with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-10-10 04:52:08 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Harald 2022-10-10 06:59:43 UTC
Not a problem in newer version of Calligra
Comment 5 Bug Janitor Service 2022-10-25 05:00:31 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2022-11-09 05:11:54 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!