<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>106525</bug_id>
          
          <creation_ts>2013-01-09 20:27:43 -0800</creation_ts>
          <short_desc>WebKit crashed with Illegal instruction on ARM926EJ-S</short_desc>
          <delta_ts>2020-07-19 11:11:07 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>108645</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter name="Alexander O. Anisimov">alenyashka</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>hidekhan</cc>
    
    <cc>zan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>804006</commentid>
    <comment_count>0</comment_count>
    <who name="Alexander O. Anisimov">alenyashka</who>
    <bug_when>2013-01-09 20:27:43 -0800</bug_when>
    <thetext>Hi all,

I&apos;m trying to run a browser arora (http://code.google.com/p/arora/) on lpc3250.

I have configured qt 4.8.2 with following parameters:
./configure \
    -debug \
    -shared \
    -embedded arm \
    -xplatform qws/linux-arm-vfp-g++ \
    -little-endian \
    -opensource \
    -confirm-license \
    -no-cups \
    -no-qt3support \
    -openssl \
    -no-opengl \
    -no-freetype \
    -qt-gfx-linuxfb \
    -make tools \
    -make plugins \
    -webkit-debug \
    -iconv \
    -qt-kbd-tty \
    -qt-kbd-linuxinput \
    -qt-mouse-linuxtp \
    -qt-mouse-tslib \
    -qt-mouse-linuxinput \
    -I/home/alexanis/src/ltib/rootfs/usr/include/ \
    -L/home/alexanis/src/ltib/rootfs/usr/lib/

But when I try to launch the browser it failed with illegal instrutstion.

I run it in gdb and get a backtrace

(gdb) bt
#0  0x418a73c0 in JSC::ExecutableAllocator::cacheFlush () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#1  0x418a7afc in JSC::LinkBuffer::performFinalization () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#2  0x418ba20c in JSC::LinkBuffer::finalizeCode () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#3  0x4192a4a4 in JSC::JIT::privateCompileCTIMachineTrampolines () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#4  0x417f04a4 in JSC::JIT::compileCTIMachineTrampolines () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#5  0x417d5da4 in JSC::JITThunks::JITThunks () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#6  0x4182ec38 in JSC::JSGlobalData::JSGlobalData () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#7  0x4182f758 in JSC::JSGlobalData::create () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#8  0x4182f804 in JSC::JSGlobalData::createLeaked () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#9  0x4087aefc in WebCore::JSDOMWindowBase::commonJSGlobalData () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#10 0x40858e40 in WebCore::mainThreadNormalWorld () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#11 0x407a1c10 in QWebFrame::addToJavaScriptWindowObject () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#12 0x407a211c in QWebFrame::addToJavaScriptWindowObject () from /usr/local/Trolltech/QtEmbedded-4.8.2-arm/lib/libQtWebKit.so.4
#13 0x000d1754 in WebPage::addExternalBinding (this=0x230158, frame=0x232790) at webpage.cpp:225
#14 0x000d1b4c in WebPage (this=0x230158, parent=0x22ffa0) at webpage.cpp:113
#15 0x000de308 in WebView (this=0x22ffa0, parent=0x0) at webview.cpp:111
#16 0x000bf388 in TabWidget::makeNewTab (this=0x1f6bc8, makeCurrent=true) at tabwidget.cpp:396
#17 0x000c10c0 in TabWidget::newTab (this=0x1f6bc8) at tabwidget.cpp:364
#18 0x0006ab2c in BrowserMainWindow (this=0x1eb9a8, parent=0x0, flags={i = -1094345348}) at browsermainwindow.cpp:210
#19 0x0004ec1c in BrowserApplication::newMainWindow (this=0xbec59e04) at browserapplication.cpp:554
#20 0x001881f0 in main (argc=1, argv=0xbec59eb4) at main.cpp:39

I am using arm-vfp-linux-gnu-gcc
$ arm-vfp-linux-gnu-gcc -v
Using built-in specs.
Target: arm-vfp-linux-gnu
Configured with: /home/usb10132/ct1/bin/targets/src/gcc-4.3.2/configure --build=i386-build_redhat-linux-gnu --host=i386-build_redhat-linux-gnu --target=arm-vfp-linux-gnu --prefix=/home/usb10132/x-tools/arm-vfp-linux-gnu --with-sysroot=/home/usb10132/x-tools/arm-vfp-linux-gnu/arm-vfp-linux-gnu/sys-root --enable-languages=c,c++ --disable-multilib --with-arch=armv5te --with-abi=atpcs --with-cpu=arm926ej-s --with-fpu=vfp --with-float=soft --with-gmp=/home/usb10132/x-tools/arm-vfp-linux-gnu --with-mpfr=/home/usb10132/x-tools/arm-vfp-linux-gnu --with-pkgversion=crosstool-NG-1.3.1 --enable-__cxa_atexit --with-local-prefix=/home/usb10132/x-tools/arm-vfp-linux-gnu/arm-vfp-linux-gnu/sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace
Thread model: posix
gcc version 4.3.2 (crosstool-NG-1.3.1)

cpuinfo from lpc3250
# cat /proc/cpuinfo
Processor: ARM926EJ-S rev 4 (v5l)
BogoMIPS: 103.68
Features: swp half thumb fastmult vfp edsp java 
CPU implementer: 0x41
CPU architecture: 5TEJ
CPU variant: 0x0
CPU part: 0x926
CPU revision: 4
Cache type: write-back
Cache clean: cp15 c7 ops
Cache lockdown: format C
Cache format: Harvard
I size: 32768
I assoc: 4
I line length: 32
I sets: 256
D size: 32768
D assoc: 4
D line length: 32
D sets: 256

Hardware: Phytec 3250 board with the LPC3250 Microcontroller
Revision: 0000
Serial: 0000000000000000</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1361608</commentid>
    <comment_count>1</comment_count>
    <who name="Zan Dobersek">zan</who>
    <bug_when>2017-10-18 01:48:42 -0700</bug_when>
    <thetext>This is too old to be actionable.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>