[Freeciv-Dev] (PR#13307) server crash with closed stdin
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13307 >
If you compile freeciv without readline (undefine the *READLINE* entries
in config.h) and then run it with closed stdin (*not* the same as
running `civserver </dev/null`) then the server will die.
#0 0x40085921 in kill () from /lib/libc.so.6
#1 0x401a707b in pthread_kill () from /lib/libpthread.so.0
#2 0x401a7420 in raise () from /lib/libpthread.so.0
#3 0x400855d3 in raise () from /lib/libc.so.6
#4 0x40086988 in abort () from /lib/libc.so.6
#5 0x4007ecf0 in __assert_fail () from /lib/libc.so.6
#6 0x0804bee4 in real_die (file=0x810f051 "sernet.c", line=604,
format=0x810f175 "read from stdin failed") at shared.c:675
#7 0x08050860 in sniff_packets () at sernet.c:604
#8 0x08052928 in srv_main () at srv_main.c:1694
#9 0x0804a222 in main (argc=5, argv=0xbffff7d4) at civserver.c:210
-jason
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#13307) server crash with closed stdin,
Jason Short <=
|
|