Bug 165076 - [KDEPIM-KRUSH] "file->Export->upload new hot stuff" causes crash.
Summary: [KDEPIM-KRUSH] "file->Export->upload new hot stuff" causes crash.
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-06-27 05:09 UTC by George Goldberg
Modified: 2008-11-09 22:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description George Goldberg 2008-06-27 05:09:58 UTC
Version:            (using KDE 4.0.80)
Installed from:    Compiled From Sources
OS:                Linux

crash on "file"->"Export"->"upload new hot stuff".

(Reported on KDEPIM-KRUSH Day May 2008 by FiNeX and krop).
Comment 1 George Goldberg 2008-06-27 05:11:30 UTC
Backtrace in pastebin has expired :(
Comment 2 FiNeX 2008-06-27 12:30:35 UTC
don't worry, I can still reproduce it :-)

I've no backtrace, only the shell output:



korganizer(4174) CalendarView::saveCalendar: "/tmp/test-kde4/kde-test/korganizerJy4174.tmp"
korganizer(4174)/kdepimlibs (kcal) KCal::FileStorage::save:
korganizer(4174)/kdepimlibs (kcal) KCal::ICalFormat::save: "/tmp/test-kde4/kde-test/korganizerJy4174.tmp"
ASSERT: "false" in file /home/test/KDE4/kdesvn/kdelibs/knewstuff/knewstuff2/engine.cpp, line 240
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: path= "/home/test/.kde4/share/apps/korganizer/income.accepted" sub_entry: 0x0
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 10, 2) for "/home/test/.kde4/share/apps/korganizer/income.accepted"
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/home/test/.kde4/share/apps/korganizer/income.accepted" for "" ["KDirWatch-2"]
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: path= "/home/test/.kde4/share/apps/korganizer/income.cancel" sub_entry: 0x0
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 10, 5) for "/home/test/.kde4/share/apps/korganizer/income.cancel"
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/home/test/.kde4/share/apps/korganizer/income.cancel" for "" ["KDirWatch-2"]
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: path= "/home/test/.kde4/share/apps/korganizer/income.counter" sub_entry: 0x0
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 10, 4) for "/home/test/.kde4/share/apps/korganizer/income.counter"
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/home/test/.kde4/share/apps/korganizer/income.counter" for "" ["KDirWatch-2"]
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: path= "/home/test/.kde4/share/apps/korganizer/income.delegated" sub_entry: 0x0
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 10, 7) for "/home/test/.kde4/share/apps/korganizer/income.delegated"
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/home/test/.kde4/share/apps/korganizer/income.delegated" for "" ["KDirWatch-2"]
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: path= "/home/test/.kde4/share/apps/korganizer/income.reply" sub_entry: 0x0
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 10, 6) for "/home/test/.kde4/share/apps/korganizer/income.reply"
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/home/test/.kde4/share/apps/korganizer/income.reply" for "" ["KDirWatch-2"]
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: path= "/home/test/.kde4/share/apps/korganizer/income.tentative" sub_entry: 0x0
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Cancelled INotify (fd 10, 3) for "/home/test/.kde4/share/apps/korganizer/income.tentative"
korganizer(4174)/kio (KDirWatch) KDirWatchPrivate::removeEntry: Removed Dir "/home/test/.kde4/share/apps/korganizer/income.tentative" for "" ["KDirWatch-2"]
kDebugStream called after destruction (from virtual KOPrefs::~KOPrefs() file /home/test/KDE4/kdesvn/kdepim/korganizer/koprefs.cpp line 91)

kDebugStream called after destruction (from void KRES::Resource::close() file /home/test/KDE4/kdesvn/kdepimlibs/kresources/resource.cpp line 140)
Closing resource "Default Calendar"
kDebugStream called after destruction (from void KRES::Resource::close() file /home/test/KDE4/kdesvn/kdepimlibs/kresources/resource.cpp line 140)
Closing resource "Birthdays"
kDebugStream called after destruction (from virtual KRES::ManagerImpl::~ManagerImpl() file /home/test/KDE4/kdesvn/kdepimlibs/kresources/managerimpl.cpp line 90)

kDebugStream called after destruction (from bool KDirWatchPrivate::stopEntryScan(KDirWatch*, KDirWatchPrivate::Entry*) file /home/test/KDE4/kdesvn/kdelibs/kio/kio/kdirwatch.cpp line 904)
"KDirWatch-1" stopped scanning "/home/test/.kde4/share/apps/kabc" (now 0 watchers)
kDebugStream called after destruction (from bool KDirWatchPrivate::stopEntryScan(KDirWatch*, KDirWatchPrivate::Entry*) file /home/test/KDE4/kdesvn/kdelibs/kio/kio/kdirwatch.cpp line 904)
"KDirWatch-1" stopped scanning "/home/test/.kde4/share/apps/kabc/distlists" (now 1 watchers)
kDebugStream called after destruction (from bool KDirWatchPrivate::stopEntryScan(KDirWatch*, KDirWatchPrivate::Entry*) file /home/test/KDE4/kdesvn/kdelibs/kio/kio/kdirwatch.cpp line 904)
"KDirWatch-1" stopped scanning "/home/test/.kde4/share/apps/kabc/std.vcf" (now 1 watchers)
kDebugStream called after destruction (from bool KDirWatchPrivate::stopEntryScan(KDirWatch*, KDirWatchPrivate::Entry*) file /home/test/KDE4/kdesvn/kdelibs/kio/kio/kdirwatch.cpp line 904)
"KDirWatch-1" stopped scanning "/home/test/.kde4/share/apps/korganizer/std.ics" (now 0 watchers)
kDebugStream called after destruction (from void KRES::Resource::close() file /home/test/KDE4/kdesvn/kdepimlibs/kresources/resource.cpp line 134)
ERROR: Resource "Default Calendar"  closed more times than previously opened
Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at /home/test/KDE4/kdesvn/kdelibs/kdecore/kernel/kglobal.cpp:98
kDebugStream called after destruction (from bool KABC::StdAddressBook::Private::saveAll() file /home/test/KDE4/kdesvn/kdepimlibs/kabc/stdaddressbook.cpp line 159)

kDebugStream called after destruction (from KABC::Ticket* KABC::AddressBook::requestSaveTicket(KABC::Resource*) file /home/test/KDE4/kdesvn/kdepimlibs/kabc/addressbook.cpp line 509)

kDebugStream called after destruction (from virtual KABC::Ticket* KABC::ResourceFile::requestSaveTicket() file /home/test/KDE4/kdesvn/kdepimlibs/kabc/plugins/file/resourcefile.cpp line 133)

Fatal Error: Accessed global static 'KGlobalPrivate *globalData()' after destruction. Defined at /home/test/KDE4/kdesvn/kdelibs/kdecore/kernel/kglobal.cpp:98
Comment 3 Christophe Marin 2008-06-27 13:04:45 UTC
and a BT : 

Application: KOrganizer (korganizer), signal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb52c8720 (LWP 12585)]
[KCrash handler]
#6  0xb7eec430 in __kernel_vsyscall ()
#7  0xb589a5e0 in raise () from /lib/i686/cmov/libc.so.6
#8  0xb589bfb8 in abort () from /lib/i686/cmov/libc.so.6
#9  0xb6966813 in qt_message_output (msgType=QtFatalMsg, 
    buf=0xbfe03470 "ASSERT: \"false\" in file /media/kde/src/KDE/kdelibs/knewstuff/knewstuff2/engine.cpp, line 240") at global/qglobal.cpp:2058
#10 0xb6966877 in qFatal (msg=0xb6ab2538 "ASSERT: \"%s\" in file %s, line %d")
    at global/qglobal.cpp:2260
#11 0xb6966c99 in qt_assert (assertion=0xb6615d97 "false", 
    file=0xb661a030 "/media/kde/src/KDE/kdelibs/knewstuff/knewstuff2/engine.cpp", line=240) at global/qglobal.cpp:1828
#12 0xb66136f2 in KNS::Engine::upload (file=@0xbfe054d8)
    at /media/kde/src/KDE/kdelibs/knewstuff/knewstuff2/engine.cpp:240
#13 0xb7e600a2 in ActionManager::uploadNewStuff (this=0x8eb2d30)
    at /media/kde/src/KDE/kdepim/korganizer/actionmanager.cpp:1548
#14 0xb7e64e38 in ActionManager::qt_metacall (this=0x8eb2d30, 
    _c=QMetaObject::InvokeMetaMethod, _id=56, _a=0xbfe0563c)
    at /media/kde/build/KDE/kdepim/korganizer/actionmanager.moc:246
#15 0xb6a7388c in QMetaObject::activate (sender=0x915b888, 
    from_signal_index=5, to_signal_index=6, argv=0xbfe0563c)
    at kernel/qobject.cpp:3007
#16 0xb6a73aa4 in QMetaObject::activate (sender=0x915b888, m=0xb6425018, 
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbfe0563c)
    at kernel/qobject.cpp:3100
#17 0xb5d4575a in QAction::triggered (this=0x915b888, _t1=false)
    at .moc/debug-shared/moc_qaction.cpp:216
#18 0xb5d47308 in QAction::activate (this=0x915b888, event=QAction::Trigger)
    at kernel/qaction.cpp:1119
#19 0xb615836b in QMenuPrivate::activateAction (this=0x9191070, 
    action=0x915b888, action_e=QAction::Trigger, self=true)
    at widgets/qmenu.cpp:1005
#20 0xb6159e5b in QMenu::mouseReleaseEvent (this=0x9191050, e=0xbfe05e54)
    at widgets/qmenu.cpp:2160
#21 0xb7203f28 in KMenu::mouseReleaseEvent (this=0x9191050, e=0xbfe05e54)
    at /media/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:452
#22 0xb5da93e4 in QWidget::event (this=0x9191050, event=0xbfe05e54)
    at kernel/qwidget.cpp:6927
#23 0xb6157f56 in QMenu::event (this=0x9191050, e=0xbfe05e54)
    at widgets/qmenu.cpp:2256
#24 0xb5d4d289 in QApplicationPrivate::notify_helper (this=0x8ca3120, 
    receiver=0x9191050, e=0xbfe05e54) at kernel/qapplication.cpp:3772
#25 0xb5d4de07 in QApplication::notify (this=0xbfe066b0, receiver=0x9191050, 
    e=0xbfe05e54) at kernel/qapplication.cpp:3501
#26 0xb714a361 in KApplication::notify (this=0xbfe066b0, receiver=0x9191050, 
    event=0xbfe05e54)
    at /media/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:311
#27 0xb6a5f28b in QCoreApplication::notifyInternal (this=0xbfe066b0, 
    receiver=0x9191050, event=0xbfe05e54) at kernel/qcoreapplication.cpp:583
#28 0xb79891d3 in QCoreApplication::sendSpontaneousEvent (receiver=0x9191050, 
    event=0xbfe05e54)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#29 0xb5d51bd0 in QApplicationPrivate::sendMouseEvent (receiver=0x9191050, 
    event=0xbfe05e54, alienWidget=0x0, nativeWidget=0x9191050, 
    buttonDown=0xb6442c20, lastMouseReceiver=@0xb6442c24)
    at kernel/qapplication.cpp:2766
#30 0xb5dc754e in QETWidget::translateMouseEvent (this=0x9191050, 
    event=0xbfe06400) at kernel/qapplication_x11.cpp:4067
#31 0xb5dc8517 in QApplication::x11ProcessEvent (this=0xbfe066b0, 
    event=0xbfe06400) at kernel/qapplication_x11.cpp:3133
#32 0xb5df18fe in x11EventSourceDispatch (s=0x8ca5e70, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#33 0xb56e7978 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0xb56eabce in ?? () from /usr/lib/libglib-2.0.so.0
#35 0x08ca5298 in ?? ()
#36 0x00000000 in ?? ()
#0  0xb7eec430 in __kernel_vsyscall ()
Comment 4 Christophe Marin 2008-06-27 13:09:47 UTC
I'll check again later, didn't updated kdepim yet.

This may be a kdelibs bug though.
Comment 5 George Goldberg 2008-09-28 23:15:08 UTC
I can still reproduce this bug using svn trunk r865619.
Comment 6 Frank Osterfeld 2008-11-09 22:42:39 UTC
Feature was disabled due to the crash by this commit:

r875782 | mlaurent | 2008-10-25 17:39:32 +0200 (Sat, 25 Oct 2008) | 2 lines

Comment until KNS::Engine::upload is implemented