Bug 378424 - Crash on comment on docx file
Summary: Crash on comment on docx file
Status: CONFIRMED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: HI crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
: 345813 356397 372670 382141 390470 420058 426188 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-04-04 05:34 UTC by Smill Morel
Modified: 2022-12-28 20:30 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.36 KB, text/plain)
2018-08-14 12:29 UTC, Isaac
Details
Opening this document will cause calligrawords to segfault (34.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2018-08-14 13:13 UTC, Isaac
Details
New crash information added by DrKonqi (4.79 KB, text/plain)
2020-01-13 23:37 UTC, George Tokmaji
Details
New crash information added by DrKonqi (2.81 KB, text/plain)
2020-09-01 11:50 UTC, Jonathan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Smill Morel 2017-04-04 05:34:51 UTC
Application: calligrawords (3.0.1)

Qt Version: 5.8.0
Frameworks Version: 5.32.0
Operating System: Linux 4.9.20-1-MANJARO x86_64
Distribution: "Manjaro Linux"

-- Information about the crash:
- What I was doing when the application crashed: trying to add a comment to a docx document

- Custom settings of the application: Latest version of calligra, recently updated

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f125851fc80 (LWP 1631))]

Thread 2 (Thread 0x7f123af21700 (LWP 1633)):
#0  0x00007f1257f5767d in poll () from /usr/lib/libc.so.6
#1  0x00007f124f8847a6 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f124f8848bc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1256a2c06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#4  0x00007f12569d589a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007f12567f7a73 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#6  0x00007f125135d125 in ?? () from /usr/lib/libQt5DBus.so.5
#7  0x00007f12567fc6d8 in ?? () from /usr/lib/libQt5Core.so.5
#8  0x00007f1250f192e7 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f1257f6154f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f125851fc80 (LWP 1631)):
[KCrash Handler]
#6  0x00007f12519e9b15 in QTextLine::y() const () from /usr/lib/libQt5Gui.so.5
#7  0x00007f1255e5bf77 in KoTextDocumentLayout::positionAnchorTextRanges(int, int, QTextDocument const*) () from /usr/lib/libkotextlayout.so.15
#8  0x00007f1255e3db44 in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /usr/lib/libkotextlayout.so.15
#9  0x00007f1255e40f2d in KoTextLayoutArea::layout(FrameIterator*) () from /usr/lib/libkotextlayout.so.15
#10 0x00007f1255e58a7d in KoTextLayoutRootArea::layoutRoot(FrameIterator*) () from /usr/lib/libkotextlayout.so.15
#11 0x00007f1255e5c9e0 in KoTextDocumentLayout::doLayout() () from /usr/lib/libkotextlayout.so.15
#12 0x00007f1255e5d908 in KoTextDocumentLayout::executeScheduledLayout() () from /usr/lib/libkotextlayout.so.15
#13 0x00007f1256a03ba9 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007f1256f7e34c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007f1256f85b61 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007f1257bbd8b7 in KoApplication::notify(QObject*, QEvent*) () from /usr/lib/libkomain.so.15
#17 0x00007f12569d7440 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#18 0x00007f12569d9bcd in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#19 0x00007f1256a2bc43 in ?? () from /usr/lib/libQt5Core.so.5
#20 0x00007f124f8845a7 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0x00007f124f884810 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x00007f124f8848bc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0x00007f1256a2c04f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#24 0x00007f12569d589a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#25 0x00007f12569ddde4 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#26 0x00007f125821d33b in kdemain () from /usr/lib/libkdeinit5_calligrawords.so
#27 0x00007f1257e95511 in __libc_start_main () from /usr/lib/libc.so.6
#28 0x000000000040082a in _start ()

Possible duplicates by query: bug 375011, bug 372670.

Reported using DrKonqi
Comment 1 jstar 2017-05-17 13:39:01 UTC
Also happens when inserting a comment at the beginning of a line after an automatic line break.
Comment 2 Christoph Feck 2018-03-01 01:23:31 UTC
*** Bug 372670 has been marked as a duplicate of this bug. ***
Comment 3 Christoph Feck 2018-03-01 01:23:44 UTC
*** Bug 356397 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2018-03-01 01:23:53 UTC
*** Bug 345813 has been marked as a duplicate of this bug. ***
Comment 5 Christoph Feck 2018-03-01 01:24:14 UTC
*** Bug 390470 has been marked as a duplicate of this bug. ***
Comment 6 Christoph Feck 2018-03-01 01:24:29 UTC
*** Bug 382141 has been marked as a duplicate of this bug. ***
Comment 7 Isaac 2018-08-14 12:29:25 UTC
Created attachment 114431 [details]
New crash information added by DrKonqi

calligrawords (3.1.0) using Qt 5.11.1

- What I was doing when the application crashed:

Got this crash when trying to open a docx file.

-- Backtrace (Reduced):
#6  0x00007fe0a63bdd38 in QTextLine::y() const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#7  0x00007fe0aa77fca4 in KoTextDocumentLayout::positionAnchorTextRanges(int, int, QTextDocument const*) () from /usr/lib/x86_64-linux-gnu/libkotextlayout.so.16
#8  0x00007fe0aa761b61 in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /usr/lib/x86_64-linux-gnu/libkotextlayout.so.16
#9  0x00007fe0aa764d13 in KoTextLayoutArea::layout(FrameIterator*) () from /usr/lib/x86_64-linux-gnu/libkotextlayout.so.16
#10 0x00007fe0aa775e06 in KoTextLayoutTableArea::layoutRow(TableIterator*, double, double) () from /usr/lib/x86_64-linux-gnu/libkotextlayout.so.16
Comment 8 Isaac 2018-08-14 13:13:43 UTC
Created attachment 114434 [details]
Opening this document will cause calligrawords to segfault

Please find test document attached. Opening this will cause calligrawords to segfault.
Comment 9 George Tokmaji 2020-01-13 23:37:59 UTC
Created attachment 125104 [details]
New crash information added by DrKonqi

calligrawords (3.1.0) using Qt 5.14.0

- What I was doing when the application crashed:

I was opening a large Word docx document with comments.

-- Backtrace (Reduced):
#6  0x00007f4d15719ac8 in QTextLine::y() const () from /usr/lib/libQt5Gui.so.5
#7  0x00007f4d16a902fe in KoTextDocumentLayout::positionAnchorTextRanges(int, int, QTextDocument const*) () from /usr/lib/libkotextlayout.so.16
#8  0x00007f4d16a7334e in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /usr/lib/libkotextlayout.so.16
#9  0x00007f4d16a762a8 in KoTextLayoutArea::layout(FrameIterator*) () from /usr/lib/libkotextlayout.so.16
#10 0x00007f4d16a8d6ff in KoTextLayoutRootArea::layoutRoot(FrameIterator*) () from /usr/lib/libkotextlayout.so.16
Comment 10 Christoph Feck 2020-05-06 20:38:28 UTC
*** Bug 420058 has been marked as a duplicate of this bug. ***
Comment 11 Jonathan 2020-09-01 11:50:59 UTC
Created attachment 131343 [details]
New crash information added by DrKonqi

calligrawords (3.2.1) using Qt 5.15.0

- What I was doing when the application crashed: added a comment at the start of a line after an automatic line break

- Custom settings of the application: Calligra Word 3.2.1, using the Open Serif font, aspell with German dictionary, KDEs Display Global Scale set to 125%

-- Backtrace (Reduced):
#4  0x00007fa245f33b48 in QTextLine::y() const () from /usr/lib/libQt5Gui.so.5
#5  0x00007fa2470fbdfe in KoTextDocumentLayout::positionAnchorTextRanges(int, int, QTextDocument const*) () from /usr/lib/libkotextlayout.so.17
#6  0x00007fa2470deec1 in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /usr/lib/libkotextlayout.so.17
#7  0x00007fa2470e2264 in KoTextLayoutArea::layout(FrameIterator*) () from /usr/lib/libkotextlayout.so.17
#8  0x00007fa2470f981f in KoTextLayoutRootArea::layoutRoot(FrameIterator*) () from /usr/lib/libkotextlayout.so.17
Comment 12 Christoph Feck 2020-09-28 09:38:57 UTC
*** Bug 426188 has been marked as a duplicate of this bug. ***
Comment 13 Justin Zobel 2022-10-06 06:36:32 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 14 Bug Janitor Service 2022-10-21 05:00:45 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 15 marco.morandini 2022-12-28 20:30:04 UTC
I can confirm that this bug is present on Calligra 3.2.1, OpenSUSE Tumbleweed.