Bug 171820 - korganizer crash hovering event on remote file (using fish protocol)
Summary: korganizer crash hovering event on remote file (using fish protocol)
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 173095 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-28 20:31 UTC by FiNeX
Modified: 2011-06-04 16:29 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 FiNeX 2008-09-28 20:31:25 UTC
Version:           r865276 (using Devel)
Installed from:    Compiled sources

1) add a remote calendar file using "fish" protocol
2) set the same path for both upload/download
3) set saving changes on every change
4) move the mouse over an event (week/day view)
korganizer will crash

The crash doesn't occour with new events (created after adding the calendar on korganizer).





Application: KOrganizer (korganizer), signal SIGSEGV
 [?1034h[Thread debugging using libthread_db enabled]

Thread 1 (Thread 0xb55636d0 (LWP 10854)):
[KCrash Handler]
#6  0xb66bf856 in KOAgenda::setNoActionCursor (this=0x8233318, moveItem=0x83d9d30, viewportPos=@0xbf963b88) at /home/test/KDE4/kdesvn/kdepim/korganizer/views/agendaview/koagenda.cpp:1251
#7  0xb66c7596 in KOAgenda::eventFilter_mouse (this=0x8233318, object=0x83d9d30, me=0xbf964018) at /home/test/KDE4/kdesvn/kdepim/korganizer/views/agendaview/koagenda.cpp:673
#8  0xb66c0496 in KOAgenda::eventFilter (this=0x8233318, object=0x83d9d30, event=0xbf964018) at /home/test/KDE4/kdesvn/kdepim/korganizer/views/agendaview/koagenda.cpp:374
#9  0xb75c3dba in QCoreApplicationPrivate::sendThroughObjectEventFilters () from /usr/lib/libQtCore.so.4
#10 0xb6d1eeaa in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#11 0xb6d25ca7 in QApplication::notify () from /usr/lib/libQtGui.so.4
#12 0xb7c6b4ad in KApplication::notify (this=0xbf964720, receiver=0x83d9d30, event=0xbf964018) at /home/test/KDE4/kdesvn/kdelibs/kdeui/kernel/kapplication.cpp:307
#13 0xb75c4bc1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#14 0xb6d26fae in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#15 0xb6d841a8 in ?? () from /usr/lib/libQtGui.so.4
#16 0xb6d83580 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#17 0xb6da936e in ?? () from /usr/lib/libQtGui.so.4
#18 0xb75c333a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#19 0xb75c34fa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#20 0xb75c56dd in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#21 0xb6d1ed47 in QApplication::exec () from /usr/lib/libQtGui.so.4
#22 0x08051140 in main (argc=) at /home/test/KDE4/kdesvn/kdepim/korganizer/main.cpp:58
Comment 1 Christophe Marin 2008-10-29 11:49:57 UTC
Isn't this a dup of bug 123443 (look at the comment #1) ?
Comment 2 FiNeX 2008-11-02 23:10:09 UTC
No, this is on fish, those is on sftp. Moreover bug #123443 is on KDE3.
Comment 3 Sergio Martins 2009-02-08 08:10:16 UTC
But it looks like bug 173095 is a dup of this one.

Here's some valgrinding:

==21380== Invalid read of size 1                                                                                                            
==21380==    at 0x47E4C89: KOAgenda::eventFilter_mouse(QObject*, QMouseEvent*) (koagenda.cpp:666)                                           
==21380==    by 0x47DE0AA: KOAgenda::eventFilter(QObject*, QEvent*) (koagenda.cpp:373)                                                      
==21380==    by 0x545B821: QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (qcoreapplication.cpp:700)             
==21380==    by 0x57BFF55: QApplicationPrivate::notify_helper(QObject*, QEvent*) (qapplication.cpp:3805)                                    
==21380==    by 0x57C4E5C: QApplication::notify(QObject*, QEvent*) (qapplication.cpp:3534)                                                  
==21380==    by 0x41F365F: KApplication::notify(QObject*, QEvent*) (kapplication.cpp:307)                                                   
==21380==    by 0x545B396: QCoreApplication::notifyInternal(QObject*, QEvent*) (qcoreapplication.cpp:593)                                   
==21380==    by 0x57C4618: QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&) (qcoreapplication.h:218)                                                                                                                      
==21380==    by 0x582AD9B: QETWidget::translateMouseEvent(_XEvent const*) (qapplication_x11.cpp:4048)                                       
==21380==    by 0x5829287: QApplication::x11ProcessEvent(_XEvent*) (qapplication_x11.cpp:3180)                                              
==21380==    by 0x584F652: QEventDispatcherX11::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventdispatcher_x11.cpp:134)         
==21380==    by 0x545A56C: QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (qeventloop.cpp:149)                            
==21380==  Address 0x9af7820 is 8 bytes inside a block of size 28 free'd                                                                    
==21380==    at 0x402292C: operator delete(void*) (vg_replace_malloc.c:342)                                                                 
==21380==    by 0x452B4D6: KCal::Event::~Event() (event.cpp:79)                                                                             
==21380==    by 0x455333E: void qDeleteAll<QHash<QString, KCal::Event*>::const_iterator>(QHash<QString, KCal::Event*>::const_iterator, QHash<QString, KCal::Event*>::const_iterator) (qalgorithms.h:352)                                                                                
==21380==    by 0x455138F: KCal::CalendarLocal::deleteAllEvents() (qalgorithms.h:360)                                                       
==21380==    by 0x454F7C3: KCal::CalendarLocal::close() (calendarlocal.cpp:167)                                                             
==21380==    by 0x45A8CE7: KCal::ResourceCached::doClose() (resourcecached.cpp:878)                                                         
==21380==    by 0x4CEE378: KRES::Resource::close() (resource.cpp:141)                                                                       
==21380==    by 0x48BF882: ResourceView::closeResource(KCal::ResourceCalendar*) (resourceview.cpp:491)                                      
==21380==    by 0x48C34D5: ResourceView::qt_metacall(QMetaObject::Call, int, void**) (resourceview.moc:106)                                 
==21380==    by 0x54702AA: QMetaObject::activate(QObject*, int, int, void**) (qobject.cpp:3028)                                             
==21380==    by 0x5470913: QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (qobject.cpp:3098)                              
==21380==    by 0x459A523: KCal::ResourceCalendar::resourceSaved(KCal::ResourceCalendar*) (resourcecalendar.moc:129) 
Comment 4 Christophe Marin 2010-03-28 22:03:13 UTC
*** Bug 173095 has been marked as a duplicate of this bug. ***
Comment 5 Sergio Martins 2011-06-04 16:29:00 UTC
Doesn't happen anymore due to the usage of QSharedPointers.