JSC crashes on ARM



  • Hi folks,

    I use the QWebKit1 from Qt5.3.1 on the x86 and arm(iMX6 from freescale) linux platforms. It works quite good on the x86, but crashes very often on the arm board, especially if the page contains quite a lot of javascript code. The callstack by exception points always into JSC. And I have an impression the javascript objects are not correctly reallocated after gc.

    Are there any aspects to take into account before ARM compilation? Does anyone have the same problems with arm version?
    Thanks in advance for any clue

    Michael



  • Please... Show the "backtrace", thanks!



  • Hi Guilherme,

    here is the gdb backtraces:

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to LWP 2528]
    0x2ce7a560 in WTFCrash () from /usr/lib/libQt5WebKit.so.5

    (gdb) backtrace full
    #0 0x2ce7a560 in WTFCrash () from /usr/lib/libQt5WebKit.so.5
    No symbol table info available.
    #1 0x2cd92a34 in JSC::JSArray::push(JSC::ExecState*, JSC::JSValue) () from /usr/lib/libQt5WebKit.so.5
    No symbol table info available.
    #2 0x2cb80e48 in ?? () from /usr/lib/libQt5WebKit.so.5
    No symbol table info available.
    #3 0x4234bd58 in ?? ()
    Cannot access memory at address 0xfffffffb
    No symbol table info available.
    Backtrace stopped: frame did not save the PC

    (gdb) bt
    #0 0x2ce7a560 in WTFCrash () from /usr/lib/libQt5WebKit.so.5
    #1 0x2cd92a34 in JSC::JSArray::push(JSC::ExecState*, JSC::JSValue) () from /usr/lib/libQt5WebKit.so.5
    #2 0x2cb80e48 in ?? () from /usr/lib/libQt5WebKit.so.5
    #3 0x4234bd58 in ?? ()
    Backtrace stopped: frame did not save the PC

    As mentioned before, I do not believe the JSC has a logical problem here, but possible I have a wrong configuration in the tool-chain, but would be nice to have some hints where to look for.

    Regards,
    Michael



  • Sound like a bug in " Cannot access memory at address 0xfffffffb", please open an issue in http://bugreports.qt-project.org/

    Note: In issue add an project example of your problem compressed (tar.gz, zip, etc).


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.