Re: core file on civserver, http://civserver.freeciv.org/games/43328
rf13-r/[email protected]
| Newsgroups | gmane.games.freeciv.devel,gmane.games.freeciv.general |
|---|---|
| Message-ID | <[email protected]> |
On Sat, Oct 05, 2002 at 06:12:10PM -0700, [email protected] wrote: > # examining core.8650 in /home/freeciv/.freeciv/games/43328/. ... > # using $FREECIV_PATH /home/freeciv/.freeciv/code/installed/stable/freeciv-1.13.0+local-1.13.0/share/freeciv > # running: (echo bt; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/stable/freeciv-1.13.0+local-1.13.0/share/freeciv/../../bin/civserver core.8650 > Core was generated by `/home/freeciv/.freeciv/code/installed/stable/freeciv-1.13.0+local-1.13.0/share/'. > Program terminated with signal 8, Arithmetic exception. > #0 0x08074a84 in get_research (pplayer=0x8132224) at report.c:344 > 344 return (pplayer->score.techout * 100) / (total_bulbs_required(pplayer)); > (gdb) #0 0x08074a84 in get_research (pplayer=0x8132224) at report.c:344 > #1 0x08074ddb in dem_line_item ( > outptr=0xbfffe2f0 "Population 10,000", ' ' <repeats 14 times>, "(1st)\nLand Area 22,000 sq. mi. (2nd)\nSettled Area 9,000 sq. mi. (1st)\nResearch Speed 0%", ' ' <repeats 16 times>, out_size=4096, > pplayer=0x812bf1c, prow=0x80d79f0, selcols=7) at report.c:470 > #2 0x08075094 in report_demographics (pconn=0x80fbfc0) at report.c:548 > #3 0x0804c8b5 in handle_report_request (pconn=0x80fbfc0, > type=REPORT_DEMOGRAPHIC) at srv_main.c:550 > #4 0x0804ccbf in handle_packet_input (pconn=0x80fbfc0, packet=0x822cb98, > type=43) at srv_main.c:782 > #5 0x08084074 in sniff_packets () at sernet.c:572 > #6 0x0804e215 in main_loop () at srv_main.c:1690 > #7 0x0804e804 in srv_main () at srv_main.c:1970 > #8 0x080499b1 in main (argc=10, argv=0xbffffc34) at civserver.c:153 > #9 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6 I expect that total_bulbs_required returns 0 which indicates that the player researches a tech which is already known. I have no idea if this is allowed to happen. And if yes for which period of time. Raimar -- email: rf13-r/[email protected]