09.05.2012, 21:39
So mal wieder was neues: BrightEyes ist bei mir heut zum zweiten mal mit 'nem Segfault abgestürzt. Beim ersten Mal hatte mir die Shell noch keinen Coredump gemacht, aber diesmal war ich vorbereitet, hier ist's passiert:
Leider läßt sich das ganze nicht zuverlässig reproduzieren. Ich habe den Coredump aber erstmal gesichert falls noch mehr Infos nötig sind (z.B. Variableninhalte aus höheren Stackframes).
Code:
Program terminated with signal 11, Segmentation fault.
#0 0x08207f8a in host_readd (nvf=0xb5623f28 "\003") at ../../../../include/mem.h:94
94 return *(Bit32u *)off;
(gdb) p *off
Cannot access memory at address 0x0
(gdb) bt
#0 0x08207f8a in host_readd (nvf=0xb5623f28 "\003") at ../../../../include/mem.h:94
#1 M302de::process_nvf (nvf=0xb5623f28 "\003") at seg002.cpp:226
#2 0x081fce2b in seg002 (offs=<value optimized out>) at schick_m302de.cpp:890
#3 0x08058d75 in CPU_CALL (use32=false, selector=1728, offset=3794, oldeip=5726) at cpu.cpp:1072
#4 0x0806b94b in CPU_Core_Normal_Run () at core_normal/prefix_none.h:564
#5 0x0804df2f in Normal_Loop () at dosbox.cpp:133
#6 0x0804de5e in DOSBOX_RunMachine () at dosbox.cpp:245
#7 0x08055756 in CALLBACK_RunRealInt (intnum=16 '\020') at callback.cpp:106
#8 0x081ede67 in DOS_Shell::Execute (this=0xacdf368, name=0xbff73190 "schickm", args=0xbff7425b "") at shell_misc.cpp:492
#9 0x081eaf13 in DOS_Shell::DoCommand (this=0xacdf368, line=0xbff74254 "schickm") at shell_cmds.cpp:153
#10 0x081e573c in DOS_Shell::ParseLine (this=0xacdf368, line=0xbff74254 "schickm") at shell.cpp:251
#11 0x081e6f05 in DOS_Shell::Run (this=0xacdf368) at shell.cpp:329
#12 0x081e674c in SHELL_Init () at shell.cpp:653
#13 0x081205f8 in main (argc=1, argv=0xbff75524) at sdlmain.cpp:1868
Leider läßt sich das ganze nicht zuverlässig reproduzieren. Ich habe den Coredump aber erstmal gesichert falls noch mehr Infos nötig sind (z.B. Variableninhalte aus höheren Stackframes).