Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-5513

QTJSC::FunctionExecutable::compile crashes in maemo N900

    XMLWordPrintable

Details

    • 7faa417e1a2c0e85e5ac2c647c099c3f972141a5, c8de2b42348eb8665bee3948895c397c4a364251

    Description

      SOFTWARE VERSION:
      N900 w42 image + qt-x11-maemo (Fri Oct 30, commit 618411dcfc72a1852bb582bb71d2f827e9404c92) built under Maemo 5 Final SDK

      GVB have been used as test case: http://qt.gitorious.org/+qt-performance-test-developers/qt/qt-performance-test-developers-clone/trees/master/tests/benchmarks/uimodels/GraphicsViewBenchmark
      use master 401bb5e57cfb2dcf979e935ee9519e4902d3c041 of GVB or attached tarball

      STEPS TO REPRODUCE THE PROBLEM:

      1. install Maemo5 SDK as described here http://wiki.maemo.org/Documentation/Maemo5_Final_Installation

      2. login to sbox and select armel target

      3. clone x11-maemo, see http://qt.gitorious.org/+qt-developers/qt/x11-maemo

      4. configure and built qt:

      [sbox-FREMANTLE_ARMEL: ~/src/qt-x11-maemo] > ./configure -prefix /usr/local/Trolltech/Qt-4.6.0-10-30 -opengl es2 -platform linux-g++-gles2-experimental -openssl -webkit -phonon -script -scripttools -nomake examples -nomake tests -nomake docs -nomake demos -nomake tools -no-javascript-jit && make

      `-no-javascript-jit' is optional, crash can be reproduced with both jit and no-jit versions

      5. make install

      6. scp /usr/local/Trolltech/Qt-4.6.0-10-30/lib to N900, directly to /usr/local or e.g. to /opt (if there is no space in /usr/local). create corresponding symlink or use LD_LIBRARY_PATH later, when launching application

      7. built GVB from attached tarball against just installed qt:
      [sbox-FREMANTLE_ARMEL: ~/GraphicsViewBenchmark] > /usr/local/Trolltech/Qt-4.6.0-10-30/bin/qmake && make

      8. scp GVB to device:
      [sbox-FREMANTLE_ARMEL: ~/GraphicsViewBenchmark] > cd ../
      [sbox-FREMANTLE_ARMEL: ~] > scp -r GraphicsViewBenchmark/ root@<device-IP>:/home/user

      9. ssh to device and run GVB auto tests (or use X Terminal in device)
      $ ssh root@<device-IP>:/home/user
      ...
      Nokia-N900-42-6:~# cd /home/user/
      Nokia-N900-42-6:/home/user# chown -R user:users GraphicsViewBenchmark/
      Nokia-N900-42-6:/home/user# su user
      ...
      Nokia-N900-42-6:~$ ./GraphicsViewBenchmark/testautom/tst_GraphicsViewBenchmark

      EXPECTED OUTCOME:

      GVB shows contacts list and runs tests from testscript.js

      ACTUAL OUTCOME:

      GVB shows main view with topbar and crashes

      Nokia-N900-42-6:~$ ./GraphicsViewBenchmark/testautom/tst_GraphicsViewBenchmark
      Loaded plugin!
      Segmentation fault (core dumped)
      Nokia-N900-42-6:~$

      REPRODUCIBILITY:
      always

      EXTRA SOFTWARE INSTALLED:

      I use RD, not PR image in N900, so ssh, etc. are pre-installed

      OTHER COMMENTS:

      1. You can see how gui should look like by running `./GraphicsViewBenchmark/testmanual/graphicsviewbenchmark' in device
      and/or by running `./GraphicsViewBenchmark/testautom/tst_GraphicsViewBenchmark' e.g in Linux Desktop, default script works correct there

      2. There are testautom_jit_coredump-backtrace.txt and testautom_no-jit_coredump-backtrace.txt backtraces (see step 4. for info) from _bt_ tarball
      These are crossed in QTJSC::FunctionExecutable::compile, this is why I guess it's QTJSC bug, no other reason

      3. Just in case attached modified script (testscript.js is original one), that works in N900 with same `./GraphicsViewBenchmark/testautom/tst_GraphicsViewBenchmark', you need to ` ./GraphicsViewBenchmark/testautom/tst_GraphicsViewBenchmark -script-name testscript_N900_tricks.js' in order to test this

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shausman Simon Hausmann
              tatiana Tatiana Meshkova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes