Bug 198493 - knotes causes kontact segfault at tools/qbytearray.h:320
Summary: knotes causes kontact segfault at tools/qbytearray.h:320
Status: RESOLVED WORKSFORME
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 195247 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-01 06:56 UTC by David Rankin
Modified: 2013-02-14 11:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot showing desktop after gdb start of knotes -- standalone (56.65 KB, image/jpeg)
2009-07-01 07:11 UTC, David Rankin
Details
screenshot showing desktop after gdb start of knotes -- standalone (56.65 KB, image/jpeg)
2009-07-01 07:18 UTC, David Rankin
Details
Desktop Appearance after knotes segfault (36.90 KB, image/jpeg)
2009-07-01 07:20 UTC, David Rankin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Rankin 2009-07-01 06:56:41 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

Investigating Bug https://bugs.kde.org/show_bug.cgi?id=195247, it was recommended that I conduct a gdb run with kontact and post the backtrace here. The specific instructions were:

<quote>

Backtrace from comment 14 seems to be another issue.
The report is a bit messy right now :-\ I guess it would need something with
more knowledge about KDEPIM to check this.

Regarding the steps on comment 15:
I suggest you the following:

- Open Konsole
- Type "gdb kontact" and press Enter
- Type "run --nofork" and press Enter
Kontact will load
- Reproduce the steps to "crash" the app
Kontact should crash
- Go back to the Konsole/GDB window, type "bt full" and press Enter
You should get a backtrace of the crash (if it is really a crash)

I suggest you to open a NEW report and paste that backtrace there. Pasting a different backtrace in this report will mix it even more.

</quote>

    To reproduce, in kontact I selected a note from the lower right summary page, the 7 notes I have were displayed. I opened one of my notes. It is a single line of text that says "Sydney Read One Book" (keeping track of my daughter's reading). I then closed the note, right-clicked on the note and selected "Delete". The note disappeared from the collection of notes and then the segfault occurred.

    The requested debugger output is:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f7e08b6e710 (LWP 25678)]    
qstrcmp (str1=@0x81, str2=@0x7fff10bc9fb0) at tools/qbytearray.h:320
320     tools/qbytearray.h: No such file or directory.              
        in tools/qbytearray.h                                       
(gdb) bt full                                                       
#0  qstrcmp (str1=@0x81, str2=@0x7fff10bc9fb0) at tools/qbytearray.h:320
        ret = <value optimized out>                                     
#1  0x00007f7e06b5b027 in KCal::CustomProperties::nonKDECustomProperty (this=0x3349900, 
    name=@0x7fff10bc9fb0) at /usr/include/QtCore/qbytearray.h:514                       
No locals.                                                                              
#2  0x00007f7e06b5b1c4 in KCal::CustomProperties::customProperty (this=0x3349900,       
    app=<value optimized out>, key=@0x7fff10bca130)                                     
    at /usr/src/debug/kdepimlibs-4.2.90/kcal/customproperties.cpp:117                   
No locals.                                                                              
#3  0x00007f7df18e2b16 in KNoteTip::setNote (this=0x2044150, item=<value optimized out>)
    at /usr/src/debug/kdepim-4.2.90/kontact/plugins/knotes/knotetip.cpp:90              
        journal = (class KCal::Journal *) 0x3349900                                     
        w = <value optimized out>                                                       
        fg = {cspec = 280797616, ct = {argb = {alpha = 32767, red = 0, green = 42267, blue = 838, 
      pad = 32638}, ahsv = {alpha = 32767, hue = 0, saturation = 42267, value = 838, pad = 32638}, acmyk = {
      alpha = 32767, cyan = 0, magenta = 42267, yellow = 838, black = 32638}}}                              
        bg = {cspec = 218, ct = {argb = {alpha = 0, red = 0, green = 282, blue = 0, pad = 94}, ahsv = {     
      alpha = 0, hue = 0, saturation = 282, value = 0, pad = 94}, acmyk = {alpha = 0, cyan = 0,             
      magenta = 282, yellow = 0, black = 94}}}                                                              
        h = <value optimized out>                                                                           
        desk = {x1 = 0, y1 = 0, x2 = 0, y2 = 0}                                                             
#4  0x00007f7df18dc4b6 in KNotesPart::requestToolTip (this=0x2201650, index=<value optimized out>)          
    at /usr/src/debug/kdepim-4.2.90/kontact/plugins/knotes/knotes_part.cpp:142                              
        m_itemRect = {x1 = 218, y1 = 0, x2 = 282, y2 = 94}                                                  
#5  0x00007f7df18dfdfc in KNotesPart::qt_metacall (this=0x2201650, _c=QMetaObject::InvokeMetaMethod,        
    _id=<value optimized out>, _a=0x7fff10bca330)                                                           
    at /usr/src/debug/kdepim-4.2.90/build/kontact/plugins/knotes/knotes_part.moc:110                        
No locals.                                                                                                  
#6  0x00007f7e04274842 in QMetaObject::activate (sender=0x205da50, from_signal_index=<value optimized out>, 
    to_signal_index=35, argv=0x7478655468636952) at kernel/qobject.cpp:3120                                 
        method = 27                                                                                         
        currentSender = {sender = 0x205da50, signal = 35, ref = 1}                                          
        previousSender = (QObjectPrivate::Sender *) 0x0                                                     
        count = 2                                                                                           
        signal = 35                                                                                         
        empty_argv = {0x0}                                                                                  
        locker = {{mtx = 0x60e7c8, val = 6350792}}                                                          
        currentThreadData = (QThreadData *) 0x60e770                                                        
        connectionLists = (QObjectConnectionListVector *) 0x2012c60                                         
#7  0x00007f7e03447e95 in QAbstractItemView::entered (this=0x81, _t1=<value optimized out>)                 
    at .moc/release-shared/moc_qabstractitemview.cpp:342                                                    
        _a = {0x0, 0x2a5b020}                                                                               
#8  0x00007f7e0345352e in QAbstractItemView::mouseMoveEvent (this=0x205da50, event=0x7fff10bcb0d0)          
    at itemviews/qabstractitemview.cpp:1572                                                                 
        statustip = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 34833},      
    alloc = 0, size = 0, data = 0x6064ba, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,       
    capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 947}, alloc = 0,     
    size = 0, data = 0x7f7e0455287a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,            
    capacity = 0, reserved = 0, array = {0}}, d = 0x6064a0, static codecForCStrings = 0x0}                  
        persistent = {d = 0x2a5b020}                                                                        
        d = <value optimized out>                                                                           
        bottomRight = {xp = 237, yp = 94}                                                                   
---Type <return> to continue, or q <return> to quit---                                                      
        index = {r = 3, c = 0, p = 0x1d9bbb0, m = 0x1a12ef0}                                                
        buddy = {r = -1, c = -1, p = 0x0, m = 0x0}                                                          
#9  0x00007f7e0346a2ba in QListView::mouseMoveEvent (this=0x81, e=0x7fff10bc9fb0)                           
    at itemviews/qlistview.cpp:831                                                                          
        d = <value optimized out>                                                                           
#10 0x00007f7e02fa0908 in QWidget::event (this=0x81, event=0x7fff10bcb0d0) at kernel/qwidget.cpp:7506       
        d = <value optimized out>                                                                           
#11 0x00007f7e033224eb in QFrame::event (this=0x205da50, e=0x7fff10bcb0d0) at widgets/qframe.cpp:559        
        result = <value optimized out>                                                                      
#12 0x00007f7e03457eed in QAbstractItemView::viewportEvent (this=0x205da50, event=0x7fff10bcb0d0)           
    at itemviews/qabstractitemview.cpp:1471                                                                 
        d = (QAbstractItemViewPrivate * const) 0x2332a20                                                    
#13 0x00007f7e0425e018 in QCoreApplicationPrivate::sendThroughObjectEventFilters (                          
    this=<value optimized out>, receiver=0x2371230, event=0x7fff10bcb0d0) at kernel/qcoreapplication.cpp:726
        obj = (class QObject *) 0x81                                                                        
        i = <value optimized out>                                                                           
#14 0x00007f7e02f4f6dc in QApplicationPrivate::notify_helper (this=0x63de30, receiver=0x2371230,            
    e=0x7fff10bcb0d0) at kernel/qapplication.cpp:4053                                                       
        consumed = <value optimized out>                                                                    
#15 0x00007f7e02f580fa in QApplication::notify (this=<value optimized out>, receiver=0x2371230,             
    e=0x7fff10bcb0d0) at kernel/qapplication.cpp:3759                                                       
        me = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7f7e0395f810, d = 0x0, t = 5, posted = 0,       
      spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}}, p = {xp = 237, yp = 94}, g = {xp = 343,  
    yp = 202}, b = Qt::NoButton, mouseState = {i = 0}}                                                      
        w = (class QWidget *) 0x2371230                                                                     
        mouse = (class QMouseEvent *) 0x7fff10bc9fb0                                                        
        eventAccepted = 48                                                                                  
        relpos = {xp = 237, yp = 94}                                                                        
        pw = {o = 0x2371230}                                                                                
        d = (QApplicationPrivate * const) 0x81                                                              
        res = true                                                                                          
#16 0x00007f7e0509a24b in KApplication::notify (this=0x7fff10bcd040, receiver=0x2371230,                    
    event=0x7fff10bcb0d0) at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302                
No locals.                                                                                                  
#17 0x00007f7e0425ed1c in QCoreApplication::notifyInternal (this=0x7fff10bcd040, receiver=0x2371230,        
    event=0x7fff10bcb0d0) at kernel/qcoreapplication.cpp:610                                                
        result = false                                                                                      
        cbdata = {0x2371230, 0x7fff10bcb0d0, 0x7fff10bcaf3f}                                                
        threadData = (QThreadData *) 0x60e770                                                               
        returnValue = <value optimized out>                                                                 
#18 0x00007f7e02f57348 in QApplicationPrivate::sendMouseEvent (receiver=0x2371230, event=0x7fff10bcb0d0,    
    alienWidget=0x2371230, nativeWidget=0x77c570, buttonDown=<value optimized out>,                         
    lastMouseReceiver=@0x7f7e0398ff30)                                                                      
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216                                 
        receiverGuard = {o = 0x2371230}                                                                     
        nativeGuard = {o = 0x77c570}                                                                        
        alienGuard = {o = 0x2371230}                                                                        
        activePopupWidget = {o = 0x0}                                                                       
        graphicsWidget = false                                                                              
        result = false                                                                                      
#19 0x00007f7e02fc1409 in QETWidget::translateMouseEvent (this=0x77c570, event=<value optimized out>)       
    at kernel/qapplication_x11.cpp:4446                                                                     
---Type <return> to continue, or q <return> to quit---                                                      
        alienWidget = (class QWidget *) 0x2371230                                                           
        widget = <value optimized out>                                                                      
        oldOpenPopupCount = 1                                                                               
        e = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x7f7e0395f810, d = 0x0, t = 5, posted = 0,        
      spont = 1, m_accept = 1, reserved = 0}, modState = {i = 0}}, p = {xp = 237, yp = 94}, g = {xp = 343,  
    yp = 202}, b = Qt::NoButton, mouseState = {i = 0}}                                                      
        d = <value optimized out>                                                                           
        type = QEvent::MouseMove                                                                            
        pos = <value optimized out>                                                                         
        globalPos = {xp = 343, yp = 202}                                                                    
        button = Qt::NoButton                                                                               
        nextEvent = {type = 280802096, xany = {type = 280802096, serial = 140733474190080, send_event = 0,  
    display = 0x0, window = 0}, xkey = {type = 280802096, serial = 140733474190080, send_event = 0,         
    display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 6741968, y = 0, x_root = 0,           
    y_root = 0, state = 0, keycode = 0, same_screen = 6627808}, xbutton = {type = 280802096,                
    serial = 140733474190080, send_event = 0, display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, 
    x = 6741968, y = 0, x_root = 0, y_root = 0, state = 0, button = 0, same_screen = 6627808}, xmotion = {  
    type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, window = 0, root = 0,        
    subwindow = 0, time = 0, x = 6741968, y = 0, x_root = 0, y_root = 0, state = 0, is_hint = 0 '\0',       
    same_screen = 6627808}, xcrossing = {type = 280802096, serial = 140733474190080, send_event = 0,        
    display = 0x0, window = 0, root = 0, subwindow = 0, time = 0, x = 6741968, y = 0, x_root = 0,           
    y_root = 0, mode = 0, detail = 0, same_screen = 6627808, focus = 0, state = 83886105}, xfocus = {       
    type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, window = 0, mode = 0,        
    detail = 0}, xexpose = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0,      
    window = 0, x = 0, y = 0, width = 0, height = 0, count = 0}, xgraphicsexpose = {type = 280802096,       
    serial = 140733474190080, send_event = 0, display = 0x0, drawable = 0, x = 0, y = 0, width = 0,         
    height = 0, count = 0, major_code = 0, minor_code = 6741968}, xnoexpose = {type = 280802096,            
    serial = 140733474190080, send_event = 0, display = 0x0, drawable = 0, major_code = 0, minor_code = 0}, 
  xvisibility = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, window = 0,     
    state = 0}, xcreatewindow = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, 
    parent = 0, window = 0, x = 0, y = 0, width = 0, height = 0, border_width = 6741968,                    
    override_redirect = 0}, xdestroywindow = {type = 280802096, serial = 140733474190080, send_event = 0,   
    display = 0x0, event = 0, window = 0}, xunmap = {type = 280802096, serial = 140733474190080,            
    send_event = 0, display = 0x0, event = 0, window = 0, from_configure = 0}, xmap = {type = 280802096,    
    serial = 140733474190080, send_event = 0, display = 0x0, event = 0, window = 0, override_redirect = 0}, 
  xmaprequest = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, parent = 0,     
    window = 0}, xreparent = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0,    
    event = 0, window = 0, parent = 0, x = 0, y = 0, override_redirect = 6741968}, xconfigure = {           
    type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, event = 0, window = 0,       
    x = 0, y = 0, width = 0, height = 0, border_width = 6741968, above = 0, override_redirect = 0},         
  xgravity = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, event = 0,         
    window = 0, x = 0, y = 0}, xresizerequest = {type = 280802096, serial = 140733474190080,                
    send_event = 0, display = 0x0, window = 0, width = 0, height = 0}, xconfigurerequest = {                
    type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, parent = 0, window = 0,      
    x = 0, y = 0, width = 0, height = 0, border_width = 6741968, above = 0, detail = 0,                     
    value_mask = 6627808}, xcirculate = {type = 280802096, serial = 140733474190080, send_event = 0,        
    display = 0x0, event = 0, window = 0, place = 0}, xcirculaterequest = {type = 280802096,                
    serial = 140733474190080, send_event = 0, display = 0x0, parent = 0, window = 0, place = 0},            
  xproperty = {type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, window = 0,       
    atom = 0, time = 0, state = 0}, xselectionclear = {type = 280802096, serial = 140733474190080,          
    send_event = 0, display = 0x0, window = 0, selection = 0, time = 0}, xselectionrequest = {              
    type = 280802096, serial = 140733474190080, send_event = 0, display = 0x0, owner = 0, requestor = 0,    
---Type <return> to continue, or q <return> to quit---                                                      
    selection = 0, target = 0, property = 6741968, time = 0}, xselection = {type = 280802096,               
    serial = 140733474190080, send_event = 0, display = 0x0, requestor = 0, selection = 0, target = 0,      
    property = 0, time = 6741968}, xcolormap = {type = 280802096, serial = 140733474190080, send_event = 0, 
    display = 0x0, window = 0, colormap = 0, c_new = 0, state = 0}, xclient = {type = 280802096,            
    serial = 140733474190080, send_event = 0, display = 0x0, window = 0, message_type = 0, format = 0,      
    data = {b = "\000\000\000\000\000\000\000\000��f\000\000\000\000\000\000\000\000", s = {0, 0, 0, 0,     
        -8240, 102, 0, 0, 0, 0}, l = {0, 6741968, 0, 0, 6627808}}}, xmapping = {type = 280802096,           
    serial = 140733474190080, send_event = 0, display = 0x0, window = 0, request = 0, first_keycode = 0,    
    count = 0}, xerror = {type = 280802096, display = 0x7fff10bcb300, resourceid = 0, serial = 0,           
    error_code = 0 '\0', request_code = 0 '\0', minor_code = 0 '\0'}, xkeymap = {type = 280802096,          
    serial = 140733474190080, send_event = 0, display = 0x0, window = 0,                                    
    key_vector = '\0' <repeats 24 times>, "��f\000\000\000\000"}, pad = {140733474190128, 140733474190080,  
    0, 0, 0, 0, 0, 0, 6741968, 0, 0, 6627808, 83886105, 140733474196576, 6627832, 0, 6544176,               
    140179060471975, 0, 6627808, 83886105, 140733474196576, 16320, 140179062646786}}                        
#20 0x00007f7e02fc0475 in QApplication::x11ProcessEvent (this=0x7fff10bcd040, event=0x7fff10bccc60)         
    at kernel/qapplication_x11.cpp:3564                                                                     
        alien = <value optimized out>                                                                       
        enter = (class QWidget *) 0x0                                                                       
        leave = <value optimized out>                                                                       
        d = (class QApplicationPrivate * const) 0x63de30                                                    
        widget = (struct QETWidget *) 0x77c570                                                              
        keywidget = (struct QETWidget *) 0x0                                                                
        grabbed = false                                                                                     
#21 0x00007f7e02fe77ec in x11EventSourceDispatch (s=0x63a550, callback=0, user_data=0x0)                    
    at kernel/qguieventdispatcher_glib.cpp:146                                                              
        event = {type = 6, xany = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,           
    window = 83886105}, xkey = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,              
    window = 83886105, root = 139, subwindow = 0, time = 76211636, x = 327, y = 118, x_root = 343,          
    y_root = 202, state = 0, keycode = 0, same_screen = 1}, xbutton = {type = 6, serial = 110615,           
    send_event = 0, display = 0x64f920, window = 83886105, root = 139, subwindow = 0, time = 76211636,      
    x = 327, y = 118, x_root = 343, y_root = 202, state = 0, button = 0, same_screen = 1}, xmotion = {      
    type = 6, serial = 110615, send_event = 0, display = 0x64f920, window = 83886105, root = 139,           
    subwindow = 0, time = 76211636, x = 327, y = 118, x_root = 343, y_root = 202, state = 0,                
    is_hint = 0 '\0', same_screen = 1}, xcrossing = {type = 6, serial = 110615, send_event = 0,             
    display = 0x64f920, window = 83886105, root = 139, subwindow = 0, time = 76211636, x = 327, y = 118,    
    x_root = 343, y_root = 202, mode = 0, detail = 0, same_screen = 1, focus = 0, state = 0}, xfocus = {    
    type = 6, serial = 110615, send_event = 0, display = 0x64f920, window = 83886105, mode = 139,           
    detail = 0}, xexpose = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,                  
    window = 83886105, x = 139, y = 0, width = 0, height = 0, count = 76211636}, xgraphicsexpose = {        
    type = 6, serial = 110615, send_event = 0, display = 0x64f920, drawable = 83886105, x = 139, y = 0,     
    width = 0, height = 0, count = 76211636, major_code = 0, minor_code = 327}, xnoexpose = {type = 6,      
    serial = 110615, send_event = 0, display = 0x64f920, drawable = 83886105, major_code = 139,             
    minor_code = 0}, xvisibility = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,          
    window = 83886105, state = 139}, xcreatewindow = {type = 6, serial = 110615, send_event = 0,            
    display = 0x64f920, parent = 83886105, window = 139, x = 0, y = 0, width = 76211636, height = 0,        
    border_width = 327, override_redirect = 118}, xdestroywindow = {type = 6, serial = 110615,              
    send_event = 0, display = 0x64f920, event = 83886105, window = 139}, xunmap = {type = 6,                
    serial = 110615, send_event = 0, display = 0x64f920, event = 83886105, window = 139,                    
    from_configure = 0}, xmap = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,             
    event = 83886105, window = 139, override_redirect = 0}, xmaprequest = {type = 6, serial = 110615,       
    send_event = 0, display = 0x64f920, parent = 83886105, window = 139}, xreparent = {type = 6,            
    serial = 110615, send_event = 0, display = 0x64f920, event = 83886105, window = 139, parent = 0,        
---Type <return> to continue, or q <return> to quit---                                                      
    x = 76211636, y = 0, override_redirect = 327}, xconfigure = {type = 6, serial = 110615, send_event = 0, 
    display = 0x64f920, event = 83886105, window = 139, x = 0, y = 0, width = 76211636, height = 0,         
    border_width = 327, above = 867583394135, override_redirect = 0}, xgravity = {type = 6,                 
    serial = 110615, send_event = 0, display = 0x64f920, event = 83886105, window = 139, x = 0, y = 0},     
  xresizerequest = {type = 6, serial = 110615, send_event = 0, display = 0x64f920, window = 83886105,       
    width = 139, height = 0}, xconfigurerequest = {type = 6, serial = 110615, send_event = 0,               
    display = 0x64f920, parent = 83886105, window = 139, x = 0, y = 0, width = 76211636, height = 0,        
    border_width = 327, above = 867583394135, detail = 0, value_mask = 1}, xcirculate = {type = 6,          
    serial = 110615, send_event = 0, display = 0x64f920, event = 83886105, window = 139, place = 0},        
  xcirculaterequest = {type = 6, serial = 110615, send_event = 0, display = 0x64f920, parent = 83886105,    
    window = 139, place = 0}, xproperty = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,   
    window = 83886105, atom = 139, time = 0, state = 76211636}, xselectionclear = {type = 6,                
    serial = 110615, send_event = 0, display = 0x64f920, window = 83886105, selection = 139, time = 0},     
  xselectionrequest = {type = 6, serial = 110615, send_event = 0, display = 0x64f920, owner = 83886105,     
    requestor = 139, selection = 0, target = 76211636, property = 506806141255, time = 867583394135},       
  xselection = {type = 6, serial = 110615, send_event = 0, display = 0x64f920, requestor = 83886105,        
    selection = 139, target = 0, property = 76211636, time = 506806141255}, xcolormap = {type = 6,          
    serial = 110615, send_event = 0, display = 0x64f920, window = 83886105, colormap = 139, c_new = 0,      
    state = 0}, xclient = {type = 6, serial = 110615, send_event = 0, display = 0x64f920,                   
    window = 83886105, message_type = 139, format = 0, data = {                                             
      b = "��\212\004\000\000\000\000G\001\000\000v\000\000\000W\001\000", s = {-6732, 1162, 0, 0, 327, 0,  
        118, 0, 343, 0}, l = {76211636, 506806141255, 867583394135, 0, 1}}}, xmapping = {type = 6,          
    serial = 110615, send_event = 0, display = 0x64f920, window = 83886105, request = 139,                  
    first_keycode = 0, count = 0}, xerror = {type = 6, display = 0x1b017, resourceid = 0, serial = 6617376, 
    error_code = 25 '\031', request_code = 0 '\0', minor_code = 0 '\0'}, xkeymap = {type = 6,               
    serial = 110615, send_event = 0, display = 0x64f920, window = 83886105,                                 
    key_vector = "\213", '\0' <repeats 15 times>, "��\212\004\000\000\000\000G\001\000\000v\000\000"},      
  pad = {140179142606854, 110615, 0, 6617376, 83886105, 139, 0, 76211636, 506806141255, 867583394135, 0, 1, 
    0, 532551115501142110, 433, 38616320, 140179182652000, 140178855094736, 12817440, 0, 0,                 
    3314710899318601216, 38370432, 2251799813685268}}                                                       
        marker = 110616                                                                                     
#22 0x00007f7dfdb0495a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0                       
No symbol table info available.
#23 0x00007f7dfdb08060 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#24 0x00007f7dfdb081fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#25 0x00007f7e0428854f in QEventDispatcherGlib::processEvents (this=0x60df60, flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:324
        d = (QEventDispatcherGlibPrivate * const) 0x63db30
        canWait = true
        result = <value optimized out>
#26 0x00007f7e02fe6f3f in QGuiEventDispatcherGlib::processEvents (this=0x81, flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
        d = (QGuiEventDispatcherGlibPrivate * const) 0x63db30
        returnValue = 96
#27 0x00007f7e0425d5a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 280809296})
    at kernel/qeventloop.cpp:149
        d = (QEventLoopPrivate * const) 0x773d30
#28 0x00007f7e0425d96d in QEventLoop::exec (this=0x7fff10bccf90, flags={i = 280809376})
    at kernel/qeventloop.cpp:200
        d = (QEventLoopPrivate * const) 0x773d30
---Type <return> to continue, or q <return> to quit---
#29 0x00007f7e0425fc74 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
        threadData = (QThreadData *) 0x60e770
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f7e04550fb0, static staticMetaObject = {d = {
        superdata = 0x0, stringdata = 0x7f7e042f5b20 "QObject", data = 0x7f7e042f5bc0,
        extradata = 0x7f7e0454a040}}, d_ptr = 0x773d30, static staticQtMetaObject = {d = {superdata = 0x0,
        stringdata = 0x7f7e042ff400 "Qt", data = 0x7f7e043022e0, extradata = 0x0}}},
  static staticMetaObject = {d = {superdata = 0x7f7e0454a020, stringdata = 0x7f7e04307100 "QEventLoop",
      data = 0x7f7e04307120, extradata = 0x0}}}
        returnCode = -1
#30 0x00000000004049ab in main (argc=2, argv=0x7fff10bcd728)
    at /usr/src/debug/kdepim-4.2.90/kontact/src/main.cpp:218
        about = {d = 0x6147a0}
        args = (KCmdLineArgs *) 0x62ab90
        app = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x405290, static staticMetaObject = {d = {superdata = 0x0,
                stringdata = 0x7f7e042f5b20 "QObject", data = 0x7f7e042f5bc0, extradata = 0x7f7e0454a040}},
            d_ptr = 0x63de30, static staticQtMetaObject = {d = {superdata = 0x0,
                stringdata = 0x7f7e042ff400 "Qt", data = 0x7f7e043022e0, extradata = 0x0}}},
          static staticMetaObject = {d = {superdata = 0x7f7e0454a020,
              stringdata = 0x7f7e043071a0 "QCoreApplication", data = 0x7f7e04307240, extradata = 0x0}},
          static self = 0x7fff10bcd040}, static staticMetaObject = {d = {superdata = 0x7f7e04551040,
            stringdata = 0x7f7e03588ba0 "QApplication", data = 0x7f7e03588da0, extradata = 0x0}}},
      static staticMetaObject = {d = {superdata = 0x7f7e0395efa0,
          stringdata = 0x7f7e051fbda0 "KApplication", data = 0x7f7e051fbf40, extradata = 0x0}},
      static loadedByKdeinit = false, static KApp = 0x7fff10bcd040, d = 0x6a7b20},
    static staticMetaObject = {d = {superdata = 0x7f7e05476b40,
        stringdata = 0x7f7e051fc6c0 "KUniqueApplication", data = 0x7f7e051fc7c0, extradata = 0x0}},
    d = 0x6e35c0}, static staticMetaObject = {d = {superdata = 0x6064e0,
      stringdata = 0x405160 "KontactApp", data = 0x405220, extradata = 0x0}}, mMainWindow = 0x77c570,
  mSessionRestored = false}
(gdb)
Comment 1 David Rankin 2009-07-01 07:11:20 UTC
Created attachment 34956 [details]
screenshot showing desktop after gdb start of knotes -- standalone

This time I just used gbd knotes and followed the same procedure to produce the crash in knotes without kontact also running. This screenshot shows what the desktop looked like before I did anything to cause the crash. Then I simply selected the "Sydney" note, right-clicked and deleted it, moved focus to the Sync note and -- Segfault. Here is the backtrace:

00:04 alchemy:~> gdb knotes                                                                                  
GNU gdb 6.8                                                                                                  
Copyright (C) 2008 Free Software Foundation, Inc.                                                            
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>                                
This is free software: you are free to change and redistribute it.                                           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"                                   
and "show warranty" for details.                                                                             
This GDB was configured as "x86_64-suse-linux"...                                                            
(gdb) run --nofork                                                                                           
Starting program: /usr/bin/knotes --nofork                                                                   
[Thread debugging using libthread_db enabled]                                                                
[New Thread 0x7f28b5bb2710 (LWP 25875)]                                                                      
[New Thread 0x414ac950 (LWP 25879)]                                                                          
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
[Thread 0x414ac950 (LWP 25879) exited]                                                                       
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x5000a60                                                                                    
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x5000a60                                                                                    
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x50000ba                                                                                    
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x50000ba                                                                                    

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f28b5bb2710 (LWP 25875)]    
0x00007f28b57235d4 in KCal::IncidenceBase::uid (this=0xbd0300) at /usr/include/QtCore/qstring.h:711
711     inline QString::QString(const QString &other) : d(other.d)                                 
(gdb) bt full                                                                                      
#0  0x00007f28b57235d4 in KCal::IncidenceBase::uid (this=0xbd0300) at /usr/include/QtCore/qstring.h:711
No locals.                                                                                             
#1  0x000000000043bd9b in KNote::slotKill (this=0xc0bc10, force=<value optimized out>)                 
    at /usr/src/debug/kdepim-4.2.90/knotes/knote.cpp:148                                               
        configFile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 12976}, 
    alloc = 0, size = 0, data = 0x65439a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,   
    capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 80}, alloc = 0,  
    size = 0, data = 0x7f28b150587a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,        
    capacity = 0, reserved = 0, array = {0}}, d = 0xc0ed70, static codecForCStrings = 0x0}              
