Thursday, 26 February 2015

[gccsdk] alignment error in firefox2

Hi

Testing firefox2 (the zip download, not a local build) on the imx platform shows an alignment error

The stderr o/p is included. Being unfamiliar with this backtrace I can see the issue, but would appreciate pointing to the code that is a bother.

the assembler o/p below shows the error at ldr r12,[r0,#0], and r0 (a1) is cb1071bb, which is not word aligned.. hence the problem.

As a general rule the imx is run grumbling about word alignment exceptions, so I'd like to get to the bottom of this.

Any pointers to better understanding this error dump would be appreciated. (firefox reports as 2.0.0.22(pre))

Thanks
John





Fatal signal received: Segmentation fault
Stack backtrace:
Running thread 0x11e1540
  ( 138ff38) pc:   eacb2c lr:   ead140 sp:  138ff3c  __write_backtrace()
  ( 138ffa0) pc:   eacce4 lr:   ead990 sp:  138ffa4  __unixlib_raise_signal()
  ( 138ffb0) pc:   ead894 lr:   ecc288 sp:  138ec68  __h_cback()
  Register dump at 0138ffb4:
    a1: cb1071bb a2:  138ec68 a3:        1 a4:        0
    v1: cb1071d8 v2: cb1071bb v3: cb1071a0 v4: cb1071ba
    v5: cb107190 v6:       1a sl:  138e210 fp:  138eca4
    ip:  138eca8 sp:  138ec68 lr:   ecc288 pc:   ec50a0
    cpsr: 20000110
  00ec508c : .... : 00000000 : ANDEQ   R0,R0,R0
  00ec5090 : .... : 00000000 : ANDEQ   R0,R0,R0
  00ec5094 : .... : 00000000 : ANDEQ   R0,R0,R0
  00ec5098 : .... : 00000000 : ANDEQ   R0,R0,R0
  00ec509c : .... : 00000000 : ANDEQ   R0,R0,R0
  00ec50a0 : .Àå : e590c000 : LDR     R12,[R0,#0]
  00ec50a4 : .0 ã : e3a03001 : MOV     R3,#1
  00ec50a8 : .. á : e1a01000 : MOV     R1,R0
  00ec50ac : .4ƒá : e1833403 : ORR     R3,R3,R3,LSL #8
  ( 138eca4) pc:   ecc230 lr:   e7f7ac sp:  138eca8  __addenv_to_os()
  ( 138ecc8) pc:   e7f718 lr:   ec3824 sp:  138eccc  putenv()
  ( 138ece4) pc:   140c84 lr:   ec3824 sp:  138ece8  PR_SetEnv()
  ( 138eff0) pc:     a9d0 lr:   ecb7c0 sp:  138eff4  XRE_main()
      
--
Stop press! Just announced -

Free Standard Broadband for 6 months, unlimited data, and no minimum contract

For full details of see http://www.JustAskJB.co.uk

Intrigued? Call me

John Ballance C.Eng MIET - jwb@macpcrepair.co.uk - 07976 295923

No comments:

Post a Comment