Bug 242659 - KNotes crashed when deleting a note [KCoreConfigSkeleton::findItem, KCoreConfigSkeleton::isImmutable, KNoteConfig::setWidth, KNote::eventFilter] (KIO eventloop)
Summary: KNotes crashed when deleting a note [KCoreConfigSkeleton::findItem, KCoreConf...
Status: RESOLVED WORKSFORME
Alias: None
Product: knotes
Classification: Applications
Component: general (show other bugs)
Version: 4.4.x
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 258121 288664 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-06-24 09:21 UTC by Thomas Tanghus
Modified: 2013-02-14 11:18 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.99 KB, text/plain)
2011-08-24 07:32 UTC, Jason Mitchell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Tanghus 2010-06-24 09:21:53 UTC
Application: knotes (3.9)
KDE Platform Version: 4.4.4 (KDE 4.4.4)
Qt Version: 4.6.3
Operating System: Linux 2.6.32-21-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I created a new note, pasted some text into it (that I wasn't able to read on a web site) and the deleted the note from it's titlebar context menu. Crash.

 -- Backtrace:
Application: KNotes (knotes), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78a3950 (LWP 1499))]

Thread 2 (Thread 0xb487fb70 (LWP 3545)):
#0  0x00708422 in __kernel_vsyscall ()
#1  0x04465971 in select () at ../sysdeps/unix/syscall-template.S:82
#2  0x05cf7112 in qt_safe_select (nfds=14, fdread=0x9e254f8, fdwrite=0x9e2570c, fdexcept=0x9e25920, orig_timeout=0x0) at kernel/qcore_unix.cpp:143
#3  0x05cfbb59 in QEventDispatcherUNIX::select (this=0x97d3f90, nfds=14, readfds=0x9e254f8, writefds=0x9e2570c, exceptfds=0x9e25920, timeout=0x0) at kernel/qeventdispatcher_unix.cpp:633
#4  0x05cfc867 in QEventDispatcherUNIXPrivate::doSelect (this=0x9e25400, flags=..., timeout=0x0) at kernel/qeventdispatcher_unix.cpp:218
#5  0x05cfd765 in QEventDispatcherUNIX::processEvents (this=0x97d3f90, flags=...) at kernel/qeventdispatcher_unix.cpp:920
#6  0x05ccc759 in QEventLoop::processEvents (this=0xb487f270, flags=) at kernel/qeventloop.cpp:149
#7  0x05cccbaa in QEventLoop::exec (this=0xb487f270, flags=...) at kernel/qeventloop.cpp:201
#8  0x05bcdfc9 in QThread::exec (this=0x9e22088) at thread/qthread.cpp:487
#9  0x05cac1db in QInotifyFileSystemWatcherEngine::run (this=0x9e22088) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x05bd097e in QThreadPrivate::start (arg=0x9e22088) at thread/qthread_unix.cpp:248
#11 0x0083e96e in start_thread (arg=0xb487fb70) at pthread_create.c:300
#12 0x0446ca4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb78a3950 (LWP 1499)):
[KCrash Handler]
#6  0x016fe0ba in KCoreConfigSkeleton::findItem (this=0x0, name=...) at ../../kdecore/config/kcoreconfigskeleton.cpp:1314
#7  0x016fe154 in KCoreConfigSkeleton::isImmutable (this=0x0, name=...) at ../../kdecore/config/kcoreconfigskeleton.cpp:1303
#8  0x016fe194 in KCoreConfigSkeleton::isImmutable (this=0x0, name=...) at ../../kdecore/config/kcoreconfigskeleton.cpp:1298
#9  0x0807b3eb in KNoteConfig::setWidth (this=0x98e51b0) at ./knoteconfig.h:57
#10 KNote::saveConfig (this=0x98e51b0) at ../../knotes/knote.cpp:179
#11 0x0807df81 in KNote::eventFilter (this=0x98e51b0, o=0x975c6d0, ev=0xbfc1a330) at ../../knotes/knote.cpp:1211
#12 0x05ccd3da in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x96a0da0, receiver=0x975c6d0, event=0xbfc1a330) at kernel/qcoreapplication.cpp:841
#13 0x01c61e69 in QApplicationPrivate::notify_helper (this=0x96a0da0, receiver=0x975c6d0, e=0xbfc1a330) at kernel/qapplication.cpp:4298
#14 0x01c68aa9 in QApplication::notify (this=0xbfc1b400, receiver=0x975c6d0, e=0xbfc1a330) at kernel/qapplication.cpp:4267
#15 0x00ef1ffa in KApplication::notify (this=0xbfc1b400, receiver=0x975c6d0, event=0xbfc1a330) at ../../kdeui/kernel/kapplication.cpp:302
#16 0x05cce13b in QCoreApplication::notifyInternal (this=0xbfc1b400, receiver=0x975c6d0, event=0xbfc1a330) at kernel/qcoreapplication.cpp:726
#17 0x01c675b1 in QCoreApplication::sendEvent (focus=0x0, reason=Qt::ActiveWindowFocusReason) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QApplicationPrivate::setFocusWidget (focus=0x0, reason=Qt::ActiveWindowFocusReason) at kernel/qapplication.cpp:2124
#19 0x01c6c5c6 in QApplication::setActiveWindow (act=0x0) at kernel/qapplication.cpp:2487
#20 0x01cf2a4e in QApplication::x11ProcessEvent (this=0xbfc1b400, event=0xbfc1a7ac) at kernel/qapplication_x11.cpp:3475
#21 0x01d22d79 in QEventDispatcherX11::processEvents (this=0x967c9e0, flags=...) at kernel/qeventdispatcher_x11.cpp:132
#22 0x05ccc759 in QEventLoop::processEvents (this=0xbfc1a8e4, flags=) at kernel/qeventloop.cpp:149
#23 0x05cccbaa in QEventLoop::exec (this=0xbfc1a8e4, flags=...) at kernel/qeventloop.cpp:201
#24 0x0032600b in KIO::NetAccess::enter_loop (this=0xbfc1a964) at ../../kio/kio/netaccess.cpp:502
#25 0x00326146 in KIO::NetAccess::delInternal (this=0xbfc1a964, url=..., window=0x98e51b0) at ../../kio/kio/netaccess.cpp:366
#26 0x0032701b in KIO::NetAccess::del (url=..., window=0x98e51b0) at ../../kio/kio/netaccess.cpp:254
#27 0x08080992 in KNote::slotKill (this=0x98e51b0, force=false) at ../../knotes/knote.cpp:149
#28 0x08080fe8 in KNote::qt_metacall (this=0x98e51b0, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0xa1ae610) at ./knote.moc:127
#29 0x05cd347a in QMetaObject::metacall (object=0x98e51b0, cl=134795849, idx=36, argv=0xa1ae610) at kernel/qmetaobject.cpp:237
#30 0x05cddb46 in QMetaCallEvent::placeMetaCall (this=0xa1fa6c0, object=0x98e51b0) at kernel/qobject.cpp:561
#31 0x05cdec0e in QObject::event (this=0x98e51b0, e=0xa1fa6c0) at kernel/qobject.cpp:1248
#32 0x01cbfc86 in QWidget::event (this=0x98e51b0, event=0xa1fa6c0) at kernel/qwidget.cpp:8501
#33 0x020be423 in QFrame::event (this=0x98e51b0, e=0xa1fa6c0) at widgets/qframe.cpp:557
#34 0x01c61e8c in QApplicationPrivate::notify_helper (this=0x96a0da0, receiver=0x98e51b0, e=0xa1fa6c0) at kernel/qapplication.cpp:4302
#35 0x01c68aa9 in QApplication::notify (this=0xbfc1b400, receiver=0x98e51b0, e=0xa1fa6c0) at kernel/qapplication.cpp:4267
#36 0x00ef1ffa in KApplication::notify (this=0xbfc1b400, receiver=0x98e51b0, event=0xa1fa6c0) at ../../kdeui/kernel/kapplication.cpp:302
#37 0x05cce13b in QCoreApplication::notifyInternal (this=0xbfc1b400, receiver=0x98e51b0, event=0xa1fa6c0) at kernel/qcoreapplication.cpp:726
#38 0x05cd1bfc in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x967cd00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x967cd00) at kernel/qcoreapplication.cpp:1367
#40 0x05cfd6fa in QEventDispatcherUNIX::processEvents (this=0x967c9e0, flags=...) at kernel/qeventdispatcher_unix.cpp:892
#41 0x01d22e82 in QEventDispatcherX11::processEvents (this=0x967c9e0, flags=...) at kernel/qeventdispatcher_x11.cpp:152
#42 0x05ccc759 in QEventLoop::processEvents (this=0xbfc1b364, flags=) at kernel/qeventloop.cpp:149
#43 0x05cccbaa in QEventLoop::exec (this=0xbfc1b364, flags=...) at kernel/qeventloop.cpp:201
#44 0x05cd1e3f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#45 0x01c61f27 in QApplication::exec () at kernel/qapplication.cpp:3581
#46 0x0805d874 in main (argc=3, argv=0xbfc1b534) at ../../knotes/main.cpp:69

