Bug 207723 - KWord crashed in KSpread::Sheet::map() copying a table
Summary: KWord crashed in KSpread::Sheet::map() copying a table
Status: RESOLVED FIXED
Alias: None
Product: calligrasheets
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Calligra Sheets (KSpread) Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-17 21:34 UTC by Jonathan Thomas
Modified: 2010-06-07 17:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
ODT with a table (11.16 KB, application/octet-stream)
2009-09-17 21:41 UTC, Jonathan Thomas
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Thomas 2009-09-17 21:34:30 UTC
Version:           2.1 Beta 2 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

Reproduction steps: 
- Open the attached ODT file (dunno if tables made with KWord suffer from this, haven't tried yet)
- Highlight the whole table
- Right-click anywhere on the highlighted table
- Select "copy" from the context menu

KWord will now crash with the following backtrace:


#0  KSpread::Sheet::map (this=0xa112ca8) at ../../kspread/Sheet.cpp:322
No locals.
#1  0x028cf62b in KoShapeRegistry::createShapeInternal (this=0x9f087a8, fullElement=...,
    context=..., element=...) at ../../../libs/flake/KoShapeRegistry.cpp:194
        shape = 0xa112cb0
        loaded = <value optimized out>
        i = 0
        p = {first = {static null = {<No data fields>}, static shared_null = {ref = {
                _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
              simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
              reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 213},
              alloc = 0, size = 0, data = 0x67e46e, clean = 0, simpletext = 0,
              righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
            d = 0xa003178, static codecForCStrings = 0x0}, second = {
            static null = {<No data fields>}, static shared_null = {ref = {
                _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
              simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
              reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 213},
              alloc = 0, size = 0, data = 0x67e46e, clean = 0, simpletext = 0,
              righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
            d = 0xa24e2f0, static codecForCStrings = 0x0}}
        __PRETTY_FUNCTION__ = "KoShape* KoShapeRegistry::createShapeInternal(const KoXmlElement&, KoShapeLoadingContext&, const KoXmlElement&) const"
        priorityMap = {<QMap<int, KoShapeFactory*>> = {{d = 0x9f185b8,
              e = 0x9f185b8}}, <No data fields>}
        factories = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0,
                begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x9faf4f8},
            d = 0x9faf4f8}}
#2  0x028d0185 in KoShapeRegistry::createShapeFromOdf (this=0x9f087a8, e=...,
    context=...) at ../../../libs/flake/KoShapeRegistry.cpp:162
        __PRETTY_FUNCTION__ = "KoShape* KoShapeRegistry::createShapeFromOdf(const KoXmlElement&, KoShapeLoadingContext&) const"
        shape = <value optimized out>
#3  0x020f4d4b in process (this=0xbf880b5c, body=..., odfStore=...)
    at ../../../plugins/dockers/shapeselector/ItemStore.cpp:341
        _node = {_vptr.KoXmlNode = 0x9770aa8, d = 0xa2baea0}
        loadingContext = {_vptr.KoOdfLoadingContext = 0x8807c10, m_store = 0xa25e840,
          m_stylesReader = @0xa378a2c, m_styleStack = {_vptr.KoStyleStack = 0x8807c48,
            m_marks = {<QVector<int>> = {{p = 0xa307628,
                  d = 0xa307628}}, <No data fields>}, m_stack = {{p = {
                  static shared_null = {ref = {_q_value = 1}, alloc = 0, begin = 0,
                    end = 0, sharable = 1, array = {0x0}}, d = 0x80532e0},
                d = 0x80532e0}}, m_propertiesTagName = {static shared_null = {ref = {
                  _q_value = 1}, alloc = 0, size = 0, data = 0x80532dc "", array = ""},
              static shared_empty = {ref = {_q_value = 63}, alloc = 0, size = 0,
                data = 0x67e398 "", array = ""}, d = 0x80532cc},
            m_styleNSURI = 0x87fd744 "urn:oasis:names:tc:opendocument:xmlns:style:1.0",
            m_foNSURI = 0x87fd83c "urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0", d = 0x0}, m_generator = {static null = {<No data fields>}, static shared_null = {
              ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
              simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
              reserved = 0, array = {0}}, static shared_empty = {ref = {_q_value = 213},
              alloc = 0, size = 0, data = 0x67e46e, clean = 0, simpletext = 0,
              righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}},
            d = 0x80532b8, static codecForCStrings = 0x0}, m_metaXmlParsed = false,
          m_useStylesAutoStyles = false, m_unused1 = 103, m_unused2 = false,
          m_manifestDoc = {<KoXmlNode> = {_vptr.KoXmlNode = 0x9770968, d = 0xa2885f0},
            dt = {<KoXmlNode> = {_vptr.KoXmlNode = 0x97709a8,
                d = 0xa288640}, <No data fields>}}, d = 0x0, m_defaultStylesReader = {
            d = 0xa1180b0}, m_doc = {<KoXmlNode> = {_vptr.KoXmlNode = 0x9770968,
              d = 0x97715a0}, dt = {<KoXmlNode> = {_vptr.KoXmlNode = 0x97709a8,
                d = 0x9ffd090}, <No data fields>}}}
        context = {d = 0x9faf558}
        element = {<KoXmlNode> = {_vptr.KoXmlNode = 0x9770a68,
            d = 0xa2baea0}, <No data fields>}
#4  0x087d7ceb in KoOdfPaste::paste (this=0xbf880b5c, documentType=KoOdf::Text,
    bytes=...) at ../../../libs/odf/KoOdfPaste.cpp:80
        buffer = {<QIODevice> = {<QObject> = {_vptr.QObject = 0x67bd68,
              static staticMetaObject = {d = {superdata = 0x0,
                  stringdata = 0x624b20 "QObject", data = 0x624bc0,
                  extradata = 0x6791b8}}, d_ptr = 0xac1c698,
              static staticQtMetaObject = {d = {superdata = 0x0,
                  stringdata = 0x62e300 "Qt", data = 0x631680, extradata = 0x0}}},
            static staticMetaObject = {d = {superdata = 0x6791a8,
                stringdata = 0x635a80 "QIODevice", data = 0x635ae0, extradata = 0x0}}},
          static staticMetaObject = {d = {superdata = 0x67d028,
              stringdata = 0x61c680 "QBuffer", data = 0x61c6a0, extradata = 0x0}}}
        store = <value optimized out>
        odfStore = {d = 0xa378a28}
        __PRETTY_FUNCTION__ = "bool KoOdfPaste::paste(KoOdf::DocumentType, const QByteArray&)"
        content = {<KoXmlNode> = {_vptr.KoXmlNode = 0x9770a68,
            d = 0xa273e18}, <No data fields>}
        realBody = {<KoXmlNode> = {_vptr.KoXmlNode = 0x9770a68,
            d = 0xa114b98}, <No data fields>}
        body = {<KoXmlNode> = {_vptr.KoXmlNode = 0x9770a68,
            d = 0xa283908}, <No data fields>}
        errorMessage = {static null = {<No data fields>}, static shared_null = {ref = {
              _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
            array = {0}}, static shared_empty = {ref = {_q_value = 213}, alloc = 0,
            size = 0, data = 0x67e46e, clean = 0, simpletext = 0, righttoleft = 0,
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x80532b8,
          static codecForCStrings = 0x0}
#5  0x020f45ad in ItemStore::createShapeFromPaste (bytes=...)
    at ../../../plugins/dockers/shapeselector/ItemStore.cpp:357
        dsc = {<KoShapeControllerBase> = {_vptr.KoShapeControllerBase = 0x2108180},
          m_dataCenterMap = {{d = 0x67e400, e = 0x67e400}}}
        paster = {<KoOdfPaste> = {_vptr.KoOdfPaste = 0x2108530}, m_shape = 0x0,
          m_shapeController = 0xbf880b68}
#6  0x020f4e6d in ItemStorePrivate::clipboardChanged (this=0xa698890)
    at ../../../plugins/dockers/shapeselector/ItemStore.cpp:144
        data = 0xa34c470
        bytes = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0,
            data = 0x80532dc "", array = ""}, static shared_empty = {ref = {
              _q_value = 63}, alloc = 0, size = 0, data = 0x67e398 "", array = ""},
          d = 0xa1cf0d8}
        shape = <value optimized out>
#7  0x020f4f21 in ItemStorePrivate::qt_metacall (this=0xa698890,
    _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf880c8c) at ./ItemStore.moc:66
No locals.
#8  0x005a1253 in QMetaObject::activate (sender=0x9e7d280, from_signal_index=7,
    to_signal_index=7, argv=0x0) at kernel/qobject.cpp:3113
        c = <value optimized out>
        previousSender = 0x0
        method = 4
        currentSender = {sender = 0x9e7d280, signal = 7, ref = 1}
        i = 1
        count = 2
        signal = 7
        empty_argv = {0x0}
        locker = {{mtx = 0x9dc5e7c, val = 165437052}}
        currentThreadData = <value optimized out>
        connectionLists = 0xa19f7f0
#9  0x005a1eb2 in QMetaObject::activate (sender=0x9e7d280, m=0x3383408,
    local_signal_index=3, argv=0x0) at kernel/qobject.cpp:3187
        signal_index = 1
#10 0x03199d37 in QClipboard::dataChanged (this=0x9e7d280)
    at .moc/release-shared/moc_qclipboard.cpp:108
No locals.
#11 0x02b228f6 in QClipboard::emitChanged (this=0x9e7d280, mode=QClipboard::Clipboard)
    at kernel/qclipboard.cpp:586
No locals.
#12 0x02b90065 in QClipboard::setMimeData (this=0x9e7d280, src=0xa34c470,
    mode=QClipboard::Clipboard) at kernel/qclipboard_x11.cpp:1364
        dpy = 0x9e3a130
        owners = {180476472, 3213364616}
        atom = 243
        sentinel_atom = 250
        d = 0xa2387f0
        newOwner = 56623106
        prevOwner = 16819400
#13 0x08368f1c in KoTextDrag::addToClipboard (this=0xbf880e0c)
    at ../../../libs/kotext/KoTextDrag.cpp:156
No locals.
#14 0x06d207e1 in TextTool::copy (this=0xa722bc8)
    at ../../../plugins/textshape/TextTool.cpp:736
        from = <value optimized out>
        drag = {m_mimeData = 0xa34c470}
        fragment = {d = 0xab7c5b8}
        to = <value optimized out>
        saveHelper = {<KoDragOdfSaveHelper> = {_vptr.KoDragOdfSaveHelper = 0x8381a80,
            m_context = 0x0}, d = 0xa131fe8}
#15 0x028e2d7a in KoToolProxy::copy (this=0xa6a7b28)
    at ../../../libs/flake/KoToolProxy.cpp:371
No locals.
#16 0x02895513 in KoCopyControllerPrivate::copy (this=0xabdfcd0)
    at ../../../libs/flake/KoCopyController.cpp:62
No locals.
#17 0x028955ce in KoCopyController::qt_metacall (this=0xabdfc08,
    _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf880fc8) at ./KoCopyController.moc:76
No locals.
#18 0x005a1253 in QMetaObject::activate (sender=0xabe1338, from_signal_index=5,
    to_signal_index=6, argv=0xbf880fc8) at kernel/qobject.cpp:3113
        c = <value optimized out>
        previousSender = 0x0
        method = 6
        currentSender = {sender = 0xabe1338, signal = 6, ref = 1}
        i = 0
        count = 12
        signal = 6
        empty_argv = {0x0}
        locker = {{mtx = 0x9dc5e7c, val = 165437052}}
        currentThreadData = <value optimized out>
        connectionLists = 0xabe14d8
#19 0x005a16c8 in QMetaObject::activate (sender=0xabe1338, m=0x3373e48,
    from_local_signal_index=1, to_local_signal_index=2, argv=0xbf880fc8)
    at kernel/qobject.cpp:3207
        offset = <value optimized out>
        from_signal_index = 171412012
        to_signal_index = 0
#20 0x02b0b9a1 in QAction::triggered (this=0xabe1338, _t1=false)
    at .moc/release-shared/moc_qaction.cpp:236
        _a = {0x0, 0xbf880fbc}
#21 0x02b0cf22 in QAction::activate (this=0xabe1338, event=QAction::Trigger)
    at kernel/qaction.cpp:1160
        guard = 0xabe1338
#22 0x02b0fa08 in QAction::event (this=0xa378a2c, e=0x0) at kernel/qaction.cpp:1079
No locals.
#23 0x00fe0ce3 in KAction::event (this=0xabe1338, event=0xbf881418)
    at ../../kdeui/actions/kaction.cpp:88
No locals.
#24 0x02b11f44 in QApplicationPrivate::notify_helper (this=0x9e28958,
    receiver=0xabe1338, e=0xbf881418) at kernel/qapplication.cpp:4056
        consumed = <value optimized out>
#25 0x02b1966c in QApplication::notify (this=0xbf883310, receiver=0xabe1338,
    e=0xbf881418) at kernel/qapplication.cpp:3603
        res = true
#26 0x010c7f7a in KApplication::notify (this=0xbf883310, receiver=0xabe1338,
    event=0xbf881418) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#27 0x0058b6bb in QCoreApplication::notifyInternal (this=0xbf883310, receiver=0xabe1338,
    event=0xbf881418) at kernel/qcoreapplication.cpp:610
        threadData = 0x9dc5e48
        returnValue = <value optimized out>
        result = false
        cbdata = {0xabe1338, 0xbf881418, 0xbf8813bf}
#28 0x02b4adcd in QCoreApplication::sendEvent (this=0x9e289f8, e=0xbf8817c4)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
No locals.
#29 QShortcutMap::dispatchEvent (this=0x9e289f8, e=0xbf8817c4)
    at kernel/qshortcutmap.cpp:884
        current = <value optimized out>
        i = <value optimized out>
        enabledShortcuts = <value optimized out>
        se = {<QEvent> = {_vptr.QEvent = 0x3374108, d = 0x0, t = 117, posted = 0,
            spont = 0, m_accept = 1, reserved = 6129}, sequence = {d = 0xa716150},
          ambig = false, sid = -132}
        d = <value optimized out>
        curKey = <value optimized out>
        next = 0xabe1200
#30 0x02b4cc4e in QShortcutMap::tryShortcutEvent (this=0x9e289f8, o=0xa6a2718,
    e=0xbf8817c4) at kernel/qshortcutmap.cpp:369
        identicalMatches = 1
        d = 0xa378a2c
        wasAccepted = <value optimized out>
        result = <value optimized out>
        stateWasAccepted = <value optimized out>
#31 0x02b1a9fd in QApplication::notify (this=0xbf883310, receiver=0xa6a2718,
    e=0xbf8817c4) at kernel/qapplication.cpp:3645
        pr = {o = 0x8c93a0}
        res = <value optimized out>
#32 0x010c7f7a in KApplication::notify (this=0xbf883310, receiver=0xa6a2718,
    event=0xbf8817c4) at ../../kdeui/kernel/kapplication.cpp:302
No locals.
#33 0x0058b6bb in QCoreApplication::notifyInternal (this=0xbf883310, receiver=0xa6a2718,
    event=0xbf8817c4) at kernel/qcoreapplication.cpp:610
        threadData = 0x9dc5e48
        returnValue = <value optimized out>
        result = false
        cbdata = {0xa6a2718, 0xbf8817c4, 0xbf88172f}
#34 0x02b12e1e in QCoreApplication::sendSpontaneousEvent (receiver=0xa6a2718,
    event=0xa378a2c)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
No locals.
#35 qt_sendSpontaneousEvent (receiver=0xa6a2718, event=0xa378a2c)
    at kernel/qapplication.cpp:4958
No locals.
#36 0x02baf350 in QKeyMapper::sendKeyEvent (keyWidget=0xa6a2718, grab=false,
    type=QEvent::KeyPress, code=67, modifiers=..., text=...,
    autorepeat=<value optimized out>, count=<value optimized out>, nativeScanCode=54,
    nativeVirtualKey=99, nativeModifiers=4) at kernel/qkeymapper_x11.cpp:1861
        e = {<QKeyEvent> = {<QInputEvent> = {<QEvent> = {_vptr.QEvent = 0x3374310,
                d = 0xbf8817c4, t = 6, posted = 0, spont = 1, m_accept = 1,
                reserved = 86}, modState = {i = 67108864}}, txt = {
              static null = {<No data fields>}, static shared_null = {ref = {
                  _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
                simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
                reserved = 0, array = {0}}, static shared_empty = {ref = {
                  _q_value = 213}, alloc = 0, size = 0, data = 0x67e46e, clean = 0,
                simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0,
                reserved = 0, array = {0}}, d = 0x9f889b8,
              static codecForCStrings = 0x0}, k = 67, c = 1, autor = 0}, nScanCode = 54,
          nVirtualKey = 99, nModifiers = 4}
#37 0x02bb1879 in QKeyMapperPrivate::translateKeyEvent (this=0x9e50578,
    keyWidget=0xa6a2718, event=0xbf882fac, grab=false) at kernel/qkeymapper_x11.cpp:1831
        autor = <value optimized out>
        auto_repeat_data = {window = 56623129, keycode = 54 '6', timestamp = 86842177,
          release = 33, error = false}
        curr_autorep = 0
        qic = 0xa153f90
        count = 1
        dpy = <value optimized out>
        type = QEvent::KeyPress
        text = {static null = {<No data fields>}, static shared_null = {ref = {
              _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
            array = {0}}, static shared_empty = {ref = {_q_value = 213}, alloc = 0,
            size = 0, data = 0x67e46e, clean = 0, simpletext = 0, righttoleft = 0,
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9f889b8,
          static codecForCStrings = 0x0}
        keysym = 99
        code = 67
        modifiers = {i = 67108864}
#38 0x02b85df7 in QApplication::x11ProcessEvent (this=0xbf883310, event=0xbf882fac)
    at kernel/qapplication_x11.cpp:3443
        userTime = <value optimized out>
        widget = 0x0
        keywidget = 0xa6a2718
        grabbed = false
        d = 0x9e28958
        time = <value optimized out>
#39 0x02bb33f2 in x11EventSourceDispatch (s=0x9e2b968, callback=0, user_data=0x0)
    at kernel/qguieventdispatcher_glib.cpp:146
        event = {type = 2, xany = {type = 2, serial = 71957, send_event = 0,
            display = 0x9e3a130, window = 56623129}, xkey = {type = 2, serial = 71957,
            send_event = 0, display = 0x9e3a130, window = 56623129, root = 251,
            subwindow = 0, time = 86842177, x = 323, y = 512, x_root = 323,
            y_root = 534, state = 4, keycode = 54, same_screen = 1}, xbutton = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, root = 251, subwindow = 0, time = 86842177, x = 323,
            y = 512, x_root = 323, y_root = 534, state = 4, button = 54,
            same_screen = 1}, xmotion = {type = 2, serial = 71957, send_event = 0,
            display = 0x9e3a130, window = 56623129, root = 251, subwindow = 0,
            time = 86842177, x = 323, y = 512, x_root = 323, y_root = 534, state = 4,
            is_hint = 54 '6', same_screen = 1}, xcrossing = {type = 2, serial = 71957,
            send_event = 0, display = 0x9e3a130, window = 56623129, root = 251,
            subwindow = 0, time = 86842177, x = 323, y = 512, x_root = 323,
            y_root = 534, mode = 4, detail = 54, same_screen = 1, focus = 0, state = 0},
          xfocus = {type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, mode = 251, detail = 0}, xexpose = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, window = 56623129,
            x = 251, y = 0, width = 86842177, height = 323, count = 512},
          xgraphicsexpose = {type = 2, serial = 71957, send_event = 0,
            display = 0x9e3a130, drawable = 56623129, x = 251, y = 0, width = 86842177,
            height = 323, count = 512, major_code = 323, minor_code = 534}, xnoexpose = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            drawable = 56623129, major_code = 251, minor_code = 0}, xvisibility = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, state = 251}, xcreatewindow = {type = 2, serial = 71957,
            send_event = 0, display = 0x9e3a130, parent = 56623129, window = 251, x = 0,
            y = 86842177, width = 323, height = 512, border_width = 323,
            override_redirect = 534}, xdestroywindow = {type = 2, serial = 71957,
            send_event = 0, display = 0x9e3a130, event = 56623129, window = 251},
          xunmap = {type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            event = 56623129, window = 251, from_configure = 0}, xmap = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, event = 56623129,
            window = 251, override_redirect = 0}, xmaprequest = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, parent = 56623129,
            window = 251}, xreparent = {type = 2, serial = 71957, send_event = 0,
            display = 0x9e3a130, event = 56623129, window = 251, parent = 0,
            x = 86842177, y = 323, override_redirect = 512}, xconfigure = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, event = 56623129,
            window = 251, x = 0, y = 86842177, width = 323, height = 512,
            border_width = 323, above = 534, override_redirect = 4}, xgravity = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            event = 56623129, window = 251, x = 0, y = 86842177}, xresizerequest = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, width = 251, height = 0}, xconfigurerequest = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, parent = 56623129,
            window = 251, x = 0, y = 86842177, width = 323, height = 512,
            border_width = 323, above = 534, detail = 4, value_mask = 54}, xcirculate = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            event = 56623129, window = 251, place = 0}, xcirculaterequest = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, parent = 56623129,
            window = 251, place = 0}, xproperty = {type = 2, serial = 71957,
            send_event = 0, display = 0x9e3a130, window = 56623129, atom = 251,
            time = 0, state = 86842177}, xselectionclear = {type = 2, serial = 71957,
            send_event = 0, display = 0x9e3a130, window = 56623129, selection = 251,
            time = 0}, xselectionrequest = {type = 2, serial = 71957, send_event = 0,
            display = 0x9e3a130, owner = 56623129, requestor = 251, selection = 0,
            target = 86842177, property = 323, time = 512}, xselection = {type = 2,
            serial = 71957, send_event = 0, display = 0x9e3a130, requestor = 56623129,
            selection = 251, target = 0, property = 86842177, time = 323}, xcolormap = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, colormap = 251, c_new = 0, state = 86842177}, xclient = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, message_type = 251, format = 0, data = {
              b = "A\33-\5C\1\0\0\0\2\0\0C\1\0\0\26\2\0", s = {6977, 1325, 323, 0, 512,
                0, 323, 0, 534, 0}, l = {86842177, 323, 512, 323, 534}}}, xmapping = {
            type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129, request = 251, first_keycode = 0, count = 86842177},
          xerror = {type = 2, display = 0x11915, resourceid = 0, serial = 165912880,
            error_code = 25 '\31', request_code = 0 '\0', minor_code = 96 '`'},
          xkeymap = {type = 2, serial = 71957, send_event = 0, display = 0x9e3a130,
            window = 56623129,
            key_vector = "\373\0\0\0\0\0\0\0A\33-\5C\1\0\0\0\2\0\0C\1\0\0\26\2\0\0\4\0\0"}, pad = {2, 71957, 0, 165912880, 56623129, 251, 0, 86842177, 323, 512, 323, 534, 4, 54,
            1, 0, 0, 134558385, 6808576, 171411368, 41, 170886208, 168574120, 15463}}
        marker = 71958
