Bug 326552 - Crash on applying paragraph style
Summary: Crash on applying paragraph style
Status: RESOLVED FIXED
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
: 326553 326990 328566 329685 330769 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-10-24 09:16 UTC by Martin Tlustos
Modified: 2014-05-09 12:50 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
document where the crash happens (and several other crashes, too). (36.05 KB, application/vnd.oasis.opendocument.text)
2013-10-24 09:18 UTC, Martin Tlustos
Details
New crash information added by DrKonqi (11.65 KB, text/plain)
2014-01-21 04:34 UTC, Hannu Lehtimäki
Details
New crash information added by DrKonqi (11.26 KB, text/plain)
2014-02-02 03:39 UTC, Thaddee Tyl
Details
New crash information added by DrKonqi (8.63 KB, text/plain)
2014-02-26 10:17 UTC, Maarten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Tlustos 2013-10-24 09:16:54 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'm trying to create a three-folded brochure. When clicking into one frame and then trying to select a paragraph style, the program crashes (it actually crashes all the time in different situations, but I'll post bug reports separately).

The crash can be reproduced sometimes.

-- 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 13718))]

Thread 2 (Thread 0xaa0fdb40 (LWP 13726)):
#0  __pthread_mutex_unlock_usercnt (mutex=0xa875d6f8, decr=1) at pthread_mutex_unlock.c:41
#1  0xb5fe6c04 in pthread_mutex_unlock (mutex=0xa875d6f8) at forward.c:194
#2  0xb59d5bf0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb599212e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb5992a5f in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb5992ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb6ddb8df in QEventDispatcherGlib::processEvents (this=0xa872d158, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb6daa9f3 in QEventLoop::processEvents (this=this@entry=0xaa0fd228, flags=...) at kernel/qeventloop.cpp:149
#8  0xb6daad19 in QEventLoop::exec (this=this@entry=0xaa0fd228, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6c99e3d in QThread::exec (this=this@entry=0xb929b48) at thread/qthread.cpp:542
#10 0xb6d8ae14 in QInotifyFileSystemWatcherEngine::run (this=0xb929b48) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb6c9c72f in QThreadPrivate::start (arg=0xb929b48) at thread/qthread_unix.cpp:338
#12 0xb5a5bd78 in start_thread (arg=0xaa0fdb40) at pthread_create.c:311
#13 0xb5fd901e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:131

Thread 1 (Thread 0xb5682740 (LWP 13718)):
[KCrash Handler]
#7  QString (other=<error reading variable: Cannot access memory at address 0xc>, this=0xbfe39018, this@entry=0xbfe38f98) 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=0xb93fbb8, style=style@entry=0x9f26818) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#10 0xab8af709 in SimpleParagraphWidget::slotParagraphStyleApplied (this=this@entry=0xb949690, style=0x9f26818) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#11 0xab8b0511 in qt_static_metacall (_a=0xbfe39168, _id=8, _o=0xb949690, _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=0xb949690, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfe39168) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:68
#13 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0x9e278b8, m=m@entry=0xadab5418 <KoStyleManager::staticMetaObject>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0xbfe39168) at kernel/qobject.cpp:3539
#14 0xada14fc5 in KoStyleManager::styleApplied (this=this@entry=0x9e278b8, _t1=_t1@entry=0x9f26818) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoStyleManager.moc:320
#15 0xada15460 in KoStyleManager::slotAppliedStyle (this=this@entry=0x9e278b8, style=0x9f26818) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoStyleManager.cpp:539
#16 0xada1b7bd in qt_static_metacall (_a=0xbfe39288, _id=29, _o=0x9e278b8, _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=0x9e278b8, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfe39288) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoStyleManager.moc:103
#18 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0x9f26818, m=m@entry=0xadab53bc <KoParagraphStyle::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfe39288) at kernel/qobject.cpp:3539
#19 0xada04f05 in KoParagraphStyle::styleApplied (this=this@entry=0x9f26818, _t1=_t1@entry=0x9f26818) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/libs/kotext/KoParagraphStyle.moc:109
#20 0xada0cab4 in KoParagraphStyle::applyStyle (this=this@entry=0x9f26818, format=...) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:259
#21 0xada0cc3d in KoParagraphStyle::applyStyle (this=0x9f26818, block=..., applyListStyle=applyListStyle@entry=true) at /build/buildd/calligra-2.7.2/libs/kotext/styles/KoParagraphStyle.cpp:267
#22 0xad9b4426 in SetParagraphStyleVisitor::visitBlock (this=0xbfe394b8, block=...) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor_format.cpp:463
#23 0xad9a522d in KoTextEditor::recursivelyVisitSelection (this=this@entry=0x9f56cc8, it=..., visitor=...) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor.cpp:454
#24 0xad9b20bb in KoTextEditor::setStyle (this=0x9f56cc8, style=style@entry=0x9f26818) at /build/buildd/calligra-2.7.2/libs/kotext/KoTextEditor_format.cpp:479
#25 0xab8968cd in TextTool::setStyle (this=this@entry=0xabdd710, style=0x9f26818) at /build/buildd/calligra-2.7.2/plugins/textshape/TextTool.cpp:2325
#26 0xab89c0b4 in qt_static_metacall (_a=0xbfe39608, _id=49, _o=0xabdd710, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/TextTool.moc:219
#27 TextTool::qt_static_metacall (_o=_o@entry=0xabdd710, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=49, _a=0xbfe39608) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/TextTool.moc:164
#28 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0xb949690, m=m@entry=0xab93511c <SimpleParagraphWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfe39608) at kernel/qobject.cpp:3539
#29 0xab8af7e5 in SimpleParagraphWidget::paragraphStyleSelected (this=this@entry=0xb949690, _t1=0x9f26818) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:141
#30 0xab8af844 in SimpleParagraphWidget::styleSelected (this=this@entry=0xb949690, index=...) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:349
#31 0xab8b03af in qt_static_metacall (_a=0xbfe39728, _id=11, _o=0xb949690, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:85
#32 SimpleParagraphWidget::qt_static_metacall (_o=_o@entry=0xb949690, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfe39728) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:68
#33 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0xb95ca38, m=m@entry=0xab934da4 <StylesCombo::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfe39728) at kernel/qobject.cpp:3539
#34 0xab8a97f5 in StylesCombo::selected (this=this@entry=0xb95ca38, _t1=...) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/StylesCombo.moc:139
#35 0xab8a9b5f in StylesCombo::slotItemClicked (this=this@entry=0xb95ca38, index=...) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesCombo.cpp:149
#36 0xab8a9e6e in qt_static_metacall (_a=0xbfe39898, _id=10, _o=0xb95ca38, _c=<optimized out>) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/StylesCombo.moc:81
#37 StylesCombo::qt_static_metacall (_o=_o@entry=0xb95ca38, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfe39898) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/StylesCombo.moc:65
#38 0xb6dc0fc7 in QMetaObject::activate (sender=sender@entry=0xb93c7d0, m=m@entry=0xab93422c <StylesDelegate::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0xbfe39898) at kernel/qobject.cpp:3539
#39 0xab8827e5 in StylesDelegate::clickedInItem (this=this@entry=0xb93c7d0, _t1=...) at /build/buildd/calligra-2.7.2/obj-i686-linux-gnu/plugins/textshape/moc_StylesDelegate.cpp:129
#40 0xab8df448 in StylesDelegate::editorEvent (this=0xb93c7d0, event=0xbfe39e04, model=0xb93fbb8, optionV1=..., index=...) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesDelegate.cpp:274
#41 0xab8a8fd0 in eventFilter (event=0xbfe39e04, this=0xb95ca38, object=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesCombo.cpp:185
#42 StylesCombo::eventFilter (this=0xb95ca38, object=0xb9475a8, event=0xbfe39e04) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/StylesCombo.cpp:169
#43 0xb6dac04e in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x9c0dc00, receiver=receiver@entry=0xb9475a8, event=event@entry=0xbfe39e04) at kernel/qcoreapplication.cpp:1056
#44 0xb62bd721 in QApplicationPrivate::notify_helper (this=0x9c0dc00, receiver=receiver@entry=0xb9475a8, e=0xbfe39e04) at kernel/qapplication.cpp:4563
#45 0xb62c5df8 in QApplication::notify (this=0xbfe3a370, receiver=0xb9475a8, e=0xbfe39e04) at kernel/qapplication.cpp:4110
#46 0xadc17f3a in KoApplication::notify (this=0xbfe39018, receiver=0xb9475a8, event=0xbfe39e04) at /build/buildd/calligra-2.7.2/libs/main/KoApplication.cpp:556
#47 0xb6dabeda in QCoreApplication::notifyInternal (this=0xbfe3a370, receiver=receiver@entry=0xb9475a8, event=event@entry=0xbfe39e04) at kernel/qcoreapplication.cpp:946
#48 0xb62c3aa3 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QApplicationPrivate::sendMouseEvent (receiver=0xb9475a8, event=event@entry=0xbfe39e04, alienWidget=0xb9475a8, nativeWidget=nativeWidget@entry=0xb9575b8, buttonDown=buttonDown@entry=0xb6c32cc4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#50 0xb6347910 in QETWidget::translateMouseEvent (this=0xb9575b8, event=event@entry=0xbfe3a02c) at kernel/qapplication_x11.cpp:4565
#51 0xb6346c05 in QApplication::x11ProcessEvent (this=0xbfe3a370, event=event@entry=0xbfe3a02c) at kernel/qapplication_x11.cpp:3624
#52 0xb6372274 in x11EventSourceDispatch (s=0x9c0e9a8, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#53 0xb599283e in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0xb5992be8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb5992ca8 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb6ddb8df in QEventDispatcherGlib::processEvents (this=this@entry=0x9b8b2a0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#57 0xb637232e in QGuiEventDispatcherGlib::processEvents (this=0x9b8b2a0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb6daa9f3 in QEventLoop::processEvents (this=this@entry=0xbfe3a2e8, flags=...) at kernel/qeventloop.cpp:149
#59 0xb6daad19 in QEventLoop::exec (this=this@entry=0xbfe3a2e8, flags=...) at kernel/qeventloop.cpp:204
#60 0xb6db089e in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#61 0xb62bb974 in QApplication::exec () at kernel/qapplication.cpp:3828
#62 0xb3d0cb9d in kdemain (argc=2, argv=0x9b60888) at /build/buildd/calligra-2.7.2/words/app/main.cpp:43
#63 0x0804f733 in launch (argc=<optimized out>, argc@entry=2, _name=_name@entry=0x9b7a0c4 "/usr/bin/calligrawords", args=<optimized out>, args@entry=0x9b7a0db "/home/martin/Dokumente/SIL-Wycliff/Wycliff/Gebetskoordination/Gebetsbrief/2013/tst.odt", cwd=cwd@entry=0x0, envc=envc@entry=1, envs=<optimized out>, envs@entry=0x9b7a136 "DISPLAY=:0", reset_env=false, tty=tty@entry=0x0, avoid_loops=false, startup_id_str=startup_id_str@entry=0x9b7a145 "martin-N90SV;1382605904;542170;3687_TIME12684471") at ../../kinit/kinit.cpp:738
#64 0x08050963 in handle_launcher_request (sock=sock@entry=8, who=<optimized out>) at ../../kinit/kinit.cpp:1230
#65 0x08050fd9 in handle_requests (waitForPid=waitForPid@entry=0) at ../../kinit/kinit.cpp:1423
#66 0x0804c1de in main (argc=4, argv=0xbfe3ab84, envp=0xbfe3ab98) at ../../kinit/kinit.cpp:1911

