Bug 228688 - Adding an attendee crashes KOrganizer
Summary: Adding an attendee crashes KOrganizer
Status: VERIFIED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: HI crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-27 00:21 UTC by Sabine Faure
Modified: 2010-05-07 01:19 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 Sabine Faure 2010-02-27 00:21:41 UTC
Application: korganizer (4.5 pre-svn-1096391 (2010-02-26))
KDE Platform Version: 4.4.00 (KDE 4.4.0) (Compiled from sources)
Qt Version: 4.6.0
Operating System: Linux 2.6.27-16-generic i686
Distribution: Ubuntu 8.10

-- Information about the crash:
- Launch KOrg
- Go to menu Settings/Configure KOrganizer and click on Free/Busy. Fill in the information needed in the blank fields.
- Click on 'New Event' button
- Go to the Attendees tab
- Click on the 'New' button and add the email address of a new attendee

KOrg crashes

Trunk, Svn Rev 1096391

The crash can be reproduced every time.

 -- Backtrace:
Application: KOrganizer (korganizer), signal: Aborted
[KCrash Handler]
#6  0xb7f6b430 in __kernel_vsyscall ()
#7  0xb56ab8a0 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb56ad268 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb5a0b94e in qt_message_output (msgType=QtFatalMsg, buf=0xafbd9f8 "ASSERT: \"QApplication::activeModalWidget()\" in file /d/kde/src/t/kdepim/akonadi/kcal/freebusymanager.cpp, line 81")
    at global/qglobal.cpp:2226
#10 0xb5a0b9ee in qt_message (msgType=QtFatalMsg, msg=0xb5b88608 "ASSERT: \"%s\" in file %s, line %d", ap=0xbf9d1834 "(") at global/qglobal.cpp:2272
#11 0xb5a0ba24 in qFatal (msg=0xb5b88608 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2455
#12 0xb5a0bc78 in qt_assert (assertion=0xb5110028 "QApplication::activeModalWidget()", file=0xb510fb68 "/d/kde/src/t/kdepim/akonadi/kcal/freebusymanager.cpp", line=81) at global/qglobal.cpp:1989
#13 0xb50ff0f3 in FreeBusyDownloadJob (this=0xb3420f8, email=@0xbf9d1924, url=@0xbf9d1900, manager=0x9ec85c0) at /d/kde/src/t/kdepim/akonadi/kcal/freebusymanager.cpp:81
#14 0xb50ff4b5 in Akonadi::FreeBusyManager::processRetrieveQueue (this=0x9ec85c0) at /d/kde/src/t/kdepim/akonadi/kcal/freebusymanager.cpp:414
#15 0xb50ff9f5 in Akonadi::FreeBusyManager::retrieveFreeBusy (this=0x9ec85c0, email=@0xbf9d19d4, forceDownload=false) at /d/kde/src/t/kdepim/akonadi/kcal/freebusymanager.cpp:393
#16 0xb5047e4d in FreeBusyItem::startDownload (this=0xb2a0170, forceDownload=false) at /d/kde/src/t/kdepim/korganizer/incidenceeditor/koeditorfreebusy.cpp:112
#17 0xb5040fc0 in KOEditorFreeBusy::timerEvent (this=0xb0845a8, event=0xbf9d2104) at /d/kde/src/t/kdepim/korganizer/incidenceeditor/koeditorfreebusy.cpp:504
#18 0xb5b2ad40 in QObject::event (this=0xb0845a8, e=0xbf9d2104) at kernel/qobject.cpp:1224
#19 0xb6179d8a in QWidget::event (this=0xb0845a8, event=0xbf9d2104) at kernel/qwidget.cpp:8428
#20 0xb610e640 in QApplicationPrivate::notify_helper (this=0x9e9f158, receiver=0xb0845a8, e=0xbf9d2104) at kernel/qapplication.cpp:4242
#21 0xb6110f95 in QApplication::notify (this=0xbf9d2400, receiver=0xb0845a8, e=0xbf9d2104) at kernel/qapplication.cpp:4207
#22 0xb7d5caf3 in KApplication::notify (this=0xbf9d2400, receiver=0xb0845a8, event=0xbf9d2104) at /d/kde/src/t/kdelibs/kdeui/kernel/kapplication.cpp:302
#23 0xb5b1765d in QCoreApplication::notifyInternal (this=0xbf9d2400, receiver=0xb0845a8, event=0xbf9d2104) at kernel/qcoreapplication.cpp:704
#24 0xb6fe0cbf in QCoreApplication::sendEvent () from /d/qt/4/kde-qt/lib/libQt3Support.so.4
#25 0xb5b4c0a7 in QTimerInfoList::activateTimers (this=0x9ea4194) at kernel/qeventdispatcher_unix.cpp:603
#26 0xb5b49934 in timerSourceDispatch (source=0x9ea4160) at kernel/qeventdispatcher_glib.cpp:184
#27 0xb5b49969 in idleTimerSourceDispatch (source=0x9ea41c8) at kernel/qeventdispatcher_glib.cpp:231
#28 0xb4b6c718 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#29 0xb4b6fdc3 in ?? () from /usr/lib/libglib-2.0.so.0
#30 0xb4b6ff81 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#31 0xb5b48a5a in QEventDispatcherGlib::processEvents (this=0x9e7a4b8, flags={i = -1080220972}) at kernel/qeventdispatcher_glib.cpp:407
#32 0xb61dc04e in QGuiEventDispatcherGlib::processEvents (this=0x9e7a4b8, flags={i = -1080220924}) at kernel/qguieventdispatcher_glib.cpp:202
#33 0xb5b1434a in QEventLoop::processEvents (this=0xbf9d2390, flags={i = -1080220852}) at kernel/qeventloop.cpp:149
#34 0xb5b145bb in QEventLoop::exec (this=0xbf9d2390, flags={i = -1080220776}) at kernel/qeventloop.cpp:197
#35 0xb5b17e35 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#36 0xb6110fd6 in QApplication::exec () at kernel/qapplication.cpp:3570
#37 0x0804f2fa in main (argc=1, argv=0xbf9d24f4) at /d/kde/src/t/kdepim/korganizer/main.cpp:65

