Bug 389282 - Calligra crash when delete text from document
Summary: Calligra crash when delete text from document
Status: RESOLVED WORKSFORME
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-01-21 14:34 UTC by qp8
Modified: 2021-01-16 04:36 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 qp8 2018-01-21 14:34:20 UTC
Application: calligrawords (3.0.1)

Qt Version: 5.9.3
Frameworks Version: 5.42.0
Operating System: Linux 4.13.0-26-generic x86_64
Distribution: KDE neon User Edition 5.11

-- Information about the crash:
myy.haaga-helia.fi/~woljo/word/standardiasiakirja%20SFS%202487.docx

When open that document to Calligra Words and try to delete everythin, it crash.

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd64122f8c0 (LWP 23771))]

Thread 4 (Thread 0x7fd615e9c700 (LWP 23774)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd63f0fa91c in std::condition_variable::wait(std::unique_lock<std::mutex>&) () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#2  0x00007fd61b2be8de in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#3  0x00007fd61b2be9f9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebKit.so.5
#4  0x00007fd63f0ffc80 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5  0x00007fd639acb6ba in start_thread (arg=0x7fd615e9c700) at pthread_create.c:333
#6  0x00007fd640c3f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd622f46700 (LWP 23773)):
#0  0x00007fd640c3374d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd6386cf38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd6386cf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd63f69f6cb in QEventDispatcherGlib::processEvents (this=0x7fd61c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fd63f647e2a in QEventLoop::exec (this=this@entry=0x7fd622f45cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007fd63f4708f4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:515
#6  0x00007fd63a116315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fd63f475709 in QThreadPrivate::start (arg=0x7fd63a38ad40) at thread/qthread_unix.cpp:368
#8  0x00007fd639acb6ba in start_thread (arg=0x7fd622f46700) at pthread_create.c:333
#9  0x00007fd640c3f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd629f54700 (LWP 23772)):
#0  0x00007fd640c3374d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fd631eb1c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fd631eb38d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fd62c2681f9 in QXcbEventReader::run (this=0xbfeb50) at qxcbconnection.cpp:1330
#4  0x00007fd63f475709 in QThreadPrivate::start (arg=0xbfeb50) at thread/qthread_unix.cpp:368
#5  0x00007fd639acb6ba in start_thread (arg=0x7fd629f54700) at pthread_create.c:333
#6  0x00007fd640c3f41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd64122f8c0 (LWP 23771)):
[KCrash Handler]
#6  QFragmentMapData<QTextBlockData>::next (n=1701410405, this=0x1291fb0) at ../../include/QtGui/5.9.3/QtGui/private/../../../../../src/gui/text/qfragmentmap_p.h:295
#7  QFragmentMap<QTextBlockData>::next (n=44, this=0x1291fb0) at ../../include/QtGui/5.9.3/QtGui/private/../../../../../src/gui/text/qfragmentmap_p.h:859
#8  QTextFrame::iterator::operator++ (this=this@entry=0x7ffd36f35750) at text/qtextobject.cpp:744
#9  0x00007fd63eae2618 in KoTextLayoutArea::paint (this=<optimized out>, painter=painter@entry=0x7ffd36f364c0, context=...) at /workspace/build/libs/textlayout/KoTextLayoutArea_paint.cpp:112
#10 0x00007fd612bd98b9 in TextShape::paintComponent (this=0x1c93220, painter=..., converter=..., paintContext=...) at /workspace/build/plugins/textshape/TextShape.cpp:180
#11 0x00007fd63dc97f97 in KoShapeContainer::paint (this=0x1c93220, painter=..., converter=..., paintcontext=...) at /workspace/build/libs/flake/KoShapeContainer.cpp:155
#12 0x00007fd63dc9bce4 in KoShapeManager::paintShape (this=0x11d6a20, shape=shape@entry=0x1c93220, painter=..., converter=..., paintContext=...) at /workspace/build/libs/flake/KoShapeManager.cpp:311
#13 0x00007fd63dc9aeb4 in KoShapeManagerPaintingStrategy::paint (this=0x11d7080, shape=0x1c93220, painter=..., converter=..., paintContext=...) at /workspace/build/libs/flake/KoShapeManagerPaintingStrategy.cpp:52
#14 0x00007fd63dc9f205 in KoShapeManager::paint (this=0x11d6a20, painter=..., converter=..., forPrint=forPrint@entry=false) at /workspace/build/libs/flake/KoShapeManager.cpp:275
#15 0x00007fd621898b43 in KWCanvasBase::paint (this=this@entry=0x11ce450, painter=..., paintRect=...) at /workspace/build/words/part/KWCanvasBase.cpp:274
#16 0x00007fd62189a89c in KWCanvas::paintEvent (this=0x11ce420, ev=0x7ffd36f36850) at /workspace/build/words/part/KWCanvas.cpp:189
#17 0x00007fd63fc9ab08 in QWidget::event (this=0x11ce420, event=0x7ffd36f36850) at kernel/qwidget.cpp:9200
#18 0x00007fd63fc5bb9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x11ce420, e=0x7ffd36f36850) at kernel/qapplication.cpp:3722
#19 0x00007fd63fc635a7 in QApplication::notify (this=0x7ffd36f385f0, receiver=receiver@entry=0x11ce420, e=e@entry=0x7ffd36f36850) at kernel/qapplication.cpp:3481
#20 0x00007fd64088be17 in KoApplication::notify (this=<optimized out>, receiver=0x11ce420, event=0x7ffd36f36850) at /workspace/build/libs/main/KoApplication.cpp:657
#21 0x00007fd63f649df8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x11ce420, event=event@entry=0x7ffd36f36850) at kernel/qcoreapplication.cpp:1018
#22 0x00007fd63fc93aba in QCoreApplication::sendSpontaneousEvent (event=0x7ffd36f36850, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 QWidgetPrivate::sendPaintEvent (this=this@entry=0x11ce4d0, toBePainted=...) at kernel/qwidget.cpp:5723
#24 0x00007fd63fc94101 in QWidgetPrivate::drawWidget (this=this@entry=0x11ce4d0, pdev=pdev@entry=0x22ea460, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5663
#25 0x00007fd63fc94dfc in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x11dc5a0, pdev=pdev@entry=0x22ea460, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5858
#26 0x00007fd63fc93c71 in QWidgetPrivate::drawWidget (this=this@entry=0x11dc5a0, pdev=pdev@entry=0x22ea460, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5715
#27 0x00007fd63fc94dfc in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x11d7950, pdev=pdev@entry=0x22ea460, siblings=..., index=<optimized out>, index@entry=0, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5858
#28 0x00007fd63fc94ce9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x11d7950, pdev=pdev@entry=0x22ea460, siblings=..., index=0, index@entry=1, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5845
#29 0x00007fd63fc94ce9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x11d7950, pdev=pdev@entry=0x22ea460, siblings=..., index=1, index@entry=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5845
#30 0x00007fd63fc94ce9 in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x11d7950, pdev=pdev@entry=0x22ea460, siblings=..., index=3, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5845
#31 0x00007fd63fc93c71 in QWidgetPrivate::drawWidget (this=this@entry=0x11d7950, pdev=pdev@entry=0x22ea460, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5715
#32 0x00007fd63fc94dfc in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x11cd820, pdev=pdev@entry=0x22ea460, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5858
#33 0x00007fd63fc93c71 in QWidgetPrivate::drawWidget (this=this@entry=0x11cd820, pdev=pdev@entry=0x22ea460, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5715
#34 0x00007fd63fc94dfc in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0x12b09c0, pdev=pdev@entry=0x22ea460, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5858
#35 0x00007fd63fc93c71 in QWidgetPrivate::drawWidget (this=this@entry=0x12b09c0, pdev=pdev@entry=0x22ea460, rgn=..., offset=..., flags=flags@entry=4, sharedPainter=sharedPainter@entry=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5715
#36 0x00007fd63fc94dfc in QWidgetPrivate::paintSiblingsRecursive (this=this@entry=0xd6f9d0, pdev=pdev@entry=0x22ea460, siblings=..., index=<optimized out>, rgn=..., offset=..., flags=4, sharedPainter=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5858
#37 0x00007fd63fc93c71 in QWidgetPrivate::drawWidget (this=0xd6f9d0, pdev=0x22ea460, rgn=..., offset=..., flags=flags@entry=5, sharedPainter=sharedPainter@entry=0x0, backingStore=0xf60670) at kernel/qwidget.cpp:5715
#38 0x00007fd63fc6bab0 in QWidgetBackingStore::doSync (this=this@entry=0xf60670) at kernel/qwidgetbackingstore.cpp:1381
#39 0x00007fd63fc6bc88 in QWidgetBackingStore::sync (this=0xf60670) at kernel/qwidgetbackingstore.cpp:1162
#40 0x00007fd63fc82eaf in QWidgetPrivate::syncBackingStore (this=0xd6f9d0) at kernel/qwidget.cpp:1981
#41 0x00007fd63fc9ad18 in QWidget::event (this=this@entry=0xd64620, event=event@entry=0x2c97480) at kernel/qwidget.cpp:9139
#42 0x00007fd63fdb281b in QMainWindow::event (this=0xd64620, event=0x2c97480) at widgets/qmainwindow.cpp:1563
#43 0x00007fd63c58fc37 in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#44 0x00007fd63c5d4225 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#45 0x00007fd63fc5bb9c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0xd64620, e=0x2c97480) at kernel/qapplication.cpp:3722
#46 0x00007fd63fc635a7 in QApplication::notify (this=0x7ffd36f385f0, receiver=receiver@entry=0xd64620, e=e@entry=0x2c97480) at kernel/qapplication.cpp:3481
#47 0x00007fd64088be17 in KoApplication::notify (this=<optimized out>, receiver=0xd64620, event=0x2c97480) at /workspace/build/libs/main/KoApplication.cpp:657
#48 0x00007fd63f649df8 in QCoreApplication::notifyInternal2 (receiver=0xd64620, event=event@entry=0x2c97480) at kernel/qcoreapplication.cpp:1018
#49 0x00007fd63f64c5db in QCoreApplication::sendEvent (event=0x2c97480, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:233
#50 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xbc8a00) at kernel/qcoreapplication.cpp:1678
#51 0x00007fd63f64ca48 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1532
#52 0x00007fd63f6a00a3 in postEventSourceDispatch (s=0xc22e20) at kernel/qeventdispatcher_glib.cpp:276
#53 0x00007fd6386cf197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007fd6386cf3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007fd6386cf49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007fd63f69f6af in QEventDispatcherGlib::processEvents (this=0xc23980, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#57 0x00007fd63f647e2a in QEventLoop::exec (this=this@entry=0x7ffd36f38550, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#58 0x00007fd63f650d64 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1291
#59 0x00007fd63a6ef20c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1679
#60 0x00007fd63fc5baf5 in QApplication::exec () at kernel/qapplication.cpp:2910
#61 0x00007fd640f0641a in kdemain (argc=2, argv=<optimized out>) at /workspace/build/words/app/main.cpp:58
#62 0x00007fd640b58830 in __libc_start_main (main=0x400910 <main(int, char**)>, argc=2, argv=0x7ffd36f38748, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd36f38738) at ../csu/libc-start.c:291
#63 0x0000000000400949 in _start ()

Possible duplicates by query: bug 358525.

Reported using DrKonqi
Comment 1 Justin Zobel 2020-12-17 05:33:37 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 2 Bug Janitor Service 2021-01-01 04:37:58 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 3 Bug Janitor Service 2021-01-16 04:36:52 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!