Bug 328566 - Crash on changing paragraph style
Summary: Crash on changing paragraph style
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-12-09 09:18 UTC by Jussi Schultink
Modified: 2014-01-07 15:25 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 Jussi Schultink 2013-12-09 09:18:29 UTC
Application: calligrawords (2.7.2)
KDE Platform Version: 4.11.2
Qt Version: 4.8.4
Operating System: Linux 3.11.0-14-generic x86_64
Distribution: Ubuntu 13.10

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

Working on a document, hilighted several lines of information, selected a new paragraph style (head 2), then crashed.

-- 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 0x7fb5fa2827c0 (LWP 2235))]

Thread 3 (Thread 0x7fb5d2b7f700 (LWP 2348)):
#0  0x00007fb5f4c3a0e0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb5f4c3a3c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5f4bfa299 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5f4bfa708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fb5f4bfa7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fb5f8f25a76 in QEventDispatcherGlib::processEvents (this=0x7fb5cc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fb5f8ef75ef in QEventLoop::processEvents (this=this@entry=0x7fb5d2b7ed70, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fb5f8ef78e5 in QEventLoop::exec (this=this@entry=0x7fb5d2b7ed70, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fb5f8df688f in QThread::exec (this=this@entry=0x1b945b0) at thread/qthread.cpp:542
#9  0x00007fb5f8ed8d13 in QInotifyFileSystemWatcherEngine::run (this=0x1b945b0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fb5f8df8f2f in QThreadPrivate::start (arg=0x1b945b0) at thread/qthread_unix.cpp:338
#11 0x00007fb5f52d5f6e in start_thread (arg=0x7fb5d2b7f700) at pthread_create.c:311
#12 0x00007fb5f7afa9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fb5d1242700 (LWP 2423)):
#0  0x00007fb5f4c3a0f9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fb5f4c3a399 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fb5f4bfa798 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fb5f8f25a76 in QEventDispatcherGlib::processEvents (this=0x7fb5c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fb5f8ef75ef in QEventLoop::processEvents (this=this@entry=0x7fb5d1241d70, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fb5f8ef78e5 in QEventLoop::exec (this=this@entry=0x7fb5d1241d70, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fb5f8df688f in QThread::exec (this=this@entry=0x1b52580) at thread/qthread.cpp:542
#7  0x00007fb5f8ed8d13 in QInotifyFileSystemWatcherEngine::run (this=0x1b52580) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007fb5f8df8f2f in QThreadPrivate::start (arg=0x1b52580) at thread/qthread_unix.cpp:338
#9  0x00007fb5f52d5f6e in start_thread (arg=0x7fb5d1242700) at pthread_create.c:311
#10 0x00007fb5f7afa9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fb5fa2827c0 (LWP 2235)):
[KCrash Handler]
#6  QString (other=<error reading variable: Cannot access memory at address 0x18>, this=0x7fff2291baf0, this@entry=0x7fff2291ba40) 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  0x00007fb5da397f7e in DockerStylesComboModel::styleApplied (this=0x41cb780, style=0x2144660) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#9  0x00007fb5da39b88c in SimpleParagraphWidget::slotParagraphStyleApplied (this=<optimized out>, style=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#10 0x00007fb5da39c3fc 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 0x00007fb5f8f0ca58 in QMetaObject::activate (sender=sender@entry=0x180c4f0, m=m@entry=0x7fb5e40699a0 <KoStyleManager::staticMetaObject>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7fff2291bcb0) at kernel/qobject.cpp:3539
#13 0x00007fb5e3ddc1e2 in KoStyleManager::styleApplied (this=this@entry=0x180c4f0, _t1=_t1@entry=0x2144660) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/libs/kotext/KoStyleManager.moc:320
#14 0x00007fb5e3ddc5f0 in KoStyleManager::slotAppliedStyle (this=0x180c4f0, style=0x2144660) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoStyleManager.cpp:539
#15 0x00007fb5f8f0ca58 in QMetaObject::activate (sender=sender@entry=0x2144660, m=m@entry=0x7fb5e40698c0 <KoParagraphStyle::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff2291be10) at kernel/qobject.cpp:3539
#16 0x00007fb5e3dcddb2 in KoParagraphStyle::styleApplied (this=this@entry=0x2144660, _t1=_t1@entry=0x2144660) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/libs/kotext/KoParagraphStyle.moc:109
#17 0x00007fb5e3dd4d18 in KoParagraphStyle::applyStyle (this=this@entry=0x2144660, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:259
#18 0x00007fb5e3dd4e6e in KoParagraphStyle::applyStyle (this=0x2144660, block=..., applyListStyle=applyListStyle@entry=true) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:267
#19 0x00007fb5e3d87436 in SetParagraphStyleVisitor::visitBlock (this=0x7fff2291c050, block=...) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor_format.cpp:463
#20 0x00007fb5e3d7b33c in KoTextEditor::recursivelyVisitSelection (this=this@entry=0x1905810, it=..., visitor=...) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor.cpp:454
#21 0x00007fb5e3d85ba4 in KoTextEditor::setStyle (this=0x1905810, style=0x2144660) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor_format.cpp:479
#22 0x00007fb5da38646f in TextTool::setStyle (this=0x28ff9f0, style=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/textshape/TextTool.cpp:2325
#23 0x00007fb5da38b2e4 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/TextTool.moc:219
#24 TextTool::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/TextTool.moc:164
#25 0x00007fb5f8f0ca58 in QMetaObject::activate (sender=0x41c8ec0, m=m@entry=0x7fb5da60ef40 <SimpleParagraphWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff2291c1f0) at kernel/qobject.cpp:3539
#26 0x00007fb5da39b922 in SimpleParagraphWidget::paragraphStyleSelected (this=<optimized out>, _t1=0x2144660) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:141
#27 0x00007fb5da39b968 in SimpleParagraphWidget::styleSelected (this=0x41c8ec0, index=...) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:349
#28 0x00007fb5da39c309 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:85
#29 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
#30 0x00007fb5f8f0ca58 in QMetaObject::activate (sender=sender@entry=0x41cc750, m=m@entry=0x7fb5da60e820 <StylesCombo::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff2291c340) at kernel/qobject.cpp:3539
#31 0x00007fb5da396ad5 in StylesCombo::selected (this=this@entry=0x41cc750, _t1=...) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/plugins/textshape/StylesCombo.moc:139
#32 0x00007fb5da396d44 in StylesCombo::slotItemClicked (this=0x41cc750, index=...) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesCombo.cpp:149
#33 0x00007fb5da396f7d 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/StylesCombo.moc:81
#34 StylesCombo::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/StylesCombo.moc:65
#35 0x00007fb5f8f0ca58 in QMetaObject::activate (sender=0x41d6340, m=m@entry=0x7fb5da60d060 <StylesDelegate::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff2291c4e0) at kernel/qobject.cpp:3539
#36 0x00007fb5da3753f5 in StylesDelegate::clickedInItem (this=<optimized out>, _t1=...) at /build/buildd/calligra-2.7.2/obj-x86_64-linux-gnu/plugins/textshape/moc_StylesDelegate.cpp:129
#37 0x00007fb5da3c4275 in StylesDelegate::editorEvent (this=0x41d6340, event=0x7fff2291cb80, model=<optimized out>, optionV1=..., index=...) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesDelegate.cpp:274
#38 0x00007fb5da396454 in eventFilter (event=0x7fff2291cb80, this=0x41cc750, object=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesCombo.cpp:185
#39 StylesCombo::eventFilter (this=0x41cc750, object=<optimized out>, event=0x7fff2291cb80) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesCombo.cpp:169
#40 0x00007fb5f8ef8a26 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x154cb10, receiver=receiver@entry=0x41ccd50, event=event@entry=0x7fff2291cb80) at kernel/qcoreapplication.cpp:1056
#41 0x00007fb5f8295ddc in QApplicationPrivate::notify_helper (this=this@entry=0x154cb10, receiver=receiver@entry=0x41ccd50, e=e@entry=0x7fff2291cb80) at kernel/qapplication.cpp:4563
#42 0x00007fb5f829c5ad in QApplication::notify (this=<optimized out>, receiver=receiver@entry=0x41ccd50, e=e@entry=0x7fff2291cb80) at kernel/qapplication.cpp:4110
#43 0x00007fb5e4a9c928 in KoApplication::notify (this=<optimized out>, receiver=0x41ccd50, event=0x7fff2291cb80) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#44 0x00007fb5f8ef88bd in QCoreApplication::notifyInternal (this=0x7fff2291d350, receiver=receiver@entry=0x41ccd50, event=event@entry=0x7fff2291cb80) at kernel/qcoreapplication.cpp:946
#45 0x00007fb5f829bd63 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x41ccd50, event=event@entry=0x7fff2291cb80, alienWidget=alienWidget@entry=0x41ccd50, nativeWidget=nativeWidget@entry=0x41d68c0, buttonDown=buttonDown@entry=0x7fb5f8d7a2f8 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#47 0x00007fb5f8310b0c in QETWidget::translateMouseEvent (this=this@entry=0x41d68c0, event=event@entry=0x7fff2291ced0) at kernel/qapplication_x11.cpp:4565
#48 0x00007fb5f8310079 in QApplication::x11ProcessEvent (this=0x7fff2291d350, event=event@entry=0x7fff2291ced0) at kernel/qapplication_x11.cpp:3624
#49 0x00007fb5f8337922 in x11EventSourceDispatch (s=0x154e270, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0x00007fb5f4bfa3b6 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007fb5f4bfa708 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007fb5f4bfa7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007fb5f8f25a55 in QEventDispatcherGlib::processEvents (this=0x13b4670, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#54 0x00007fb5f83379d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0x00007fb5f8ef75ef in QEventLoop::processEvents (this=this@entry=0x7fff2291d2b0, flags=...) at kernel/qeventloop.cpp:149
#56 0x00007fb5f8ef78e5 in QEventLoop::exec (this=this@entry=0x7fff2291d2b0, flags=...) at kernel/qeventloop.cpp:204
#57 0x00007fb5f8efce5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#58 0x00007fb5f829434c in QApplication::exec () at kernel/qapplication.cpp:3828
#59 0x00007fb5e4d92c65 in kdemain (argc=<optimized out>, argv=0x13be360) at /build/buildd/calligra-2.7.2/words/app/main.cpp:43
#60 0x00000000004083f5 in launch (argc=argc@entry=3, _name=_name@entry=0x1444578 "calligrawords", args=<optimized out>, args@entry=0x1444586 "-session", cwd=cwd@entry=0x0, envc=envc@entry=0, envs=<optimized out>, envs@entry=0x14445cf "", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x40ae96 "0") at ../../kinit/kinit.cpp:738
#61 0x000000000040950b in handle_launcher_request (sock=8, who=<optimized out>) at ../../kinit/kinit.cpp:1230
#62 0x0000000000409b6f in handle_requests (waitForPid=waitForPid@entry=0) at ../../kinit/kinit.cpp:1423
#63 0x000000000040535a in main (argc=4, argv=<optimized out>, envp=0x7fff2291de10) at ../../kinit/kinit.cpp:1911

The reporter indicates this bug may be a duplicate of or related to bug 326552.

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

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-01-07 15:25:22 UTC

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