Possible duplicates by query: bug 197260, bug 177841.

Reported using DrKonqi
Comment 1 Wonko 2010-09-09 12:07:16 UTC
The same just happened to me: Create a new note, entered some text, deleted it, confirmed the deletion, crash. But I am not able to reproduce this, I tried several times.

KDE 4.5.1, Gentoo Linux on amd64
Comment 2 Dario Andres 2010-11-27 23:11:56 UTC
*** Bug 258121 has been marked as a duplicate of this bug. ***
Comment 3 Jason Mitchell 2011-08-24 07:32:03 UTC
Created attachment 63087 [details]
New crash information added by DrKonqi

knotes (3.9) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:

I cleared text from a knotes note and then rlght clicked on the title bar and selected delete. Then knotes crashed.

-- Backtrace (Reduced):
#7  KCoreConfigSkeleton::findItem (this=0x0, name=...) at ../../kdecore/config/kcoreconfigskeleton.cpp:1318
#8  0x05431c14 in KCoreConfigSkeleton::isImmutable (this=0x0, name=...) at ../../kdecore/config/kcoreconfigskeleton.cpp:1307
#9  0x05431c54 in KCoreConfigSkeleton::isImmutable (this=0x0, name=...) at ../../kdecore/config/kcoreconfigskeleton.cpp:1302
#10 0x0807199b in setWidth (this=0x9ca6990) at ./knoteconfig.h:57
#11 KNote::saveConfig (this=0x9ca6990) at ../../knotes/knote.cpp:179
Comment 4 Jekyll Wu 2012-07-05 19:01:11 UTC
*** Bug 288664 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2013-02-14 11:18:02 UTC
Not reproducible with KDE 4.10, this is most likely solved since quite some time. Please feel free to reopen if you can reproduce this with KDE 4.10 or later.