[Bug 182783] Crash on summary if knotes has a duplicate resource (mJournals.value( uid ) == journal)

Christophe Giboudeaux cgiboudeaux at gmail.com
Sun Sep 27 19:17:42 BST 2009


https://bugs.kde.org/show_bug.cgi?id=182783





--- Comment #1 from Christophe Giboudeaux <cgiboudeaux gmail com>  2009-09-27 20:17:34 ---
fresh BT:

#6  0xb61742b5 in qt_message_output (msgType=QtFatalMsg,                        
    buf=0x84f3ba8 "ASSERT: \"mJournals.value( uid ) == journal\" in file
/home/krop/kde/src/KDE/kdepimlibs/kcal/calendarlocal.cpp, line 580") at
global/qglobal.cpp:2042   
No locals.                                                                      
#7  0xb61743a1 in qFatal (msg=0xb62c3bf8 "ASSERT: \"%s\" in file %s, line %d")
at global/qglobal.cpp:2241                                                      
        buf = {d = 0x84f6b88}                                                   
#8  0xb6174485 in qt_assert (assertion=0xb711d940 "mJournals.value( uid ) ==
journal",                                                                       
    file=0xb711d8b0 "/home/krop/kde/src/KDE/kdepimlibs/kcal/calendarlocal.cpp",
line=580) at global/qglobal.cpp:1811                                            
No locals.                                                                      
#9  0xb70a8a35 in KCal::CalendarLocal::Private::insertJournal (this=0x84ad5e8,
journal=0x84fada0)                                                              
    at /home/krop/kde/src/KDE/kdepimlibs/kcal/calendarlocal.cpp:580             
        uid = {d = 0x850a660}                                                   
#10 0xb70a88b7 in KCal::CalendarLocal::addJournal (this=0x84afb78,
journal=0x84fada0)                                                              
    at /home/krop/kde/src/KDE/kdepimlibs/kcal/calendarlocal.cpp:558             
No locals.                                                                      
#11 0xb10fcb2f in KNotesSummaryWidget::addNote (this=0x84afdc8, j=0x84fada0)    
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/knotes/summarywidget.cpp:162      
No locals.                                                                      
#12 0xb10fcc83 in KNotesSummaryWidget::qt_metacall (this=0x84afdc8,
_c=InvokeMetaMethod, _id=2, _a=0xbfd22ec8)                                      
    at
/home/krop/kde/build/KDE/kdepim/kontact/plugins/knotes/summarywidget.moc:75     
No locals.                                                                      
#13 0xb6286788 in QMetaObject::activate (sender=0x8493790, from_signal_index=4,
to_signal_index=4, argv=0xbfd22ec8)                                             
    at kernel/qobject.cpp:3113                                                  
        previousSender = 0x0                                                    
        method = 34                                                             
        currentSender = {sender = 0x8493790, signal = 4, ref = 1}               
        i = 0                                                                   
        count = 1                                                               
        signal = 4                                                              
        empty_argv = {0x0}                                                      
        locker = {{mtx = 0x805489c, val = 134563996}}                           
        currentThreadData = 0x8054868                                           
        connectionLists = 0x84a40c0                                             
#14 0xb6287412 in QMetaObject::activate (sender=0x8493790, m=0xb03c50a0,
local_signal_index=0, argv=0xbfd22ec8)                                          
    at kernel/qobject.cpp:3187                                                  
        signal_index = 13443                                                    
#15 0xb03b938e in KNotesResourceManager::sigRegisteredNote (this=0x8493790,
_t1=0x84fada0)                                                                  
    at /home/krop/kde/build/KDE/kdepim/knotes/resourcemanager.moc:84            
        _a = {0x0, 0xbfd22ee4}                                                  
#16 0xb03b8d42 in KNotesResourceManager::registerNote (this=0x8493790,
resource=0x848a238, journal=0x84fada0)                                          
    at /home/krop/kde/src/KDE/kdepim/knotes/resourcemanager.cpp:101             
No locals.                                                                      
#17 0xb03bc277 in ResourceLocal::load (this=0x848a238) at
/home/krop/kde/src/KDE/kdepim/knotes/resourcelocal.cpp:87                       
        notes = {<QList<KCal::Journal*>> = {{p = {d = 0x849f010}, d =
0x849f010}}, mAutoDelete = false}                                               
        it = {i = 0x849f024}                                                    
#18 0xb10e87ec in KNotesResourceManager::load (this=0x8493790) at
/home/krop/kde/src/KDE/kdepim/knotes/resourcemanager.cpp:69                     
        __PRETTY_FUNCTION__ = "void KNotesResourceManager::load()"              
        it = {mIt = {i = 0x849ed80}, mList = 0x84a5148}                         
#19 0xb10fc1a6 in KNotesSummaryWidget::KNotesSummaryWidget (this=0x84afdc8,
plugin=0x815df70, parent=0x83a7e30)                                             
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/knotes/summarywidget.cpp:72       
        mainLayout = 0x847ccb8                                                  
        header = 0x8492748                                                      
        manager = 0x8493790                                                     
#20 0xb10f3da9 in KNotesPlugin::createSummaryWidget (this=0x815df70,
parentWidget=0x83a7e30)                                                         
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/knotes/knotes_plugin.cpp:88       
No locals.                                                                      
#21 0xb10ae315 in SummaryViewPart::updateWidgets (this=0x83570b8)               
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/summary/summaryview_part.cpp:164  
        plugin = 0x815df70                                                      
        summary = 0x8488970                                                     
        idm = {<QObject> = {_vptr.QObject = 0xb72602e8, d_ptr = 0x8167678},
mIdentities = {{p = {d = 0x83a9120},                                            
              d = 0x83a9120}}, mShadowIdentities = {{p = {d = 0x83a9120}, d =
0x83a9120}}, mConfig = 0x81715e8,                                               
          mReadOnly = true}                                                     
        currentUser = {d = 0x8362c88}                                           
        grp = {<KConfigBase> = {_vptr.KConfigBase = 0xb6649048}, d = {d =
0x8171c98}}                                                                     
        end = {i = 0x82ce39c}                                                   
        layout = 0x1                                                            
        id = @0x839fa08                                                         
        loadedSummaries = {<QList<QString>> = {{p = {d = 0x84a03a0}, d =
0x84a03a0}}, <No data fields>}                                                  
        vline = 0x8167330                                                       
        margin = 135752984                                                      
        activeSummaries = {<QList<QString>> = {{p = {d = 0x8396a50}, d =
0x8396a50}}, <No data fields>}                                                  
        config = {<KConfigBase> = {_vptr.KConfigBase = 0xb6648f88}, d_ptr =
0x839ab20}                                                                      
        plugins = {{p = {d = 0x82ce358}, d = 0x82ce358}}                        
        it = {i = 0x82ce394}                                                    
        strIt = {i = 0xb6368ff4}                                                
#22 0xb10affff in SummaryViewPart::initGUI (this=0x83570b8, core=0x807f448)     
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/summary/summaryview_part.cpp:509  
        sa = 0x8176cb8                                                          
        hbl = 0x816c0d0                                                         
        hline = 0x8166f60                                                       
#23 0xb10ad7c4 in SummaryViewPart::SummaryViewPart (this=0x83570b8,
core=0x807f448, aboutData=0x835a3d0, parent=0x833b840,                          
    __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>)          
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/summary/summaryview_part.cpp:74   
No locals.                                                                      
#24 0xb10ac11c in SummaryView::createPart (this=0x833b840)                      
    at
/home/krop/kde/src/KDE/kdepim/kontact/plugins/summary/summaryview_plugin.cpp:113 
No locals.                                                                      
#25 0xb7617db8 in KontactInterface::Plugin::part (this=0x833b840)               
    at /home/krop/kde/src/KDE/kdepimlibs/kontactinterface/plugin.cpp:190        
No locals.                                                                      
#26 0xb77ad709 in KontactInterface::MainWindow::selectPlugin (this=0x807f448,
plugin=0x833b840)                                                               
    at /home/krop/kde/src/KDE/kdepim/kontact/src/mainwindow.cpp:762             
        selectedPluginAction = 0xb6140c7c                                       
        navigatorToolBar = 0xb77b1f79                                           
        part = 0x5                                                              
        focusWidget = 0x17dc3b4                                                 
        view = 0xbfd23478                                                       
#27 0xb77ae4ba in KontactInterface::MainWindow::selectPlugin (this=0x807f448,
pluginName=...)                                                                 
    at /home/krop/kde/src/KDE/kdepim/kontact/src/mainwindow.cpp:904             
        it = {i = 0x82ce36c}                                                    
        end = {i = 0x82ce39c}                                                   
