Bug 213966 - SystemSettings crash while deleting duplicated resource [KRES::Resource::identifier, KRES::ManagerImpl::removeResource, KRES::ManagerImpl::remove]
Summary: SystemSettings crash while deleting duplicated resource [KRES::Resource::iden...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: KResource compat bridges (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Krammer
URL:
Keywords:
: 250544 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-11-10 12:48 UTC by PC LX
Modified: 2015-10-24 10:01 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (7.02 KB, text/plain)
2011-08-03 00:10 UTC, gapon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description PC LX 2009-11-10 12:48:32 UTC
Application that crashed: systemsettings
Version of the application: 1.0
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31.5-desktop-1mnb x86_64
Distribution: "Mandriva Linux 2010.0"

What I was doing when the application crashed:
How it happened?
I was using systemsettings to setup my contacts list in a new install of Mandriva 2010.0.
In the KDE resources area of systemsettings, I added the vcard file where my contact's list is, set it to be the default, deleted the KDE default contact's list, and clicked apply.
Closed systemsettings and run kontact to check my contacts but they where no where so I closed kontact and returned to systemsettings to check the KDE resources again.
My newly added contacts list was there so it was the KDE default contact's list that I had deleted, five times!
I selected one of those five and when trying to delete it ... crash and here we are.

Running systemsettings again. This time the KDE resources for contacts was empty. I added my contacts list again and this time it worked and it shows in kontact with no problem.


 -- Backtrace:
Application: Configuração do Sistema (systemsettings), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f2030f28710 (LWP 8839))]

Thread 2 (Thread 0x7f201b69d910 (LWP 10661)):
#0  0x00007f202da22e59 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f202ec59dab in QWaitCondition::wait (this=<value optimized out>, mutex=0x16ea028, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007f20147fe3d9 in Soprano::Util::AsyncQuery::Private::run (this=0x16e9ff0) at /usr/src/debug/nepomuk-scribo-0.6.0/nepomukshell/asyncquery.cpp:110
#3  0x00007f202ec58cf5 in QThreadPrivate::start (arg=0x16e9ff0) at thread/qthread_unix.cpp:188
#4  0x00007f202da1e7cd in start_thread () from /lib64/libpthread.so.0
#5  0x00007f202e66d37d in clone () from /lib64/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2030f28710 (LWP 8839)):
[KCrash Handler]
#5  0x00007f20186c60f7 in KRES::Resource::identifier () from /usr/lib64/libkresources.so.4
#6  0x00007f20186cbc97 in KRES::ManagerImpl::removeResource () from /usr/lib64/libkresources.so.4
#7  0x00007f20186cbfc9 in KRES::ManagerImpl::remove () from /usr/lib64/libkresources.so.4
#8  0x00007f20186d7190 in KRES::ConfigPage::slotRemove () from /usr/lib64/libkresources.so.4
#9  0x00007f20186d738c in KRES::ConfigPage::qt_metacall () from /usr/lib64/libkresources.so.4
#10 0x00007f202ed538dc in QMetaObject::activate (sender=0x15cad10, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x2) at kernel/qobject.cpp:3112
#11 0x00007f202feb3337 in QAbstractButton::clicked (this=0x7fffd913cdf0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:200
#12 0x00007f202fc1510b in QAbstractButtonPrivate::emitClicked (this=0x1661490) at widgets/qabstractbutton.cpp:543
#13 0x00007f202fc16d1b in QAbstractButtonPrivate::click (this=0x1661490) at widgets/qabstractbutton.cpp:536
#14 0x00007f202fc16f65 in QAbstractButton::mouseReleaseEvent (this=0x15cad10, e=0x7fffd913d7a0) at widgets/qabstractbutton.cpp:1115
#15 0x00007f202f901b70 in QWidget::event (this=0x15cad10, event=0x7fffd913d7a0) at kernel/qwidget.cpp:7554
#16 0x00007f202f8b312c in QApplicationPrivate::notify_helper (this=0x90a1b0, receiver=0x15cad10, e=0x7fffd913d7a0) at kernel/qapplication.cpp:4065
#17 0x00007f202f8ba241 in QApplication::notify (this=<value optimized out>, receiver=0x15cad10, e=0x7fffd913d7a0) at kernel/qapplication.cpp:3767
#18 0x00007f20304d7326 in KApplication::notify () from /usr/lib64/libkdeui.so.5
#19 0x00007f202ed3e6fc in QCoreApplication::notifyInternal (this=0x7fffd913f6b0, receiver=0x15cad10, event=0x7fffd913d7a0) at kernel/qcoreapplication.cpp:610
#20 0x00007f202f8b9b10 in QApplicationPrivate::sendMouseEvent (receiver=0x15cad10, event=0x7fffd913d7a0, alienWidget=0x15cad10, nativeWidget=0xa7a330, buttonDown=<value optimized out>, 
    lastMouseReceiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:216