#2  0x000000000043c4df in KNote::qt_metacall (this=0xc0bc10, _c=QMetaObject::InvokeMetaMethod, _id=99,  
    _a=0xde7c90) at /usr/src/debug/kdepim-4.2.90/build/knotes/knote.moc:121                             
No locals.                                                                                              
#3  0x00007f28b1221ef8 in QObject::event (this=0xc0bc10, e=0xb65ce0) at kernel/qobject.cpp:1118         
        mce = (QMetaCallEvent *) 0x7fffbdc0f8a0                                                         
        currentSender = {sender = 0xc108d0, signal = 5, ref = 1}                                        
        previousSender = (QObjectPrivate::Sender * const) 0x0                                           
#4  0x00007f28b1dd929d in QWidget::event (this=0xc0bc10, event=0xb65ce0) at kernel/qwidget.cpp:7918     
        d = <value optimized out>                                                                       
#5  0x00007f28b215b4eb in QFrame::event (this=0xc0bc10, e=0xb65ce0) at widgets/qframe.cpp:559           
        result = <value optimized out>                                                                  
#6  0x00007f28b1d8870d in QApplicationPrivate::notify_helper (this=0x690250, receiver=0xc0bc10, e=0xb65ce0)
    at kernel/qapplication.cpp:4057                                                                        
        consumed = <value optimized out>                                                                   
#7  0x00007f28b1d9099a in QApplication::notify (this=0x7fffbdc10530, receiver=0xc0bc10, e=0xb65ce0)        
    at kernel/qapplication.cpp:4022                                                                        
        d = (QApplicationPrivate * const) 0x7fffbdc0f8a0                                                   
        res = true                                                                                         
#8  0x00007f28b2c2f24b in KApplication::notify (this=0x7fffbdc10530, receiver=0xc0bc10, event=0xb65ce0)    
    at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302                                     
No locals.                                                                                                 
#9  0x00007f28b1211d1c in QCoreApplication::notifyInternal (this=0x7fffbdc10530, receiver=0xc0bc10,        
    event=0xb65ce0) at kernel/qcoreapplication.cpp:610                                                     
        result = false                                                                                     
        cbdata = {0xc0bc10, 0xb65ce0, 0x7fffbdc1019f}                                                      
        threadData = (QThreadData *) 0x65bcb0                                                              
        returnValue = <value optimized out>                                                                
#10 0x00007f28b12129aa in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,           
    data=0x65bcb0) at kernel/qcoreapplication.h:213                                                        
        e = (class QEvent *) 0xb65ce0                                                                      
        r = (class QObject *) 0xc0bc10                                                                     
        locker = {{mtx = 0x65bcf0, val = 6667504}}                                                         
        startOffset = 0                                                                                    
        i = (int &) @0x65bce4: 0                                                                           
#11 0x00007f28b123b8c3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
No locals.                                                                                                  
#12 0x00007f28abb7e95a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0                       
No symbol table info available.                                                                             
#13 0x00007f28abb82060 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#14 0x00007f28abb821fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#15 0x00007f28b123b54f in QEventDispatcherGlib::processEvents (this=0x65b8d0, flags=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at kernel/qeventdispatcher_glib.cpp:324
        d = (QEventDispatcherGlibPrivate * const) 0x6903b0
        canWait = true
        result = <value optimized out>
#16 0x00007f28b1e1ff3f in QGuiEventDispatcherGlib::processEvents (this=0x7fffbdc0f8a0,
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
        d = (QGuiEventDispatcherGlibPrivate * const) 0x6903b0
        returnValue = 99
#17 0x00007f28b12105a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1111423904})
    at kernel/qeventloop.cpp:149
        d = (QEventLoopPrivate * const) 0x7d1bf0
#18 0x00007f28b121096d in QEventLoop::exec (this=0x7fffbdc104a0, flags={i = -1111423824})
    at kernel/qeventloop.cpp:200
        d = (QEventLoopPrivate * const) 0x7d1bf0
#19 0x00007f28b1212c74 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
        threadData = (QThreadData *) 0x65bcb0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f28b1503fb0, static staticMetaObject = {d = {
        superdata = 0x0, stringdata = 0x7f28b12a8b20 "QObject", data = 0x7f28b12a8bc0,
        extradata = 0x7f28b14fd040}}, d_ptr = 0x7d1bf0, static staticQtMetaObject = {d = {superdata = 0x0,
        stringdata = 0x7f28b12b2400 "Qt", data = 0x7f28b12b52e0, extradata = 0x0}}},
  static staticMetaObject = {d = {superdata = 0x653f60, stringdata = 0x7f28b12ba100 "QEventLoop",
      data = 0x7f28b12ba120, extradata = 0x0}}}
        returnCode = -1
