What are the meaning of the items in the “alignment trap” error message?

转载 2015年11月18日 17:08:54

During my debugging, I got the following error message.

Alignment trap: my_main (29858) PC=0x00170ad8 Instr=0xe5960008 Address=0x00f28daa FSR 0x0f3

I've looked around a bit and found a lot of information on this real-time embedded website. So now I know what PC and Instr refers to, but I still haven't found anything about the Address and FSRpart.

What is FSR? What address does Address refer to? According to proc/xxxx/maps that address is even outside the scope of my program. Does anybody know what the last two items mean? I need information on these to solve this alignment problem.

MAP output

00008000-001fe000 r-xp 00000000 03:02 16204      /home/myuser/my_main
00205000-00248000 rw-p 001f5000 03:02 16204      /home/myuser/my_main
00248000-00299000 rwxp 00248000 00:00 0
40000000-40018000 r-xp 00000000 03:01 2095       /lib/ld-2.3.3.so
40018000-4001b000 rw-p 40018000 00:00 0
4001f000-40020000 r--p 00017000 03:01 2095       /lib/ld-2.3.3.so
40020000-40021000 rw-p 00018000 03:01 2095       /lib/ld-2.3.3.so
40021000-40023000 r-xp 00000000 03:01 15724      /usr/lib/libem7.so.1.0.1
40023000-40029000 ---p 00002000 03:01 15724      /usr/lib/libem7.so.1.0.1
40029000-4002b000 rw-p 00000000 03:01 15724      /usr/lib/libem7.so.1.0.1
4002b000-40031000 r-xp 00000000 03:01 2057       /lib/tls/librt-2.3.3.so
40031000-40033000 ---p 00006000 03:01 2057       /lib/tls/librt-2.3.3.so
40033000-40038000 rw-p 00000000 03:01 2057       /lib/tls/librt-2.3.3.so
40038000-40039000 r--p 00005000 03:01 2057       /lib/tls/librt-2.3.3.so
40039000-4003a000 rw-p 00006000 03:01 2057       /lib/tls/librt-2.3.3.so
4003a000-4004a000 r-xp 00000000 03:01 2060       /lib/tls/libpthread-2.3.3.so
4004a000-40051000 rw-p 00008000 03:01 2060       /lib/tls/libpthread-2.3.3.so
40051000-40052000 r--p 0000f000 03:01 2060       /lib/tls/libpthread-2.3.3.so
40052000-40053000 rw-p 00010000 03:01 2060       /lib/tls/libpthread-2.3.3.so
40053000-40055000 rw-p 40053000 00:00 0
40055000-4010e000 r-xp 00000000 03:01 15703      /usr/lib/libstdc++.so.6.0.3
4010e000-40115000 ---p 000b9000 03:01 15703      /usr/lib/libstdc++.so.6.0.3
40115000-40119000 rw-p 000b8000 03:01 15703      /usr/lib/libstdc++.so.6.0.3
40119000-4011f000 rw-p 40119000 00:00 0
4011f000-401b7000 r-xp 00000000 03:01 2076       /lib/tls/libm-2.3.3.so
401b7000-401be000 rw-p 00090000 03:01 2076       /lib/tls/libm-2.3.3.so
401be000-401bf000 r--p 00097000 03:01 2076       /lib/tls/libm-2.3.3.so
401bf000-401c0000 rw-p 00098000 03:01 2076       /lib/tls/libm-2.3.3.so
401c0000-401c8000 r-xp 00000000 03:01 2005       /lib/libgcc_s.so.1
401c8000-401c9000 rw-p 00008000 03:01 2005       /lib/libgcc_s.so.1
401c9000-402cb000 r-xp 00000000 03:01 2078       /lib/tls/libc-2.3.3.so
402cb000-402d1000 ---p 00102000 03:01 2078       /lib/tls/libc-2.3.3.so
402d1000-402d2000 rw-p 00100000 03:01 2078       /lib/tls/libc-2.3.3.so
402d2000-402d4000 r--p 00101000 03:01 2078       /lib/tls/libc-2.3.3.so
402d4000-402d6000 rw-p 00103000 03:01 2078       /lib/tls/libc-2.3.3.so
402d6000-402d8000 rw-p 402d6000 00:00 0
402d8000-402e5000 rw-s 00000000 00:07 0          /SYSV12345678 (deleted)
402e5000-402e6000 ---p 402e5000 00:00 0
402e6000-402f5000 rwxp 402e6000 00:00 0
403c1000-4049d000 rw-p 403c1000 00:00 0
7efeb000-7f000000 rwxp 7efeb000 00:00 0

相关文章推荐

intelliJ IDEA 中 SVN 报错 Error:svn: E155004There are unfinished work items in run 'svn cleanup' first

首先是svn更新时,报下面的错; Error:svn: E155004: There are unfinished work items in 'E:\xxx\intellij_work\Trunk'...

What Types of Database Questions are Asked in Interview for Testing Positions? – Testing Q&A Series

原文: http://www.softwaretestinghelp.com/what-type-of-database-questions-are-asked-in-interview-for-te...
  • xuyo
  • xuyo
  • 2011年10月30日 20:14
  • 391

What goes in to the message of a transaction signature?

I'm trying to create my own transaction from scratch, just to see how it works. I'm currently wor...

how many items in each list are twice

  • 2010年05月03日 16:38
  • 577B
  • 下载

For different transaction types,What's the meaning of fields in MTL_MATERIAL_TRANSACTIONS

Account Receipt      Account Alias Receipt Cycle Count Adjust     Intransit Receipt  ...

Logstash学习12_Got error to send bulk of actions AND Failed to flush outgoing items

Logstash错误: 在启动Logstash时,如果配置文件中,输出是ES的话,出现了一些问题,下面寻找原因: 在帖子中: https://discuss.elastic.co/t/logst...

ZOJ 3960What Kind of Friends Are You?

What Kind of Friends Are You? Time Limit: 1 Second      Memory Limit: 65536 KB Japari Park is ...

ZOJ 3960 What Kind of Friends Are You?(STL map,状态压缩)

题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5592 题意:向c个朋友询问q个问题,现在给出对于每个问题每个朋友的回...
  • mr_zj_
  • mr_zj_
  • 2017年04月24日 22:33
  • 189

17年浙江省省赛C-What Kind of Friends Are You?

这道算是一道比较麻烦的水题。麻烦是针对我来说的,因为涉及到 map 的操作和长长的题干。 本来想节选一下,但是英文的概括能力太差= =大意:多组数据。 Kaban 有 n 个朋友,...
  • Joovo
  • Joovo
  • 2017年04月22日 21:16
  • 487
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:What are the meaning of the items in the “alignment trap” error message?
举报原因:
原因补充:

(最多只允许输入30个字)