Bug 240457 - Kword crashes when trying to configure toolbars
Summary: Kword crashes when trying to configure toolbars
Status: RESOLVED DUPLICATE of bug 170806
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: kdeui (show other bugs)
Version: 4.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-02 12:55 UTC by giatav
Modified: 2010-08-08 20:55 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (7.25 KB, text/plain)
2010-06-02 12:59 UTC, giatav
Details
New crash information added by DrKonqi (7.22 KB, text/plain)
2010-07-16 19:28 UTC, Dorin Scutarașu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description giatav 2010-06-02 12:55:35 UTC
Application: kword (2.2.0)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
Kword crashed when I tried to configure the toolbars ...

 -- Backtrace:
Application: KWord (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7716aa0 (LWP 3483))]

Thread 2 (Thread 0xb4cecb70 (LWP 3487)):
#0  0x04637e16 in *__GI_clock_gettime (clock_id=73646068, tp=0xb4cebfb8) at ../sysdeps/unix/clock_gettime.c:100
#1  0x00e4b6fb in qt_gettime () at kernel/qcore_unix.cpp:111
#2  0x00e50825 in QTimerInfoList::updateCurrentTime (this=0x9ea537c) at kernel/qeventdispatcher_unix.cpp:340
#3  0x00e5086a in QTimerInfoList::timerWait (this=0x9ea537c, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0x00e4e818 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4cec0cc) at kernel/qeventdispatcher_glib.cpp:136
#5  0x00e4e8a5 in timerSourcePrepare (source=0x0, timeout=0x463bff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0x01361aca in g_main_context_prepare () from /lib/libglib-2.0.so.0
#7  0x01361ee9 in ?? () from /lib/libglib-2.0.so.0
#8  0x013624b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#9  0x00e4e60f in QEventDispatcherGlib::processEvents (this=0xa064688, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0x00e21059 in QEventLoop::processEvents (this=0xb4cec290, flags=) at kernel/qeventloop.cpp:149
#11 0x00e214aa in QEventLoop::exec (this=0xb4cec290, flags=...) at kernel/qeventloop.cpp:201
#12 0x00d1d5a8 in QThread::exec (this=0xa95ddf8) at thread/qthread.cpp:487
#13 0x00e00c1b in QInotifyFileSystemWatcherEngine::run (this=0xa95ddf8) at io/qfilesystemwatcher_inotify.cpp:248
#14 0x00d2032e in QThreadPrivate::start (arg=0xa95ddf8) at thread/qthread_unix.cpp:248
#15 0x0099596e in start_thread (arg=0xb4cecb70) at pthread_create.c:300
#16 0x004a7a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb7716aa0 (LWP 3483)):
[KCrash Handler]
#6  0x00000022 in ?? ()
#7  0x010b69e5 in KDEPrivate::KEditToolBarWidgetPrivate::initKPart (this=0xc98f570, factory=0xa024ba8, defaultToolBar=...) at ../../kdeui/dialogs/kedittoolbar.cpp:719
#8  0x010b8689 in KDEPrivate::KEditToolBarWidget::load (this=0xbf95a6ac, event=0xbf95a530) at ../../kdeui/dialogs/kedittoolbar.cpp:657
#9  KEditToolBar::showEvent (this=0xbf95a6ac, event=0xbf95a530) at ../../kdeui/dialogs/kedittoolbar.cpp:1596
#10 0x070e6662 in QWidget::event (this=0xbf95a6ac, event=0xbf95a530) at kernel/qwidget.cpp:8205
#11 0x070884dc in QApplicationPrivate::notify_helper (this=0x9e6af70, receiver=0xbf95a6ac, e=0xbf95a530) at kernel/qapplication.cpp:4300
#12 0x0708f0f9 in QApplication::notify (this=0xbf95b220, receiver=0xbf95a6ac, e=0xbf95a530) at kernel/qapplication.cpp:4265
#13 0x0114bffa in KApplication::notify (this=0xbf95b220, receiver=0xbf95a6ac, event=0xbf95a530) at ../../kdeui/kernel/kapplication.cpp:302
#14 0x00e22a3b in QCoreApplication::notifyInternal (this=0xbf95b220, receiver=0xbf95a6ac, event=0xbf95a530) at kernel/qcoreapplication.cpp:704
#15 0x070ec4a5 in QCoreApplication::sendEvent (this=0xc9733b8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#16 QWidgetPrivate::show_helper (this=0xc9733b8) at kernel/qwidget.cpp:7196
#17 0x070ee99b in QWidget::setVisible (this=0xbf95a6ac, visible=true) at kernel/qwidget.cpp:7418
#18 0x075c803a in QDialog::setVisible (this=0xbf95a6ac, visible=true) at dialogs/qdialog.cpp:739
#19 0x075c7496 in QWidget::show (this=0xbf95a6ac) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:485
#20 QDialog::exec (this=0xbf95a6ac) at dialogs/qdialog.cpp:537
#21 0x01ce87c1 in KoMainWindow::slotConfigureToolbars() () from /usr/lib/libkomain.so.7
#22 0x01cf4946 in KoMainWindow::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkomain.so.7
#23 0x00e27c9a in QMetaObject::metacall (object=0xa0164d8, cl=3214253988, idx=17, argv=0x0) at kernel/qmetaobject.cpp:237
#24 0x00e32336 in QMetaCallEvent::placeMetaCall (this=0xc92a0f8, object=0xa0164d8) at kernel/qobject.cpp:561
#25 0x00e333fe in QObject::event (this=0xa0164d8, e=0xc92a0f8) at kernel/qobject.cpp:1248
#26 0x070e6326 in QWidget::event (this=0xa0164d8, event=0xc92a0f8) at kernel/qwidget.cpp:8455
#27 0x07501bc7 in QMainWindow::event (this=0xa0164d8, event=0xc92a0f8) at widgets/qmainwindow.cpp:1433
#28 0x0123dd14 in KMainWindow::event (this=0xa0164d8, ev=0xc92a0f8) at ../../kdeui/widgets/kmainwindow.cpp:1103
#29 0x01285b2f in KXmlGuiWindow::event (this=0xa0164d8, ev=0xc92a0f8) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#30 0x070884dc in QApplicationPrivate::notify_helper (this=0x9e6af70, receiver=0xa0164d8, e=0xc92a0f8) at kernel/qapplication.cpp:4300
#31 0x0708f0f9 in QApplication::notify (this=0xbf95b220, receiver=0xa0164d8, e=0xc92a0f8) at kernel/qapplication.cpp:4265
#32 0x0114bffa in KApplication::notify (this=0xbf95b220, receiver=0xa0164d8, event=0xc92a0f8) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00e22a3b in QCoreApplication::notifyInternal (this=0xbf95b220, receiver=0xa0164d8, event=0xc92a0f8) at kernel/qcoreapplication.cpp:704
#34 0x00e25473 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x9de4fc8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9de4fc8) at kernel/qcoreapplication.cpp:1345
#36 0x00e255dd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#37 0x00e4eadf in QCoreApplication::sendPostedEvents (s=0x9e6d310) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#38 postEventSourceDispatch (s=0x9e6d310) at kernel/qeventdispatcher_glib.cpp:276
#39 0x0135e5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#40 0x013622d8 in ?? () from /lib/libglib-2.0.so.0
#41 0x013624b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00e4e5d5 in QEventDispatcherGlib::processEvents (this=0x9de5b48, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0x07148135 in QGuiEventDispatcherGlib::processEvents (this=0x9de5b48, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00e21059 in QEventLoop::processEvents (this=0xbf95b1b4, flags=) at kernel/qeventloop.cpp:149
#45 0x00e214aa in QEventLoop::exec (this=0xbf95b1b4, flags=...) at kernel/qeventloop.cpp:201
#46 0x00e2569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x07088577 in QApplication::exec () at kernel/qapplication.cpp:3579
#48 0x0172cfed in kdemain () from /usr/lib/libkdeinit4_kword.so
#49 0x0804e133 in launch (argc=<value optimized out>, _name=<value optimized out>, args=<value optimized out>, cwd=0x0, envc=1, envs=0x9e296bf "DISPLAY=:0.0", reset_env=false, tty=0x0, 
    avoid_loops=false, startup_id_str=0x9e296d0 "kgiac;1275475565;381629;1411_TIME1184526") at ../../kinit/kinit.cpp:717
#50 0x0804ec6d in handle_launcher_request (sock=<value optimized out>, who=<value optimized out>) at ../../kinit/kinit.cpp:1209
#51 0x0804f190 in handle_requests (waitForPid=<value optimized out>) at ../../kinit/kinit.cpp:1402
#52 0x0804fe4f in main (argc=4, argv=0xbf95bbe4, envp=0xbf95bbf8) at ../../kinit/kinit.cpp:1845

Possible duplicates by query: bug 221470, bug 217341.

Reported using DrKonqi
Comment 1 giatav 2010-06-02 12:59:51 UTC
Created attachment 47603 [details]
New crash information added by DrKonqi

The crash occurs only after opening a document written with Openoffice 3.2
Comment 2 Dorin Scutarașu 2010-07-16 19:28:25 UTC
Created attachment 49247 [details]
New crash information added by DrKonqi

kopete (1.0.80) on KDE Platform 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) using Qt 4.7.0

- What I was doing when the application crashed:

I right clicked on Kopete's toolbar and then selected "Configure toolbars..." from the popup menu and Kopete crashed. I couldn't reproduce the issue after I restarted Kopete.

-- Backtrace (Reduced):
#7  0x0101c1d2 in KDEPrivate::KEditToolBarWidgetPrivate::initKPart (this=0x9805f48, factory=0x83d3350, defaultToolBar=...) at ../../kdeui/dialogs/kedittoolbar.cpp:786
#8  0x0101cde9 in KDEPrivate::KEditToolBarWidget::load (this=0x98c6be0, event=0xbfa48fe0) at ../../kdeui/dialogs/kedittoolbar.cpp:724
#9  KEditToolBar::showEvent (this=0x98c6be0, event=0xbfa48fe0) at ../../kdeui/dialogs/kedittoolbar.cpp:1677
#10 0x0145aab2 in QWidget::event (this=0x98c6be0, event=0xbfa48fe0) at kernel/qwidget.cpp:8364
#11 0x013fd0cc in QApplicationPrivate::notify_helper (this=0x83dc708, receiver=0x98c6be0, e=0xbfa48fe0) at kernel/qapplication.cpp:4389
Comment 3 Christoph Feck 2010-08-08 20:55:40 UTC
dialogs/kedittoolbar.cpp:719 accesses an invalid client in factory->clients(), so it is a duplicate of bug 170806, which is fixed in trunk (and will be backported to KDE SC 4.5.x later). See bug 170806 comment #25.

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