#1515: Host connection was broken --segfault --------------------------------+------------------------------------------- Reporter: Buginator | Owner: Type: bug | Status: new Priority: major | Milestone: 2.3 Component: Engine: Networking | Version: svn/2.3 Keywords: | Operating_system: All/Non-Specific Blockedby: | Blocking: --------------------------------+------------------------------------------- {{{ Program received signal SIGSEGV, Segmentation fault. 0x08251029 in checkSockets (set=0x9f40de8, timeout=0) at netplay.c:654 654 FD_SET(set->fds[i]->fd[SOCK_CONNECTION], &fds); }}}
{{{ (gdb) bt full #0 0x08251029 in checkSockets (set=0x9f40de8, timeout=0) at netplay.c:654 tv = {tv_sec = 0, tv_usec = 0} ret = 0 fds = {fds_bits = {0 <repeats 32 times>}} count = 1 i = 0 maxfd = 166020424 __FUNCTION__ = "checkSockets" __PRETTY_FUNCTION__ = "checkSockets" #1 0x08255463 in NETrecv (type=0xbffff037 "") at netplay.c:2553 pMsg = 0x8d33460 received = 0 size = 28 current = 0 __FUNCTION__ = "NETrecv" __PRETTY_FUNCTION__ = "NETrecv" #2 0x08196ec4 in recvMessage () at multiplay.c:611 type = 0 '\000' __FUNCTION__ = "recvMessage" #3 0x081961e2 in multiPlayerLoop () at multiplay.c:298 i = 8 joinCount = 0 '\000' __FUNCTION__ = "multiPlayerLoop" ---Type <return> to continue, or q <return> to quit--- #4 0x0815fc59 in gameLoop () at loop.c:272 psCurr = 0x0 psNext = 0x8d76c80 psCBuilding = 0xbffff2f8 psNBuilding = 0xb7f24a5e psCFeat = 0x8d77118 psNFeat = 0x20 i = 3221222168 widgval = 3086489664 quitting = 0 intRetVal = INT_NONE clearMode = 4 __FUNCTION__ = "gameLoop" __PRETTY_FUNCTION__ = "gameLoop" #5 0x08162ba0 in runGameLoop () at main.c:769 __FUNCTION__ = "runGameLoop" #6 0x08163006 in mainLoop () at main.c:963 event = {type = 6 '\006', active = {type = 6 '\006', gain = 0 '\000', state = 1 '\001'}, key = {type = 6 '\006', which = 0 '\000', state = 1 '\001', keysym = {scancode = 79 'O', sym = SDLK_UNKNOWN, mod = KMOD_NONE, unicode = 0}}, motion = {type = 6 '\006', which = 0 '\000', state = 1 '\001', x = 591, y = 82, xrel = 0, yrel = 0}, button = {type = 6 '\006', which = 0 '\000', ---Type <return> to continue, or q <return> to quit--- button = 1 '\001', state = 0 '\000', x = 591, y = 82}, jaxis = { type = 6 '\006', which = 0 '\000', axis = 1 '\001', value = 591}, jball = {type = 6 '\006', which = 0 '\000', ball = 1 '\001', xrel = 591, yrel = 82}, jhat = {type = 6 '\006', which = 0 '\000', hat = 1 '\001', value = 0 '\000'}, jbutton = {type = 6 '\006', which = 0 '\000', button = 1 '\001', state = 0 '\000'}, resize = { type = 6 '\006', w = 5374543, h = 0}, expose = {type = 6 '\006'}, quit = {type = 6 '\006'}, user = {type = 6 '\006', code = 5374543, data1 = 0x0, data2 = 0x0}, syswm = {type = 6 '\006', msg = 0x52024f}} #7 0x0816376d in main (argc=1, argv=0xbffff554) at main.c:1193 __FUNCTION__ = "main" }}} -- Ticket URL: <http://developer.wz2100.net/ticket/1515> Warzone 2100 Trac <http://developer.wz2100.net/> The Warzone 2100 Project _______________________________________________ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev