Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server segfaults during fights #9

Open
benmwebb opened this issue Jun 11, 2001 · 3 comments
Open

Server segfaults during fights #9

benmwebb opened this issue Jun 11, 2001 · 3 comments

Comments

@benmwebb
Copy link
Owner

During a fight, server will segfault:

(This is the log from the AI bot right before the
crash:)

Jetting to Lexington with $1 cash and $9,680 debt
Sheriff Hege and 3 deputies - pitifully armed - are
chasing you, man!
Sheriff Hege hits you, man!
Sheriff Hege hits you, man!

and here's what gdb says:

rogram received signal SIGSEGV, Segmentation fault.
0x12000f408 in ServerLoop () at serverside.c:832
832 /*if (tmp && FD_ISSET(tmp-
>fd,&errorfs)) {
(gdb) where
#0 0x12000f408 in ServerLoop () at serverside.c:832
#1 0x120008334 in main (argc=2, argv=0x1fffffa00) at
dopewars.c:1717

(gdb) print tmp->fd
$1 = 538141120
(gdb) print &errorfs
$2 = (fd_set *) 0x1fffff958
(gdb) print tmp
$3 = (Player *) 0x120152030

Attached is my /etc/dopewars

Reported by: spazzz

@benmwebb
Copy link
Owner Author

Logged In: YES
user_id=69439

I _think_ this should be fixed in current CVS...

P.S. I don't see any attached files... although I don't
think the bug would be caused by a dodgy config anyway.

Ben

Original comment by: benmwebb

@benmwebb
Copy link
Owner Author

  • assigned_to: nobody --> benwebb
  • status: open --> open-accepted

Original comment by: benmwebb

@benmwebb
Copy link
Owner Author

Logged In: YES
user_id=69439

Actually, the bug is _not_ fixed in current CVS. There
appears to be a memory corruption bug somewhere in the
server, but I have yet to track it down - it's rather hard
to reproduce...

Original comment by: benmwebb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant