Help!

Questions about catchsegv output

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded RSS
Next:  Simlink and associated file properties (script qu..  
Author Message
Washington Ratso
External


Since: Jun 01, 2009
Posts: 2



PostPosted: Mon Jun 01, 2009 2:34 pm    Post subject: Questions about catchsegv output
Archived from groups: comp>os>linux>embedded, others (more info?)

I am running Linux 2.6.26 on an MPC 8248.

I am calling my program with catchsegv to investigate a segmentation
fault. As a result, I get the information below.

1. Does anyone know what CCR is? I have figured out what other
abbreviations are, e.g., sr1 is SRR1, but I am not sure what CCR is.

2. With trap=00000300, bit 2 of the DSISR should be cleared but it
reporting dsi=20000000 (which I believe is DSISR). Is dsi the value
for the DSISR?



Segmentation fault (core dumped)
*** Segmentation fault
Register dump:
fp0-3: fff80000000005dc 0000000000000000 0000000000000000
0000000000000000
fp4-7: 0000000000000000 0000000000000000 0000000000000000
0000000000000000
fp8-11: 0000000000000000 0000000000000000 0000000000000000
4330000000000000
fp12-15: 0000000000000000 41e0000000000000 0000000000000000
0000000000000000
fp16-19: 0000000000000000 0000000000000000 0000000000000000
0000000000000000
fp20-23: 0000000000000000 0000000000000000 0000000000000000
0000000000000000
fp24-27: 0000000000000000 0000000000000000 0000000000000000
0000000000000000
fp28-31: 0000000000000000 0000000000000000 0000000000000000
0000000000000000
r0 =00254618 sp =7f991840 r2 =30025800 r3 =11545fb8 trap=00000300
r4 =00010101 r5 =000021f0 r6 =00000a37 r7 =0039c718 sr0=10021690
sr1=0000d032
r8 =70ab8b61 r9 =00000000 r10=00000006 r11=70ab8b61 dar=0001013d
dsi=20000000
r12=22000422 r13=1006e4b0 r14=10060000 r15=10060000 r3*=00000008
r16=10060000 r17=10060000 r18=10060000 r19=10060000
r20=10060000 r21=7f9918a0 r22=7f99189c r23=7f991898 lr=10014f54
xer=00000000
r24=00000000 r25=115465c8 r26=10025cc4 r27=101b21e0 mq=00000000
ctr=1002136c
r28=11545fb8 r29=00000008 r30=00000006 r31=101b2200 fscr=00008000
ccr=42022424

Backtrace:
/lib/libSegFault.so[0xffad45c]
[0x10091d08]
[0x3c10d9f1]
[0x10014f54]
[0x10016cf8]
[0x10013078]
[0x100025e0]
[0x10000f70]
/lib/libc.so.6[0xfd43260]
/lib/libc.so.6[0xfd433ec]

Memory map:

0fc12000-0fc1c000 r-xp 00000000 1f:01 32091 /lib/libnss_files-2.6.so
0fc1c000-0fc5b000 ---p 0000a000 1f:01 32091 /lib/libnss_files-2.6.so
0fc5b000-0fc5c000 r--p 00009000 1f:01 32091 /lib/libnss_files-2.6.so
0fc5c000-0fc5d000 rwxp 0000a000 1f:01 32091 /lib/libnss_files-2.6.so
0fc6d000-0fc7d000 r-xp 00000000 1f:01 32132 /lib/libresolv-2.6.so
0fc7d000-0fcbc000 ---p 00010000 1f:01 32132 /lib/libresolv-2.6.so
0fcbc000-0fcbd000 r--p 0000f000 1f:01 32132 /lib/libresolv-2.6.so
0fcbd000-0fcbe000 rwxp 00010000 1f:01 32132 /lib/libresolv-2.6.so
0fcbe000-0fcc0000 rwxp 0fcbe000 00:00 0
0fcd0000-0fcd4000 r-xp 00000000 1f:01 32087 /lib/libnss_dns-2.6.so
0fcd4000-0fd13000 ---p 00004000 1f:01 32087 /lib/libnss_dns-2.6.so
0fd13000-0fd14000 r--p 00003000 1f:01 32087 /lib/libnss_dns-2.6.so
0fd14000-0fd15000 rwxp 00004000 1f:01 32087 /lib/libnss_dns-2.6.so
0fd25000-0fe61000 r-xp 00000000 1f:01 32139 /lib/libc-2.6.so
0fe61000-0fea0000 ---p 0013c000 1f:01 32139 /lib/libc-2.6.so
0fea0000-0fea1000 r--p 0013b000 1f:01 32139 /lib/libc-2.6.so
0fea1000-0fea5000 rwxp 0013c000 1f:01 32139 /lib/libc-2.6.so
0fea5000-0fea8000 rwxp 0fea5000 00:00 0
0feb8000-0ff58000 r-xp 00000000 1f:01 32103 /lib/libm-2.6.so
0ff58000-0ff97000 ---p 000a0000 1f:01 32103 /lib/libm-2.6.so
0ff97000-0ff98000 r--p 0009f000 1f:01 32103 /lib/libm-2.6.so
0ff98000-0ff9b000 rwxp 000a0000 1f:01 32103 /lib/libm-2.6.so
0ffab000-0ffaf000 r-xp 00000000 1f:01 32143 /lib/libSegFault.so
0ffaf000-0ffee000 ---p 00004000 1f:01 32143 /lib/libSegFault.so
0ffee000-0ffef000 r--p 00003000 1f:01 32143 /lib/libSegFault.so
0ffef000-0fff0000 rwxp 00004000 1f:01 32143 /lib/libSegFault.so
10000000-10026000 r-xp 00000000 1f:01 34549 /AAESystems/bin/gateway
10066000-10067000 rwxp 00026000 1f:01 34549 /AAESystems/bin/gateway
10067000-12338000 rwxp 10067000 00:00 0 [heap]
30000000-3001d000 r-xp 00000000 1f:01 32122 /lib/ld-2.6.so
3001d000-30020000 rw-p 3001d000 00:00 0
3005c000-3005e000 rwxp 0001c000 1f:01 32122 /lib/ld-2.6.so
7f97d000-7f992000 rw-p 7ffeb000 00:00 0 [stack]
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Embeded All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum