Bug 313031 - Words crashes when the tab with Character styles is selected when there are none
Summary: Words crashes when the tab with Character styles is selected when there are none
Status: RESOLVED FIXED
Alias: None
Product: calligrawords
Classification: Applications
Component: general (show other bugs)
Version: Git
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Words Bugs
URL:
Keywords: release_blocker
Depends on:
Blocks:
 
Reported: 2013-01-10 18:15 UTC by Friedrich W. H. Kossebau
Modified: 2013-01-22 16:22 UTC (History)
1 user (show)

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 Friedrich W. H. Kossebau 2013-01-10 18:15:52 UTC
Application: calligrawords (2.6 RC2)
KDE Platform Version: 4.9.5 "release 7"
Qt Version: 4.8.4
Operating System: Linux 3.4.11-2.16-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
Start Words.
Create new document from Blank template (has no named character styles).
Open Style Manager.
Select "Character" tab.

*Boom*

The crash can be reproduced every time.

-- Backtrace:
Application: Calligra Words (calligrawords), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1536413780 (LWP 32302))]

Thread 2 (Thread 0x7f1512b3c700 (LWP 32303)):
#0  0x00007f152f86014f in poll () from /lib64/libc.so.6
#1  0x00007f152ae15ac4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f152ae15be4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f1530707136 in QEventDispatcherGlib::processEvents (this=0x7f150c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f15306d794f in QEventLoop::processEvents (this=this@entry=0x7f1512b3bdd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f15306d7bd8 in QEventLoop::exec (this=0x7f1512b3bdd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f15305da0b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f15306b80bf in QInotifyFileSystemWatcherEngine::run (this=0x1c48730) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f15305dd08c in QThreadPrivate::start (arg=0x1c48730) at thread/qthread_unix.cpp:338
#9  0x00007f1530346e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007f152f8682cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f1536413780 (LWP 32302)):
[KCrash Handler]
#6  0x00007f1535377796 in KoCharacterStyle::styleId (this=0x0) at /home/kossebau/Daten/Projekte/Calligra/calligra/libs/kotext/styles/KoCharacterStyle.cpp:901
#7  0x00007f1515694818 in StyleManager::setCharacterStyle (this=0x1ee4d00, style=0x0, canDelete=false) at /home/kossebau/Daten/Projekte/Calligra/calligra/plugins/textshape/dialogs/StyleManager.cpp:173
#8  0x00007f1515695d12 in StyleManager::tabChanged (this=0x1ee4d00, index=1) at /home/kossebau/Daten/Projekte/Calligra/calligra/plugins/textshape/dialogs/StyleManager.cpp:390
#9  0x00007f15156965fd in StyleManager::qt_static_metacall (_o=0x1ee4d00, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0x7fff14b03ea0) at /home/kossebau/Daten/Projekte/Calligra/build.debug/calligra/plugins/textshape/StyleManager.moc:86
#10 0x00007f15306ee0ff in QMetaObject::activate (sender=0x1e2d4d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff14b03ea0) at kernel/qobject.cpp:3548
#11 0x00007f1531a1615e in QTabWidget::currentChanged(int) () from /usr/lib64/libQtGui.so.4
#12 0x00007f1531a16269 in ?? () from /usr/lib64/libQtGui.so.4
#13 0x00007f15306ee0ff in QMetaObject::activate (sender=0x176f6d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff14b04020) at kernel/qobject.cpp:3548
#14 0x00007f1531a0b64e in QTabBar::currentChanged(int) () from /usr/lib64/libQtGui.so.4
#15 0x00007f1531a10e3d in QTabBar::mousePressEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x00007f1531604110 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f1531a10ed6 in QTabBar::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f15315b485c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#19 0x00007f15315b953b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#20 0x00007f1535c5da68 in KoApplication::notify (this=0x7fff14b05520, receiver=0x176f6d0, event=0x7fff14b049a0) at /home/kossebau/Daten/Projekte/Calligra/calligra/libs/main/KoApplication.cpp:504
#21 0x00007f15306d8bfe in QCoreApplication::notifyInternal (this=0x7fff14b05520, receiver=0x176f6d0, event=0x7fff14b049a0) at kernel/qcoreapplication.cpp:946
#22 0x00007f15315b569b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#23 0x00007f153162fe54 in ?? () from /usr/lib64/libQtGui.so.4
#24 0x00007f153162ebe1 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007f1531654f72 in ?? () from /usr/lib64/libQtGui.so.4
#26 0x00007f152ae157f5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f152ae15b28 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f152ae15be4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f1530707116 in QEventDispatcherGlib::processEvents (this=0x1338b80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f1531654bee in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007f15306d794f in QEventLoop::processEvents (this=this@entry=0x7fff14b054e0, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f15306d7bd8 in QEventLoop::exec (this=0x7fff14b054e0, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f15306dc878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x00007f153601140c in kdemain (argc=1, argv=0x7fff14b05708) at /home/kossebau/Daten/Projekte/Calligra/calligra/words/part/main.cpp:43
#35 0x0000000000400a3e in main (argc=1, argv=0x7fff14b05708) at /home/kossebau/Daten/Projekte/Calligra/build.debug/calligra/words/part/calligrawords_dummy.cpp:3

Reported using DrKonqi
Comment 1 Friedrich W. H. Kossebau 2013-01-10 18:17:10 UTC
Happens both in master and 2.6, thus setting release_blocker