2009-04-01 19:31:17     Qt 4.5. Data access misaligned address violation

Document created by Aaronwu Employee on Aug 14, 2013
Version 1Show Document
  • View in full screen mode

2009-04-01 19:31:17     Qt 4.5. Data access misaligned address violation

Alexander Buryak (UKRAINE)

Message: 71984   

 

Problem with  Qt applications:

 

./calculator -qws

Data access misaligned address violation

- Attempted misaligned data memory or data cache access.

Deferred Exception context

CURRENT PROCESS:

COMM=calculator PID=477

CPU = 0

TEXT = 0x00988000-0x0098fe68        DATA = 0x02e2ee68-0x02e2ff68

BSS = 0x02e2ff68-0x003a0000 USER-STACK = 0x003bfe40

 

return address: [0x02d2fafe]; contents of:

0x02d2fad0: 9117 523e 6460 0983 1fe5 0803 51fa 181c

0x02d2fae0: 0000 0000 0000 ac51 0c41 1807 3071 9109

0x02d2faf0: 520e 6460 0803 1820  322a 0c40 5a95 [bc51]

0x02d2fb00: bc90 1818 bc42 0c41 1802 bc8a 324a 9317

 

SEQUENCER STATUS:               Not tainted

SEQSTAT: 00062024 IPEND: 0030 SYSCFG: 0006

EXCAUSE   : 0x24

interrupts disabled

physical IVG5 asserted : <0xffa00be4> { _evt_ivhw + 0x0 }

RETE: <0x00000000> /* Maybe null pointer? */

RETN: <0x009b2000> /* kernel dynamic memory */

RETX: <0x00000480> /* Maybe fixed code section */

RETS: <0x02d2f6c6> [ /lib/libc.so.0 + 0x2f6c6 ]

PC : <0x02d2fafe> [ /lib/libc.so.0 + 0x2fafe ]

DCPLB_FAULT_ADDR: <0x5ffd6100> /* kernel dynamic memory */

ICPLB_FAULT_ADDR: <0x02d2fafe> [ /lib/libc.so.0 + 0x2fafe ]

 

PROCESSOR STATE:

R0 : 02e7941c    R1 : 00000100    R2 : 5fdce10a    R3 : 5fdde206

R4 : 02e79be0    R5 : 02e79520    R6 : 02e79510    R7 : 5fdcef6e

P0 : 00000000    P1 : 02e79510    P2 : 5ffd60fe    P3 : 02e7951c

P4 : 0064a664    P5 : 5fdce10a    FP : 003bf654    SP : 009b1f24

LB0: 02d1f99d    LT0: 02d1f99c    LC0: 00000000

LB1: 006b4d4d    LT1: 006b4d4c    LC1: 00000000

B0 : 00000000    L0 : 00000000    M0 : 00000000    I0 : 003bf634

B1 : 00000000    L1 : 00000000    M1 : 00000000    I1 : 00000000

B2 : 00000000    L2 : 00000000    M2 : 00000000    I2 : 00000000

B3 : 00000000    L3 : 00000000    M3 : 00000000    I3 : 00000000

A0.w: 00000000   A0.x: 00000000   A1.w: 00000000   A1.x: 00000000

USP : 003bf654 ASTAT: 02003024

 

Hardware Trace:

   0 Target : <0x00004a88> { _trap_c + 0x0 }

     Source : <0xffa0066a> { _exception_to_level5 + 0x9e } CALL pcrel

   1 Target : <0xffa005cc> { _exception_to_level5 + 0x0 }

     Source : <0xffa0049a> { _bfin_return_from_exception + 0xe } RTX

   2 Target : <0xffa0048c> { _bfin_return_from_exception + 0x0 }

     Source : <0xffa00522> { _ex_trap_c + 0x66 } JUMP.S

   3 Target : <0xffa004bc> { _ex_trap_c + 0x0 }

     Source : <0xffa00704> { _trap + 0x38 } JUMP (P4)

   4 Target : <0xffa006ea> { _trap + 0x1e }

     Source : <0xffa006e6> { _trap + 0x1a } IF !CC JUMP

   5 Target : <0xffa006cc> { _trap + 0x0 }

     Source : <0x02d2fafc> [ /lib/libc.so.0 + 0x2fafc ] 0x5a95

   6 Target : <0x02d2faca> [ /lib/libc.so.0 + 0x2faca ]

     Source : <0x02d2fa90> [ /lib/libc.so.0 + 0x2fa90 ] IF !CC JUMP

   7 Target : <0x02d2fa8a> [ /lib/libc.so.0 + 0x2fa8a ]

     Source : <0x02d2fa86> [ /lib/libc.so.0 + 0x2fa86 ] JUMP.S

   8 Target : <0x02d2fa74> [ /lib/libc.so.0 + 0x2fa74 ]

     Source : <0x02d0bc5a> [ /lib/libc.so.0 + 0xbc5a ] JUMP (P1)

   9 Target : <0x02d0bc52> [ /lib/libc.so.0 + 0xbc52 ]

     Source : <0x02d2f6c2> [ /lib/libc.so.0 + 0x2f6c2 ] CALL pcrel

