<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39570 >
> [wsimpson - Mi 15. Aug 2007, 13:58:09]:
>
> Christian Prochaska wrote:
> > When .civclientrc is missing (after a fresh install) the client aborts:
> >
> > inputfile.c:179: assert_sanity: Assertion `inf != ((void *)0)' failed
> >
> We'll need somebody whose assert() generates a stack trace.
>
>
got one in Linux (but not in Windows):
(gdb) bt full
#0 0xb76d5176 in raise () from /lib/libc.so.6
No symbol table info available.
#1 0xb76d6a51 in abort () from /lib/libc.so.6
No symbol table info available.
#2 0xb76ce640 in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#3 0x08093ca1 in assert_sanity (inf=0x0) at inputfile.c:179
__PRETTY_FUNCTION__ = "assert_sanity"
#4 0x08094551 in inf_close (inf=0x0) at inputfile.c:303
No locals.
#5 0x080909ee in section_file_load_section (my_section_file=0xbfc52b54,
filename=0x8152460 "/home/christian/.civclientrc", part=0x0)
at registry.c:669
real_filename = "/home/christian/.civclientrc", '\0' <repeats
995 times>
inf = (struct inputfile *) 0x0
success = false
#6 0x08090a20 in section_file_load (my_section_file=0xbfc52b54,
filename=0x8152460 "/home/christian/.civclientrc") at registry.c:646
No locals.
#7 0x08076647 in load_general_options () at options.c:467
sf = {filename = 0x82529ec "", num_entries = 72, sections =
0x8135154,
hash_sections = 0x8132809, hashd = 0x8132809, sb = 0x8251ab8}
name = 0x0
i = <value optimized out>
num = <value optimized out>
__PRETTY_FUNCTION__ = "load_general_options"
#8 0x0805878f in main (argc=Cannot access memory at address 0x68cc
) at civclient.c:325
i = 1
loglevel = 2
ui_options = <value optimized out>
ui_separator = false
option = <value optimized out>
user_tileset = false
(gdb)
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev