Bug 313414 - Crash on applying a paragraph style in text tool
Summary: Crash on applying a paragraph style in text tool
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-17 19:17 UTC by Sven Langkamp
Modified: 2013-02-13 17:53 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 Sven Langkamp 2013-01-17 19:17:49 UTC
Application: krita (2.7 Pre-Alpha)
KDE Platform Version: 4.8.5 (4.8.5)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-35-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
-insert text shape
-go into text tool
-try to select a paragrah style

The crash can be reproduced every time.

-- Backtrace:
Application: Krita (krita), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9d2d660780 (LWP 16715))]

Thread 13 (Thread 0x7f9d0d98b700 (LWP 16716)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d2aa524db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2aa4e314 in QSemaphore::acquire(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d1687e9ed in waitForWork (this=0x1046da0) at /home/sven/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:162
#4  KisTileDataPooler::run (this=0x1046da0) at /home/sven/kde/src/calligra/krita/image/tiles3/kis_tile_data_pooler.cc:184
#5  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f9d25eade9a in start_thread (arg=0x7f9d0d98b700) at pthread_create.c:308
#7  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f9d0d18a700 (LWP 16717)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d2aa524db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2aa4e759 in QSemaphore::tryAcquire(int, int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d168ada9a in KisTileDataSwapper::run (this=0x1046dd8) at /home/sven/kde/src/calligra/krita/image/tiles3/swap/kis_tile_data_swapper.cpp:92
#4  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f9d25eade9a in start_thread (arg=0x7f9d0d18a700) at pthread_create.c:308
#6  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f9cf7fff700 (LWP 16725)):
#0  0x00007f9d2cbb6023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9d2ab7d366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2ab827b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2ab82ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d2ab4fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f9d2ab4fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f9d2aa4efa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f9d2ab2f9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f9d25eade9a in start_thread (arg=0x7f9cf7fff700) at pthread_create.c:308
#10 0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f9d06cbd700 (LWP 16731)):
#0  0x00007f9d2cbb6023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9d2ab7d366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2ab827b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2ab82ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d2ab4fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f9d2ab4fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f9d2aa4efa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f9d2ab2f9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f9d25eade9a in start_thread (arg=0x7f9d06cbd700) at pthread_create.c:308
#10 0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f9d064bc700 (LWP 16740)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f9d2aa524db in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2ba54354 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#3  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9d064bc700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f9cf77fe700 (LWP 16741)):
#0  0x00007f9d2cbb6023 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f9d2ab7d366 in qt_safe_select(int, fd_set*, fd_set*, fd_set*, timeval const*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2ab827b2 in QEventDispatcherUNIXPrivate::doSelect(QFlags<QEventLoop::ProcessEventsFlag>, timeval*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2ab82ca3 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d2ab4fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007f9d2ab4fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007f9d2aa4efa7 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007f9d2ab2f9ff in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#9  0x00007f9d25eade9a in start_thread (arg=0x7f9cf77fe700) at pthread_create.c:308
#10 0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f9cee0a2700 (LWP 16748)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007f9cdf6bdbdc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007f9cdf0869d8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007f9cdf08688d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9cee0a2700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f9cd6d12700 (LWP 16749)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:86
#1  0x00007f9cdf6bdbdc in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#2  0x00007f9cdf0869d8 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#3  0x00007f9cdf08688d in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9cd6d12700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f9cee8a3700 (LWP 16753)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f9d2aa5243f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2aa455bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9cee8a3700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f9cdda30700 (LWP 16754)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f9d2aa5243f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2aa455bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9cdda30700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f9cdd22f700 (LWP 16755)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f9d2aa5243f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2aa455bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9cdd22f700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f9cdca2e700 (LWP 16756)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:215
#1  0x00007f9d2aa5243f in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007f9d2aa455bf in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007f9d2aa51fcb in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007f9d25eade9a in start_thread (arg=0x7f9cdca2e700) at pthread_create.c:308
#5  0x00007f9d2cbbccbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f9d2d660780 (LWP 16715)):
[KCrash Handler]
#6  KoParagraphStyle::name (this=0x0) at /home/sven/kde/src/calligra/libs/kotext/styles/KoParagraphStyle.cpp:944
#7  0x00007f9d1546c791 in DockerStylesComboModel::styleApplied (this=0x247ecc0, style=0x20392c0) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/DockerStylesComboModel.cpp:174
#8  0x00007f9d15471d84 in slotParagraphStyleApplied (style=<optimized out>, this=0x247c490) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:363
#9  SimpleParagraphWidget::qt_static_metacall (_o=0x247c490, _id=8, _a=0x7fffec8ecf50, _c=<optimized out>) at /home/sven/kde/build/calligra/plugins/textshape/SimpleParagraphWidget.moc:82
#10 0x00007f9d2ab65281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#11 0x00007f9d28f23242 in KoStyleManager::styleApplied (this=<optimized out>, _t1=0x20392c0) at /home/sven/kde/build/calligra/libs/kotext/KoStyleManager.moc:320
#12 0x00007f9d28f23400 in KoStyleManager::slotAppliedStyle (this=0xdb48a0, style=0x20392c0) at /home/sven/kde/src/calligra/libs/kotext/styles/KoStyleManager.cpp:539
#13 0x00007f9d2ab65281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#14 0x00007f9d28f13a62 in KoParagraphStyle::styleApplied (this=<optimized out>, _t1=0x20392c0) at /home/sven/kde/build/calligra/libs/kotext/KoParagraphStyle.moc:109
#15 0x00007f9d28f142a0 in KoParagraphStyle::applyStyle (this=0x20392c0, format=...) at /home/sven/kde/src/calligra/libs/kotext/styles/KoParagraphStyle.cpp:259
#16 0x00007f9d28f14407 in KoParagraphStyle::applyStyle (this=0x20392c0, block=..., applyListStyle=true) at /home/sven/kde/src/calligra/libs/kotext/styles/KoParagraphStyle.cpp:267
#17 0x00007f9d28eb77fc in SetParagraphStyleVisitor::visitBlock (this=0x7fffec8ed340, block=...) at /home/sven/kde/src/calligra/libs/kotext/KoTextEditor_format.cpp:493
#18 0x00007f9d28eaa53e in KoTextEditor::recursivelyVisitSelection (this=0x6137730, it=..., visitor=...) at /home/sven/kde/src/calligra/libs/kotext/KoTextEditor.cpp:454
#19 0x00007f9d28eb6b6d in KoTextEditor::setStyle (this=0x6137730, style=0x20392c0) at /home/sven/kde/src/calligra/libs/kotext/KoTextEditor_format.cpp:509
#20 0x00007f9d1545d282 in setStyle (style=<optimized out>, this=0x6491ab0) at /home/sven/kde/src/calligra/plugins/textshape/TextTool.cpp:2325
#21 TextTool::qt_static_metacall (_o=0x6491ab0, _id=49, _a=0x7fffec8ed780, _c=<optimized out>) at /home/sven/kde/build/calligra/plugins/textshape/TextTool.moc:219
#22 0x00007f9d2ab65281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007f9d15471b3f in paragraphStyleSelected (_t1=0x20392c0, this=0x247c490) at /home/sven/kde/build/calligra/plugins/textshape/SimpleParagraphWidget.moc:141
#24 styleSelected (index=..., this=0x247c490) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/SimpleParagraphWidget.cpp:349
#25 SimpleParagraphWidget::qt_static_metacall (_o=0x247c490, _id=11, _a=0x7fffec8ed970, _c=<optimized out>) at /home/sven/kde/build/calligra/plugins/textshape/SimpleParagraphWidget.moc:85
#26 0x00007f9d2ab65281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007f9d1546a61b in selected (_t1=..., this=0x237ad50) at /home/sven/kde/build/calligra/plugins/textshape/StylesCombo.moc:139
#28 slotItemClicked (index=..., this=0x237ad50) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/StylesCombo.cpp:149
#29 StylesCombo::qt_static_metacall (_o=0x237ad50, _id=<optimized out>, _a=0x7fffec8edad0, _c=<optimized out>) at /home/sven/kde/build/calligra/plugins/textshape/StylesCombo.moc:81
#30 0x00007f9d2ab65281 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#31 0x00007f9d1543d595 in StylesDelegate::clickedInItem (this=<optimized out>, _t1=...) at /home/sven/kde/build/calligra/plugins/textshape/moc_StylesDelegate.cpp:129
#32 0x00007f9d154a0ee3 in StylesDelegate::editorEvent (this=0x281a280, event=0x7fffec8ee400, model=<optimized out>, optionV1=..., index=...) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/StylesDelegate.cpp:274
#33 0x00007f9d1546a25c in eventFilter (event=0x7fffec8ee400, this=0x237ad50, object=<optimized out>) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/StylesCombo.cpp:185
#34 StylesCombo::eventFilter (this=0x237ad50, object=<optimized out>, event=0x7fffec8ee400) at /home/sven/kde/src/calligra/plugins/textshape/dialogs/StylesCombo.cpp:169
#35 0x00007f9d2ab51028 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#36 0x00007f9d2b54a85f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#37 0x00007f9d2b5500bf in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007f9d2c730cae in KoApplication::notify (this=<optimized out>, receiver=0x422a6a0, event=0x7fffec8ee400) at /home/sven/kde/src/calligra/libs/main/KoApplication.cpp:555
#39 0x00007f9d2ab50e9c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007f9d2b54b862 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#41 0x00007f9d2b5cb2c1 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#42 0x00007f9d2b5c9bae in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#43 0x00007f9d2b5f3b3a in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#44 0x00007f9d2ab4fc82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#45 0x00007f9d2ab4fed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#46 0x00007f9d2ab54f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#47 0x00007f9d2d06cb8d in kdemain (argc=<optimized out>, argv=<optimized out>) at /home/sven/kde/src/calligra/krita/main.cc:80
#48 0x00007f9d2caea76d in __libc_start_main (main=0x400620 <main(int, char**)>, argc=1, ubp_av=0x7fffec8ef138, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffec8ef128) at libc-start.c:226
#49 0x0000000000400651 in _start ()

Reported using DrKonqi
Comment 1 Pierre Stirnweiss 2013-02-03 21:41:45 UTC
Git commit 980f34c7b2ed24496b15984d16720561448c0e13 by Pierre Stirnweiss.
Committed on 21/01/2013 at 20:19.
Pushed by pstirnweiss into branch 'textshape-stylesWidget-PierreSt'.

Fix crash in Krita on the new styles combo

In Krita, there is no style loaded from a file. Instead, Krita is using
the default paragraph style. The new styles combo used to hide this
style.
This patch creates a default set of styles for these type of
applications. Also the default style is not hidden in the combo.

REVIEW: 108532

Cherry-picked from textshape-stylesWidget-PierreSt
Conflicts:
	plugins/textshape/dialogs/DockerStylesComboModel.cpp

M  +42   -1    libs/kotext/styles/KoStyleManager.cpp
M  +10   -0    libs/kotext/styles/KoStyleManager.h
M  +3    -1    plugins/textshape/TextShapeFactory.cpp
M  +7    -4    plugins/textshape/dialogs/DockerStylesComboModel.cpp
M  +1    -1    plugins/textshape/dialogs/StylesModel.cpp

http://commits.kde.org/calligra/980f34c7b2ed24496b15984d16720561448c0e13
Comment 2 Pierre Stirnweiss 2013-02-13 17:53:09 UTC
Git commit 9b0e48951612e87322ec9cad27bb82f7da05bf49 by Pierre Stirnweiss.
Committed on 21/01/2013 at 20:19.
Pushed by pstirnweiss into branch 'master'.

Fix crash in Krita on the new styles combo

In Krita, there is no style loaded from a file. Instead, Krita is using
the default paragraph style. The new styles combo used to hide this
style.
This patch creates a default set of styles for these type of
applications. Also the default style is not hidden in the combo.

REVIEW: 108532

Cherry-picked from textshape-stylesWidget-PierreSt
Conflicts:
	plugins/textshape/dialogs/DockerStylesComboModel.cpp

M  +4    -0    libs/kotext/opendocument/KoTextSharedLoadingData.cpp
M  +77   -16   libs/kotext/styles/KoStyleManager.cpp
M  +14   -0    libs/kotext/styles/KoStyleManager.h
M  +3    -1    plugins/textshape/TextShapeFactory.cpp
M  +9    -6    plugins/textshape/dialogs/DockerStylesComboModel.cpp
M  +1    -1    plugins/textshape/dialogs/StylesModel.cpp

http://commits.kde.org/calligra/9b0e48951612e87322ec9cad27bb82f7da05bf49