Summary: | kontact crashes when switching from Mail to Calendar | ||
---|---|---|---|
Product: | [Applications] kontact | Reporter: | cjb |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
cjb
2003-12-10 19:42:41 UTC
I think I have seen the same bug. Debian (gcc 3.3.2) on a iBook G3 900Mhz. Trace follows: [New Thread 16384 (LWP 30200)] 0x0e8b9fdc in waitpid () from /lib/libpthread.so.0 #0 0x0e8b9fdc in waitpid () from /lib/libpthread.so.0 #1 0x0f5d5ec4 in KCrash::defaultCrashHandler(int) () from /opt/kdecvs/lib/libkdecore.so.4 #2 0x0e8b8a00 in __pthread_sighandler () from /lib/libpthread.so.0 #3 <signal handler called> #4 0x0ccbede4 in DateNavigator::selectWeek(QDate const&) () from /opt/kdecvs/lib/libkorganizer.so.1 #5 0x0ccbeddc in DateNavigator::selectWeek(QDate const&) () from /opt/kdecvs/lib/libkorganizer.so.1 #6 0x0ccd7a80 in KOViewManager::showWeekView() () from /opt/kdecvs/lib/libkorganizer.so.1 #7 0x0ccd80b0 in KOViewManager::showEventView() () from /opt/kdecvs/lib/libkorganizer.so.1 #8 0x0cd4ad88 in ActionManager::showEventView() () from /opt/kdecvs/lib/libkorganizer.so.1 #9 0x0cd5adf4 in KCalendarIface::process(QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&) () from /opt/kdecvs/lib/libkorganizer.so.1 #10 0x0f479b70 in DCOPClient::receive(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&) () from /opt/kdecvs/lib/libDCOP.so.4 #11 0x0f47a704 in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool, int) () from /opt/kdecvs/lib/libDCOP.so.4 #12 0x0f47a5a0 in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool) () from /opt/kdecvs/lib/libDCOP.so.4 #13 0xffffffff in ?? () Can't confirm, using KDE beta 2. Subject: Re: kontact crashes when switching from Mail to Calendar it doesn't do it all the time. i've been using kontact for about 2 days now (open 24 hours a day) and its crashed twice from this bug... -- christopher On Thursday 11 December 2003 11:14 am, you wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=70032 > > > > > ------- Additional Comments From jsvrp.gw@myrealbox.com 2003-12-11 18:14 > ------- Can't confirm, using KDE beta 2. KDE Version (KDE 3.1.94 (3.2 Beta 2), compiled sources) Application Integrated PIM solution Operating System Linux (i686) release 2.4.23 (Slackware 9.1) Compiler gcc version 3.2.3 Confirming this crash occurs here, too. Happens when switching from mail to calendar. [New Thread 16384 (LWP 25567)]0x413825c9 in waitpid () from /lib/libpthread.so.0 #0 0x413825c9 in waitpid () from /lib/libpthread.so.0 #1 0x408d32ed in KCrash::defaultCrashHandler(int) () from /opt/kde/lib/libkdecore.so.4 #2 0x41380c45 in __pthread_sighandler () from /lib/libpthread.so.0 #3 <signal handler called> #4 0x00010008 in ?? () #5 0x42389329 in DateNavigator::selectWeek() () from /opt/kde/lib/libkorganizer.so.1 #6 0x423a33c5 in KOViewManager::showWeekView() () from /opt/kde/lib/libkorganizer.so.1 #7 0x423a3ae9 in KOViewManager::showEventView() () from /opt/kde/lib/libkorganizer.so.1 #8 0x4241dc4d in ActionManager::showEventView() () from /opt/kde/lib/libkorganizer.so.1 #9 0x4242e0f9 in KCalendarIface::process(QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&) () from /opt/kde/lib/libkorganizer.so.1 #10 0x409b09ed in DCOPClient::receive(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&) () from /opt/kde/lib/libDCOP.so.4 #11 0x409b15a8 in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool, int) () from /opt/kde/lib/libDCOP.so.4 #12 0x409b14b9 in DCOPClient::call(QCString const&, QCString const&, QCString const&, QMemArray<char> const&, QCString&, QMemArray<char>&, bool) () from /opt/kde/lib/libDCOP.so.4 #13 0x419adab3 in KCalendarIface_stub::showEventView() () from /opt/kde/lib/kde3/libkontact_korganizerplugin.so #14 0x419a87a7 in KOrganizerPlugin::select() () from /opt/kde/lib/kde3/libkontact_korganizerplugin.so #15 0x0805ae89 in KUniqueApplication::metaObject() const () #16 0x0805bf26 in KUniqueApplication::metaObject() const () #17 0x40ca36c0 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt/lib/libqt-mt.so.3 #18 0x0805ddaa in QPtrList<KParts::Part>::deleteItem(void*) () #19 0x0805dec1 in QPtrList<KParts::Part>::deleteItem(void*) () #20 0x080615ff in QPushButton::setIsMenuButton(bool) () #21 0x40ca36f5 in QObject::activate_signal(QConnectionList*, QUObject*) () from /usr/lib/qt/lib/libqt-mt.so.3 #22 0x080612fa in QPushButton::setIsMenuButton(bool) () #23 0x40d6e0e3 in QListBox::mousePressEventEx(QMouseEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3 #24 0x40d6dfb6 in QListBox::mousePressEvent(QMouseEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3 #25 0x40cd7eab in QWidget::event(QEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3 #26 0x40c485c5 in QApplication::internalNotify(QObject*, QEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3 #27 0x40c47d62 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3 #28 0x408441be in KApplication::notify(QObject*, QEvent*) () from /opt/kde/lib/libkdecore.so.4 #29 0x40be161b in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib/qt/lib/libqt-mt.so.3 #30 0x40bdeda4 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/qt/lib/libqt-mt.so.3 #31 0x40bf5387 in QEventLoop::processEvents(unsigned) () from /usr/lib/qt/lib/libqt-mt.so.3 #32 0x40c5b896 in QEventLoop::enterLoop() () from /usr/lib/qt/lib/libqt-mt.so.3 #33 0x40c5b738 in QEventLoop::exec() () from /usr/lib/qt/lib/libqt-mt.so.3 #34 0x40c48811 in QApplication::exec() () from /usr/lib/qt/lib/libqt-mt.so.3 #35 0x0805867f in QFrame::paintEvent(QPaintEvent*) () #36 0x414c0d06 in __libc_start_main () from /lib/libc.so.6 Subject: kdepim/korganizer CVS commit by danimo: Don't carry around potentially dangeling pointer, fixes #70032. Backport from osnabrueck_branch. CCMAIL:70032-done@bugs.kde.org M +1 -3 koglobals.cpp 1.16 M +0 -1 koglobals.h 1.13 --- kdepim/korganizer/koglobals.cpp #1.15:1.16 @@ -68,6 +68,4 @@ KOGlobals::KOGlobals() mOwnInstance->config()->setGroup("General"); - mCalendarSystem = KGlobal::locale()->calendar(); - mAlarmClient = new AlarmClient; } @@ -89,5 +87,5 @@ KOGlobals::~KOGlobals() const KCalendarSystem *KOGlobals::calendarSystem() const { - return mCalendarSystem; + return KGlobal::locale()->calendar(); } --- kdepim/korganizer/koglobals.h #1.12:1.13 @@ -62,5 +62,4 @@ class KOGlobals KInstance *mOwnInstance; - const KCalendarSystem *mCalendarSystem; AlarmClient *mAlarmClient; }; |