Opened 14 years ago

#32 new defect

Network game crashes

Reported by: guest Owned by: Sam Hocevar
Priority: blocker Milestone: 1.0
Component: abuse Version: 0.7.1
Keywords: Cc: iku@openbsd.fi

Description

Network game crashes when client chooses "network" from the menu. The process acting as server crashes when exiting. Traces of both follows:

Creating responder on port 37008
net driver : could not bind socket to port 37008
zsh: segmentation fault (core dumped)  /usr/ports/pobj/abuse-0.7.1/abuse-0.7.1/src/abuse

(gdb) bt
#0  0x00000000004b145c in tcpip_protocol::find_address (this=0x8e1ae0, port=37008, name=0x7f7ffffbf9e0 "") at tcpip.cpp:435
#1  0x0000000000406565 in net_configuration::input (this=0x203900a00) at netcfg.cpp:516
#2  0x000000000045cc47 in menu_handler (ev=@0x7f7ffffbfcc0, inm=0x2062fb400) at menu.cpp:551
#3  0x000000000045d023 in main_menu () at menu.cpp:735
#4  0x000000000046c499 in game::step (this=0x20397a400) at game.cpp:2134
#5  0x000000000046d6dd in main (argc=1, argv=0x7f7ffffbff28) at game.cpp:2727

Thank you for playing Abuse!
zsh: segmentation fault (core dumped)  ./abuse

(gdb) bt
#0  0x000000000047530d in ldelete_syms (root=0x200190020) at lisp.cpp:889
#1  0x0000000000475316 in ldelete_syms (root=0x204edaf00) at lisp.cpp:889
#2  0x0000000000475323 in ldelete_syms (root=0x20bf42d40) at lisp.cpp:890
#3  0x0000000000475316 in ldelete_syms (root=0x20bf42900) at lisp.cpp:889
#4  0x0000000000475323 in ldelete_syms (root=0x20bf42000) at lisp.cpp:890
#5  0x0000000000475323 in ldelete_syms (root=0x20344ed00) at lisp.cpp:890
#6  0x0000000000475323 in ldelete_syms (root=0x20344ea00) at lisp.cpp:890
#7  0x0000000000475323 in ldelete_syms (root=0x20344e300) at lisp.cpp:890
#8  0x0000000000475316 in ldelete_syms (root=0x20851fcc0) at lisp.cpp:889
#9  0x0000000000475316 in ldelete_syms (root=0x20851ffc0) at lisp.cpp:889
#10 0x0000000000475316 in ldelete_syms (root=0x20851f840) at lisp.cpp:889
#11 0x0000000000475316 in ldelete_syms (root=0x203022e00) at lisp.cpp:889
#12 0x0000000000475323 in ldelete_syms (root=0x203022940) at lisp.cpp:890
#13 0x0000000000475316 in ldelete_syms (root=0x203022dc0) at lisp.cpp:889
#14 0x0000000000475316 in ldelete_syms (root=0x202c524c0) at lisp.cpp:889
#15 0x0000000000475323 in ldelete_syms (root=0x204ed60c0) at lisp.cpp:890
#16 0x0000000000475323 in ldelete_syms (root=0x20acadcc0) at lisp.cpp:890
#17 0x0000000000475323 in ldelete_syms (root=0x20acad340) at lisp.cpp:890
#18 0x0000000000475323 in ldelete_syms (root=0x20acad040) at lisp.cpp:890
#19 0x0000000000475316 in ldelete_syms (root=0x20acad2c0) at lisp.cpp:889
#20 0x0000000000475323 in ldelete_syms (root=0x20acad300) at lisp.cpp:890
#21 0x000000000047535a in lisp_uninit () at lisp.cpp:3237
#22 0x000000000046da79 in main (argc=1, argv=0x7f7ffffcfe98) at game.cpp:2796

Change History (0)

Note: See TracTickets for help on using tickets.