#20 0x000000000041b1a9 in main (argc=2, argv=0x7fffbdc10768)
    at /usr/src/debug/kdepim-4.2.90/knotes/main.cpp:69
        version = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 12976},
    alloc = 0, size = 0, data = 0x65439a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,
    capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 80}, alloc = 0,
    size = 0, data = 0x7f28b150587a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,
    capacity = 0, reserved = 0, array = {0}}, d = 0x65f570, static codecForCStrings = 0x0}
        aboutData = {d = 0x65f860}
        app = {<KPIM::PimApplication> = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x444ed0, static staticMetaObject = {d = {superdata = 0x0,
                  stringdata = 0x7f28b12a8b20 "QObject", data = 0x7f28b12a8bc0,
                  extradata = 0x7f28b14fd040}}, d_ptr = 0x690250, static staticQtMetaObject = {d = {
                  superdata = 0x0, stringdata = 0x7f28b12b2400 "Qt", data = 0x7f28b12b52e0,
                  extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x653f60,
                stringdata = 0x7f28b12ba1a0 "QCoreApplication", data = 0x7f28b12ba240, extradata = 0x0}},
            static self = 0x7fffbdc10530}, static staticMetaObject = {d = {superdata = 0x7f28b1504040,
              stringdata = 0x7f28b23c1ba0 "QApplication", data = 0x7f28b23c1da0, extradata = 0x0}}},
        static staticMetaObject = {d = {superdata = 0x7f28b2797fa0,
            stringdata = 0x7f28b2d90da0 "KApplication", data = 0x7f28b2d90f40, extradata = 0x0}},
        static loadedByKdeinit = false, static KApp = 0x7fffbdc10530, d = 0x6eecf0},
      static staticMetaObject = {d = {superdata = 0x7f28b300bb40,
          stringdata = 0x7f28b2d916c0 "KUniqueApplication", data = 0x7f28b2d917c0, extradata = 0x0}},
      d = 0x7cf4c0}, <No data fields>}, mMainWindow = 0x7de880, mCmdLineArguments = 0x676280}
(gdb)
Comment 2 David Rankin 2009-07-01 07:18:05 UTC
Created attachment 34957 [details]
screenshot showing desktop after gdb start of knotes -- standalone

This time I just used gbd knotes and followed the same procedure to produce the crash in knotes without kontact also running. This screenshot shows what the desktop looked like before I did anything to cause the crash. Then I simply selected the "Sydney" note, right-clicked and deleted it, moved focus to the Sync note and -- Segfault. Here is the backtrace:

00:04 alchemy:~> gdb knotes                                                                                  
GNU gdb 6.8                                                                                                  
Copyright (C) 2008 Free Software Foundation, Inc.                                                            
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>                                
This is free software: you are free to change and redistribute it.                                           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"                                   
and "show warranty" for details.                                                                             
This GDB was configured as "x86_64-suse-linux"...                                                            
(gdb) run --nofork                                                                                           
Starting program: /usr/bin/knotes --nofork                                                                   
[Thread debugging using libthread_db enabled]                                                                
[New Thread 0x7f28b5bb2710 (LWP 25875)]                                                                      
[New Thread 0x414ac950 (LWP 25879)]                                                                          
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
Enchant dict for "en_US" 0x89fc80                                                                            
[Thread 0x414ac950 (LWP 25879) exited]                                                                       
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x5000a60                                                                                    
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x5000a60                                                                                    
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x50000ba                                                                                    
X Error: BadWindow (invalid Window parameter) 3                                                              
  Major opcode: 20 (X_GetProperty)                                                                           
  Resource id:  0x50000ba                                                                                    

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f28b5bb2710 (LWP 25875)]    
0x00007f28b57235d4 in KCal::IncidenceBase::uid (this=0xbd0300) at /usr/include/QtCore/qstring.h:711
711     inline QString::QString(const QString &other) : d(other.d)                                 
(gdb) bt full                                                                                      
#0  0x00007f28b57235d4 in KCal::IncidenceBase::uid (this=0xbd0300) at /usr/include/QtCore/qstring.h:711
No locals.                                                                                             
#1  0x000000000043bd9b in KNote::slotKill (this=0xc0bc10, force=<value optimized out>)                 
    at /usr/src/debug/kdepim-4.2.90/knotes/knote.cpp:148                                               
        configFile = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 12976}, 
    alloc = 0, size = 0, data = 0x65439a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,   
    capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 80}, alloc = 0,  
    size = 0, data = 0x7f28b150587a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,        
    capacity = 0, reserved = 0, array = {0}}, d = 0xc0ed70, static codecForCStrings = 0x0}              
#2  0x000000000043c4df in KNote::qt_metacall (this=0xc0bc10, _c=QMetaObject::InvokeMetaMethod, _id=99,  
    _a=0xde7c90) at /usr/src/debug/kdepim-4.2.90/build/knotes/knote.moc:121                             
No locals.                                                                                              
#3  0x00007f28b1221ef8 in QObject::event (this=0xc0bc10, e=0xb65ce0) at kernel/qobject.cpp:1118         
        mce = (QMetaCallEvent *) 0x7fffbdc0f8a0                                                         
        currentSender = {sender = 0xc108d0, signal = 5, ref = 1}                                        
        previousSender = (QObjectPrivate::Sender * const) 0x0                                           
#4  0x00007f28b1dd929d in QWidget::event (this=0xc0bc10, event=0xb65ce0) at kernel/qwidget.cpp:7918     
        d = <value optimized out>                                                                       
#5  0x00007f28b215b4eb in QFrame::event (this=0xc0bc10, e=0xb65ce0) at widgets/qframe.cpp:559           
        result = <value optimized out>                                                                  
#6  0x00007f28b1d8870d in QApplicationPrivate::notify_helper (this=0x690250, receiver=0xc0bc10, e=0xb65ce0)
    at kernel/qapplication.cpp:4057                                                                        
        consumed = <value optimized out>                                                                   
#7  0x00007f28b1d9099a in QApplication::notify (this=0x7fffbdc10530, receiver=0xc0bc10, e=0xb65ce0)        
    at kernel/qapplication.cpp:4022                                                                        
        d = (QApplicationPrivate * const) 0x7fffbdc0f8a0                                                   
        res = true                                                                                         
#8  0x00007f28b2c2f24b in KApplication::notify (this=0x7fffbdc10530, receiver=0xc0bc10, event=0xb65ce0)    
    at /usr/src/debug/kdelibs-4.2.90/kdeui/kernel/kapplication.cpp:302                                     
No locals.                                                                                                 
#9  0x00007f28b1211d1c in QCoreApplication::notifyInternal (this=0x7fffbdc10530, receiver=0xc0bc10,        
    event=0xb65ce0) at kernel/qcoreapplication.cpp:610                                                     
        result = false                                                                                     
        cbdata = {0xc0bc10, 0xb65ce0, 0x7fffbdc1019f}                                                      
        threadData = (QThreadData *) 0x65bcb0                                                              
        returnValue = <value optimized out>                                                                
#10 0x00007f28b12129aa in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,           
    data=0x65bcb0) at kernel/qcoreapplication.h:213                                                        
        e = (class QEvent *) 0xb65ce0                                                                      
        r = (class QObject *) 0xc0bc10                                                                     
        locker = {{mtx = 0x65bcf0, val = 6667504}}                                                         
        startOffset = 0                                                                                    
        i = (int &) @0x65bce4: 0                                                                           
#11 0x00007f28b123b8c3 in postEventSourceDispatch (s=<value optimized out>) at kernel/qcoreapplication.h:218
No locals.                                                                                                  
#12 0x00007f28abb7e95a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0                       
No symbol table info available.                                                                             
#13 0x00007f28abb82060 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#14 0x00007f28abb821fc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#15 0x00007f28b123b54f in QEventDispatcherGlib::processEvents (this=0x65b8d0, flags=<value optimized out>)
---Type <return> to continue, or q <return> to quit---
    at kernel/qeventdispatcher_glib.cpp:324
        d = (QEventDispatcherGlibPrivate * const) 0x6903b0
        canWait = true
        result = <value optimized out>
#16 0x00007f28b1e1ff3f in QGuiEventDispatcherGlib::processEvents (this=0x7fffbdc0f8a0,
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
        d = (QGuiEventDispatcherGlibPrivate * const) 0x6903b0
        returnValue = 99
#17 0x00007f28b12105a2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -1111423904})
    at kernel/qeventloop.cpp:149
        d = (QEventLoopPrivate * const) 0x7d1bf0
#18 0x00007f28b121096d in QEventLoop::exec (this=0x7fffbdc104a0, flags={i = -1111423824})
    at kernel/qeventloop.cpp:200
        d = (QEventLoopPrivate * const) 0x7d1bf0
#19 0x00007f28b1212c74 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
        threadData = (QThreadData *) 0x65bcb0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7f28b1503fb0, static staticMetaObject = {d = {
        superdata = 0x0, stringdata = 0x7f28b12a8b20 "QObject", data = 0x7f28b12a8bc0,
        extradata = 0x7f28b14fd040}}, d_ptr = 0x7d1bf0, static staticQtMetaObject = {d = {superdata = 0x0,
        stringdata = 0x7f28b12b2400 "Qt", data = 0x7f28b12b52e0, extradata = 0x0}}},
  static staticMetaObject = {d = {superdata = 0x653f60, stringdata = 0x7f28b12ba100 "QEventLoop",
      data = 0x7f28b12ba120, extradata = 0x0}}}
        returnCode = -1
#20 0x000000000041b1a9 in main (argc=2, argv=0x7fffbdc10768)
    at /usr/src/debug/kdepim-4.2.90/knotes/main.cpp:69
        version = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 12976},
    alloc = 0, size = 0, data = 0x65439a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,
    capacity = 0, reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 80}, alloc = 0,
    size = 0, data = 0x7f28b150587a, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0,
    capacity = 0, reserved = 0, array = {0}}, d = 0x65f570, static codecForCStrings = 0x0}
        aboutData = {d = 0x65f860}
        app = {<KPIM::PimApplication> = {<KUniqueApplication> = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {_vptr.QObject = 0x444ed0, static staticMetaObject = {d = {superdata = 0x0,
                  stringdata = 0x7f28b12a8b20 "QObject", data = 0x7f28b12a8bc0,
                  extradata = 0x7f28b14fd040}}, d_ptr = 0x690250, static staticQtMetaObject = {d = {
                  superdata = 0x0, stringdata = 0x7f28b12b2400 "Qt", data = 0x7f28b12b52e0,
                  extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x653f60,
                stringdata = 0x7f28b12ba1a0 "QCoreApplication", data = 0x7f28b12ba240, extradata = 0x0}},
            static self = 0x7fffbdc10530}, static staticMetaObject = {d = {superdata = 0x7f28b1504040,
              stringdata = 0x7f28b23c1ba0 "QApplication", data = 0x7f28b23c1da0, extradata = 0x0}}},
        static staticMetaObject = {d = {superdata = 0x7f28b2797fa0,
            stringdata = 0x7f28b2d90da0 "KApplication", data = 0x7f28b2d90f40, extradata = 0x0}},
        static loadedByKdeinit = false, static KApp = 0x7fffbdc10530, d = 0x6eecf0},
      static staticMetaObject = {d = {superdata = 0x7f28b300bb40,
          stringdata = 0x7f28b2d916c0 "KUniqueApplication", data = 0x7f28b2d917c0, extradata = 0x0}},
      d = 0x7cf4c0}, <No data fields>}, mMainWindow = 0x7de880, mCmdLineArguments = 0x676280}
(gdb)
Comment 3 David Rankin 2009-07-01 07:20:13 UTC
Created attachment 34958 [details]
Desktop Appearance after knotes segfault
Comment 4 Christophe Marin 2009-07-11 15:49:02 UTC
*** Bug 195247 has been marked as a duplicate of this bug. ***
Comment 5 Myriam Schweingruber 2013-02-14 11:10:09 UTC
Not reproducible with KDE 4.10, this is most likely solved since quite some time. Please feel free to reopen if you can reproduce this with KDE 4.10 or later.