here is the output.  is there anything obvious that might be broken?

[EMAIL PROTECTED]:~/Development/M5/m5-2.0b3/build/ALPHA_SE$ ./m5.debug 
--trace-flags=Exec,Syscall,SyscallVerbose --trace-start=5278440000 
../../configs/example/se.py -c 
benchmarks/400.perlbench/exe/perlbench_base.amd64-m64-gcc41-nn -i 
benchmarks/400.perlbench/data/ref/input/checkspam.pl -o 
"-Ibenchmarks/400.perlbench/run/run_base_ref_amd64-m64-gcc41-nn.0000/lib/ 
benchmarks/400.perlbench/data/ref/input/checkspam.pl 2500 5 25 11 150 1 1 1 1"  
        
M5 Simulator System

Copyright (c) 2001-2006
The Regents of The University of Michigan
All Rights Reserved


M5 compiled Sep  7 2007 13:15:11
M5 started Fri Sep  7 14:45:45 2007
M5 executing on portonaught
command line: ./m5.debug --trace-flags=Exec,Syscall,SyscallVerbose 
--trace-start=5278440000 ../../configs/example/se.py -c 
benchmarks/400.perlbench/exe/perlbench_base.amd64-m64-gcc41-nn -i 
benchmarks/400.perlbench/data/ref/input/checkspam.pl -o 
-Ibenchmarks/400.perlbench/run/run_base_ref_amd64-m64-gcc41-nn.0000/lib/ 
benchmarks/400.perlbench/data/ref/input/checkspam.pl 2500 5 25 11 150 1 1 1 1
Global frequency set at 1000000000000 ticks per second
warn: More than two loadable segments in ELF object.
warn: Ignoring segment @ 0x12021e000 length 0x20.
warn: More than two loadable segments in ELF object.
warn: Ignoring segment @ 0x0 length 0x0.
warn: Entering event queue @ 0.  Starting simulation...
warn: Increasing stack size by one page.
warn: Increasing stack size by one page.
warn: Increasing stack size by one page.
5278440000: system.cpu0 T0 : @vfprintf+5424 : cmple      r1,47,r3        : 
IntAlu :  D=0x0000000000000001
5278440500: system.cpu0 T0 : @vfprintf+5428 : lda        r2,-48(r1)      : 
IntAlu :  D=0xffffffffffffffe0
5278441000: system.cpu0 T0 : @vfprintf+5432 : cmoveq     r3,r1,r2        : 
IntAlu :  D=0xffffffffffffffe0
5278441500: system.cpu0 T0 : @vfprintf+5436 : ldq        r1,64(r15)      : 
MemRead :  D=0x000000011ff8f7e0 A=0x11ff8f010
5278442000: system.cpu0 T0 : @vfprintf+5440 : addq       r2,r1,r2        : 
IntAlu :  D=0x000000011ff8f7c0
5278442500: system.cpu0 T0 : @vfprintf+5444 : ldl        r1,72(r15)      : 
MemRead :  D=0x0000000000000010 A=0x11ff8f018
5278443000: system.cpu0 T0 : @vfprintf+5448 : lda        r1,8(r1)        : 
IntAlu :  D=0x0000000000000018
5278443500: system.cpu0 T0 : @vfprintf+5452 : stl        r1,72(r15)      : 
MemWrite :  D=0x0000000000000018 A=0x11ff8f018
5278444000: system.cpu0 T0 : @vfprintf+5456 : ldt        f10,0(r2)       : 
MemRead :  D=0x40140832fcac8e69 A=0x11ff8f7c0
5278444500: system.cpu0 T0 : @vfprintf+5460 : stt        f10,1240(r15)   : 
MemWrite :  D=0x40140832fcac8e69 A=0x11ff8f4a8
5278445000: system.cpu0 T0 : @vfprintf+5464 : lda        r1,1240(r15)    : 
IntAlu :  D=0x000000011ff8f4a8
5278445500: system.cpu0 T0 : @vfprintf+5468 : stq        r1,1248(r15)    : 
MemWrite :  D=0x000000011ff8f4a8 A=0x11ff8f4b0
5278446000: system.cpu0 T0 : @vfprintf+5472 : bis        r31,r11,r16     : 
IntAlu :  D=0x000000011ff8f6a0
5278446500: system.cpu0 T0 : @vfprintf+5476 : lda        r17,1152(r15)   : 
IntAlu :  D=0x000000011ff8f450
5278447000: system.cpu0 T0 : @vfprintf+5480 : lda        r18,1248(r15)   : 
IntAlu :  D=0x000000011ff8f4b0
5278447500: system.cpu0 T0 : @vfprintf+5484 : ldq        r27,-25456(r29) : 
MemRead :  D=0x000000012017f920 A=0x1202259d8
5278448000: system.cpu0 T0 : @vfprintf+5488 : jsr        r26,(r27)       : 
IntAlu :  D=0x000000012017bde4
5278448500: system.cpu0 T0 : @__printf_fp : ldah       r29,11(r27)     : IntAlu 
:  D=0x000000012022f920
5278449000: system.cpu0 T0 : @__printf_fp+4 : lda        r29,-15320(r29) : 
IntAlu :  D=0x000000012022bd48
5278449500: system.cpu0 T0 : @__printf_fp+8 : lda        r30,-352(r30)   : 
IntAlu :  D=0x000000011ff8ee70
5278450000: system.cpu0 T0 : @__printf_fp+12 : stq        r26,0(r30)      : 
MemWrite :  D=0x000000012017bde4 A=0x11ff8ee70
5278450500: system.cpu0 T0 : @__printf_fp+16 : stq        r9,8(r30)       : 
MemWrite :  D=0x0000000000000000 A=0x11ff8ee78
5278451000: system.cpu0 T0 : @__printf_fp+20 : stq        r10,16(r30)     : 
MemWrite :  D=0x000000011ff8f92f A=0x11ff8ee80
5278451500: system.cpu0 T0 : @__printf_fp+24 : stq        r11,24(r30)     : 
MemWrite :  D=0x000000011ff8f6a0 A=0x11ff8ee88
5278452000: system.cpu0 T0 : @__printf_fp+28 : stq        r12,32(r30)     : 
MemWrite :  D=0x0000000120228908 A=0x11ff8ee90
5278452500: system.cpu0 T0 : @__printf_fp+32 : stq        r13,40(r30)     : 
MemWrite :  D=0x0000000000000000 A=0x11ff8ee98
5278453000: system.cpu0 T0 : @__printf_fp+36 : stq        r14,48(r30)     : 
MemWrite :  D=0x0000000000000000 A=0x11ff8eea0
5278453500: system.cpu0 T0 : @__printf_fp+40 : stq        r15,56(r30)     : 
MemWrite :  D=0x000000011ff8efd0 A=0x11ff8eea8
5278454000: system.cpu0 T0 : @__printf_fp+44 : stt        f2,64(r30)      : 
MemWrite :  D=0x40140832fcac8e69 A=0x11ff8eeb0
5278454500: system.cpu0 T0 : @__printf_fp+48 : bis        r31,r30,r15     : 
IntAlu :  D=0x000000011ff8ee70
5278455000: system.cpu0 T0 : @__printf_fp+52 : bis        r31,r16,r13     : 
IntAlu :  D=0x000000011ff8f6a0
5278455500: system.cpu0 T0 : @__printf_fp+56 : bis        r31,r17,r14     : 
IntAlu :  D=0x000000011ff8f450
5278456000: system.cpu0 T0 : @__printf_fp+60 : stq        r31,184(r15)    : 
MemWrite :  D=0x0000000000000000 A=0x11ff8ef28
5278456500: system.cpu0 T0 : @__printf_fp+64 : stq        r31,192(r15)    : 
MemWrite :  D=0x0000000000000000 A=0x11ff8ef30
5278457000: system.cpu0 T0 : @__printf_fp+68 : bis        r31,r31,r12     : 
IntAlu :  D=0x0000000000000000
5278457500: system.cpu0 T0 : @__printf_fp+72 : bis        r31,r31,r11     : 
IntAlu :  D=0x0000000000000000
5278458000: system.cpu0 T0 : @__printf_fp+76 : bis        r31,r31,r9      : 
IntAlu :  D=0x0000000000000000
5278458500: system.cpu0 T0 : @__printf_fp+80 : stl        r31,100(r15)    : 
MemWrite :  D=0x0000000000000000 A=0x11ff8eed4
5278459000: system.cpu0 T0 : @__printf_fp+84 : stl        r31,104(r15)    : 
MemWrite :  D=0x0000000000000000 A=0x11ff8eed8
5278459500: system.cpu0 T0 : @__printf_fp+88 : stq        r31,208(r15)    : 
MemWrite :  D=0x0000000000000000 A=0x11ff8ef40
5278460000: system.cpu0 T0 : @__printf_fp+92 : ldl        r1,12(r17)      : 
MemRead :  D=0x0000000000000000 A=0x11ff8f45c
5278460500: system.cpu0 T0 : @__printf_fp+96 : zapnot     r1,15,r1        : 
IntAlu :  D=0x0000000000000000
5278461000: system.cpu0 T0 : @__printf_fp+100 : srl        r1,10,r2        : 
IntAlu :  D=0x0000000000000000
5278461500: system.cpu0 T0 : @__printf_fp+104 : and        r2,1,r2         : 
IntAlu :  D=0x0000000000000000
5278462000: system.cpu0 T0 : @__printf_fp+108 : stq        r2,216(r15)     : 
MemWrite :  D=0x0000000000000000 A=0x11ff8ef48
5278462500: system.cpu0 T0 : @__printf_fp+112 : srl        r1,8,r1         : 
IntAlu :  D=0x0000000000000000
5278463000: system.cpu0 T0 : @__printf_fp+116 : blbs       r1,0x12017f9b8  : 
IntAlu : 
5278463500: system.cpu0 T0 : @__printf_fp+120 : call_pal   rduniq          : 
IntAlu :  D=0x000000012022e4e0
5278464000: system.cpu0 T0 : @__printf_fp+124 : ldq        r1,-29160(r29)  : 
MemRead :  D=0x0000000000000028 A=0x120224b60
5278464500: system.cpu0 T0 : @__printf_fp+128 : addq       r0,r1,r0        : 
IntAlu :  D=0x000000012022e508
5278465000: system.cpu0 T0 : @__printf_fp+132 : ldq        r1,0(r0)        : 
MemRead :  D=0x0000000000000000 A=0x12022e508
5278465500: system.cpu0 T0 : @__printf_fp+136 : ldq        r1,0(r1)        : 
MemRead :  A=0x0
panic: Page table fault when accessing virtual address 0
 @ cycle 5278465500
[invoke:build/ALPHA_SE/sim/faults.cc, line 65]
Program aborted at cycle 5278465500
Aborted (core dumped)


Steve Reinhardt <[EMAIL PROTECTED]> wrote: You're getting a segfault in the 
target app, basically... not clear what's going wrong, but it could be a 
syscall that's not working properly.

The easiest way to see what's going on is to turn on tracing.  The Exec flag 
(might still be called InstExec in your version) traces instruction execution, 
and the Syscall and SyscallVerbose flags trace syscall emulation.  The complete 
list of traceflags is in src/base/traceflags.py.  I'd suggest adding this to 
your command line after  m5.debug but before your .py file:

--trace-flags=Exec,Syscall,SyscallVerbose --trace-start=5278460000

and then redirect the output to a file, then look through it and see if you can 
figure out where the null pointer is coming from. 

Steve

 _______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

       
---------------------------------
Be a better Heartthrob. Get better relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
_______________________________________________
m5-users mailing list
m5-users@m5sim.org
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users

Reply via email to