Reported using DrKonqi
Comment 1 Sabine Faure 2010-02-27 01:08:53 UTC
I am setting this bug as HIGH since it is a blocker bug preventing me to finish testing the attendees tab completely.
Comment 2 Sabine Faure 2010-04-15 21:49:59 UTC
This crash also prevents me from testing the Schedule menu completely.

Trunk, svn Rev 1115106
Comment 3 Sabine Faure 2010-04-22 22:18:30 UTC
This bug also prevents me to test the use of a different email setting than the default one (Settings menu/configure KOrg - personal tab - Email Setting section)

Trunk, Svn Rev 1117463
Comment 4 Sabine Faure 2010-04-30 18:02:47 UTC
This prevents me also to test the first two check boxes (Settings menu/Configure KOrganizer - 'Group Scheduling' icon)

Trunk, Svn Rev 1121099
Comment 5 David Faure 2010-04-30 18:03:49 UTC
1038077   sebsauer   Q_ASSERT( QApplication::activeModalWidget() );

Seb? Why "Modal"? I guess this should at least be activeWindow() instead?

And isn't there a way to pass a QWidget to the job rather than hoping QApplication will return the right thing? (which seems a bit fragile)
Comment 6 Sergio Martins 2010-05-03 20:53:07 UTC
SVN commit 1122386 by smartins:

Use a real parent widget instead of calling QApplication::activeModalWidget() which fails most of the time.

Fixes a crash while adding attendees.

CCBUG: 228688



 M  +14 -13    freebusymanager.cpp  
 M  +8 -3      freebusymanager.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1122386
Comment 7 Sabine Faure 2010-05-07 01:19:26 UTC
It is corrected now.

Adding an attendee works fine now.

Trunk, Svn Rev 1123669