aseba-community/aseba — Issue #55: Crash on paste
Author: stephanemagnenat
Created: 2012-01-30 09:23:28+00:00
State: open
Labels: Bug

I go the following crash on paste, unfortunately on a release build:

*** glibc detected *** studio/asebastudio: free(): invalid pointer: 0x0000000000d387c0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x78a8f)[0x7fe190523a8f]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x73)[0x7fe1905278e3]
/usr/lib/libQtGui.so.4(+0x4343d4)[0x7fe1925363d4]
/usr/lib/libQtGui.so.4(+0x43804b)[0x7fe19253a04b]
/usr/lib/libQtGui.so.4(_ZN11QTextCursor10insertTextERK7QStringRK15QTextCharFormat+0x117)[0x7fe1925669d7]
/usr/lib/libQtGui.so.4(_ZN11QTextCursor10insertTextERK7QString+0x3a)[0x7fe19256702a]
studio/asebastudio(_ZN5Aseba10AeslEditor18insertFromMimeDataEPK9QMimeData+0x31f)[0x44f1cf]
/usr/lib/libQtGui.so.4(+0x402b23)[0x7fe192504b23]
/usr/lib/libQtGui.so.4(_ZN12QTextControl12processEventEP6QEventRK7QMatrixP7QWidget+0x80b)[0x7fe192505bcb]
/usr/lib/libQtGui.so.4(_ZN12QTextControl12processEventEP6QEventRK7QPointFP7QWidget+0x56)[0x7fe1924fbd86]
/usr/lib/libQtGui.so.4(_ZN9QTextEdit13keyPressEventEP9QKeyEvent+0x2c7)[0x7fe192729c77]
studio/asebastudio(_ZN5Aseba10AeslEditor13keyPressEventEP9QKeyEvent+0x3a)[0x44903a]
/usr/lib/libQtGui.so.4(_ZN7QWidget5eventEP6QEvent+0x71c)[0x7fe19230cd4c]
/usr/lib/libQtGui.so.4(_ZN6QFrame5eventEP6QEvent+0x26)[0x7fe1926bf156]
/usr/lib/libQtGui.so.4(_ZN19QAbstractScrollArea5eventEP6QEvent+0x7b)[0x7fe1927408eb]
/usr/lib/libQtGui.so.4(_ZN9QTextEdit5eventEP6QEvent+0x50)[0x7fe19272d140]
/usr/lib/libQtGui.so.4(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0xb4)[0x7fe1922bb9f4]
/usr/lib/libQtGui.so.4(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x9a1)[0x7fe1922c0c41]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication14notifyInternalEP7QObjectP6QEvent+0x8c)[0x7fe19161a49c]
/usr/lib/libQtGui.so.4(+0x25f3d9)[0x7fe1923613d9]
/usr/lib/libQtGui.so.4(+0x25f856)[0x7fe192361856]
/usr/lib/libQtGui.so.4(_ZN12QApplication15x11ProcessEventEP7_XEvent+0x86f)[0x7fe19233c72f]
/usr/lib/libQtGui.so.4(+0x263842)[0x7fe192365842]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x1dd)[0x7fe18f8b0bcd]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x433a8)[0x7fe18f8b13a8]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_iteration+0x69)[0x7fe18f8b1639]
/usr/lib/libQtCore.so.4(_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE+0x6f)[0x7fe1916453ef]
/usr/lib/libQtGui.so.4(+0x2634de)[0x7fe1923654de]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop13processEventsE6QFlagsINS_17ProcessEventsFlagEE+0x32)[0x7fe191619882]
/usr/lib/libQtCore.so.4(_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE+0xdc)[0x7fe191619abc]
/usr/lib/libQtCore.so.4(_ZN16QCoreApplication4execEv+0xab)[0x7fe19161decb]
studio/asebastudio(main+0x9fb)[0x47ff2b]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x7fe1904c9eff]