#28 0xb77ae626 in KontactInterface::MainWindow::loadSettings (this=0x807f448)   
    at /home/krop/kde/src/KDE/kdepim/kontact/src/mainwindow.cpp:926             
        it = {i = 0x80f5570}                                                    
#29 0xb77a916b in KontactInterface::MainWindow::initObject (this=0x807f448)     
    at /home/krop/kde/src/KDE/kdepim/kontact/src/mainwindow.cpp:230             
        offers = {{p = {d = 0x8322840}, d = 0x8322840}}                         
        it = {i = 0x83086e0}                                                    
#30 0xb77a89da in KontactInterface::MainWindow::MainWindow (this=0x807f448,
__in_chrg=<value optimized out>,                                                
    __vtt_parm=<value optimized out>) at
/home/krop/kde/src/KDE/kdepim/kontact/src/mainwindow.cpp:166                    
No locals.                                                                      
#31 0x080488f3 in KontactApp::newInstance (this=0xbfd24254) at
/home/krop/kde/src/KDE/kdepim/kontact/src/main.cpp:140                          
        args = 0x806c770                                                        
        moduleName = {d = 0x804ecb0}                                            
        reminderclient = {_vptr.ReminderClient = 0x1}                           
#32 0xb687bc46 in KUniqueApplicationAdaptor::newInstance (this=0x8185f08,
asn_id=..., args=...)                                                           
    at
/usr/src/debug/kdelibs-4.3.69svn1027298/kdeui/kernel/kuniqueapplication.cpp:459 
        ds = {_vptr.QDataStream = 0xb6366e18, d = 0x0, dev = 0x805bd50, owndev
= true, noswap = false, byteorder = BigEndian,                                  
          ver = 11, q_status = Ok}                                              
        ret = <value optimized out>                                             
#33 0xb687bcee in KUniqueApplicationAdaptor::qt_metacall (this=0x8185f08,
_c=InvokeMetaMethod, _id=0, _a=0xbfd2389c)                                      
    at
/usr/src/debug/kdelibs-4.3.69svn1027298/build/kdeui/kuniqueapplication_p.moc:75 
        _r = <value optimized out>                                              
#34 0xb638c873 in QDBusConnectionPrivate::deliverCall (this=0x806cd08,
object=0x8185f08, msg=..., metaTypes=..., slotIdx=4)                            
    at qdbusintegrator.cpp:891                                                  
        context = {connection = {d = 0x806cd08}, message = @0x8139c38}          
        old = 0x0                                                               
        ptr = {o = 0x8185f08}                                                   
        params = {a = 10, s = 3, ptr = 0xbfd2389c, {                            
            array =
"03\031\b\000\247\030\b\310\025\030\b\001\000\000\000\000\000\000\000\225\061\067\266\000\260\066\266H\363\006\000Hw6\266\000\000\000\000\252\000<\266\210L\030\b",
q_for_alignment_1 = 583399770322187056,                                         
            q_for_alignment_2 = 1.1666003895454766e-269}}                       
        auxParameters = {{p = {d = 0xb63693f4}, d = 0xb63693f4}}                
        i = 3                                                                   
        pCount = 2                                                              
        outputArgs = {{p = {d = 0x8184c88}, d = 0x8184c88}}                     
        fail = true                                                             
#35 0xb638d832 in QDBusConnectionPrivate::activateCall (this=0x806cd08,
object=0x8185f08, flags=337, msg=...)                                           
    at qdbusintegrator.cpp:796                                                  
        mo = 0xb6a7e9b4                                                         
        memberName = {d = 0x8192ba8}                                            
        slotData = {flags = 337, slotIdx = 4, metaTypes = {{p = {d =
0x813bfd8}, d = 0x813bfd8}}}                                                    
        slotCache = {hash = {<QHash<QString, QDBusSlotCache::Data>> = {{d =
0x8134970, e = 0x8134970}}, <No data fields>}}                                  
        cacheKey = {d = 0x8193c90}                                              
        signature = {d = 0x81bc940}                                             
        cachePropertyName = "_qdbus_slotCache"                                  
#36 0xb638dda1 in QDBusConnectionPrivate::activateObject (this=0x806cd08,
node=..., msg=..., pathStartPos=16)                                             
    at qdbusintegrator.cpp:1370                                                 
        connector = 0x813c418                                                   
