2009-04-30 02:51:47 Data access misaligned address violation running two programms together
Patrick Hotz (GERMANY)
Message: 73460
Hi,
i have a big problem using two programms together...but one by one....
I use uClinux-dist2008R1 and two programms. One written by c colleague and the other is a finished programm from ADI.
If i run each programm for his own there are no problems at all, but if the programms are running together at the same time the uClinux crashes....
I dont know what this debugging messages mean, maybe there is someone who can explain me what this means and what i can do to fix it.
Thank you very much.
Data access misaligned address violation
- Attempted misaligned data memory or data cache access.
Defered Exception context
CURRENT PROCESS:
COMM=BWW_IP_Server_0 PID=111
TEXT = 0x00480040-0x0049b980 DATA = 0x0049b990-0x004a48c0
BSS = 0x004a48c0-0x004a72c0 USER-STACK = 0x004a8ee8
return address: [0x00482468]; contents of:
0x00482440: ad02 e538 ffdc add2 bafa ad02 e538 ffdd
0x00482450: add3 ad02 e538 ffde a1d7 ad02 e538 ffdf
0x00482460: add2 bb0a ad02 b808 [add2] bb1a ad02 add2
0x00482470: bb2a b818 ad02 b828 add2 bb3a ad02 b838
SEQUENCER STATUS: Not tainted
SEQSTAT: 00000024 IPEND: 0030 SYSCFG: 0006
HWERRCAUSE: 0x0
EXCAUSE : 0x24
RETE: <0x00000000> /* Maybe null pointer? */
RETN: <0x00a8a000> [ BWW_IP_Server_0 + 0x0 ]
RETX: <0x00482468> [ BWW_IP_Server_0 + 0x2428 ]
RETS: <0x0048241a> [ BWW_IP_Server_0 + 0x23da ]
PC : <0x00482468> [ BWW_IP_Server_0 + 0x2428 ]
DCPLB_FAULT_ADDR: <0x442f748c> /* unknown address */
ICPLB_FAULT_ADDR: <0x00482468> [ BWW_IP_Server_0 + 0x2428 ]
PROCESSOR STATE:
R0 : 00000000 R1 : 00000031 R2 : 00000001 R3 : ffffffbb
R4 : 00a918d0 R5 : 00000001 R6 : 00a903ec R7 : 00a90a94
P0 : 00000000 P1 : 00000000 P2 : 442f7473 P3 : 00a90b50
P4 : 00a9198c P5 : 00a91a48 FP : 00a839ac SP : 00a89f24
LB0: 0049276f LT0: 0049275c LC0: ffffffff
LB1: 00481e27 LT1: 00481e00 LC1: 00000000
B0 : 00000000 L0 : 00000000 M0 : 00000000 I0 : 00000003
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: 00000009 A0.x: 00000000 A1.w: 00000009 A1.x: 00000000
USP : 00a838e8 ASTAT: 02001025
Hardware Trace:
0 Target : <0x00103830> { _trap_c + 0x0 }
Source : <0xffa0077c> { _exception_to_level5 + 0xb4 }
1 Target : <0xffa006c8> { _exception_to_level5 + 0x0 }
Source : <0xffa00624> { _ex_trap_c + 0x5c }
2 Target : <0xffa005c8> { _ex_trap_c + 0x0 }
Source : <0xffa0081c> { _trap + 0x28 }
3 Target : <0xffa007f4> { _trap + 0x0 }
Source : <0x00482466> [ BWW_IP_Server_0 + 0x2426 ]
4 Target : <0x0048241a> [ BWW_IP_Server_0 + 0x23da ]
Source : <0x0048a6b8> [ BWW_IP_Server_0 + 0xa678 ]
5 Target : <0x0048a6b0> [ BWW_IP_Server_0 + 0xa670 ]
Source : <0x0048a6ac> [ BWW_IP_Server_0 + 0xa66c ]
6 Target : <0x0048a6a8> [ BWW_IP_Server_0 + 0xa668 ]
Source : <0x0048a6a4> [ BWW_IP_Server_0 + 0xa664 ]
7 Target : <0x0048a6a2> [ BWW_IP_Server_0 + 0xa662 ]
Source : <0x0048a5f2> [ BWW_IP_Server_0 + 0xa5b2 ]
8 Target : <0x0048a5ee> [ BWW_IP_Server_0 + 0xa5ae ]
Source : <0x0048a5de> [ BWW_IP_Server_0 + 0xa59e ]
9 Target : <0x0048a5da> [ BWW_IP_Server_0 + 0xa59a ]
Source : <0x0048a5e8> [ BWW_IP_Server_0 + 0xa5a8 ]
10 Target : <0x0048a5e2> [ BWW_IP_Server_0 + 0xa5a2 ]
Source : <0x0048a5d8> [ BWW_IP_Server_0 + 0xa598 ]
11 Target : <0x0048a5c6> [ BWW_IP_Server_0 + 0xa586 ]
Source : <0x0048a5c0> [ BWW_IP_Server_0 + 0xa580 ]
12 Target : <0x0048a5b0> [ BWW_IP_Server_0 + 0xa570 ]
Source : <0x0048a69e> [ BWW_IP_Server_0 + 0xa65e ]
13 Target : <0x0048a694> [ BWW_IP_Server_0 + 0xa654 ]
Source : <0x0048a65e> [ BWW_IP_Server_0 + 0xa61e ]
14 Target : <0x0048a65a> [ BWW_IP_Server_0 + 0xa61a ]
Source : <0x0048a6aa> [ BWW_IP_Server_0 + 0xa66a ]
15 Target : <0x0048a6a8> [ BWW_IP_Server_0 + 0xa668 ]
Source : <0x0048a6a4> [ BWW_IP_Server_0 + 0xa664 ]
Stack from 00a89f04:
00000000 ffa00780 0027c628 0027c628 0027c624 00000001 00489288 00490052
00482468 00000030 00000024 00000000 00a8a000 00482468 00482468 0048241a
00000000 02001025 00481e27 0049276f 00481e00 0049275c 00000000 ffffffff
00000009 00000000 00000009 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000 00000000 00000000 00000003 00a838e8 00a839ac 00a91a48 00a9198c
TranslateQuoteReplyEditDelete
2009-04-30 03:05:07 Re: Data access misaligned address violation running two programms together
Mike Frysinger (UNITED STATES)
Message: 73461
the documentation explains the message dump pretty clearly:
docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:debugging_applications#analyzing_traces