Bug 391018 - Crash after adding new column in Calligra Sheets
Summary: Crash after adding new column in Calligra Sheets
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: 3.2.1
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: drkonqi
: 373743 374407 376742 387992 411233 419480 420643 421067 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-24 18:43 UTC by Luke-Jr
Modified: 2022-05-21 22:43 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Problematic spreadsheet (27.39 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-06-19 20:54 UTC, Luke-Jr
Details
New crash information added by DrKonqi (7.63 KB, text/plain)
2021-09-11 11:35 UTC, Rob Mamede
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Luke-Jr 2018-02-24 18:43:29 UTC
Application: calligrasheets (3.0.1)

Qt Version: 5.7.1
Frameworks Version: 5.40.0
Operating System: Linux 4.15.1-gentoo x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:

Inserted a new column successfully, but after trying to enter data for it, Calligra Sheets crashed.

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 0x7fc7715f37c0 (LWP 1141))]

Thread 10 (Thread 0x7fc73259f700 (LWP 1153)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed50b5fcc0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed50b5fc70, cond=0x55ed50b5fc98) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed50b5fc98, mutex=0x55ed50b5fc70) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed50b5fc70, cond=0x55ed50b5fc98) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed509a15b0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc73259f700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 9 (Thread 0x7fc732da0700 (LWP 1152)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed50b5fcc0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed50b5fc70, cond=0x55ed50b5fc98) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed50b5fc98, mutex=0x55ed50b5fc70) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed50b5fc70, cond=0x55ed50b5fc98) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed50831550) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc732da0700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 8 (Thread 0x7fc7335a1700 (LWP 1151)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed50b5fbd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed50b5fb88, cond=0x55ed50b5fbb0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed50b5fbb0, mutex=0x55ed50b5fb88) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed50b5fb88, cond=0x55ed50b5fbb0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed509a15b0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc7335a1700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 7 (Thread 0x7fc733da2700 (LWP 1150)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed50b5fbd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed50b5fb88, cond=0x55ed50b5fbb0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed50b5fbb0, mutex=0x55ed50b5fb88) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed50b5fb88, cond=0x55ed50b5fbb0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed50828250) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc733da2700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 6 (Thread 0x7fc7345a3700 (LWP 1149)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed50b5fbd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed50b5fb88, cond=0x55ed50b5fbb0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed50b5fbb0, mutex=0x55ed50b5fb88) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed50b5fb88, cond=0x55ed50b5fbb0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed509a15b0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc7345a3700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 5 (Thread 0x7fc734fa9700 (LWP 1148)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed508b3b00) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed508b3ab0, cond=0x55ed508b3ad8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed508b3ad8, mutex=0x55ed508b3ab0) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed508b3ab0, cond=0x55ed508b3ad8) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed508d8fc0) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc734fa9700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7fc7358eb700 (LWP 1147)):
#0  0x00007fc767412d5e in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ed50b5f5d0) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ed50b5f580, cond=0x55ed50b5f5a8) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ed50b5f5a8, mutex=0x55ed50b5f580) at pthread_cond_wait.c:655
#3  0x00007fc743e8442a in cnd_wait (mtx=0x55ed50b5f580, cond=0x55ed50b5f5a8) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:159
#4  util_queue_thread_func (input=input@entry=0x55ed508a0980) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/src/util/u_queue.c:171
#5  0x00007fc743e842c9 in impl_thrd_routine (p=<optimized out>) at /var/tmp/portage/media-libs/mesa-17.2.8/work/mesa-17.2.8/include/c11/threads_posix.h:87
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc7358eb700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7fc7588f1700 (LWP 1145)):
#0  0x00007fc765ffac5d in g_main_context_check (context=context@entry=0x7fc74c0030d0, max_priority=2147483647, fds=fds@entry=0x7fc74c001350, n_fds=n_fds@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3823
#1  0x00007fc765ffb2b9 in g_main_context_iterate (context=context@entry=0x7fc74c0030d0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3969
#2  0x00007fc765ffb3fc in g_main_context_iteration (context=0x7fc74c0030d0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#3  0x00007fc76f4dbb4b in QEventDispatcherGlib::processEvents (this=0x7fc74c003000, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fc76f47be3a in QEventLoop::exec (this=this@entry=0x7fc7588f0db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fc76f29ed5f in QThread::exec (this=this@entry=0x7fc76a430060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007fc76a1b0b03 in QDBusConnectionManager::run (this=0x7fc76a430060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#7  0x00007fc76f2a43ac in QThreadPrivate::start (arg=0x7fc76a430060 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:368
#8  0x00007fc76740ba53 in start_thread (arg=0x7fc7588f1700) at pthread_create.c:456
#9  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7fc75b27d700 (LWP 1142)):
#0  0x00007fc770f8357d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fc762e5b9ff in poll (__timeout=-1, __nfds=1, __fds=0x7fc75b27cce8) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=c@entry=0x55ed507052e0, cond=cond@entry=0x55ed50705320, vector=vector@entry=0x0, count=count@entry=0x0) at /var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_conn.c:479
#3  0x00007fc762e5e180 in xcb_wait_for_event (c=0x55ed507052e0) at /var/tmp/portage/x11-libs/libxcb-1.12-r2/work/libxcb-1.12/src/xcb_in.c:693
#4  0x00007fc75cd873b9 in QXcbEventReader::run (this=0x55ed50718310) at qxcbconnection.cpp:1343
#5  0x00007fc76f2a43ac in QThreadPrivate::start (arg=0x55ed50718310) at thread/qthread_unix.cpp:368
#6  0x00007fc76740ba53 in start_thread (arg=0x7fc75b27d700) at pthread_create.c:456
#7  0x00007fc770f8f83f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7fc7715f37c0 (LWP 1141)):
[KCrash Handler]
#6  0x0000000000000021 in ?? ()
#7  0x00007fc749f221fd in QCache<QPoint, Calligra::Sheets::Style>::clear (this=0x55ed50c65cb8) at /usr/include/qt5/QtCore/qcache.h:124
#8  0x00007fc749f1ae02 in Calligra::Sheets::StyleStorage::invalidateCache (this=0x55ed50c6aa70) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1/sheets/StyleStorage.cpp:681
#9  0x00007fc749e0d741 in Calligra::Sheets::CellStorage::invalidateStyleCache (this=<optimized out>) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1/sheets/CellStorage.cpp:1725
#10 0x00007fc749ece1f0 in Calligra::Sheets::Map::handleDamages (this=0x55ed507cb190, damages=...) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1/sheets/Map.cpp:674
#11 0x00007fc76f4adeb8 in QMetaObject::activate (sender=sender@entry=0x55ed507cb190, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff44e61f30) at kernel/qobject.cpp:3740
#12 0x00007fc76f4ae2e7 in QMetaObject::activate (sender=sender@entry=0x55ed507cb190, m=m@entry=0x7fc74a218040 <Calligra::Sheets::Map::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff44e61f30) at kernel/qobject.cpp:3602
#13 0x00007fc749fb5c31 in Calligra::Sheets::Map::damagesFlushed (this=this@entry=0x55ed507cb190, _t1=...) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1_build/sheets/calligrasheetsodf_autogen/EWIEGA46WW/moc_Map.cpp:214
#14 0x00007fc749ecbc22 in Calligra::Sheets::Map::flushDamages (this=0x55ed507cb190) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1/sheets/Map.cpp:648
#15 0x00007fc76f4aecb8 in QObject::event (this=0x55ed507cb190, e=<optimized out>) at kernel/qobject.cpp:1263
#16 0x00007fc76fa2f6ef in QApplicationPrivate::notify_helper (this=this@entry=0x55ed506f7360, receiver=receiver@entry=0x55ed507cb190, e=e@entry=0x55ed52d2b4a0) at kernel/qapplication.cpp:3799
#17 0x00007fc76fa39787 in QApplication::notify (this=0x7fff44e625f0, receiver=0x55ed507cb190, e=0x55ed52d2b4a0) at kernel/qapplication.cpp:3556
#18 0x00007fc770bd3016 in KoApplication::notify (this=<optimized out>, receiver=0x55ed507cb190, event=0x55ed52d2b4a0) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1/libs/main/KoApplication.cpp:657
#19 0x00007fc76f47d5b6 in QCoreApplication::notifyInternal2 (receiver=0x55ed507cb190, event=event@entry=0x55ed52d2b4a0) at kernel/qcoreapplication.cpp:988
#20 0x00007fc76f48033b in QCoreApplication::sendEvent (event=0x55ed52d2b4a0, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55ed506ee550) at kernel/qcoreapplication.cpp:1649
#22 0x00007fc76f480683 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#23 0x00007fc76f4dba66 in postEventSourceDispatch (s=s@entry=0x55ed50761a30) at kernel/qeventdispatcher_glib.cpp:276
#24 0x00007fc765ffb09c in g_main_dispatch (context=0x7fc7540016f0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3234
#25 g_main_context_dispatch (context=context@entry=0x7fc7540016f0) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3899
#26 0x00007fc765ffb2cb in g_main_context_iterate (context=context@entry=0x7fc7540016f0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:3972
#27 0x00007fc765ffb3fc in g_main_context_iteration (context=0x7fc7540016f0, may_block=may_block@entry=1) at /var/tmp/portage/dev-libs/glib-2.52.3/work/glib-2.52.3/glib/gmain.c:4033
#28 0x00007fc76f4dbb26 in QEventDispatcherGlib::processEvents (this=0x55ed5074c080, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007fc76f47be3a in QEventLoop::exec (this=this@entry=0x7fff44e62560, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#30 0x00007fc76f484ef8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#31 0x00007fc77124fc36 in kdemain (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/app-office/calligra-3.0.1/work/calligra-3.0.1/sheets/part/Main.cpp:65
#32 0x00007fc770eac4cc in __libc_start_main (main=0x55ed504c7ba0 <main>, argc=2, argv=0x7fff44e62748, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff44e62738) at ../csu/libc-start.c:295
#33 0x000055ed504c7c1a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2019-09-17 00:25:38 UTC
*** Bug 411233 has been marked as a duplicate of this bug. ***
Comment 2 Christoph Feck 2019-09-17 00:26:13 UTC
*** Bug 387992 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2019-09-17 00:27:00 UTC
*** Bug 376742 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2019-09-17 00:27:24 UTC
*** Bug 374407 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2019-09-17 00:28:00 UTC
*** Bug 373743 has been marked as a duplicate of this bug. ***
Comment 6 Sam Dyer 2020-05-06 09:04:38 UTC
*** Bug 421067 has been marked as a duplicate of this bug. ***
Comment 7 Christoph Feck 2020-05-14 02:41:08 UTC
*** Bug 420643 has been marked as a duplicate of this bug. ***
Comment 8 Christoph Feck 2020-05-14 02:41:31 UTC
*** Bug 419480 has been marked as a duplicate of this bug. ***
Comment 9 Tomas Mecir 2020-05-30 16:13:31 UTC
Hrm, unable to reproduce this, is it still happening in the latest version?
Comment 10 Luke-Jr 2020-10-14 19:35:40 UTC
With 3.2.1 (only version in Gentoo), adding a new row above a row I just added crashes every time.
Comment 11 Luke-Jr 2021-06-19 20:48:01 UTC
==50468== Thread 136 QThread:
==50468== Conditional jump or move depends on uninitialised value(s)
==50468==    at 0x6B077BC: KoShapeGroup::size() const (KoShapeGroup.cpp:125)
==50468==    by 0x6AF51B7: KoShape::setSize(QSizeF const&) (KoShape.cpp:340)
==50468==    by 0x6B07723: KoShapeGroup::KoShapeGroup() (KoShapeGroup.cpp:102)
==50468==    by 0x6B33B7F: KoShapeRegistry::createShapeFromOdf(KoXmlElement const&, KoShapeLoadingContext&) const (KoShapeRegistry.cpp:254)
==50468==    by 0x135E1853: StencilShapeFactory::createFromOdf(KoStore*, KoDocumentResourceManager*) const (StencilShapeFactory.cpp:110)
==50468==    by 0x135E26C7: StencilShapeFactory::createDefaultShape(KoDocumentResourceManager*) const (StencilShapeFactory.cpp:159)
==50468==    by 0x135D8DF3: StencilBoxDockerLoader::addCollection(QString const&) (StencilBoxDocker.cpp:324)
==50468==    by 0x135D9487: StencilBoxDockerLoader::loadShapeCollections() (StencilBoxDocker.cpp:244)
==50468==    by 0x135D238F: StencilBoxDockerLoader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_StencilBoxDocker_p.cpp:81)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==    by 0x5DE852B: QObject::event(QEvent*) (qobject.cpp:1314)
==50468==    by 0x533D5A7: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3632)
==50468==  Uninitialised value was created by a heap allocation
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x6B0768B: KoShapeGroup::KoShapeGroup() (KoShapeGroup.cpp:100)
==50468==    by 0x6B33B7F: KoShapeRegistry::createShapeFromOdf(KoXmlElement const&, KoShapeLoadingContext&) const (KoShapeRegistry.cpp:254)
==50468==    by 0x135E1853: StencilShapeFactory::createFromOdf(KoStore*, KoDocumentResourceManager*) const (StencilShapeFactory.cpp:110)
==50468==    by 0x135E26C7: StencilShapeFactory::createDefaultShape(KoDocumentResourceManager*) const (StencilShapeFactory.cpp:159)
==50468==    by 0x135D8DF3: StencilBoxDockerLoader::addCollection(QString const&) (StencilBoxDocker.cpp:324)
==50468==    by 0x135D9487: StencilBoxDockerLoader::loadShapeCollections() (StencilBoxDocker.cpp:244)
==50468==    by 0x135D238F: StencilBoxDockerLoader::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_StencilBoxDocker_p.cpp:81)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==    by 0x5DE852B: QObject::event(QEvent*) (qobject.cpp:1314)
==50468==    by 0x533D5A7: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3632)
==50468==    by 0x53498C7: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:2972)
==50468== 
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
virtual bool EnhancedPathShapeFactory::supports(const KoXmlElement&, KoShapeLoadingContext&) const "custom-shape"
==50468== Thread 1:
==50468== Invalid read of size 8
==50468==    at 0x13180E34: clear (qcache.h:124)
==50468==    by 0x13180E34: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==    by 0x5DE852B: QObject::event(QEvent*) (qobject.cpp:1314)
==50468==    by 0x533D5A7: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3632)
==50468==  Address 0x15221170 is 0 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid write of size 8
==50468==    at 0x1315FB74: Calligra::Sheets::Style::~Style() (Style.cpp:160)
==50468==    by 0x1315FC83: Calligra::Sheets::Style::~Style() (Style.cpp:162)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==    by 0x5DE852B: QObject::event(QEvent*) (qobject.cpp:1314)
==50468==  Address 0x15221170 is 0 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid read of size 8
==50468==    at 0x1315FB78: ~QSharedDataPointer (qshareddata.h:93)
==50468==    by 0x1315FB78: Calligra::Sheets::Style::~Style() (Style.cpp:160)
==50468==    by 0x1315FC83: Calligra::Sheets::Style::~Style() (Style.cpp:162)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==    by 0x5DE852B: QObject::event(QEvent*) (qobject.cpp:1314)
==50468==  Address 0x15221178 is 8 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid free() / delete / delete[] / realloc()
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FC8F: Calligra::Sheets::Style::~Style() (Style.cpp:162)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Address 0x15221170 is 0 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid read of size 8
==50468==    at 0x1315C8A0: QSharedDataPointer (qshareddata.h:96)
==50468==    by 0x1315C8A0: Calligra::Sheets::Style::Style(Calligra::Sheets::Style const&) (Style.cpp:156)
==50468==    by 0x13186B9B: Calligra::Sheets::StyleStorage::contains(QPoint const&) const (StyleStorage.cpp:215)
==50468==    by 0x13071533: Calligra::Sheets::Cell::style() const (Cell.cpp:327)
==50468==    by 0x12ECB293: Calligra::Sheets::CellView::CellView(Calligra::Sheets::SheetView*, int, int) (CellView.cpp:202)
==50468==    by 0x12EE1A6B: Calligra::Sheets::SheetView::createCellView(int, int) (SheetView.cpp:682)
==50468==    by 0x12EE2C07: Calligra::Sheets::SheetView::cellView(int, int) (SheetView.cpp:245)
==50468==    by 0x12EE3373: Calligra::Sheets::SheetView::Private::cellViewToProcess(Calligra::Sheets::Cell&, QPointF&, QSet<Calligra::Sheets::Cell>&, Calligra::Sheets::SheetView*, QRect const&) (SheetView.cpp:150)
==50468==    by 0x12EE4BBF: Calligra::Sheets::SheetView::paintCells(QPainter&, QRectF const&, QPointF const&, Calligra::Sheets::CanvasBase*, QRect const&) (SheetView.cpp:384)
==50468==    by 0x12E20793: Calligra::Sheets::CanvasBase::paint(QPainter*, QRectF const&) (CanvasBase.cpp:473)
==50468==    by 0x12E25227: Calligra::Sheets::Canvas::paintEvent(QPaintEvent*) (Canvas.cpp:316)
==50468==    by 0x539DFCB: QWidget::event(QEvent*) (qwidget.cpp:8800)
==50468==    by 0x12E2618F: Calligra::Sheets::Canvas::event(QEvent*) (Canvas.cpp:310)
==50468==  Address 0x15221178 is 8 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid read of size 8
==50468==    at 0x1315C8A0: QSharedDataPointer (qshareddata.h:96)
==50468==    by 0x1315C8A0: Calligra::Sheets::Style::Style(Calligra::Sheets::Style const&) (Style.cpp:156)
==50468==    by 0x13186D2F: Calligra::Sheets::StyleStorage::contains(QPoint const&) const (StyleStorage.cpp:243)
==50468==    by 0x13071533: Calligra::Sheets::Cell::style() const (Cell.cpp:327)
==50468==    by 0x12EC50AB: Calligra::Sheets::CellView::Private::calculateCellBorders(Calligra::Sheets::Cell const&, Calligra::Sheets::SheetView*) (CellView.cpp:460)
==50468==    by 0x12ECB5C3: Calligra::Sheets::CellView::CellView(Calligra::Sheets::SheetView*, int, int) (CellView.cpp:285)
==50468==    by 0x12EE1A6B: Calligra::Sheets::SheetView::createCellView(int, int) (SheetView.cpp:682)
==50468==    by 0x12EE2C07: Calligra::Sheets::SheetView::cellView(int, int) (SheetView.cpp:245)
==50468==    by 0x12EE3373: Calligra::Sheets::SheetView::Private::cellViewToProcess(Calligra::Sheets::Cell&, QPointF&, QSet<Calligra::Sheets::Cell>&, Calligra::Sheets::SheetView*, QRect const&) (SheetView.cpp:150)
==50468==    by 0x12EE4BBF: Calligra::Sheets::SheetView::paintCells(QPainter&, QRectF const&, QPointF const&, Calligra::Sheets::CanvasBase*, QRect const&) (SheetView.cpp:384)
==50468==    by 0x12E20793: Calligra::Sheets::CanvasBase::paint(QPainter*, QRectF const&) (CanvasBase.cpp:473)
==50468==    by 0x12E25227: Calligra::Sheets::Canvas::paintEvent(QPaintEvent*) (Canvas.cpp:316)
==50468==    by 0x539DFCB: QWidget::event(QEvent*) (qwidget.cpp:8800)
==50468==  Address 0x15221178 is 8 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid read of size 8
==50468==    at 0x1315C8A0: QSharedDataPointer (qshareddata.h:96)
==50468==    by 0x1315C8A0: Calligra::Sheets::Style::Style(Calligra::Sheets::Style const&) (Style.cpp:156)
==50468==    by 0x13186B9B: Calligra::Sheets::StyleStorage::contains(QPoint const&) const (StyleStorage.cpp:215)
==50468==    by 0x13071533: Calligra::Sheets::Cell::style() const (Cell.cpp:327)
==50468==    by 0x12EC5157: Calligra::Sheets::CellView::Private::calculateCellBorders(Calligra::Sheets::Cell const&, Calligra::Sheets::SheetView*) (CellView.cpp:466)
==50468==    by 0x12ECB5C3: Calligra::Sheets::CellView::CellView(Calligra::Sheets::SheetView*, int, int) (CellView.cpp:285)
==50468==    by 0x12EE1A6B: Calligra::Sheets::SheetView::createCellView(int, int) (SheetView.cpp:682)
==50468==    by 0x12EE2C07: Calligra::Sheets::SheetView::cellView(int, int) (SheetView.cpp:245)
==50468==    by 0x12EE3373: Calligra::Sheets::SheetView::Private::cellViewToProcess(Calligra::Sheets::Cell&, QPointF&, QSet<Calligra::Sheets::Cell>&, Calligra::Sheets::SheetView*, QRect const&) (SheetView.cpp:150)
==50468==    by 0x12EE4BBF: Calligra::Sheets::SheetView::paintCells(QPainter&, QRectF const&, QPointF const&, Calligra::Sheets::CanvasBase*, QRect const&) (SheetView.cpp:384)
==50468==    by 0x12E20793: Calligra::Sheets::CanvasBase::paint(QPainter*, QRectF const&) (CanvasBase.cpp:473)
==50468==    by 0x12E25227: Calligra::Sheets::Canvas::paintEvent(QPaintEvent*) (Canvas.cpp:316)
==50468==    by 0x539DFCB: QWidget::event(QEvent*) (qwidget.cpp:8800)
==50468==  Address 0x15221178 is 8 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid read of size 8
==50468==    at 0x1315C8A0: QSharedDataPointer (qshareddata.h:96)
==50468==    by 0x1315C8A0: Calligra::Sheets::Style::Style(Calligra::Sheets::Style const&) (Style.cpp:156)
==50468==    by 0x13186B9B: Calligra::Sheets::StyleStorage::contains(QPoint const&) const (StyleStorage.cpp:215)
==50468==    by 0x13071533: Calligra::Sheets::Cell::style() const (Cell.cpp:327)
==50468==    by 0x12EC5203: Calligra::Sheets::CellView::Private::calculateCellBorders(Calligra::Sheets::Cell const&, Calligra::Sheets::SheetView*) (CellView.cpp:472)
==50468==    by 0x12ECB5C3: Calligra::Sheets::CellView::CellView(Calligra::Sheets::SheetView*, int, int) (CellView.cpp:285)
==50468==    by 0x12EE1A6B: Calligra::Sheets::SheetView::createCellView(int, int) (SheetView.cpp:682)
==50468==    by 0x12EE2C07: Calligra::Sheets::SheetView::cellView(int, int) (SheetView.cpp:245)
==50468==    by 0x12EE3373: Calligra::Sheets::SheetView::Private::cellViewToProcess(Calligra::Sheets::Cell&, QPointF&, QSet<Calligra::Sheets::Cell>&, Calligra::Sheets::SheetView*, QRect const&) (SheetView.cpp:150)
==50468==    by 0x12EE4BBF: Calligra::Sheets::SheetView::paintCells(QPainter&, QRectF const&, QPointF const&, Calligra::Sheets::CanvasBase*, QRect const&) (SheetView.cpp:384)
==50468==    by 0x12E20793: Calligra::Sheets::CanvasBase::paint(QPainter*, QRectF const&) (CanvasBase.cpp:473)
==50468==    by 0x12E25227: Calligra::Sheets::Canvas::paintEvent(QPaintEvent*) (Canvas.cpp:316)
==50468==    by 0x539DFCB: QWidget::event(QEvent*) (qwidget.cpp:8800)
==50468==  Address 0x15221178 is 8 bytes inside a block of size 24 free'd
==50468==    at 0x4899480: operator delete(void*) (vg_replace_malloc.c:802)
==50468==    by 0x1315FD9B: Calligra::Sheets::CustomStyle::~CustomStyle() (Style.cpp:1490)
==50468==    by 0x13180E43: clear (qcache.h:124)
==50468==    by 0x13180E43: Calligra::Sheets::StyleStorage::invalidateCache() (StyleStorage.cpp:681)
==50468==    by 0x130832D7: Calligra::Sheets::CellStorage::invalidateStyleCache() (CellStorage.cpp:1725)
==50468==    by 0x131203C3: Calligra::Sheets::Map::handleDamages(QList<Calligra::Sheets::Damage*> const&) (Map.cpp:674)
==50468==    by 0x13002283: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:121)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x13001BD7: Calligra::Sheets::Map::damagesFlushed(QList<Calligra::Sheets::Damage*> const&) (moc_Map.cpp:220)
==50468==    by 0x1311D333: Calligra::Sheets::Map::flushDamages() (Map.cpp:648)
==50468==    by 0x13002273: Calligra::Sheets::Map::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_Map.cpp:120)
==50468==    by 0x5DDE93F: QMetaCallEvent::placeMetaCall(QObject*) (qobject.cpp:617)
==50468==  Block was alloc'd at
==50468==    at 0x48960A4: operator new(unsigned long) (vg_replace_malloc.c:417)
==50468==    by 0x1317BF2F: Calligra::Sheets::StyleManager::resetDefaultStyle() (StyleManager.cpp:124)
==50468==    by 0x13223723: Calligra::Sheets::Odf::loadStyleTemplate(Calligra::Sheets::StyleManager*, KoOdfStylesReader&, Calligra::Sheets::Map*) (SheetsOdfStyle.cpp:157)
==50468==    by 0x131F4253: Calligra::Sheets::Odf::loadMap(Calligra::Sheets::Map*, KoXmlElement const&, KoOdfLoadingContext&) (SheetsOdfMap.cpp:103)
==50468==    by 0x131ED3B3: Calligra::Sheets::Odf::loadDocument(Calligra::Sheets::DocBase*, KoOdfReadStore&) (SheetsOdfDoc.cpp:114)
==50468==    by 0x13101693: .LTHUNK4 (DocBase.cpp:139)
==50468==    by 0x4BAA5FB: .LTHUNK9 (KoDocument.cpp:1949)
==50468==    by 0x4BBAD97: KoDocument::loadNativeFormatFromStoreInternal(KoStore*) (KoDocument.cpp:1835)
==50468==    by 0x4BBBEEF: KoDocument::loadNativeFormatFromStore(QString const&) (KoDocument.cpp:1783)
==50468==    by 0x4BBCAC7: KoDocument::loadNativeFormat(QString const&) (KoDocument.cpp:1763)
==50468==    by 0x4BB63D7: KoDocument::openFile() (KoDocument.cpp:1562)
==50468==    by 0x4BC0953: openFile (KoDocument.cpp:270)
==50468==    by 0x4BC0953: KoDocument::Private::openLocalFile() (KoDocument.cpp:292)
==50468== 
==50468== Invalid read of size 8
==50468==    at 0x131796E0: QHash<Calligra::Sheets::Style::Key, Calligra::Sheets::SharedSubStyle>::findNode(Calligra::Sheets::Style::Key const&, unsigned int) const (qhash.h:929)
==50468==    by 0x1317976F: QHash<Calligra::Sheets::Style::Key, Calligra::Sheets::SharedSubStyle>::findNode(Calligra::Sheets::Style::Key const&, unsigned int*) const (qhash.h:950)
==50468==    by 0x12EBA073: Calligra::Sheets::CellToolBase::Private::updateActions(Calligra::Sheets::Cell const&) (CellToolBase_p.cpp:112)
==50468==    by 0x12EA5CCF: Calligra::Sheets::CellToolBase::selectionChanged(Calligra::Sheets::Region const&) (CellToolBase.cpp:1329)
==50468==    by 0x12D1B6C7: Calligra::Sheets::CellToolBase::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_CellToolBase.cpp:569)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x12D18887: Calligra::Sheets::Selection::changed(Calligra::Sheets::Region const&) (moc_Selection.cpp:260)
==50468==    by 0x12EDD273: Calligra::Sheets::Selection::emitChanged(Calligra::Sheets::Region const&) (Selection.cpp:1079)
==50468==    by 0x12EDDE57: Calligra::Sheets::Selection::initialize(QRect const&, Calligra::Sheets::Sheet*) (Selection.cpp:280)
==50468==    by 0x12E39337: Calligra::Sheets::RowHeader::mousePress(KoPointerEvent*) (Headers.cpp:175)
==50468==    by 0x12E3EF6B: Calligra::Sheets::RowHeaderWidget::mousePressEvent(QMouseEvent*) (HeaderWidgets.cpp:110)
==50468==  Address 0x13e0cba8 is 24 bytes inside a block of size 120 free'd
==50468==    at 0x4898C58: free (vg_replace_malloc.c:755)
==50468==    by 0x5B4DF17: QArrayData::deallocate(QArrayData*, unsigned long, unsigned long) (qarraydata.cpp:267)
==50468==    by 0x81E39CB: deallocate (qarraydata.h:239)
==50468==    by 0x81E39CB: QVector<QRect>::realloc(int, QFlags<QArrayData::AllocationOption>) (qvector.h:754)
==50468==    by 0x81E3C0B: QVector<QRect>::resize(int) (qvector.h:436)
==50468==    by 0x81DC0C3: miSubtractNonO1(QRegionPrivate&, QRect const*, QRect const*, int, int) (qregion.cpp:2569)
==50468==    by 0x81DE023: miRegionOp(QRegionPrivate&, QRegionPrivate const*, QRegionPrivate const*, void (*)(QRegionPrivate&, QRect const*, QRect const*, QRect const*, QRect const*, int, int), void (*)(QRegionPrivate&, QRect const*, QRect const*, int, int), void (*)(QRegionPrivate&, QRect const*, QRect const*, int, int)) (qregion.cpp:2383)
==50468==    by 0x81DE6C3: SubtractRegion(QRegionPrivate*, QRegionPrivate*, QRegionPrivate&) (qregion.cpp:2702)
==50468==    by 0x81DF45F: QRegion::subtracted(QRegion const&) const (qregion.cpp:4248)
==50468==    by 0x81DF4D3: QRegion::operator-(QRegion const&) const (qregion.cpp:494)
==50468==    by 0x81DF557: QRegion::operator-=(QRegion const&) (qregion.cpp:579)
==50468==    by 0x5378DC3: QWidgetPrivate::subtractOpaqueChildren(QRegion&, QRect const&) const (qwidget.cpp:2019)
==50468==    by 0x5357023: QWidgetRepaintManager::paintAndFlush() (qwidgetrepaintmanager.cpp:870)
==50468==  Block was alloc'd at
==50468==    at 0x4895618: malloc (vg_replace_malloc.c:380)
==50468==    by 0x5B4DD6B: QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) (qarraydata.cpp:218)
==50468==    by 0x81E3893: allocate (qarraydata.h:224)
==50468==    by 0x81E3893: QVector<QRect>::realloc(int, QFlags<QArrayData::AllocationOption>) (qvector.h:708)
==50468==    by 0x81E3C0B: QVector<QRect>::resize(int) (qvector.h:436)
==50468==    by 0x81DC2EF: miSubtractO(QRegionPrivate&, QRect const*, QRect const*, QRect const*, QRect const*, int, int) (qregion.cpp:2632)
==50468==    by 0x81DDE1F: miRegionOp(QRegionPrivate&, QRegionPrivate const*, QRegionPrivate const*, void (*)(QRegionPrivate&, QRect const*, QRect const*, QRect const*, QRect const*, int, int), void (*)(QRegionPrivate&, QRect const*, QRect const*, int, int), void (*)(QRegionPrivate&, QRect const*, QRect const*, int, int)) (qregion.cpp:2358)
==50468==    by 0x81DE6C3: SubtractRegion(QRegionPrivate*, QRegionPrivate*, QRegionPrivate&) (qregion.cpp:2702)
==50468==    by 0x81DF45F: QRegion::subtracted(QRegion const&) const (qregion.cpp:4248)
==50468==    by 0x81DF4D3: QRegion::operator-(QRegion const&) const (qregion.cpp:494)
==50468==    by 0x81DF557: QRegion::operator-=(QRegion const&) (qregion.cpp:579)
==50468==    by 0x5378DC3: QWidgetPrivate::subtractOpaqueChildren(QRegion&, QRect const&) const (qwidget.cpp:2019)
==50468==    by 0x5357023: QWidgetRepaintManager::paintAndFlush() (qwidgetrepaintmanager.cpp:870)
==50468== 
==50468== Invalid read of size 4
==50468==    at 0x131796F4: same_key (qhash.h:156)
==50468==    by 0x131796F4: QHash<Calligra::Sheets::Style::Key, Calligra::Sheets::SharedSubStyle>::findNode(Calligra::Sheets::Style::Key const&, unsigned int) const (qhash.h:931)
==50468==    by 0x1317976F: QHash<Calligra::Sheets::Style::Key, Calligra::Sheets::SharedSubStyle>::findNode(Calligra::Sheets::Style::Key const&, unsigned int*) const (qhash.h:950)
==50468==    by 0x12EBA073: Calligra::Sheets::CellToolBase::Private::updateActions(Calligra::Sheets::Cell const&) (CellToolBase_p.cpp:112)
==50468==    by 0x12EA5CCF: Calligra::Sheets::CellToolBase::selectionChanged(Calligra::Sheets::Region const&) (CellToolBase.cpp:1329)
==50468==    by 0x12D1B6C7: Calligra::Sheets::CellToolBase::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (moc_CellToolBase.cpp:569)
==50468==    by 0x5DF1CE3: void doActivate<false>(QObject*, int, void**) (qobject.cpp:3898)
==50468==    by 0x5DE74C7: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3946)
==50468==    by 0x12D18887: Calligra::Sheets::Selection::changed(Calligra::Sheets::Region const&) (moc_Selection.cpp:260)
==50468==    by 0x12EDD273: Calligra::Sheets::Selection::emitChanged(Calligra::Sheets::Region const&) (Selection.cpp:1079)
==50468==    by 0x12EDDE57: Calligra::Sheets::Selection::initialize(QRect const&, Calligra::Sheets::Sheet*) (Selection.cpp:280)
==50468==    by 0x12E39337: Calligra::Sheets::RowHeader::mousePress(KoPointerEvent*) (Headers.cpp:175)
==50468==    by 0x12E3EF6B: Calligra::Sheets::RowHeaderWidget::mousePressEvent(QMouseEvent*) (HeaderWidgets.cpp:110)
==50468==  Address 0x8 is not stack'd, malloc'd or (recently) free'd
==50468== 
KCrash: crashing... crashRecursionCounter = 2
Comment 12 Luke-Jr 2021-06-19 20:54:28 UTC
Created attachment 139524 [details]
Problematic spreadsheet