Possible duplicates by query: bug 319048.

Reported using DrKonqi
Comment 1 Martin Tlustos 2013-10-24 09:18:19 UTC
Created attachment 83076 [details]
document where the crash happens (and several other crashes, too).
Comment 2 Jekyll Wu 2013-10-24 09:52:42 UTC
*** Bug 326553 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2014-01-07 15:25:22 UTC
*** Bug 328566 has been marked as a duplicate of this bug. ***
Comment 4 Jekyll Wu 2014-01-07 15:25:25 UTC
*** Bug 329685 has been marked as a duplicate of this bug. ***
Comment 5 Jekyll Wu 2014-01-07 15:27:30 UTC
*** Bug 326990 has been marked as a duplicate of this bug. ***
Comment 6 Hannu Lehtimäki 2014-01-21 04:34:27 UTC
Created attachment 84764 [details]
New crash information added by DrKonqi

calligrawords (2.7.2) on KDE Platform 4.11.3 using Qt 4.8.4

- What I was doing when the application crashed:

Opened Calligra words
Typed some text tried to change paragraph style from default to document title

-- Backtrace (Reduced):
#6  QString (other=<error reading variable: Cannot access memory at address 0x18>, this=0x7fffd92c6ea0, this@entry=0x7fffd92c6df0) 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  0x00007f4583612f7e in DockerStylesComboModel::styleApplied (this=0x301c600, style=0x14f2b40) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#9  0x00007f458361688c in SimpleParagraphWidget::slotParagraphStyleApplied (this=<optimized out>, style=<optimized out>) at /build/buildd/calligra-2.7.2/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#10 0x00007f45836173fc 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
Comment 7 Thaddee Tyl 2014-02-02 03:39:14 UTC
Created attachment 84940 [details]
New crash information added by DrKonqi

