Details
-
Bug
-
Resolution: Cannot Reproduce
-
P2: Important
-
3.x
-
None
-
OpenEmbedded framework : Linux 2.6.31, binutils 2.18, glibc 2.9, glib 2.22.1, GCC 4.3.3
QT Configured with : -platform linux-oe-g++ -xplatform linux-oe-g++ -embedded i386 -little-endian -fast -qtlibinfix E -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-kbd-tty -DQT_KEYPAD_NAVIGATION -release -no-cups -no-accessibility -reduce-relocations -shared -no-nas-sound -no-sm -no-nis -qt-gif -system-libjpeg -system-libpng -system-zlib -no-sql-ibase -plugin-sql-mysql -no-sql-odbc -plugin-sql-psql -plugin-sql-sqlite -plugin-sql-sqlite2 -no-pch -qdbus -stl -glib -phonon -webkitOpenEmbedded framework : Linux 2.6.31, binutils 2.18, glibc 2.9, glib 2.22.1, GCC 4.3.3 QT Configured with : -platform linux-oe-g++ -xplatform linux-oe-g++ -embedded i386 -little-endian -fast -qtlibinfix E -qt-decoration-styled -plugin-decoration-default -plugin-decoration-windows -plugin-gfx-transformed -plugin-gfx-qvfb -plugin-gfx-vnc -plugin-gfx-directfb -plugin-mouse-tslib -qt-mouse-pc -qt-mouse-qvfb -qt-kbd-tty -DQT_KEYPAD_NAVIGATION -release -no-cups -no-accessibility -reduce-relocations -shared -no-nas-sound -no-sm -no-nis -qt-gif -system-libjpeg -system-libpng -system-zlib -no-sql-ibase -plugin-sql-mysql -no-sql-odbc -plugin-sql-psql -plugin-sql-sqlite -plugin-sql-sqlite2 -no-pch -qdbus -stl -glib -phonon -webkit
Description
When compiling QT Embedded with JIT, applications using QTScript crash with the following backtrace (see attached files for the log and an example of a crashing application).
The issue happens both when compiling for i386 (executing in qemu) or when compiling for our MPC8313 embedded platform. It does not happen when compiling QT with "-no-javascript-jit" option.
---------- backtrace ------------
Program received signal SIGSEGV, Segmentation fault.
0xb81c7abb in ?? ()
(gdb) bt
#0 0xb81c7abb in ?? ()
#1 0xb7e77852 in QTJSC::JITCode::execute (this=0xb6466488, eval=0xbffffc6c,
callFrame=0x8050294, thisObj=0xb5fc0000, globalRegisterOffset=9,
scopeChain=0xb64a11c8, exception=0xbffffbd8)
at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITCode.h:79
#2 QTJSC::Interpreter::execute (this=0xb6466488, eval=0xbffffc6c,
callFrame=0x8050294, thisObj=0xb5fc0000, globalRegisterOffset=9,
scopeChain=0xb64a11c8, exception=0xbffffbd8)
at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:921
#3 0xb7e77b3b in QTJSC::Interpreter::execute (this=0xb6466488,
eval=0xbffffc6c, callFrame=0x8050294, thisObj=0xb5fc0000,
scopeChain=0xb64a11c8, exception=0xbffffbd8)
at ../3rdparty/javascriptcore/JavaScriptCore/interpreter/Interpreter.cpp:838
#4 0xb7f6de7b in QScriptEnginePrivate::evaluateHelper (this=0x804fd98,
exec=0x8050294, sourceId=-1236658544, executable=0xbffffc6c,
compile=@0xbffffcb7) at api/qscriptengine.cpp:1203
#5 0xb7f6eaed in QScriptEngine::evaluate (this=0xbffffd08, program=...,
fileName=..., lineNumber=1) at api/qscriptengine.cpp:2199
#6 0x08048f0c in main (argc=0, argv=0xbffffbd8) at hello.cpp:16