#21 0x00007f202f91fbae in QETWidget::translateMouseEvent (this=0xa7a330, event=<value optimized out>) at kernel/qapplication_x11.cpp:4411
#22 0x00007f202f91ec4a in QApplication::x11ProcessEvent (this=<value optimized out>, event=0x7fffd913f2d0) at kernel/qapplication_x11.cpp:3552
#23 0x00007f202f946e9c in x11EventSourceDispatch (s=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:146
#24 0x00007f202b7254ce in IA__g_main_context_dispatch (context=0x90cd30) at gmain.c:1960
#25 0x00007f202b728e98 in g_main_context_iterate (context=0x90cd30, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#26 0x00007f202b728fc0 in IA__g_main_context_iteration (context=0x90cd30, may_block=1) at gmain.c:2654
#27 0x00007f202ed66cc3 in QEventDispatcherGlib::processEvents (this=0x8d9bd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:407
#28 0x00007f202f94664e in QGuiEventDispatcherGlib::processEvents (this=0x7fffd913cdf0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#29 0x00007f202ed3d032 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f202ed3d404 in QEventLoop::exec (this=0x7fffd913f600, flags=) at kernel/qeventloop.cpp:201
#31 0x00007f202ed3f5b9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#32 0x000000000040c2d9 in _start ()

Reported using DrKonqi
Comment 1 PC LX 2009-11-10 15:00:19 UTC
Akonadi is not running on the system where the crash occured. Just in case that is relevant.
Comment 2 Dario Andres 2010-11-20 20:24:31 UTC
[Comment from a bug triager]
From bug 250544:
- Information about the crash:
systemsettings crashed when I deleted several calendar entries in the personal
information modul

- Backtrace (KDE SC 4.5.1):
[KCrash Handler]
#7  0xb19c03ab in QString (this=0x835fba8) at /usr/include/QtCore/qstring.h:714
#8  KRES::Resource::identifier (this=0x835fba8) at
/usr/src/debug/kdepimlibs-4.5.1/kresources/resource.cpp:161
#9  0xb19c2759 in KRES::ManagerImpl::removeResource (this=0x8384fd8,
resource=0x835fba8) at
/usr/src/debug/kdepimlibs-4.5.1/kresources/managerimpl.cpp:434
#10 0xb19c3ad5 in KRES::ManagerImpl::remove (this=0x8384fd8,
resource=0x835fba8) at
/usr/src/debug/kdepimlibs-4.5.1/kresources/managerimpl.cpp:202
#11 0xb19c3c5d in remove (this=0x8368290) at
/usr/src/debug/kdepimlibs-4.5.1/kresources/manager.h:294
#12 KRES::ConfigPage::slotRemove (this=0x8368290) at
/usr/src/debug/kdepimlibs-4.5.1/kresources/configpage.cpp:433
#13 0xb19ca6b4 in KRES::ConfigPage::qt_metacall (this=0x8368290,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf880fe8)
    at /usr/src/debug/kdepimlibs-4.5.1/build/kresources/configpage.moc:90
Comment 3 Dario Andres 2010-11-20 20:24:38 UTC
*** Bug 250544 has been marked as a duplicate of this bug. ***
Comment 4 gapon 2011-08-03 00:10:06 UTC
Created attachment 62491 [details]
New crash information added by DrKonqi

systemsettings (1.0) on KDE Platform 4.7.00 (4.7.0) using Qt 4.7.2

- What I was doing when the application crashed:

Removing duplicated entries from KDE sources, Alarm part

-- Backtrace (Reduced):
#6  QString (this=0x166d920) at /usr/include/qt4/QtCore/qstring.h:728
#7  KRES::Resource::identifier (this=0x166d920) at ../../kresources/resource.cpp:161
#8  0x00007f706b1568d0 in KRES::ManagerImpl::removeResource (this=0x1619570, resource=0x166d920) at ../../kresources/managerimpl.cpp:434
#9  0x00007f706b157c13 in KRES::ManagerImpl::remove (this=0x1619570, resource=0x166d920) at ../../kresources/managerimpl.cpp:202
#10 0x00007f706b15aab3 in remove (this=0x19cc1d0) at ../../kresources/manager.h:294
Comment 5 Volker Krause 2015-10-24 10:01:06 UTC
The KResource compatibility bridges don't exist anymore with KDE PIM 15.08.