calligrawords (2.7.1) on KDE Platform 4.11.1 using Qt 4.8.3

- What I was doing when the application crashed:

While a line was selected, switching the style to Title.

- Unusual behavior I noticed:

It crashed.

-- Backtrace (Reduced):
#6  QString (other=<error reading variable: Cannot access memory at address 0x18>, this=0x7fff8ba6d200) at /usr/include/qt4/QtCore/qstring.h:725
#7  KoParagraphStyle::name (this=0x0) at /build/buildd/calligra-2.7.1/libs/kotext/styles/KoParagraphStyle.cpp:944
#8  0x00007f5029e4b29e in DockerStylesComboModel::styleApplied (this=0x43a5b00, style=0x25b1c60) at /build/buildd/calligra-2.7.1/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#9  0x00007f5029e4f6bc in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/calligra-2.7.1/obj-x86_64-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:82
#10 SimpleParagraphWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/calligra-2.7.1/obj-x86_64-linux-gnu/plugins/textshape/SimpleParagraphWidget.moc:68
Comment 8 Jekyll Wu 2014-02-04 21:27:24 UTC
*** Bug 330769 has been marked as a duplicate of this bug. ***
Comment 9 Maarten 2014-02-26 10:17:53 UTC
Created attachment 85335 [details]
New crash information added by DrKonqi

calligrawords (2.7.5) on KDE Platform 4.11.5 using Qt 4.8.5

- What I was doing when the application crashed:

1. Created new document
2. Write some text
3. Changed style to Heading 1

-- Backtrace (Reduced):
#5  QString (other=<error reading variable: Cannot access memory at address 0x18>, this=this@entry=0x7fffee0ca630) at /usr/include/QtCore/qstring.h:725
#6  KoParagraphStyle::name (this=0x0) at /usr/src/debug/calligra-2.7.5/libs/kotext/styles/KoParagraphStyle.cpp:944
#7  0x00007fac12619dc3 in DockerStylesComboModel::styleApplied (this=0x3255cf0, style=0x261f7c0) at /usr/src/debug/calligra-2.7.5/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#8  0x00007fac1261e2c3 in slotParagraphStyleApplied (style=<optimized out>, this=<optimized out>) at /usr/src/debug/calligra-2.7.5/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#9  SimpleParagraphWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/calligra-2.7.5/build/plugins/textshape/SimpleParagraphWidget.moc:81
Comment 10 Martin Tlustos 2014-05-09 10:25:10 UTC
Seems to work in 2.8.1. Closing.