Bug 257884 - Crash when deleting cookie policies
Summary: Crash when deleting cookie policies
Status: RESOLVED FIXED
Alias: None
Product: konqueror
Classification: Applications
Component: kcookiejar (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 257874 264262 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-25 16:24 UTC by SZÉKELYI Szabolcs
Modified: 2011-01-31 15:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.5.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SZÉKELYI Szabolcs 2010-11-25 16:24:13 UTC
Application: kcmshell4 ()
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

I had a number of automatically generated cookie policies (by selecting "all
cookies from this domain" in the accept cookie dualog box). I entered a word
into the search box on the corresponding perference page, deleted found cookies
and clicked OK.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Control Module (kcmshell4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7ffe0e143760 (LWP 11651))]

Thread 2 (Thread 0x7ffdfbcb0700 (LWP 11653)):
#0  0x00007ffe0daa1203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffe07e1c009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007ffe07e1c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007ffe0c6f71e6 in QEventDispatcherGlib::processEvents (this=0x254a0e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007ffe0c6c9a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007ffe0c6c9dec in QEventLoop::exec (this=0x7ffdfbcafdb0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007ffe0c5d42fd in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007ffe0c6a95f8 in QInotifyFileSystemWatcherEngine::run (this=0x2549510) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007ffe0c5d727e in QThreadPrivate::start (arg=0x2549510) at thread/qthread_unix.cpp:266
#9  0x00007ffe0b35e971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007ffe0daad92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffe0e143760 (LWP 11651)):
[KCrash Handler]
#6  0x00007ffdfdb9c362 in text (this=0x24b4320) at /usr/include/qt4/QtGui/qtreewidget.h:110
#7  KCookiesPolicies::save (this=0x24b4320) at ../../../../../apps/konqueror/settings/kio/kcookiespolicies.cpp:402
#8  0x00007ffdfdb98bf1 in KCookiesMain::save (this=0x2468930) at ../../../../../apps/konqueror/settings/kio/kcookiesmain.cpp:71
#9  0x00007ffe0d7a4437 in KCModuleProxy::save (this=<value optimized out>) at ../../kutils/kcmoduleproxy.cpp:279
#10 0x00007ffe0d79fdd8 in KCMultiDialogPrivate::apply (this=<value optimized out>) at ../../kutils/kcmultidialog.cpp:249
#11 0x00007ffe0d7a25cc in KCMultiDialog::qt_metacall (this=0x243d5c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff96f9e860) at ./kcmultidialog.moc:95
#12 0x00007ffe0dd4f1f0 in KCMShellMultiDialog::qt_metacall (this=0x7fff96f9e270, _c=39603888, _id=0, _a=0x0) at ./main.moc:130
#13 0x00007ffe0c6e2b27 in QMetaObject::activate (sender=0x243d5c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#14 0x00007ffe0d2bfb45 in KDialog::slotButtonClicked (this=0x243d5c0, button=8) at ../../kdeui/dialogs/kdialog.cpp:875
#15 0x00007ffe0d2c1af9 in KDialog::qt_metacall (this=0x243d5c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff96f9eaa0) at ./kdialog.moc:190
#16 0x00007ffe0d39fb80 in KPageDialog::qt_metacall (this=0x7fff96f9e270, _c=39603888, _id=0, _a=0x0) at ./kpagedialog.moc:70
#17 0x00007ffe0d7a24d0 in KCMultiDialog::qt_metacall (this=0x7fff96f9e270, _c=39603888, _id=0, _a=0x0) at ./kcmultidialog.moc:86
#18 0x00007ffe0dd4f1f0 in KCMShellMultiDialog::qt_metacall (this=0x7fff96f9e270, _c=39603888, _id=0, _a=0x0) at ./main.moc:130
#19 0x00007ffe0c6e2b27 in QMetaObject::activate (sender=0x2436ef8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#20 0x00007ffe0c6e57fe in QSignalMapper::mapped (this=0x7fff96f9e270, _t1=8) at .moc/release-shared/moc_qsignalmapper.cpp:101
#21 0x00007ffe0c6e6a12 in QSignalMapper::map (this=0x2436ef8, sender=0x2458510) at kernel/qsignalmapper.cpp:266
#22 0x00007ffe0c6e6c90 in QSignalMapper::qt_metacall (this=0x2436ef8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff96f9ec30) at .moc/release-shared/moc_qsignalmapper.cpp:87
#23 0x00007ffe0c6e2b27 in QMetaObject::activate (sender=0x2458510, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#24 0x00007ffe0c10f402 in QAbstractButton::clicked (this=0x7fff96f9e270, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#25 0x00007ffe0be09eeb in QAbstractButtonPrivate::emitClicked (this=0x245b5a0) at widgets/qabstractbutton.cpp:546
#26 0x00007ffe0be0b5bb in QAbstractButtonPrivate::click (this=0x245b5a0) at widgets/qabstractbutton.cpp:539
#27 0x00007ffe0be0b82c in QAbstractButton::mouseReleaseEvent (this=0x2458510, e=0x7fff96f9f580) at widgets/qabstractbutton.cpp:1121
#28 0x00007ffe0ba8804e in QWidget::event (this=0x2458510, event=0x7fff96f9f580) at kernel/qwidget.cpp:8187
#29 0x00007ffe0ba31fdc in QApplicationPrivate::notify_helper (this=0x22c2350, receiver=0x2458510, e=0x7fff96f9f580) at kernel/qapplication.cpp:4396
#30 0x00007ffe0ba3830e in QApplication::notify (this=0x7fff96fa02f0, receiver=0x2458510, e=0x7fff96f9f580) at kernel/qapplication.cpp:3959
#31 0x00007ffe0d366156 in KApplication::notify (this=0x7fff96fa02f0, receiver=0x2458510, event=0x7fff96f9f580) at ../../kdeui/kernel/kapplication.cpp:310
#32 0x00007ffe0c6cacdc in QCoreApplication::notifyInternal (this=0x7fff96fa02f0, receiver=0x2458510, event=0x7fff96f9f580) at kernel/qcoreapplication.cpp:732
#33 0x00007ffe0ba36dbe in sendEvent (receiver=0x2458510, event=0x7fff96f9f580, alienWidget=0x2458510, nativeWidget=0x243d5c0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QApplicationPrivate::sendMouseEvent (receiver=0x2458510, event=0x7fff96f9f580, alienWidget=0x2458510, nativeWidget=0x243d5c0, buttonDown=<value optimized out>, lastMouseReceiver=<value optimized out>, spontaneous=true) at kernel/qapplication.cpp:3058
#35 0x00007ffe0baba345 in QETWidget::translateMouseEvent (this=0x243d5c0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4403
#36 0x00007ffe0bab8c5c in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fff96f9fea0) at kernel/qapplication_x11.cpp:3536
#37 0x00007ffe0bae50e2 in x11EventSourceDispatch (s=0x22c61b0, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#38 0x00007ffe07e18342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x00007ffe07e1c2a8 in ?? () from /lib/libglib-2.0.so.0
#40 0x00007ffe07e1c45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x00007ffe0c6f7193 in QEventDispatcherGlib::processEvents (this=0x22aaf90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#42 0x00007ffe0bae4a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff96f9e270, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007ffe0c6c9a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#44 0x00007ffe0c6c9dec in QEventLoop::exec (this=0x7fff96fa01d0, flags=) at kernel/qeventloop.cpp:201
#45 0x00007ffe0bf267de in QDialog::exec (this=0x243d5c0) at dialogs/qdialog.cpp:552
#46 0x00007ffe0dd51968 in kdemain (_argc=<value optimized out>, _argv=<value optimized out>) at ../../kcmshell/main.cpp:285
#47 0x00007ffe0d9e5d8e in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff96fa0a68) at libc-start.c:226
#48 0x0000000000400669 in _start ()

Reported using DrKonqi
Comment 1 SZÉKELYI Szabolcs 2010-11-25 16:25:20 UTC
*** Bug 257874 has been marked as a duplicate of this bug. ***
Comment 2 Dawit Alemayehu 2010-12-27 04:27:00 UTC
This has already been fixed in KDE 4.5.2 and up. See http://websvn.kde.org/tags/KDE/4.5.2/kdebase/apps/konqueror/settings/kio/kcookiespolicies.cpp?view=log
Comment 3 Davor Cubranic 2011-01-31 15:06:49 UTC
*** Bug 264262 has been marked as a duplicate of this bug. ***