Brad H.
2011-07-22 06:15:42 UTC
For every program that I try to run it misses on an address that is not
in any segment and so I get a seg fault. I can't figure this out at all.
Any guesses?
p testbin/argtest 3 4
faultaddress: 0x7fffffb0
stack
p: 0x34000 v:0x7ffff000 loading
0x34000 == 0x34000
faultaddress: 0x7fffffb0
stack
p: 0x34000 v:0x7ffff000 loaded
0x34000 == 0x34000
faultaddress: 0x7fffffb0
stack
p: 0x34000 v:0x7ffff000 loaded
0x34000 == 0x34000
faultaddress: 0x4000b0
segment1
p: 0x35000 v:0x400000 loading
0x35000 == 0x35000
faultaddress: 0x401000
0x401000 is not between
( 0x400000, 0x401000 )
( 0x440000, 0x441000 )
( 0x7fff4000, 0x80000000 )
Fatal user mode trap 2 (TLB miss on load, epc 0x400ff8, vaddr 0x401000)
in any segment and so I get a seg fault. I can't figure this out at all.
Any guesses?
p testbin/argtest 3 4
faultaddress: 0x7fffffb0
stack
p: 0x34000 v:0x7ffff000 loading
0x34000 == 0x34000
faultaddress: 0x7fffffb0
stack
p: 0x34000 v:0x7ffff000 loaded
0x34000 == 0x34000
faultaddress: 0x7fffffb0
stack
p: 0x34000 v:0x7ffff000 loaded
0x34000 == 0x34000
faultaddress: 0x4000b0
segment1
p: 0x35000 v:0x400000 loading
0x35000 == 0x35000
faultaddress: 0x401000
0x401000 is not between
( 0x400000, 0x401000 )
( 0x440000, 0x441000 )
( 0x7fff4000, 0x80000000 )
Fatal user mode trap 2 (TLB miss on load, epc 0x400ff8, vaddr 0x401000)