Bug 326990 - Crash on pasting txt from other Calligra Words file.
Summary: Crash on pasting txt from other Calligra Words file.
Status: RESOLVED DUPLICATE of bug 326552
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: 2.7.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-11-01 11:22 UTC by Wayne Moses Burke
Modified: 2014-01-07 15:27 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 Wayne Moses Burke 2013-11-01 11:22:27 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 x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
- What I was doing when the application crashed:
Pasting text from another file - the other file was a LibreOffice file, but was open in Calligra Words.

- Unusual behavior I noticed:
Nothing unusual, except the crash.

- Custom settings of the application:
I had just installed Calligra and this was my first use of it. The LO file was not displaying properly, so I was attempting to create a fresh one and just copy the text over.

-- 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 0x7f833ee507c0 (LWP 16863))]

Thread 4 (Thread 0x7f8328902700 (LWP 16865)):
#0  0x00007f833e7906bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8339295660 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f83392561bc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f833925662b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8339256afa in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f832e4b29d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#6  0x00007f833927b0e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f833972ef6e in start_thread (arg=0x7f8328902700) at pthread_create.c:311
#8  0x00007f833e79e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f8323736700 (LWP 16866)):
#0  0x00007f833e7906bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8339295660 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f83392561bc in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f833925662b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f833925679c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f83392567e9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f833927b0e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f833972ef6e in start_thread (arg=0x7f8323736700) at pthread_create.c:311
#8  0x00007f833e79e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f8322f35700 (LWP 16874)):
#0  0x00007f8339255f61 in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f8339256602 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f833925679c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f833cea7a76 in QEventDispatcherGlib::processEvents (this=0x7f8314001390, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f833ce795ef in QEventLoop::processEvents (this=this@entry=0x7f8322f34d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f833ce798e5 in QEventLoop::exec (this=this@entry=0x7f8322f34d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f833cd7888f in QThread::exec (this=this@entry=0x2c69480) at thread/qthread.cpp:542
#7  0x00007f833ce5ad13 in QInotifyFileSystemWatcherEngine::run (this=0x2c69480) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f833cd7af2f in QThreadPrivate::start (arg=0x2c69480) at thread/qthread_unix.cpp:338
#9  0x00007f833972ef6e in start_thread (arg=0x7f8322f35700) at pthread_create.c:311
#10 0x00007f833e79e9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f833ee507c0 (LWP 16863)):
[KCrash Handler]
#6  QString (other=<error reading variable: Cannot access memory at address 0x18>, this=0x7fff64fe4e70, this@entry=0x7fff64fe4dc0) at /usr/include/qt4/QtCore/qstring.h:725
#7  KoParagraphStyle::name (this=0x0) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:944
#8  0x00007f830e533f7e in DockerStylesComboModel::styleApplied (this=0x6d66940, style=0x77ea240) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#9  0x00007f830e53788c in SimpleParagraphWidget::slotParagraphStyleApplied (this=<optimized out>, style=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#10 0x00007f830e5383fc in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:82
#11 SimpleParagraphWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:68
#12 0x00007f833ce8ea58 in QMetaObject::activate (sender=sender@entry=0x5637120, m=m@entry=0x7f833bdd29a0 <KoStyleManager::staticMetaObject>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7fff64fe5030) at kernel/qobject.cpp:3539
#13 0x00007f833bb451e2 in KoStyleManager::styleApplied (this=this@entry=0x5637120, _t1=_t1@entry=0x77ea240) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/libs/kotext/KoStyleManager.moc:320
#14 0x00007f833bb455f0 in KoStyleManager::slotAppliedStyle (this=0x5637120, style=0x77ea240) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoStyleManager.cpp:539
#15 0x00007f833ce8ea58 in QMetaObject::activate (sender=sender@entry=0x77ea240, m=m@entry=0x7f833bdd28c0 <KoParagraphStyle::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff64fe5190) at kernel/qobject.cpp:3539
#16 0x00007f833bb36db2 in KoParagraphStyle::styleApplied (this=this@entry=0x77ea240, _t1=_t1@entry=0x77ea240) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/libs/kotext/KoParagraphStyle.moc:109
#17 0x00007f833bb3dd18 in KoParagraphStyle::applyStyle (this=0x77ea240, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:259
#18 0x00007f833bb3dc50 in KoParagraphStyle::applyStyle (this=this@entry=0x7742b40, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:239
#19 0x00007f833bb3de6e in KoParagraphStyle::applyStyle (this=0x7742b40, block=..., applyListStyle=<optimized out>) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:267
#20 0x00007f833bb76c48 in KoTextLoader::loadHeading (this=this@entry=0x7fff64fe56b0, element=..., cursor=...) at /build/buildd/calligra-2.7.2/libs/kotext/opendocument/KoTextLoader.cpp:527
#21 0x00007f833bb7a121 in KoTextLoader::loadBody (this=this@entry=0x7fff64fe56b0, bodyElem=..., cursor=...) at /build/buildd/calligra-2.7.2/libs/kotext/opendocument/KoTextLoader.cpp:377
#22 0x00007f833badf55b in KoTextPaste::process (this=0x7fff64fe5900, body=..., odfStore=...) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextPaste.cpp:74
#23 0x00007f833b29be8d in KoOdfPaste::paste (this=this@entry=0x7fff64fe5900, documentType=documentType@entry=KoOdf::Text, bytes=...) at /build/buildd/calligra-2.7.2/libs/odf/KoOdfPaste.cpp:83
#24 0x00007f833b29c09e in KoOdfPaste::paste (this=this@entry=0x7fff64fe5900, documentType=documentType@entry=KoOdf::Text, data=0x76c32b0) at /build/buildd/calligra-2.7.2/libs/odf/KoOdfPaste.cpp:45
#25 0x00007f833bb9ab2a in TextPasteCommand::redo (this=0x76a6be0) at /build/buildd/calligra-2.7.2/libs/kotext/commands/TextPasteCommand.cpp:115
#26 0x00007f833a9661dd in KUndo2QStack::push (this=this@entry=0x34571b0, cmd=0x76a6be0) at /build/buildd/calligra-2.7.2/libs/kundo2/kundo2stack.cpp:570
#27 0x00007f833baec3d4 in KoTextEditor::addCommand (this=0x29df5e0, command=0x76a6be0) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor_undo.cpp:230
#28 0x00007f833bae4949 in paste (pasteAsText=<optimized out>, shapeController=<optimized out>, mimeData=0x76c32b0, this=<optimized out>) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor.cpp:614
#29 KoTextEditor::paste (this=<optimized out>, mimeData=mimeData@entry=0x629c190, shapeController=<optimized out>, pasteAsText=pasteAsText@entry=false) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor.cpp:602
#30 0x00007f830e5269fd in TextTool::paste (this=0x629c190) at /build/buildd/calligra-2.7.2/plugins/textshape/TextTool.cpp:1083
#31 0x00007f833b77f8e7 in paste (this=<optimized out>) at /build/buildd/calligra-2.7.2/libs/flake/KoPasteController_p.h:37
#32 qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/libs/flake/KoPasteController.moc:49
#33 KoPasteController::qt_static_metacall (_o=0x7fff64fe4e70, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x5be88c0) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/libs/flake/KoPasteController.moc:43
#34 0x00007f833ce8ea58 in QMetaObject::activate (sender=sender@entry=0x6ccfbb0, m=m@entry=0x7f833e314de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff64fe5bc0) at kernel/qobject.cpp:3539
#35 0x00007f833d865a32 in QAction::triggered (this=this@entry=0x6ccfbb0, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#36 0x00007f833d867403 in QAction::activate (this=0x6ccfbb0, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#37 0x00007f833d86755c in QAction::event (this=<optimized out>, e=e@entry=0x7fff64fe5f70) at kernel/qaction.cpp:1183
#38 0x00007f833a460d3f in KAction::event (this=<optimized out>, event=0x7fff64fe5f70) at ../../kdeui/actions/kaction.cpp:131
#39 0x00007f833d86bdfc in QApplicationPrivate::notify_helper (this=this@entry=0x25fd820, receiver=receiver@entry=0x6ccfbb0, e=e@entry=0x7fff64fe5f70) at kernel/qapplication.cpp:4567
#40 0x00007f833d872470 in QApplication::notify (this=0x7fff64fe6cd0, receiver=receiver@entry=0x6ccfbb0, e=e@entry=0x7fff64fe5f70) at kernel/qapplication.cpp:4353
#41 0x00007f833e3b0928 in KoApplication::notify (this=<optimized out>, receiver=0x6ccfbb0, event=0x7fff64fe5f70) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#42 0x00007f833ce7a8bd in QCoreApplication::notifyInternal (this=0x7fff64fe6cd0, receiver=0x6ccfbb0, event=event@entry=0x7fff64fe5f70) at kernel/qcoreapplication.cpp:946
#43 0x00007f833d89d1b6 in sendEvent (event=0x7fff64fe5f70, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QShortcutMap::dispatchEvent (this=this@entry=0x25fd940, e=e@entry=0x7fff64fe62c0) at kernel/qshortcutmap.cpp:884
#45 0x00007f833d89d2e4 in QShortcutMap::tryShortcutEvent (this=0x25fd940, o=o@entry=0x6005eb0, e=e@entry=0x7fff64fe62c0) at kernel/qshortcutmap.cpp:364
#46 0x00007f833d873743 in QApplication::notify (this=0x7fff64fe6cd0, receiver=receiver@entry=0x6005eb0, e=e@entry=0x7fff64fe62c0) at kernel/qapplication.cpp:3991
#47 0x00007f833e3b0928 in KoApplication::notify (this=<optimized out>, receiver=0x6005eb0, event=0x7fff64fe62c0) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#48 0x00007f833ce7a8bd in QCoreApplication::notifyInternal (this=0x7fff64fe6cd0, receiver=receiver@entry=0x6005eb0, event=event@entry=0x7fff64fe62c0) at kernel/qcoreapplication.cpp:946
#49 0x00007f833d86a526 in sendSpontaneousEvent (event=event@entry=0x7fff64fe62c0, receiver=receiver@entry=0x6005eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#50 qt_sendSpontaneousEvent (receiver=receiver@entry=0x6005eb0, event=event@entry=0x7fff64fe62c0) at kernel/qapplication.cpp:5565
#51 0x00007f833d90ae19 in QKeyMapper::sendKeyEvent (keyWidget=keyWidget@entry=0x6005eb0, grab=grab@entry=false, type=QEvent::KeyPress, code=86, modifiers=..., text=..., autorepeat=autorepeat@entry=false, count=1, nativeScanCode=55, nativeVirtualKey=118, nativeModifiers=20) at kernel/qkeymapper_x11.cpp:1866
#52 0x00007f833d90b1b9 in QKeyMapperPrivate::translateKeyEvent (this=0x2648010, keyWidget=keyWidget@entry=0x6005eb0, event=event@entry=0x7fff64fe6850, grab=grab@entry=false) at kernel/qkeymapper_x11.cpp:1836
#53 0x00007f833d8e5207 in QApplication::x11ProcessEvent (this=0x7fff64fe6cd0, event=event@entry=0x7fff64fe6850) at kernel/qapplication_x11.cpp:3639
#54 0x00007f833d90d922 in x11EventSourceDispatch (s=0x25fbe70, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#55 0x00007f83392563a6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#56 0x00007f83392566f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#57 0x00007f833925679c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007f833cea7a55 in QEventDispatcherGlib::processEvents (this=0x255eb30, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#59 0x00007f833d90d9d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#60 0x00007f833ce795ef in QEventLoop::processEvents (this=this@entry=0x7fff64fe6c30, flags=...) at kernel/qeventloop.cpp:149
#61 0x00007f833ce798e5 in QEventLoop::exec (this=this@entry=0x7fff64fe6c30, flags=...) at kernel/qeventloop.cpp:204
#62 0x00007f833ce7ee5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#63 0x00007f833d86a34c in QApplication::exec () at kernel/qapplication.cpp:3828
#64 0x00007f833ea6ec65 in kdemain (argc=<optimized out>, argv=0x7fff64fe6de8) at /build/buildd/calligra-2.7.2/words/app/main.cpp:43
#65 0x00007f833e6c5de5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=1, ubp_av=0x7fff64fe6de8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff64fe6dd8) at libc-start.c:260
#66 0x00000000004006fe in _start ()

Possible duplicates by query: bug 326553, bug 326552, bug 319048.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-01-07 15:27:30 UTC

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