| Message |
Finally, after a night of testing, I think I may have found the source of my null ch problem. I got this first bug:
#0 flush_buffer (d=0x8356b90, fPrompt=1 '\001') at comm.c:1281
1281 if ( xIS_SET(ch->act, PLR_BLANK) )
(gdb) bt
#0 flush_buffer (d=0x8356b90, fPrompt=1 '\001') at comm.c:1281
#1 0x080aa083 in game_loop () at comm.c:714
#2 0x080a991d in main (argc=8, argv=0xbfffda30) at comm.c:304
#3 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) print ch
$1 = (struct char_data *) 0x0
(gdb) print ch->act
Cannot access memory at address 0xf0
This was after a hotboot, so I thought thats what it was. But after the reboot, it happened again after I attempted to re-create the issue.
Its still hard to determine the issue. Its either poison, or eating. The second crash:
#0 flush_buffer (d=0x8378c58, fPrompt=1 '\001') at comm.c:1281
1281 if ( xIS_SET(ch->act, PLR_BLANK) )
(gdb) bt
#0 flush_buffer (d=0x8378c58, fPrompt=1 '\001') at comm.c:1281
#1 0x080aa083 in game_loop () at comm.c:714
#2 0x080a991d in main (argc=2, argv=0xbfffe9d0) at comm.c:304
#3 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) print ch
$1 = (struct char_data *) 0x0
(gdb) print d
$2 = (struct descriptor_data *) 0x8378c58
Same thing, null ch.
The full HTML color log can be found at:
http://www.dbsaga.com/zeno/nullch.html
The second time, no hotboot, so I can't be hotboot. Maybe its prompt? But I doubt it. Anyways, does it seem like its eat, or poison? Or neither? I'm finally close to solving this.
The other relating topics I had, are:
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4255
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4240
http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=4134 |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | top |
|