Bug 444926 - Crash after pasting
Summary: Crash after pasting
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (other bugs)
Version First Reported In: 3.2.1
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-11-04 08:41 UTC by m.wege
Modified: 2022-07-17 15:41 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2021-11-04 08:41:38 UTC
Application: calligrasheets (3.2.1)

Qt Version: 5.15.3
Frameworks Version: 5.87.0
Operating System: Linux 5.11.0-38-generic x86_64
Windowing System: X11
Distribution: KDE neon User - Plasma 25th Anniversary Edition
DrKonqi: 5.23.2 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
I had just copied a bunch of cells I had marked and wanted to paste them at another area of the document. Then the crash occured.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Calligra Sheets (calligrasheets), signal: Segmentation fault

[New LWP 21086]
[New LWP 21087]
[New LWP 21088]
[New LWP 21089]
[New LWP 21090]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007efce863caff in __GI___poll (fds=0x7fff6b0b0ab8, nfds=1, timeout=1000) at ../sysdeps/unix/sysv/linux/poll.c:29
__preamble__
[Current thread is 1 (Thread 0x7efce1d7d400 (LWP 21084))]

Thread 6 (Thread 0x7efcd27fc700 (LWP 21090)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560ab1297648) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x560ab12975f8, cond=0x560ab1297620) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x560ab1297620, mutex=0x560ab12975f8) at pthread_cond_wait.c:638
#3  0x00007efcd83c6a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007efcd83c664b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007efce51d5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efce8649293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7efcd2ffd700 (LWP 21089)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560ab1297648) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x560ab12975f8, cond=0x560ab1297620) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x560ab1297620, mutex=0x560ab12975f8) at pthread_cond_wait.c:638
#3  0x00007efcd83c6a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007efcd83c664b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007efce51d5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efce8649293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7efcd37fe700 (LWP 21088)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560ab1297648) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x560ab12975f8, cond=0x560ab1297620) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x560ab1297620, mutex=0x560ab12975f8) at pthread_cond_wait.c:638
#3  0x00007efcd83c6a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007efcd83c664b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007efce51d5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efce8649293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7efcd3fff700 (LWP 21087)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x560ab1297648) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x560ab12975f8, cond=0x560ab1297620) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x560ab1297620, mutex=0x560ab12975f8) at pthread_cond_wait.c:638
#3  0x00007efcd83c6a4b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007efcd83c664b in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007efce51d5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#6  0x00007efce8649293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7efcdba63700 (LWP 21086)):
#0  __GI___libc_read (nbytes=16, buf=0x7efcdba629a0, fd=8) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=8, buf=0x7efcdba629a0, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007efce4a41b2f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007efce49f8ebe in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007efce49f9312 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007efce49f94a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007efce777e61b in QEventDispatcherGlib::processEvents (this=0x7efcd4000b60, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#7  0x00007efce77228ab in QEventLoop::exec (this=this@entry=0x7efcdba62bb0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#8  0x00007efce753c2c2 in QThread::exec (this=<optimized out>) at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#9  0x00007efce59e5f4b in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#10 0x00007efce753d45c in QThreadPrivate::start (arg=0x7efce5a69d80) at thread/qthread_unix.cpp:329
#11 0x00007efce51d5609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#12 0x00007efce8649293 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7efce1d7d400 (LWP 21084)):
[KCrash Handler]
#4  0x00007efcda45e178 in QHash<Calligra::Sheets::Style::Key, Calligra::Sheets::SharedSubStyle>::isEmpty (this=0x1199d81c8) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qhash.h:285
#5  Calligra::Sheets::Style::isEmpty (this=0x560ab11ac150) at ./sheets/Style.cpp:887
#6  0x00007efcda47cde8 in Calligra::Sheets::StyleStorage::composeStyle (this=this@entry=0x560ab1b59d60, subStyles=...) at ./sheets/StyleManager.h:59
#7  0x00007efcda47d4e2 in Calligra::Sheets::StyleStorage::contains (this=0x560ab1b59d60, point=...) at ./sheets/StyleStorage.cpp:246
#8  0x00007efcda3c0917 in Calligra::Sheets::Cell::setStyle (this=this@entry=0x7fff6b0b19e0, style=...) at ./sheets/Cell.cpp:344
#9  0x00007efcda3c3ffa in Calligra::Sheets::Cell::load (this=this@entry=0x7fff6b0b19e0, cell=..., _xshift=_xshift@entry=0, _yshift=_yshift@entry=2, mode=mode@entry=Calligra::Sheets::Paste::Normal, op=op@entry=Calligra::Sheets::Paste::OverWrite, paste=<optimized out>) at ./sheets/Cell.cpp:1116
#10 0x00007efcda643c2d in PasteCellCommand::process (this=0x560ab37ea550, element=<optimized out>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qrefcount.h:102
#11 0x00007efcda6298c0 in Calligra::Sheets::AbstractRegionCommand::mainProcessing (this=0x560ab37ea550) at ./sheets/commands/AbstractRegionCommand.cpp:184
#12 Calligra::Sheets::AbstractRegionCommand::mainProcessing (this=0x560ab37ea550) at ./sheets/commands/AbstractRegionCommand.cpp:175
#13 0x00007efcda629532 in Calligra::Sheets::AbstractRegionCommand::redo (this=0x560ab37ea550) at ./sheets/commands/AbstractRegionCommand.cpp:115
#14 Calligra::Sheets::AbstractRegionCommand::redo (this=0x560ab37ea550) at ./sheets/commands/AbstractRegionCommand.cpp:87
#15 0x00007efce6aa20da in KUndo2Command::redo (this=this@entry=0x560ab380dc20) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:570
#16 0x00007efcda642eb9 in Calligra::Sheets::PasteCommand::mainProcessing (this=0x560ab380dc10) at ./sheets/commands/PasteCommand.cpp:261
#17 Calligra::Sheets::PasteCommand::mainProcessing (this=0x560ab380dc10) at ./sheets/commands/PasteCommand.cpp:227
#18 0x00007efcda629532 in Calligra::Sheets::AbstractRegionCommand::redo (this=0x560ab380dc10) at ./sheets/commands/AbstractRegionCommand.cpp:115
#19 Calligra::Sheets::AbstractRegionCommand::redo (this=0x560ab380dc10) at ./sheets/commands/AbstractRegionCommand.cpp:87
#20 0x00007efce6aa396f in KUndo2Command::redoMergedCommands (this=0x560ab380dc20) at ./libs/kundo2/kundo2stack.cpp:397
#21 0x00007efce6aa47e9 in KUndo2QStack::push (this=0x560ab119bef0, cmd=<optimized out>) at ./libs/kundo2/kundo2stack.cpp:716
#22 0x00007efcda629c2e in Calligra::Sheets::AbstractRegionCommand::execute (canvas=0x560ab1941e40, this=0x560ab380dc10) at ./sheets/commands/AbstractRegionCommand.cpp:81
#23 Calligra::Sheets::AbstractRegionCommand::execute (this=this@entry=0x560ab380dc10, canvas=0x560ab1941e40) at ./sheets/commands/AbstractRegionCommand.cpp:73
#24 0x00007efcda725b7b in Calligra::Sheets::CellToolBase::paste (this=0x560ab29c7ea0) at ./sheets/ui/CellToolBase.cpp:3047
#25 0x00007efcda6179b3 in Calligra::Sheets::CellToolBase::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=0x7fff6b0b1f40, _c=<optimized out>) at ./obj-x86_64-linux-gnu/sheets/calligrasheetscommon_autogen/UYX5XTB5RZ/moc_CellToolBase.cpp:678
#26 0x00007efce775ae00 in doActivate<false> (sender=0x560ab2c432f0, signal_index=4, argv=0x7fff6b0b1f40) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:395
#27 0x00007efce7754197 in QMetaObject::activate (sender=sender@entry=0x560ab2c432f0, m=m@entry=0x7efce80461c0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff6b0b1f40) at kernel/qobject.cpp:3946
#28 0x00007efce7b2e8e6 in QAction::triggered (this=this@entry=0x560ab2c432f0, _t1=<optimized out>) at .moc/moc_qaction.cpp:376
#29 0x00007efce7b30fb8 in QAction::activate (this=0x560ab2c432f0, event=<optimized out>) at kernel/qaction.cpp:1161
#30 0x00007efce7b318cf in QAction::event (e=<optimized out>, this=<optimized out>) at kernel/qaction.cpp:1086
#31 QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1075
#32 0x00007efce7b34dc3 in QApplicationPrivate::notify_helper (this=this@entry=0x560ab10286b0, receiver=receiver@entry=0x560ab2c432f0, e=e@entry=0x7fff6b0b2340) at kernel/qapplication.cpp:3632
#33 0x00007efce7b3dbb8 in QApplication::notify (this=0x7fff6b0b2840, receiver=0x560ab2c432f0, e=0x7fff6b0b2340) at kernel/qapplication.cpp:3156
#34 0x00007efce848081d in KoApplication::notify (this=<optimized out>, receiver=0x560ab2c432f0, event=0x7fff6b0b2340) at ./libs/main/KoApplication.cpp:672
#35 0x00007efce7723daa in QCoreApplication::notifyInternal2 (receiver=0x560ab2c432f0, event=0x7fff6b0b2340) at ../../include/QtCore/5.15.3/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:325
#36 0x00007efce5bd9e43 in QShortcutMap::dispatchEvent (this=this@entry=0x560ab1028778, e=e@entry=0x7fff6b0b2400) at kernel/qshortcutmap.cpp:675
#37 0x00007efce5bda7e3 in QShortcutMap::tryShortcut (this=this@entry=0x560ab1028778, e=e@entry=0x7fff6b0b2400) at kernel/qshortcutmap.cpp:343
#38 0x00007efce5b87c72 in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, window@entry=0x560ab138aff0, timestamp=18705184, keyCode=16777222, modifiers=..., nativeScanCode=118, nativeVirtualKey=65379, nativeModifiers=1, text=..., autorepeat=false, count=1) at kernel/qwindowsysteminterface.cpp:477
#39 0x00007efce5ba7871 in QGuiApplicationPrivate::processKeyEvent (e=e@entry=0x560ab37fc3c0) at kernel/qguiapplication.cpp:2395
#40 0x00007efce5bacb2b in QGuiApplicationPrivate::processWindowSystemEvent (e=0x560ab37fc3c0) at kernel/qguiapplication.cpp:2008
#41 0x00007efce5b847ac in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#42 0x00007efce18b2eae in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#43 0x00007efce49f917d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007efce49f9400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007efce49f94a3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007efce777e602 in QEventDispatcherGlib::processEvents (this=0x560ab10ef790, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#47 0x00007efce77228ab in QEventLoop::exec (this=this@entry=0x7fff6b0b27b0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#48 0x00007efce772aa64 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#49 0x00007efce871db39 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./sheets/part/Main.cpp:59
#50 0x00007efce854e0b3 in __libc_start_main (main=0x560aaf3cf060 <main>, argc=2, argv=0x7fff6b0b29a8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff6b0b2998) at ../csu/libc-start.c:308
#51 0x0000560aaf3cf09e in _start ()
[Inferior 1 (process 21084) detached]

Possible duplicates by query: bug 405705, bug 391018, bug 368020.

Reported using DrKonqi
Comment 1 Tomas Mecir 2022-07-17 15:41:55 UTC
Should be fixed in the master version.