It seems another spreadsheet I have doesn't reproduce the issue, so maybe it's file-related?

Attaching the spreadsheet with the issue.
Comment 13 Rob Mamede 2021-09-11 11:35:48 UTC
Created attachment 141470 [details]
New crash information added by DrKonqi

calligrasheets (3.2.1) using Qt 5.15.2

- What I was doing when the application crashed: After adding a row in Calligra Sheets, attempting to enter data in the new row caused the application to terminate unexpectedly.

-- Backtrace (Reduced):
#4  0x00007fee923bc118 in Calligra::Sheets::Style::isEmpty() const () from /lib64/libcalligrasheetsodf.so.17
#5  0x00007fee923bc13d in Calligra::Sheets::Style::isDefault() const () from /lib64/libcalligrasheetsodf.so.17
#6  0x00007fee92639f08 in Calligra::Sheets::CellView::CellView(Calligra::Sheets::SheetView*, int, int) () from /lib64/libcalligrasheetscommon.so.17
#7  0x00007fee9264d7a4 in Calligra::Sheets::SheetView::cellView(int, int) () from /lib64/libcalligrasheetscommon.so.17
#8  0x00007fee9264dae9 in Calligra::Sheets::SheetView::Private::cellViewToProcess(Calligra::Sheets::Cell&, QPointF&, QSet<Calligra::Sheets::Cell>&, Calligra::Sheets::SheetView*, QRect const&) () from /lib64/libcalligrasheetscommon.so.17
Comment 14 Tomas Mecir 2022-05-21 12:53:41 UTC
Git commit a43a05877689f7cdb7a3f1b36e05626027869d72 by Tomas Mecir.
Committed on 21/05/2022 at 12:52.
Pushed by mecir into branch 'master'.

Disable the style cache, it's causing more problems than it's worth.
Related: bug 368852, bug 448587, bug 449729

M  +41   -41   sheets/core/StyleStorage.cpp

https://invent.kde.org/office/calligra/commit/a43a05877689f7cdb7a3f1b36e05626027869d72
Comment 15 Luke-Jr 2022-05-21 22:43:50 UTC
(In reply to Tomas Mecir from comment #14)
> Git commit a43a05877689f7cdb7a3f1b36e05626027869d72 by Tomas Mecir.
> Committed on 21/05/2022 at 12:52.
> Pushed by mecir into branch 'master'.
> 
> Disable the style cache, it's causing more problems than it's worth.
> Related: bug 368852, bug 448587, bug 449729
> 
> M  +41   -41   sheets/core/StyleStorage.cpp
> 
> https://invent.kde.org/office/calligra/commit/
> a43a05877689f7cdb7a3f1b36e05626027869d72

Can confirm this (backported to 3.2.1) seems to have fixed my issue.