Bug 298778 - okular crashed when open a file
Summary: okular crashed when open a file
Status: RESOLVED NOT A BUG
Alias: None
Product: calligracommon
Classification: Applications
Component: text-layout (show other bugs)
Version: unspecified
Platform: Chakra Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 04:09 UTC by Mohammad Al-Rashed
Modified: 2012-06-18 11:56 UTC (History)
4 users (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 Mohammad Al-Rashed 2012-04-25 04:09:58 UTC
Application: okular (0.14.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2-CHAKRA i686
Distribution: "Chakra Linux"

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

at first I opened a powerpoint slide then I press ctrl + O to open a pdf file then the okular carshed 
I try it servral time and still crashed when I do so

-- Backtrace:
Application: Okular (okular), signal: Segmentation fault
[Current thread is 1 (Thread 0xb4d0ca00 (LWP 26079))]

Thread 2 (Thread 0xaa0b1b70 (LWP 18452)):
#0  0xb52d9d00 in clock_gettime () from /lib/librt.so.1
#1  0xb5fc2af5 in ?? () from /usr/lib/libQtCore.so.4
#2  0xb60ac746 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb60aca9a in ?? () from /usr/lib/libQtCore.so.4
#4  0xb60ab2b3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb60ab34d in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5474a3e in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#7  0xb54758f3 in ?? () from /usr/lib/libglib-2.0.so.0
#8  0xb5475fc4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#9  0xb60abe07 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#10 0xb6077f6d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#11 0xb6078209 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#12 0xb5f6159c in QThread::exec() () from /usr/lib/libQtCore.so.4
#13 0xb605542d in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5f64a20 in ?? () from /usr/lib/libQtCore.so.4
#15 0xb09130f1 in ?? () from /usr/lib/libGL.so.1
#16 0x5c8b0824 in ?? ()
#17 0xbab80424 in ?? ()
#18 0x65000000 in ?? ()
#19 0x001015ff in ?? ()
#20 0xd3890000 in ?? ()
#21 0xfff0013d in ?? ()
#22 0xc30173ff in ?? ()
#23 0x0df522e8 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 1 (Thread 0xb4d0ca00 (LWP 26079)):
[KCrash Handler]
#7  0xb10e037b in KoCharacterStyle::ensureMinimalProperties(QTextCharFormat&) const () from /usr/lib/libkotext.so.9
#8  0xb11d8f82 in KoTextLayoutArea::addLine(QTextLine&, FrameIterator*, KoTextBlockData*) () from /usr/lib/libtextlayout.so.9
#9  0xb11da4a7 in KoTextLayoutArea::layoutBlock(FrameIterator*) () from /usr/lib/libtextlayout.so.9
#10 0xb11dcb44 in KoTextLayoutArea::layout(FrameIterator*) () from /usr/lib/libtextlayout.so.9
#11 0xb11eed5c in KoTextLayoutRootArea::layoutRoot(FrameIterator*) () from /usr/lib/libtextlayout.so.9
#12 0xb11f1423 in KoTextDocumentLayout::doLayout() () from /usr/lib/libtextlayout.so.9
#13 0xb11f1eb8 in KoTextDocumentLayout::layout() () from /usr/lib/libtextlayout.so.9
#14 0xb11ef798 in KoTextDocumentLayout::executeScheduledLayout() () from /usr/lib/libtextlayout.so.9
#15 0xb11efae8 in ?? () from /usr/lib/libtextlayout.so.9
#16 0xb608b071 in QMetaCallEvent::placeMetaCall(QObject*) () from /usr/lib/libQtCore.so.4
#17 0xb60940eb in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#18 0xb65f1564 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#19 0xb65f6993 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#20 0xb7167361 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#21 0xb60793de in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#22 0xb607d058 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#23 0xb607d38c in QCoreApplication::sendPostedEvents(QObject*, int) () from /usr/lib/libQtCore.so.4
#24 0xb60ab9b4 in ?? () from /usr/lib/libQtCore.so.4
#25 0xb5475532 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb5475d10 in ?? () from /usr/lib/libglib-2.0.so.0
#27 0xb5475fc4 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb60abda7 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0xb66a4e8a in ?? () from /usr/lib/libQtGui.so.4
#30 0xb6077f6d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#31 0xb6078209 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#32 0xb607d43a in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#33 0xb65ef3c4 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#34 0x0804e810 in ?? ()
#35 0xb5c2d243 in __libc_start_main () from /lib/libc.so.6
#36 0x0804f0ed in _start ()

Reported using DrKonqi
Comment 1 Albert Astals Cid 2012-04-25 16:09:09 UTC
I'm very confused by the /usr/lib/libtextlayout.so.9 in the backtrace, are you sure you were using okular? Are you sure it was a  pdf file? Does it happen with all pdf files or just this particular one?
Comment 2 Albert Astals Cid 2012-04-25 16:18:09 UTC
Oh sorry, i  see that you opened a powerpoint file, that makes everything clearer
Comment 3 Albert Astals Cid 2012-04-25 16:18:33 UTC
Can you please attach the powerpoint file that caused the crash?
Comment 4 Halla Rempt 2012-05-04 08:56:00 UTC
Yes, please attach your document. Without the document we cannot debug the problem.
Comment 5 Mohammad Al-Rashed 2012-05-04 17:55:42 UTC
here we go :
http://dl.dropbox.com/u/51124964/Unit11-Sequential%2520Circuits.pptx
sorry for delay I thought that I already uploaded the document
Comment 6 Halla Rempt 2012-05-04 19:12:14 UTC
Thanks! I've got it now.
Comment 7 Halla Rempt 2012-05-04 19:14:44 UTC
Okay, I've tested it and with the current Calligra and Calligra 2.4 there's no crash anymore. Did you have KOffice 2.3 installed when testing this?
Comment 8 Mohammad Al-Rashed 2012-05-04 20:11:02 UTC
welcome, yes I use the latest version of okular & Calligra 2.4.1.
I've just tested it again but it still crashes .therefore I record a video to clarify up this bug and how it happens.
http://dl.dropbox.com/u/51124964/recording2.avi
Comment 9 Halla Rempt 2012-05-04 20:47:32 UTC
Ok! Thanks for taking the effort to make the screencast, and yes, I can reproduce now. It's a totially weird bug, though :-)
Comment 10 Halla Rempt 2012-05-05 07:51:59 UTC
This is a backtrace with line numbers:

[KCrash Handler]
#6  0x00007f9ffcc0b115 in QMap (other=..., this=0x7fff87b9f4a0) at /usr/include/QtCore/qmap.h:185
#7  properties (this=0x30) at /home/boud/kde/src/calligra/libs/kotext/styles/Styles_p.h:51
#8  KoCharacterStyle::ensureMinimalProperties (this=0x19c9050, format=...) at /home/boud/kde/src/calligra/libs/kotext/styles/KoCharacterStyle.cpp:176
#9  0x00007f9ffb116cd3 in KoTextLayoutArea::addLine (this=0x1a8eb50, line=..., cursor=<optimized out>, blockData=0x1aa1590) at /home/boud/kde/src/calligra/libs/textlayout/KoTextLayoutArea.cpp:1503
#10 0x00007f9ffb118216 in KoTextLayoutArea::layoutBlock (this=<optimized out>, cursor=<optimized out>) at /home/boud/kde/src/calligra/libs/textlayout/KoTextLayoutArea.cpp:1298
#11 0x00007f9ffb11a79b in KoTextLayoutArea::layout (this=0x1a8eb50, cursor=0x78b8f90) at /home/boud/kde/src/calligra/libs/textlayout/KoTextLayoutArea.cpp:601
#12 0x00007f9ffb12e8de in KoTextLayoutRootArea::layoutRoot (this=0x1a8eb50, cursor=0x78b8f90) at /home/boud/kde/src/calligra/libs/textlayout/KoTextLayoutRootArea.cpp:63
#13 0x00007f9ffb130d95 in KoTextDocumentLayout::doLayout (this=0x19c6ae0) at /home/boud/kde/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:623
#14 0x00007f9ffb131848 in layout (this=0x19c6ae0) at /home/boud/kde/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:572
#15 KoTextDocumentLayout::layout (this=0x19c6ae0) at /home/boud/kde/src/calligra/libs/textlayout/KoTextDocumentLayout.cpp:555
#16 0x00007f9ffb12f36c in KoTextDocumentLayout::qt_metacall (this=0x19c6ae0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x19be3d0) at /home/boud/kde/build/calligra/libs/textlayout/KoTextDocumentLayout.moc:89
#17 0x00007fa00e7e515a in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#18 0x00007fa00f1acc34 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007fa00f1b1ac1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007fa00febfe36 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#21 0x00007fa00e7ce82c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#22 0x00007fa00e7d1c08 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#23 0x00007fa00e7f90c3 in ?? () from /usr/lib64/libQtCore.so.4
#24 0x00007fa00a91058d in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#25 0x00007fa00a910d88 in ?? () from /usr/lib64/libglib-2.0.so.0
#26 0x00007fa00a910f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#27 0x00007fa00e7f951f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#28 0x00007fa00f24ff9e in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fa00e7cda32 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#30 0x00007fa00e7cdc2f in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#31 0x00007fa00e7d1df7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#32 0x00000000004082c6 in ?? ()
#33 0x00007fa00dd7923d in __libc_start_main () from /lib64/libc.so.6
#34 0x0000000000408ae9 in _start ()
Comment 11 Camilla Boemann 2012-06-18 11:56:31 UTC
Document and video have been removed - closing