#40 0x006b8f18 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#41 0x006bc7c0 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#42 0x006bc8f3 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#43 0x005b601c in QEventDispatcherGlib::processEvents (this=0x9dc7a58, flags=...)
    at kernel/qeventdispatcher_glib.cpp:327
        d = 0x9dc7a68
        canWait = true
        result = <value optimized out>
#44 0x02bb2ad5 in QGuiEventDispatcherGlib::processEvents (this=0x9dc7a58, flags=...)
    at kernel/qguieventdispatcher_glib.cpp:202
        d = 0x9dc7a68
        returnValue = false
#45 0x00589c69 in QEventLoop::processEvents (this=0xbf8832a4, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
    at kernel/qeventloop.cpp:149
        d = 0x9f869e0
#46 0x0058a0ba in QEventLoop::exec (this=0xbf8832a4, flags=...)
    at kernel/qeventloop.cpp:201
        d = 0x9f869e0
        app = <value optimized out>
#47 0x0058c52f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
        threadData = 0x9dc5e48
        eventLoop = {<QObject> = {_vptr.QObject = 0x67d7a8, static staticMetaObject = {
              d = {superdata = 0x0, stringdata = 0x624b20 "QObject", data = 0x624bc0,
                extradata = 0x6791b8}}, d_ptr = 0x9f869e0, static staticQtMetaObject = {
              d = {superdata = 0x0, stringdata = 0x62e300 "Qt", data = 0x631680,
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x6791a8, stringdata = 0x636720 "QEventLoop", data = 0x636740,
              extradata = 0x0}}}
        returnCode = -1
#48 0x02b11dc7 in QApplication::exec () at kernel/qapplication.cpp:3525
No locals.
#49 0x01a63fdd in kdemain (argc=1, argv=0x9dc51e8) at ../../../kword/part/main.cpp:38
        aboutData = 0x9df44e0
        options = {d = 0x9e282f8}
        app = {<KApplication> = {<QApplication> = {<QCoreApplication> = {<QObject> = {
                  _vptr.QObject = 0x9068a68, static staticMetaObject = {d = {
                      superdata = 0x0, stringdata = 0x624b20 "QObject", data = 0x624bc0,
                      extradata = 0x6791b8}}, d_ptr = 0x9e28958,
                  static staticQtMetaObject = {d = {superdata = 0x0,
                      stringdata = 0x62e300 "Qt", data = 0x631680, extradata = 0x0}}},
                static staticMetaObject = {d = {superdata = 0x6791a8,
                    stringdata = 0x6367a0 "QCoreApplication", data = 0x636840,
                    extradata = 0x0}}, static self = 0xbf883310},
              static staticMetaObject = {d = {superdata = 0x67d7e4,
                  stringdata = 0x31aa4c0 "QApplication", data = 0x31aa6c0,
                  extradata = 0x0}}}, static staticMetaObject = {d = {
                superdata = 0x3373f48, stringdata = 0x124e860 "KApplication",
                data = 0x124ea00, extradata = 0x0}}, static loadedByKdeinit = false,
            static KApp = 0xbf883310, d = 0x9e51358}, static staticMetaObject = {d = {
              superdata = 0x12c1bc0, stringdata = 0x904e4a0 "KoApplication",
              data = 0x904e540, extradata = 0x0}}, d = 0x9ea2740,
          static m_starting = false}
#50 0x0804de01 in launch (argc=<value optimized out>, _name=<value optimized out>,
    args=<value optimized out>, cwd=0x0, envc=1, envs=0x9df4077 "DISPLAY=:0.0",
    reset_env=false, tty=0x0, avoid_loops=false,
    startup_id_str=0x9df4088 "jonathan-desktop;1253195635;886333;2039_TIME86788368")
    at ../../kinit/kinit.cpp:677
        l = {<QObject> = {_vptr.QObject = 0x67d3c8, static staticMetaObject = {d = {
                superdata = 0x0, stringdata = 0x624b20 "QObject", data = 0x624bc0,
                extradata = 0x6791b8}}, d_ptr = 0x9df49e8, static staticQtMetaObject = {
              d = {superdata = 0x0, stringdata = 0x62e300 "Qt", data = 0x631680,
                extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x6791a8, stringdata = 0x635fa0 "QLibrary", data = 0x636020,
              extradata = 0x0}}, d = 0x9e15a30, did_load = true}
        sym = <value optimized out>
        exec = <value optimized out>
        lib = {static null = {<No data fields>}, static shared_null = {ref = {
              _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
            array = {0}}, static shared_empty = {ref = {_q_value = 213}, alloc = 0,
            size = 0, data = 0x67e46e, clean = 0, simpletext = 0, righttoleft = 0,
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9df4338,
          static codecForCStrings = 0x0}
        execpath = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0,
            data = 0x80532dc "", array = ""}, static shared_empty = {ref = {
              _q_value = 63}, alloc = 0, size = 0, data = 0x67e398 "", array = ""},
          d = 0x9df43f0}
        name = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0,
            data = 0x80532dc "", array = ""}, static shared_empty = {ref = {
              _q_value = 63}, alloc = 0, size = 0, data = 0x67e398 "", array = ""},
          d = 0x9df4708}
        exec = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0,
            data = 0x80532dc "", array = ""}, static shared_empty = {ref = {
              _q_value = 63}, alloc = 0, size = 0, data = 0x67e398 "", array = ""},
          d = 0x9df43f0}
        libpath = {static null = {<No data fields>}, static shared_null = {ref = {
              _q_value = 1}, alloc = 0, size = 0, data = 0x80532ca, clean = 0,
            simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0,
            array = {0}}, static shared_empty = {ref = {_q_value = 213}, alloc = 0,
            size = 0, data = 0x67e46e, clean = 0, simpletext = 0, righttoleft = 0,
            asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x9e09550,
          static codecForCStrings = 0x0}
        startup_id = {d = 0x9df44c0}
#51 0x0804ea55 in handle_launcher_request (sock=<value optimized out>,
    who=<value optimized out>) at ../../kinit/kinit.cpp:1169
        tty = 0x0
        avoid_loops = 0
        arg_n = <value optimized out>
        args = 0x9df4073 "\1"
        pid = <value optimized out>
        response_header = {cmd = 4, arg_length = 4}
        envc = <value optimized out>
        envs = 0x9df4077 "DISPLAY=:0.0"
        kdedisplay = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0,
            data = 0x80532dc "", array = ""}, static shared_empty = {ref = {
              _q_value = 63}, alloc = 0, size = 0, data = 0x67e398 "", array = ""},
          d = 0x80532cc}
        response_data = <value optimized out>
        l = <value optimized out>
        name = 0x9df4064 "/usr/bin/kword"
        cwd = 0x0
        startup_id_str = 0x9df4088 "jonathan-desktop;1253195635;886333;2039_TIME86788368"
        olddisplay = {static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0,
            data = 0x80532dc "", array = ""}, static shared_empty = {ref = {
              _q_value = 63}, alloc = 0, size = 0, data = 0x67e398 "", array = ""},
          d = 0x9de3760}
        request_header = {cmd = 10, arg_length = 93}
        request_data = 0x9df4060 "\1"
        result = <value optimized out>
#52 0x0804eecc in handle_requests (waitForPid=<value optimized out>)
    at ../../kinit/kinit.cpp:1362
        wr_set = {fds_bits = {0 <repeats 32 times>}}
        exit_pid = <value optimized out>
        exit_status = 0
        c = 0 '\0'
        rd_set = {fds_bits = {128, 0 <repeats 31 times>}}
        e_set = {fds_bits = {0 <repeats 32 times>}}
        result = <value optimized out>
        max_sock = <value optimized out>
#53 0x0804fbcf in main (argc=2, argv=0xbf883aa4, envp=0xbf883ab0)
    at ../../kinit/kinit.cpp:1793
        pid = <value optimized out>
        do_fork = true
        launch_klauncher = 1
        launch_kded = 1
        keep_running = 1
Comment 1 Jonathan Thomas 2009-09-17 21:41:52 UTC
Created attachment 37022 [details]
ODT with a table
Comment 2 Jonathan Thomas 2010-02-25 21:49:26 UTC
Still happens with 2.1.1 with the same ODT. The following is the best backtrace I can get at the moment due to circumstance, but this is very easily reproducible.

Application: KWord (kword), signal: Segmentation fault
[Current thread is 1 (Thread 0xb498a780 (LWP 6392))]

Thread 2 (Thread 0xb03ffb70 (LWP 6397)):
#0  0xb552be16 in *__GI_clock_gettime (clock_id=-1252851724, tp=0xb03fef48) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb67ca4db in qt_gettime () at kernel/qcore_unix.cpp:109
#2  0xb67cf605 in QTimerInfoList::updateCurrentTime (this=0xa616314) at kernel/qeventdispatcher_unix.cpp:340
#3  0xb67cf64a in QTimerInfoList::timerWait (this=0xa616314, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#4  0xb67cd5f8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb03ff05c) at kernel/qeventdispatcher_glib.cpp:136
#5  0xb67cd685 in timerSourcePrepare (source=0x0, timeout=0xb552fff4) at kernel/qeventdispatcher_glib.cpp:169
#6  0xb59552ea in IA__g_main_context_prepare (context=0xa616d10, priority=0xb03ff0dc) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:2280
#7  0xb5955709 in g_main_context_iterate (context=0xa616d10, block=<value optimized out>, dispatch=1, self=0xa6163c0) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:2571
#8  0xb5955cc8 in IA__g_main_context_iteration (context=0xa616d10, may_block=1) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:2654
#9  0xb67cd3ef in QEventDispatcherGlib::processEvents (this=0xa614830, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#10 0xb679fe29 in QEventLoop::processEvents (this=0xb03ff220, flags=) at kernel/qeventloop.cpp:149
#11 0xb67a027a in QEventLoop::exec (this=0xb03ff220, flags=...) at kernel/qeventloop.cpp:201
#12 0xb669c568 in QThread::exec (this=0xa614810) at thread/qthread.cpp:487
#13 0xb677fafb in QInotifyFileSystemWatcherEngine::run (this=0xa614810) at io/qfilesystemwatcher_inotify.cpp:248
#14 0xb669f2ee in QThreadPrivate::start (arg=0xa614810) at thread/qthread_unix.cpp:248
#15 0xb59f58de in start_thread (arg=0xb03ffb70) at pthread_create.c:300
#16 0xb774495e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb498a780 (LWP 6392)):
[KCrash Handler]
#6  0xb1b07956 in KSpread::ColumnFormat::isHiddenOrFiltered() const () from /usr/lib/libkspreadcommon.so.6
#7  0xb1d043a9 in KSpread::SheetView::paintCells(QPaintDevice*, QPainter&, QRectF const&, QPointF const&) () from /usr/lib/libkspreadcommon.so.6
#8  0xb1d4cae3 in ?? () from /usr/lib/kde4/spreadsheetshape.so
#9  0xb1897ee6 in ?? () from /usr/lib/kde4/kofficedockers.so
#10 0xb6251a62 in KoShapeContainer::paint(QPainter&, KoViewConverter const&) () from /usr/lib/libflake.so.6
#11 0xb62559ff in KoShapeManager::paintShape(KoShape*, QPainter&, KoViewConverter const&, bool) () from /usr/lib/libflake.so.6
#12 0xb6253840 in KoShapeManagerPaintingStrategy::paint(KoShape*, QPainter&, KoViewConverter const&, bool) () from /usr/lib/libflake.so.6
#13 0xb62587c5 in KoShapeManager::paint(QPainter&, KoViewConverter const&, bool) () from /usr/lib/libflake.so.6
#14 0xb188c3eb in ?? () from /usr/lib/kde4/kofficedockers.so
#15 0xb6ca93e6 in QWidget::event (this=0xa062368, event=0xbfd275e4) at kernel/qwidget.cpp:8124
#16 0xb188b3e3 in ?? () from /usr/lib/kde4/kofficedockers.so
#17 0xb6c4b2dc in QApplicationPrivate::notify_helper (this=0x80e14c0, receiver=0xbfd275e4, e=0xa062368) at kernel/qapplication.cpp:4298
#18 0xb6c51fc9 in QApplication::notify (this=0xbfd28340, receiver=0xa062368, e=0xbfd275e4) at kernel/qapplication.cpp:4263
#19 0xb5cb8b2a in KApplication::notify (this=0xbfd28340, receiver=0xa062368, event=0xbfd275e4) at ../../kdeui/kernel/kapplication.cpp:302
#20 0xb67a180b in QCoreApplication::notifyInternal (this=0xbfd28340, receiver=0xa062368, event=0xbfd275e4) at kernel/qcoreapplication.cpp:704
#21 0xb6cb25c6 in QCoreApplication::sendSpontaneousEvent (this=0xa040b30, pdev=0x82a5b34, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x82a5ce8)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 QWidgetPrivate::drawWidget (this=0xa040b30, pdev=0x82a5b34, rgn=..., offset=..., flags=<value optimized out>, sharedPainter=0x0, backingStore=0x82a5ce8) at kernel/qwidget.cpp:5321
#23 0xb6e881a7 in QWidgetBackingStore::sync (this=0x82a5ce8) at painting/qbackingstore.cpp:1283
#24 0xb6ca28f3 in QWidgetPrivate::syncBackingStore (this=0x8287648) at kernel/qwidget.cpp:1663
#25 0xb6ca9ba6 in QWidget::event (this=0x82886d8, event=0xa80f3f0) at kernel/qwidget.cpp:8271
#26 0xb70c3077 in QMainWindow::event (this=0x82886d8, event=0xa80f3f0) at widgets/qmainwindow.cpp:1435
#27 0xb5daa464 in KMainWindow::event (this=0x82886d8, ev=0xa80f3f0) at ../../kdeui/widgets/kmainwindow.cpp:1103
#28 0xb5df21df in KXmlGuiWindow::event (this=0x82886d8, ev=0xa80f3f0) at ../../kdeui/xmlgui/kxmlguiwindow.cpp:131
#29 0xb6c4b2dc in QApplicationPrivate::notify_helper (this=0x80e14c0, receiver=0x82886d8, e=0xa80f3f0) at kernel/qapplication.cpp:4298
#30 0xb6c51fc9 in QApplication::notify (this=0xbfd28340, receiver=0x82886d8, e=0xa80f3f0) at kernel/qapplication.cpp:4263
#31 0xb5cb8b2a in KApplication::notify (this=0xbfd28340, receiver=0x82886d8, event=0xa80f3f0) at ../../kdeui/kernel/kapplication.cpp:302
#32 0xb67a180b in QCoreApplication::notifyInternal (this=0xbfd28340, receiver=0x82886d8, event=0xa80f3f0) at kernel/qcoreapplication.cpp:704
#33 0xb67a4243 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x80c54f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#34 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80c54f0) at kernel/qcoreapplication.cpp:1345
#35 0xb67a43ad in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1238
#36 0xb67cd8bf in QCoreApplication::sendPostedEvents (s=0x80e38c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#37 postEventSourceDispatch (s=0x80e38c0) at kernel/qeventdispatcher_glib.cpp:276
#38 0xb5951e05 in g_main_dispatch (context=0x80e3840) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:1960
#39 IA__g_main_context_dispatch (context=0x80e3840) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:2513
#40 0xb5955b08 in g_main_context_iterate (context=0x80e3840, block=<value optimized out>, dispatch=1, self=0x80e1740) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:2591
#41 0xb5955cc8 in IA__g_main_context_iteration (context=0x80e3840, may_block=1) at /build/buildd/glib2.0-2.23.4/glib/gmain.c:2654
#42 0xb67cd3b5 in QEventDispatcherGlib::processEvents (this=0x80c56d0, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#43 0xb6d0a3f5 in QGuiEventDispatcherGlib::processEvents (this=0x80c56d0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#44 0xb679fe29 in QEventLoop::processEvents (this=0xbfd282d4, flags=) at kernel/qeventloop.cpp:149
#45 0xb67a027a in QEventLoop::exec (this=0xbfd282d4, flags=...) at kernel/qeventloop.cpp:201
#46 0xb67a446f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0xb6c4b377 in QApplication::exec () at kernel/qapplication.cpp:3577
#48 0xb77e9fed in kdemain () from /usr/lib/libkdeinit4_kword.so
#49 0x080485fb in _start ()
Comment 3 Sebastian Sauer 2010-04-09 20:10:53 UTC
cannot reproduce with current trunk aka upcoming koffice 2.2
Comment 4 Jonathan Thomas 2010-06-07 17:35:35 UTC
Confirming fixed with 2.2.