Questions about catchsegv output

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

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  trap00%000300, bit 2 of the DSISR should be cleared but it
reporting dsi20%000000 (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 00%254618 sp =7f991840 r2 30%025800 r3 11%545fb8  trap00%000300
r4 00%010101 r5 00%0021f0 r6 00%000a37 r7 00%39c718   sr010%021690
sr100%00d032
r8 70%ab8b61 r9 00%000000 r1000%000006 r1170%ab8b61   dar00%01013d
dsi20%000000
r1222%000422 r1310%06e4b0 r1410%060000 r1510%060000   r3*00%000008
r1610%060000 r1710%060000 r1810%060000 r1910%060000
r2010%060000 r21=7f9918a0 r22=7f99189c r23=7f991898    lr10%014f54
xer00%000000
r2400%000000 r2511%5465c8 r2610%025cc4 r2710%1b21e0    mq00%000000
ctr10%02136c
r2811%545fb8 r2900%000008 r3000%000006 r3110%1b2200  fscr00%008000
ccr42%022424

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]

Site Timeline