10 Target : <0x02d2f6ba> [ /lib/libc.so.0 + 0x2f6ba ]

     Source : <0x02e66462> [ /lib/libpthread.so.0 + 0x6462 ] RTS

11 Target : <0x02e6645c> [ /lib/libpthread.so.0 + 0x645c ]

     Source : <0x02e66550> [ /lib/libpthread.so.0 + 0x6550 ] JUMP.S

12 Target : <0x02e6654e> [ /lib/libpthread.so.0 + 0x654e ]

     Source : <0x02e68690> [ /lib/libpthread.so.0 + 0x8690 ] RTS

13 Target : <0x02e6868a> [ /lib/libpthread.so.0 + 0x868a ]

     Source : <0x02e6861c> [ /lib/libpthread.so.0 + 0x861c ] IF !CC JUMP

14 Target : <0x02e6861a> [ /lib/libpthread.so.0 + 0x861a ]

     Source : <0x00000428> /* Maybe fixed code section */ RTS

15 Target : <0x00000420> /* Maybe fixed code section */

     Source : <0x02e68618> [ /lib/libpthread.so.0 + 0x8618 ] CALL (P2)

Userspace Stack

Stack info:

SP: [0x003bf654] <0x003bf654> [ calculator + 0x1f654 ]

FP: (0x003bf7a4)

Memory from 0x003bf650 to 003c0000

003bf650: 003bf658 [003bf678]<02d2f6c6> 02e7951c 000100fc 5fdce10a 00207190 <00647810>

003bf670:<01960344><003bf688> 003bf6a4 <006e433e> 00207160 0064a664 <00647810> 02ed2078

003bf690: 00000000 00000100 003df248 003df248 <02d2f5a8> 003bf6cc <018b75e8> 0064a65c

003bf6b0:<00647810><00647810> 00207154 003df248 003bf6f4 003bf6cc 02e79604 003bf6f8

003bf6d0:<018b7b26> 0064a694 00207148 <00647810><00647810> 003df528 003df528 003df248

003bf6f0:<02d3196a> 02e7bc6c 003bf71c <018d79fe> 0064a694 00207148 <00647810><00647810>

003bf710: 00000000 02e2429c 02e79604 <003bf740><018d7a8c> 0063cfbc 00000005 <00647810>

003bf730: 003df214 <00643668> 00000000 0064241c 003bf754 <018d7ab4> 02e70b14 003bf76c

003bf750:<0195f056> 003bf76c <0195f056> 0184b870 <00c129c4> 00cec78c 00000006 003bf784

003bf770:<0184b882> 00cec650 02e2401c 0000000d 00cec770 003bfc48 <00c15a76><00647810>

003bf790: 00c16cac 02e2411c 003bff20 <02e2fe60> 00000000 (00000000)<02cc16b2> 00000000

003bf7b0: 02e2401c 02ee15ac 00000000 02e2401c 006a8553 003bf7d0 00ceced0 006a8549

003bf7d0: 003bf7dc 02e2401c 006a853f 00000000 00cecd9c 02e6322f 00000000 02e2401c

003bf7f0: 02e28772 00000000 02e2401c 02e2d4f7 00000000 02e2401c 02e310b6 003bf818

003bf810: 02e2401c <02e310a8> 00000000 00ceced0 0182dfb5 003bf830 02e2401c 0182dfa7

003bf830: 003bf83c 00ceced0 0182df9d 003bf848 00cecd9c 0182df8e 003bf854 00cecc64

003bf850: 0182df83 003bf860 00cec9f4 0182df73 003bf86c 00cecb28 0182df68 003bf878

003bf870: 00cec8c0 0182df5e 00000000 00cec78c 02f125fe 003bf890 02e2401c 02f125f0

003bf890: 003bf89c 00ceced0 02f125e6 003bf8a8 00cecd9c  02f125d7 003bf8b4 00cecc64

003bf8b0: 02f125cc 003bf8c0 00cec9f4 02f125bc 003bf8cc 00cecb28 02f125b1 003bf8d8

003bf8d0: 00cec8c0 02f125a7 003bf8e4 00cec78c <02f12598> 00000000 00cec650 02e429f9

003bf8f0: 003bf8fc 02e2401c 02e429eb 003bf908 00ceced0 02e429c3 003bf914 00cecd9c

003bf910: 02e429b9 00000000 00cec78c 02e22757 003bf92c 02e2401c 02e22749 003bf938

003bf930: 00ceced0 <02e2273e> 00000000 00cec9f4 010c83d6 003bf950 02e2401c 010c83c8

003bf950: 003bf95c 00ceced0 010c83be 003bf968 00cecd9c 010c83af 003bf974 00cecc64

003bf970: 010c83a4 003bf980 00cec9f4 010c8394 003bf98c 00cecb28 010c8389 003bf998

003bf990: 00cec8c0 010c837f 003bf9a4 00cec78c 010c8370 003bf9b0 00cec650 010c835e

003bf9b0: 003bf9bc 00cec510 010c8350 003bf9c8 00cec3d4 010c8341 00000000 00cec298

003bf9d0: 0098b23f 003bf9e0 02e2401c 0098b231 003bf9ec 00ceced0 0098b227 003bf9f8

003bf9f0: 00cecd9c 0098b218 003bfa04 00cecc64 0098b208 003bfa10 00cecb28 0098b1fd

003bfa10: 003bfa1c 00cec9f4 0098b1f2 003bfa28 00cec8c0 0098b1e8 003bfa34 00cec78c

003bfa30: 0098b1d9 003bfa40 00cec650 0098b1c7 003bfa4c 00cec510 0098b1b9 003bfa58

003bfa50: 00cec3d4 0098b1aa 003bfa64 00cec298 0098b17b 00000000 00cec15c 00000000

003bfa70: 00cec028 00000000 003df218 00c170c4 00c16bb0 003df214 00000000 00000000

003bfa90: 003df4b0 003df494 003df4a4 003df52c 003df4d0 003df4d4 003df210 003bfa54

003bfab0: 00c170c4 00c16cb8 00c170c4 00c16c38 003df214 00c16c08 00000000 00000000

003bfad0: 00000000 00000000 003bfda0 00988000 00000000 00000001 00cec000 00000000

003bfaf0: 00000000 003bff00 003df248 003bff20 00000000 00000000 00000000 00000000

003bfb10: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

003bfb30: 00000000 00000000 00000000 00000000 00000000 00001a87 00000218 <02e2fe60>

003bfb50: 00988128 009897b8 00988aa8 00000000 00000000 00000000 00001ab4 00000010

003bfb70: 00003ac0 0000779c 00000000 00000000 00000000  0098b430 00000690 00000008

003bfb90: 00000011 00000000 00000000 0098b8a8 00000000 00000000 00000000 00000000

003bfbb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

003bfbd0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001

003bfbf0: 00000165 000181ed 00000000 00000000 00007758 00001000 00000040 459857f6

003bfc10: 00000000 49d3c29a 00000000 45984f03 00000000 00000000 00000000 0184b870

003bfc30:<00647810> 00000000 00000000 00000000 00000000 02e2426c 003bfe00 <00c162aa>

003bfc50: 003bff00 000005c0 00000002 00000002 00000512 003df248 003bfc98 003bff00

003bfc70: 003df248 003bfd88 003bfe50 003bfe44 003bff20 003df248 003bff00 003df248

003bfc90: 003bfe44 003bfe50 003bff00 003df248 00988114 003df178 00000000 00000000

003bfcb0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

003bfcd0: 00000000 00000000 00000000 00000000 00000000 00000000 003df248 00c100d4

003bfcf0: 00c10774 00c10304 00000000 00000000 00000000 00000429 00000010 00000000

003bfd10: 00000000 0000040e 00000000 00000000 00c10ba0 000005c0 00000008 00000000

003bfd30: 00000000 00000000 00000000 00000001 00000000 00000000 00000000 00000000

003bfd50: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

003bfd70: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

003bfd90: 00000000 00000000 00000000 00000000 00000003 00988034 00000004 00000020

003bfdb0: 00000005 00000007 00000006 00001000 00000007 00c10000 00000008 00000000

003bfdd0: 00000009 0098bf18 00000000 00000000 0000000b 00000000 0000000c 00000000

003bfdf0: 0000000d 00000000 0000000e 00000000 001ffa2c <00c111b0> 003df248 02ce4004

003bfe10: 003df178 003bff00 003bff20 <00c11164> 003df248 003bff20 00000000 003df178

003bfe30: 003bfe38 003bfe40 00000000 00000000 00000002 003bff4c 003bff59 00000000

003bfe50:<003bff5e> 003bff76 003bff88 003bff9d 003bffac  003bffb3 003bffc1 003bffe4

003bfe70: 00000000 00000010 00000000 00000006 00001000 00000011 00000064 00000003

003bfe90: 00988034 00000004 00000020 00000005 00000007 00000007 00c10000 00000008

003bfeb0: 00000000 00000009 0098bf18 0000000b 00000000 0000000c 00000000 0000000d

