Bug 390470 - Segmentation fault (?) on opening a document of large size
Summary: Segmentation fault (?) on opening a document of large size
Status: RESOLVED DUPLICATE of bug 378424
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-02-14 19:51 UTC by Alex
Modified: 2018-03-01 01:24 UTC (History)
1 user (show)

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 Alex 2018-02-14 19:51:51 UTC
Application: calligrawords (3.0.1)

Qt Version: 5.9.4
Frameworks Version: 5.42.0
Operating System: Linux 4.13.9-300.fc27.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Every time I try to open a larger .odt document (size > 500kB), the application opens, tries to load the file (progress bar at the bottom shows some progress) and then quits. gdb says segmentation fault, so I think it's because of the size. Small files work flawlessly.

The crash can be reproduced every time.

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

Thread 3 (Thread 0x7f16c7df5700 (LWP 5968)):
#0  0x00007f16e5eaf3db in poll () from /lib64/libc.so.6
#1  0x00007f16dd36fe99 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#2  0x00007f16dd36ffac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#3  0x00007f16e6d1b90b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#4  0x00007f16e6cc962a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#5  0x00007f16e6b1a8ca in QThread::exec() () from /lib64/libQt5Core.so.5
#6  0x00007f16e7133449 in QDBusConnectionManager::run() () from /lib64/libQt5DBus.so.5
#7  0x00007f16e6b1ede2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#8  0x00007f16e2afc61b in start_thread () from /lib64/libpthread.so.0
#9  0x00007f16e5ebb98f in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f16ced91700 (LWP 5967)):
#0  0x00007f16e5eaf3db in poll () from /lib64/libc.so.6
#1  0x00007f16dc613fe7 in _xcb_conn_wait () from /lib64/libxcb.so.1
#2  0x00007f16dc615dda in xcb_wait_for_event () from /lib64/libxcb.so.1
#3  0x00007f16d0a7cbf9 in QXcbEventReader::run() () from /lib64/libQt5XcbQpa.so.5
#4  0x00007f16e6b1ede2 in QThreadPrivate::start(void*) () from /lib64/libQt5Core.so.5
#5  0x00007f16e2afc61b in start_thread () from /lib64/libpthread.so.0
#6  0x00007f16e5ebb98f in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f16ee2f7940 (LWP 5966)):
[KCrash Handler]
#6  0x00007f16e7573d4c in QTextLine::y() const () from /lib64/libQt5Gui.so.5
#7  0x00007f16ed6de375 in KoTextDocumentLayout::positionAnchorTextRanges(int, int, QTextDocument const*) () from /lib64/libkotextlayout.so.15
#8  0x00007f16ed6c192c in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /lib64/libkotextlayout.so.15
#9  0x00007f16ed6c45ed in KoTextLayoutArea::layout(FrameIterator*) () from /lib64/libkotextlayout.so.15
#10 0x00007f16ed6db79d in KoTextLayoutRootArea::layoutRoot(FrameIterator*) () from /lib64/libkotextlayout.so.15
#11 0x00007f16ed6def03 in KoTextDocumentLayout::doLayout() () from /lib64/libkotextlayout.so.15
#12 0x00007f16ed6df4a8 in KoTextDocumentLayout::layout() () from /lib64/libkotextlayout.so.15
#13 0x00007f16e6cf3f2a in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#14 0x00007f16e7bc089c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f16e7bc80e4 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#16 0x00007f16edc85047 in KoApplication::notify(QObject*, QEvent*) () from /lib64/libkomain.so.15
#17 0x00007f16e6cca8a7 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#18 0x00007f16e6ccd02b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#19 0x00007f16e6d1bb03 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#20 0x00007f16dd36fb77 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x00007f16dd36ff20 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#22 0x00007f16dd36ffac in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00007f16e6d1b8ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#24 0x00007f16e6cf31d3 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#25 0x00007f16e6cf31d3 in QMetaObject::activate(QObject*, int, int, void**) () from /lib64/libQt5Core.so.5
#26 0x00007f16ebc86311 in KoUpdater::sigProgress(int) () from /lib64/libkowidgetutils.so.15
#27 0x00007f16ebc7ff84 in KoUpdater::setProgress(int) () from /lib64/libkowidgetutils.so.15
#28 0x00007f16edc8df99 in KoDocument::openFile() () from /lib64/libkomain.so.15
#29 0x00007f16edc95402 in KoDocument::Private::openLocalFile() () from /lib64/libkomain.so.15
#30 0x00007f16edc93af8 in KoDocument::openUrlInternal(QUrl const&) () from /lib64/libkomain.so.15
#31 0x00007f16edc94035 in KoDocument::openUrl(QUrl const&) () from /lib64/libkomain.so.15
#32 0x00007f16edc996b9 in KoMainWindow::openDocumentInternal(QUrl const&, KoPart*, KoDocument*) () from /lib64/libkomain.so.15
#33 0x00007f16edc9b791 in KoMainWindow::openDocument(KoPart*, QUrl const&) () from /lib64/libkomain.so.15
#34 0x00007f16edc81c27 in KoApplication::start() () from /lib64/libkomain.so.15
#35 0x00007f16edf2f361 in kdemain () from /lib64/libkdeinit5_calligrawords.so
#36 0x00007f16e5dc500a in __libc_start_main () from /lib64/libc.so.6
#37 0x0000558caecccdfa in _start ()

Possible duplicates by query: bug 382141, bug 378424.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-03-01 01:24:14 UTC

*** This bug has been marked as a duplicate of bug 378424 ***