[Kde-bindings] QTreeView with Qyoto and Kimono

Tim Taubert ttmails at gmx.de
Sun Jun 14 18:35:24 UTC 2009


Hey,

I'm currently trying to develop a text editor with Mono/Qyoto/Kimono. I 
have a problem with the QTreeView component that uses a custom Model 
(same error occurs using QDirModel). Every time I try to expand a 2nd 
level node the application crashes with the following error message:

*** glibc detected *** /usr/bin/mono: malloc(): memory corruption: 
0x0ab284c8 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d967f2]
/lib/libc.so.6[0xb7d99144]
/lib/libc.so.6(__libc_malloc+0x5b)[0xb7d9b02b]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libstdc++.so.6(_Znwj+0x2a)[0xb5b3a95a]
/usr/lib/gcc/i686-pc-linux-gnu/4.3.3/libstdc++.so.6(_Znaj+0x1e)[0xb5b3aa9e]
/usr/local/lib/libqyotoshared.so.1(_ZN5Qyoto17VirtualMethodCallC1EP5SmokesPNS1_9StackItemEPvS5_+0x70)[0xb6bbf990]
/usr/local/lib/libqyotoshared.so.1(_ZN5Qyoto7Binding10callMethodEsPvPN5Smoke9StackItemEb+0x1d6)[0xb6bc0206]
/usr/local/lib/libsmokeqt.so.2[0xb68fb4cc]
/usr/lib/qt4/libQtGui.so.4(_ZNK9QTreeView7drawRowEP8QPainterRK20QStyleOptionViewItemRK11QModelIndex+0x8c)[0xb641295c]
/usr/local/lib/libsmokeqt.so.2[0xb6aafaf3]
/usr/lib/qt4/libQtGui.so.4(_ZNK9QTreeView8drawTreeEP8QPainterRK7QRegion+0x53b)[0xb6417d7b]
/usr/lib/qt4/libQtGui.so.4(_ZN9QTreeView10paintEventEP11QPaintEvent+0x93)[0xb6418543]
/usr/local/lib/libsmokeqt.so.2[0xb6ab1849]
/usr/lib/qt4/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x20e)[0xb5f356be]
/usr/lib/qt4/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x34)[0xb62adf24]
/usr/lib/qt4/libQtGui.so.4(_ZN19QAbstractScrollArea13viewportEventEP6QEvent+0x67)[0xb6340e57]
/usr/lib/qt4/libQtGui.so.4(_ZN17QAbstractItemView13viewportEventEP6QEvent+0x1ef)[0xb63e233f]
/usr/lib/qt4/libQtGui.so.4(_ZN9QTreeView13viewportEventEP6QEvent+0x1f8)[0xb641bc28]
/usr/local/lib/libsmokeqt.so.2[0xb6ab146c]
/usr/lib/qt4/libQtGui.so.4[0xb6343345]
/usr/lib/qt4/libQtCore.so.4(_ZN23QCoreApplicationPrivate29sendThroughObjectEventFiltersEP7QObjectP6QEvent+0xa0)[0xb6703d60]
/usr/lib/qt4/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xa2)[0xb5ee1f42]
/usr/lib/qt4/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x1ba)[0xb5eeab5a]
/usr/lib/libkdeui.so.5(_ZN12KApplication6notifyEP7QObjectP6QEvent+0x42)[0xb3da3f32]
[0x0]

Any ideas? Need some more information? :)

Thanks in advance,

Tim



More information about the Kde-bindings mailing list