Bug 326553

Summary: Crash on importin text from libreoffice (copy and paste)
Product: [Applications] calligrawords Reporter: Martin Tlustos <martin.tlustos>
Component: generalAssignee: Calligra Words Bugs <calligra-words-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 2.7.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Martin Tlustos 2013-10-24 09:26:49 UTC
Application: calligrawords (2.7.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-12-generic i686
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
I created a three-folded brochure with linked frames and then tried to copy and paste text from libreoffice into the first frame, so that it would spill over into the other frames.

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

Thread 2 (Thread 0xaa1d3b40 (LWP 14376)):
#0  0xb59d586e in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0xb59d5be8 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0xb599212e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb5992a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5992ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb6ddb8df in QEventDispatcherGlib::processEvents (this=0xa982d158, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb6daa9f3 in QEventLoop::processEvents (this=this@entry=0xaa1d3228, flags=...) at kernel/qeventloop.cpp:149
#7  0xb6daad19 in QEventLoop::exec (this=this@entry=0xaa1d3228, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6c99e3d in QThread::exec (this=this@entry=0xb87e9b8) at thread/qthread.cpp:542
#9  0xb6d8ae14 in QInotifyFileSystemWatcherEngine::run (this=0xb87e9b8) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb6c9c72f in QThreadPrivate::start (arg=0xb87e9b8) at thread/qthread_unix.cpp:338
#11 0xb5a5bd78 in start_thread (arg=0xaa1d3b40) at pthread_create.c:311
#12 0xb5fd901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb5682740 (LWP 14369)):
[KCrash Handler]
#7  QString (other=<error reading variable: Cannot access memory at address 0xc>, this=0xbfe38c08, this@entry=0xbfe38b88) at /usr/include/qt4/QtCore/qstring.h:725
#8  KoParagraphStyle::name (this=0x0) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:944
#9  0xab8ab33d in DockerStylesComboModel::styleApplied (this=0xb8a6c48, style=style@entry=0xc1d6b48) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#10 0xab8af709 in SimpleParagraphWidget::slotParagraphStyleApplied (this=this@entry=0xb890d40, style=0xc1d6b48) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#11 0xab8b0511 in qt_static_metacall (_a=0xbfe38d58, _id=8, _o=0xb890d40, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:82
#12 SimpleParagraphWidget::qt_static_metacall (_o=_o@entry=0xb890d40, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe38d58) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:68
#13 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0x9e15550, m=m@entry=0xadab5418 <KoStyleManager::staticMetaObject>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0xbfe38d58) at kernel/qobject.cpp:3539
#14 0xada14fc5 in KoStyleManager::styleApplied (this=this@entry=0x9e15550, _t1=_t1@entry=0xc1d6b48) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoStyleManager.moc:320
#15 0xada15460 in KoStyleManager::slotAppliedStyle (this=this@entry=0x9e15550, style=0xc1d6b48) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoStyleManager.cpp:539
#16 0xada1b7bd in qt_static_metacall (_a=0xbfe38e78, _id=29, _o=0x9e15550, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoStyleManager.moc:138
#17 KoStyleManager::qt_static_metacall (_o=_o@entry=0x9e15550, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfe38e78) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoStyleManager.moc:103
#18 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0xc1d6b48, m=m@entry=0xadab53bc <KoParagraphStyle::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfe38e78) at kernel/qobject.cpp:3539
#19 0xada04f05 in KoParagraphStyle::styleApplied (this=this@entry=0xc1d6b48, _t1=_t1@entry=0xc1d6b48) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoParagraphStyle.moc:109
#20 0xada0cab4 in KoParagraphStyle::applyStyle (this=0xc1d6b48, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:259
#21 0xada0c9d6 in KoParagraphStyle::applyStyle (this=0xb9f33e0, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:239
#22 0xada0c9d6 in KoParagraphStyle::applyStyle (this=this@entry=0xc1c71e8, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:239
#23 0xada0cc3d in KoParagraphStyle::applyStyle (this=0xc1c71e8, block=..., applyListStyle=false) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:267
#24 0xada4e69b in KoTextLoader::loadParagraph (this=this@entry=0xbfe39258, element=..., cursor=...) at /build/buildd/calligra-2.7.2/libs/kotext/opendocument/KoTextLoader.cpp:455
#25 0xada50fc9 in KoTextLoader::loadBody (this=this@entry=0xbfe39258, bodyElem=..., cursor=...) at /build/buildd/calligra-2.7.2/libs/kotext/opendocument/KoTextLoader.cpp:375
#26 0xad99f3d6 in KoTextPaste::process (this=0xbfe393f0, body=..., odfStore=...) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextPaste.cpp:74
#27 0xad76f536 in KoOdfPaste::paste (this=this@entry=0xbfe393f0, documentType=documentType@entry=KoOdf::OpenOfficeClipboard, bytes=...) at /build/buildd/calligra-2.7.2/libs/odf/KoOdfPaste.cpp:83
#28 0xad76f787 in KoOdfPaste::paste (this=this@entry=0xbfe393f0, documentType=documentType@entry=KoOdf::OpenOfficeClipboard, data=0xbee5420) at /build/buildd/calligra-2.7.2/libs/odf/KoOdfPaste.cpp:45
#29 0xada75373 in TextPasteCommand::redo (this=0xc01a558) at /build/buildd/calligra-2.7.2/libs/kotext/commands/TextPasteCommand.cpp:115
#30 0xad727ac2 in KUndo2QStack::push (this=this@entry=0x9dd2b88, cmd=0xc01a558) at /build/buildd/calligra-2.7.2/libs/kundo2/kundo2stack.cpp:570
#31 0xad9af2db in KoTextEditor::addCommand (this=this@entry=0x9f104e0, command=command@entry=0xc01a558) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor_undo.cpp:230
#32 0xad9a5a88 in paste (pasteAsText=false, shapeController=0xa2b52c8, mimeData=0xbee5420, this=0x9f104e0) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor.cpp:614
#33 KoTextEditor::paste (this=0x9f104e0, mimeData=mimeData@entry=0xbee5420, shapeController=0xa2b52c8, pasteAsText=pasteAsText@entry=false) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor.cpp:602
#34 0xab89b577 in TextTool::paste (this=0xa744e78) at /build/buildd/calligra-2.7.2/plugins/textshape/TextTool.cpp:1083
#35 0xad894208 in KoToolProxy::paste (this=0xa2c2960) at /build/buildd/calligra-2.7.2/libs/flake/KoToolProxy.cpp:460
#36 0xad837ce0 in paste (this=<optimized out>) at /build/buildd/calligra-2.7.2/libs/flake/KoPasteController_p.h:37
#37 qt_static_metacall (_o=0xb8128b0, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/flake/KoPasteController.moc:49
#38 KoPasteController::qt_static_metacall (_o=_o@entry=0xb8128b0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfe39678) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/flake/KoPasteController.moc:43
#39 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0xb8124e0, m=m@entry=0xb6c15718 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfe39678) at kernel/qobject.cpp:3539
#40 0xb62b667d in QAction::triggered (this=this@entry=0xb8124e0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#41 0xb62b8274 in QAction::activate (this=this@entry=0xb8124e0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#42 0xb62b8400 in QAction::event (this=this@entry=0xb8124e0, e=e@entry=0xbfe399b8) at kernel/qaction.cpp:1183
#43 0xb73ea60d in KAction::event (this=0xb8124e0, event=0xbfe399b8) at ../../kdeui/actions/kaction.cpp:131
#44 0xb62bd744 in QApplicationPrivate::notify_helper (this=0x9c0dc08, receiver=0xb8124e0, e=0xbfe399b8) at kernel/qapplication.cpp:4567
#45 0xb62c4223 in QApplication::notify (this=0xbfe3a370, receiver=0xb8124e0, e=0xbfe399b8) at kernel/qapplication.cpp:4353
#46 0xadc17f3a in KoApplication::notify (this=0xbfe38c08, receiver=0xb8124e0, event=0xbfe399b8) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#47 0xb6dabeda in QCoreApplication::notifyInternal (this=0xbfe3a370, receiver=0xb8124e0, event=event@entry=0xbfe399b8) at kernel/qcoreapplication.cpp:946
#48 0xb62f577b in sendEvent (event=0xbfe399b8, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QShortcutMap::dispatchEvent (this=this@entry=0x9c0dcb0, e=e@entry=0xbfe39cb8) at kernel/qshortcutmap.cpp:884
#50 0xb62f58ed in QShortcutMap::tryShortcutEvent (this=0x9c0dcb0, o=0xa2c0448, e=0xbfe39cb8) at kernel/qshortcutmap.cpp:364
#51 0xb62c5c00 in QApplication::notify (this=0xbfe3a370, receiver=0xa2c0448, e=0xbfe39cb8) at kernel/qapplication.cpp:3991
#52 0xadc17f3a in KoApplication::notify (this=0xbfe38c08, receiver=0xa2c0448, event=0xbfe39cb8) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#53 0xb6dabeda in QCoreApplication::notifyInternal (this=0xbfe3a370, receiver=receiver@entry=0xa2c0448, event=event@entry=0xbfe39cb8) at kernel/qcoreapplication.cpp:946
#54 0xb62bbbcd in sendSpontaneousEvent (event=0xbfe39cb8, receiver=0xa2c0448) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#55 qt_sendSpontaneousEvent (receiver=0xa2c0448, event=event@entry=0xbfe39cb8) at kernel/qapplication.cpp:5565
#56 0xb636f579 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0xa2c0448, grab=grab@entry=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=nativeScanCode@entry=55, nativeVirtualKey=118, nativeModifiers=nativeModifiers@entry=4) at kernel/qkeymapper_x11.cpp:1866
#57 0xb636f968 in QKeyMapperPrivate::translateKeyEvent (this=0x9c45480, keyWidget=keyWidget@entry=0xa2c0448, event=event@entry=0xbfe3a02c, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#58 0xb6345ae5 in QApplication::x11ProcessEvent (this=0xbfe3a370, event=event@entry=0xbfe3a02c) at kernel/qapplication_x11.cpp:3639
#59 0xb6372274 in x11EventSourceDispatch (s=0x9c0e9a8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0xb599283e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#61 0xb5992be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#62 0xb5992ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#63 0xb6ddb8df in QEventDispatcherGlib::processEvents (this=this@entry=0x9b7f6b8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#64 0xb637232e in QGuiEventDispatcherGlib::processEvents (this=0x9b7f6b8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0xb6daa9f3 in QEventLoop::processEvents (this=this@entry=0xbfe3a2e8, flags=...) at kernel/qeventloop.cpp:149
#66 0xb6daad19 in QEventLoop::exec (this=this@entry=0xbfe3a2e8, flags=...) at kernel/qeventloop.cpp:204
#67 0xb6db089e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#68 0xb62bb974 in QApplication::exec () at kernel/qapplication.cpp:3828
#69 0xb3d0cb9d in kdemain (argc=2, argv=0x9b60888) at /build/buildd/calligra-2.7.2/words/app/main.cpp:43
#70 0x0804f733 in launch (argc=<optimized out>, argc@entry=2, _name=_name@entry=0x9b7a7ac "/usr/bin/calligrawords", args=<optimized out>, args@entry=0x9b7a7c3 "/home/martin/Dokumente/SIL-Wycliff/Wycliff/Gebetskoordination/Gebetsbrief/2013/tst1.odt", cwd=cwd@entry=0x0, envc=envc@entry=1, envs=<optimized out>, envs@entry=0x9b7a81f "DISPLAY=:0", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x9b7a82e "martin-N90SV;1382606597;317254;3687_TIME13377238") at ../../kinit/kinit.cpp:738
#71 0x08050963 in handle_launcher_request (sock=sock@entry=8, who=<optimized out>) at ../../kinit/kinit.cpp:1230
#72 0x08050fd9 in handle_requests (waitForPid=waitForPid@entry=0) at ../../kinit/kinit.cpp:1423
#73 0x0804c1de in main (argc=4, argv=0xbfe3ab84, envp=0xbfe3ab98) at ../../kinit/kinit.cpp:1911

Possible duplicates by query: bug 326552, bug 319048.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-24 09:52:42 UTC

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