#37 0xb638e29a in QDBusActivateObjectEvent::placeMetaCall (this=0x8139bf8) at
qdbusintegrator.cpp:1464                                                        
No locals.                                                                      
#38 0xb6281970 in QObject::event (this=0xbfd24254, e=0x8139bf8) at
kernel/qobject.cpp:1111                                                         
        currentSender = {sender = 0x806cd08, signal = -1, ref = 1}              
        previousSender = 0x0                                                    
#39 0xb6270afb in QCoreApplication::event (this=0xbfd24254, e=0x8139bf8) at
kernel/qcoreapplication.cpp:1434                                                
No locals.                                                                      
#40 0xb574e0d9 in QApplication::event (this=0xbfd24254, e=0x8139bf8) at
kernel/qapplication.cpp:2317                                                    
No locals.                                                                      
#41 0xb57487bc in QApplicationPrivate::notify_helper (this=0x8075db0,
receiver=0xbfd24254, e=0x8139bf8)                                               
    at kernel/qapplication.cpp:4056                                             
        consumed = <value optimized out>                                        
#42 0xb5750aae in QApplication::notify (this=0xbfd24254, receiver=0xbfd24254,
e=0x8139bf8) at kernel/qapplication.cpp:3603                                    
        res = true                                                              
#43 0xb68746ed in KApplication::notify (this=0xbfd24254, receiver=0xbfd24254,
event=0x8139bf8)                                                                
    at
/usr/src/debug/kdelibs-4.3.69svn1027298/kdeui/kernel/kapplication.cpp:302       
No locals.                                                                      
#44 0xb627116b in QCoreApplication::notifyInternal (this=0xbfd24254,
receiver=0xbfd24254, event=0x8139bf8)                                           
    at kernel/qcoreapplication.cpp:610                                          
        result = false                                                          
        cbdata = {0xbfd24254, 0x8139bf8, 0xbfd23e8b}                            
        threadData = 0x8054868                                                  
        returnValue = <value optimized out>                                     
#45 0xb6271db5 in sendEvent (event=<value optimized out>, receiver=<value
optimized out>) at kernel/qcoreapplication.h:213                                
No locals.
#46 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>,
receiver=<value optimized out>)
    at kernel/qcoreapplication.cpp:1247
        e = 0x8139bf8
        r = 0xbfd24254
        locker = {{mtx = 0x8054890, val = 134563984}}
        startOffset = 0
        i = @0x8054888
#47 0xb6271fad in QCoreApplication::sendPostedEvents (receiver=0x0,
event_type=0) at kernel/qcoreapplication.cpp:1140
        data = <value optimized out>
#48 0xb57e9e4f in sendPostedEvents () at
../../src/corelib/kernel/qcoreapplication.h:218
No locals.
#49 QEventDispatcherX11::processEvents () at kernel/qeventdispatcher_x11.cpp:75
        d = 0x8076398
        marker = 252
        nevents = 11
#50 0xb626f78a in QEventLoop::processEvents (this=0xbfd241f0, flags=...) at
kernel/qeventloop.cpp:149
        d = 0x81bbb28
#51 0xb626fbd2 in QEventLoop::exec (this=0xbfd241f0, flags=...) at
kernel/qeventloop.cpp:201
        d = 0x81bbb28
        app = 0xbfd24254
#52 0xb6272079 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
        threadData = 0x8054868
        eventLoop = {<QObject> = {_vptr.QObject = 0xb63687a8, d_ptr =
0x81bbb28}, }
        returnCode = -1
#53 0xb5748637 in QApplication::exec () at kernel/qapplication.cpp:3525
No locals.
#54 0x0804950b in main (argc=1, argv=0xbfd24414) at
/home/krop/kde/src/KDE/kdepim/kontact/src/main.cpp:225
        about = {d = 0x8059070}
        args = 0x806c7b0
        app = {<KUniqueApplication> = {<KApplication> = {<QApplication> =
{<QCoreApplication> = {<QObject> = {
                    _vptr.QObject = 0x804a728, d_ptr = 0x8075db0}, }, }, d =
0x80b0fa0}, d = 0x8185ef8}, mMainWindow = 0x0,
          mSessionRestored = false}
        ret = 191

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list