ComputerScienceHouse / bingehack

A fork of nethack with semi-multiplayer features and other customizations. (An in-heavy-development fork version is at https://github.com/computersciencehouse/bingehack4 )
http://nethack.csh.rit.edu
23 stars 4 forks source link

Entering explore mode with 'X' crashes. #120

Closed eatnumber1 closed 12 years ago

clockfort commented 12 years ago

Program received signal SIGSEGV, Segmentation fault.
0x000000000060452e in replace_characters (message=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.", from=
    0x64c3e2 "\n\t", to=32 ' ') at /home/clockfort/code/bingehack/win/curses/cursmesg.c:38
38                      message[i] = to;
(gdb) bt
#0  0x000000000060452e in replace_characters (message=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.", from=
    0x64c3e2 "\n\t", to=32 ' ') at /home/clockfort/code/bingehack/win/curses/cursmesg.c:38
#1  0x00000000006045ad in curses_message_win_puts (message=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.",
    recursed=false) at /home/clockfort/code/bingehack/win/curses/cursmesg.c:59
#2  0x00000000005f4298 in curses_puts (wid=1, attr=0, text=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.")
    at /home/clockfort/code/bingehack/win/curses/curswins.c:516
#3  0x00000000005f3127 in curses_putstr (wid=1, attr=0, text=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.")
    at /home/clockfort/code/bingehack/win/curses/cursmain.c:333
#4  0x0000000000532c0f in vpline (line=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.",
    the_args=0x7fff5ea02590) at /home/clockfort/code/bingehack/src/pline.c:49
#5  0x0000000000532cf8 in pline (fmt=
    0x60caf8 "Beware!\tFrom explore mode there will be no return to normal game.")
    at /home/clockfort/code/bingehack/src/pline.c:58
#6  0x0000000000429b91 in enter_explore_mode ()
    at /home/clockfort/code/bingehack/src/cmd.c:527
#7  0x000000000043378d in rhack2 (cmd=0x884180 "X")
    at /home/clockfort/code/bingehack/src/cmd.c:2607
#8  0x000000000043313e in rhack (cmd=0x0) at /home/clockfort/code/bingehack/src/cmd.c:2439
#9  0x000000000040c2c6 in moveloop () at /home/clockfort/code/bingehack/src/allmain.c:540
#10 0x00000000005e8271 in main (argc=1, argv=0x7fff5ea029b8)
    at /home/clockfort/code/bingehack/sys/unix/unixmain.c:364