The Complex Random Number generator in z-rand.c near lines 170 seems to have an infinite loop issue.
Forcing the game to use the LCRNG by commenting out this code allows it to work.
The symptoms manifest as a failure in the midst of character generation. Before the autoroller screen plots, the game just goes away forever.
astuckey@gt5228:/usr/local/src/zangband-2.7.4$ gdb ./zangband
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
Starting program: /usr/local/src/zangband-2.7.4/zangband
Program received signal SIGINT, Interrupt.
Rand_div (m=3) at src/z-rand.c:177
177 if (r < m) break;
#0 Rand_div (m=3) at src/z-rand.c:177
#1 0x000000000045d071 in get_stats () at src/birth.c:210
#2 0x000000000045df64 in player_birth () at src/birth.c:1432
#3 0x000000000047c255 in play_game (new_game=1 '\001') at src/dungeon.c:3267
#4 0x00000000004b85e3 in main (argc=<value optimized out>,
argv=0x7fff18166808) at src/main.c:733
(gdb) Script done, file is typescript
Log in to post a comment.