003bfed0: 00000000 0000000e 00000000 00000017 00000000 0000001f 0001ffef 00000000

003bfef0: 00000000 00000000 00000000 00000000 00020000 00c10000 00000000 <000070ec>

003bff10: 003df0ec 0000b0ec 00000450 00000000 00020000 00988000 00000000 00007e68

003bff30: 02e2ee68 0000be68 00001100 00000000 00000000 00000000 00000000 61632f2e

003bff50: 6c75636c 726f7461 77712d00 53540073 5f42494c 45444246 45434956 65642f3d

003bff70: 62662f76 53540031 5f42494c 2f3d4246 2f766564 00316266 494c5354 42465f42

003bff90: 3d564544 7665642f 3162662f 44424600 2f3d5645 2f766564 00316266 454d4f48

003bffb0: 53002f3d 4c4c4548 69622f3d 68732f6e 54415000 622f3d48 2f3a6e69 2f727375

003bffd0: 3a6e6962 6962732f 752f3a6e 732f7273 <006e6962> 4d524554 6e696c3d 2e007875

003bfff0: 6c61632f 616c7563 00726f74 00000000 353a3133

Return addresses in stack:

    address : <0x02d2f6c6> [ /lib/libc.so.0 + 0x2f6c6 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x01960344> [ /usr/lib/libQtCore.so.4 + 0x160344 ]

    address : <0x003bf688> [ calculator + 0x1f688 ]

    address : <0x006e433e> [ /lib/libstdc++.so.6 + 0x6433e ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x02d2f5a8> [ /lib/libc.so.0 + 0x2f5a8 ]

    address : <0x018b75e8> [ /usr/lib/libQtCore.so.4 + 0xb75e8 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x018b7b26> [ /usr/lib/libQtCore.so.4 + 0xb7b26 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x02d3196a> [ /lib/libc.so.0 + 0x3196a ]

    address : <0x018d79fe> [ /usr/lib/libQtCore.so.4 + 0xd79fe ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x003bf740> [ calculator + 0x1f740 ]

    address : <0x018d7a8c> [ /usr/lib/libQtCore.so.4 + 0xd7a8c ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x00643668> [ calculator + 0x43668 ]

    address : <0x018d7ab4> [ /usr/lib/libQtCore.so.4 + 0xd7ab4 ]

    address : <0x0195f056> [ /usr/lib/libQtCore.so.4 + 0x15f056 ]

    address : <0x0195f056> [ /usr/lib/libQtCore.so.4 + 0x15f056 ]

    address : <0x00c129c4> [ /lib/ld-uClibc.so.0 + 0x29c4 ]

    address : <0x0184b882> [ /usr/lib/libQtCore.so.4 + 0x4b882 ]

    address : <0x00c15a76> [ /lib/ld-uClibc.so.0 + 0x5a76 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x02e2fe60> [ /mnt/calculator + 0x8e60 ]

   frame 1 : <0x02cc16b2> [ /lib/libgcc_s.so.1 + 0x16b2 ]

    address : <0x02e310a8> [ /lib/libz.so.1 + 0x10a8 ]

    address : <0x02f12598> [ /usr/lib/libQtNetwork.so.4 + 0x12598 ]

    address : <0x02e2273e> [ /usr/lib/libts-0.0.so.0 + 0x73e ]

    address : <0x02e2fe60> [ /mnt/calculator + 0x8e60 ]

    address : <0x00647810> [ calculator + 0x47810 ]

    address : <0x00c162aa> [ /lib/ld-uClibc.so.0 + 0x62aa ]

    address : <0x00c111b0> [ /lib/ld-uClibc.so.0 + 0x11b0 ]

    address : <0x00c11164> [ /lib/ld-uClibc.so.0 + 0x1164 ]

    address : <0x003bff5e> [ calculator + 0x1ff5e ]

    address : <0x000070ec> { _module_arch_cleanup + 0x10 }

    address : <0x006e6962> [ /lib/libstdc++.so.6 + 0x66962 ]

Bus error

 

Who did start successfully such programs?

QuoteReplyEditDelete

 

 

2009-04-02 15:43:06     Re: Qt 4.5. Data access misaligned address violation

Nikolay Chokoev (IRELAND)

Message: 72072   

 

Do you build FDPIC libraries?

QuoteReplyEditDelete

 

 

2009-04-02 17:12:36     Re: Qt 4.5. Data access misaligned address violation

Alexander Buryak (UKRAINE)

Message: 72076   

 

Yes,FDPIC.

QuoteReplyEditDelete

 

 

2009-04-03 10:33:16     Re: Qt 4.5. Data access misaligned address violation

Nikolay Chokoev (IRELAND)

Message: 72118   

 

...the calc works fine on my target... (ezkit bf527 & qt4.5)

Attachments

    Outcomes