project-navigation
Personal tools

Author Topic: Game crash in multiplayer.  (Read 2489 times)

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
Game crash in multiplayer.
« on: August 17, 2012, 06:38:15 pm »
Crash sometimes causes when I edit team in Multiplayer menu.

Code: [Select]
(gdb) bt full
 #0 0x000000000047c40e in dbuffer::get (this=0x0, data=0x7fffffffba6f "", len=1) at src/common/dbuffer.cpp:39
 No locals.
 #1 0x000000000047c506 in dbuffer::extract (this=0x0, data=<optimized out>, len=<optimized out>) at src/common/dbuffer.cpp:114
 No locals.
 #2 0x000000000047b163 in NET_ReadByte (buf=<optimized out>) at src/common/netpack.cpp:249
 c = 0 '\000'
 #3 0x0000000000554b1e in CL_PingServerCallback (s=0xa01fcc0) at src/client/cgame/multiplayer/mp_serverlist.cpp:116
 buf = 0x0
 server = 0x2d02a40
 cmd = <optimized out>
 str = "\000\000\000\000\005\000\000\000\"\001\000\000\001\000\000\000H\005\000\000\000\000\000\000\000\345\377\367\377\177\000\000\020\304\377\377\377\177\000\000x`\372\367\377\177\000\000\070\304\377\377\377\177\000\000[\232;\017\000\000\000\000\250\341\377\367\377\177\000\000bX\336\367\377\177\000\000\000\000\000\000\000\000\000\000x`\372\367\377\177\000\000\005", '\000' <repeats 15 times>, "\001\000\000\000\377\177\000\000\250\341\377\367\377\177\000\000\002\017/\n\000\000\000\000\360\062\061\n\000\000\000\000@\017\323\002\000\000\000\000\021XO\364\377\177", '\000' <repeats 11 times>"\345, \377\367\377\177\000\000\300\303\377\377\377\177\000\000\330\303\377\377\377\177\000\000LC_M\001\000\000\000GES/libc.mo\000\000\000\000\000cA@\000\000\000\000\000\377\377\377\377\000\000\000\000 VO\364\377\177\000\000ru_RU.utf8\000\367\377\177\000\000\062\060\061\062/08/1"...
 #4 0x0000000000479763 in NET_StreamClose (s=0xa01fcc0) at src/common/net.cpp:370
 No locals.
 #5 0x000000000047a5ef in NET_Wait (timeout=<optimized out>) at src/common/net.cpp:490
 buf = "\b\000\000\000\377info 14\377\177\000\000N\231[\000\000\000\000\000M\300P\364\377\177\000\000\020\314\377\377\377\177\000\000P\231[\000\000\000\000\000P\231[\000\000\000\000\000p\315\377\377\377\177\000\000\000\000\000\000\000\000\000\000M\300P\364\377\177\000\000 \310\377\377\000\000\000\000P\231[", '\000' <repeats 13 times>, "8\311\377\377\377\177", '\000' <repeats 18 times>, " \310\377\377\000\000\000\000\b", '\000' <repeats 27 times>"\377, \177", '\000' <repeats 14 times>"\377, \177\000\000\260\220 \365\377\177\000\000 \310\377\377", '\000' <repeats 12 times>"\377, \377\377\377\377\377\377\377\000\311\377\377\000\000\000\000\000\000\000\000/\000\000\000\000\311\377\377", '\000' <repeats 24 times>"\377, \377\377\377\220\310\377\377\000\000\000\000\000\311\377\377\377\177\000\000\002", '\000' <repeats 11 times>"\377, \177", '\000' <repeats 14 times>"\377, \177\000\000T\353P\364\377\177", '\000' <repeats 18 times>"\327"...
 len = -1
 s = 0xa01fcc0
 tv = {tv_sec = 0, tv_usec = 9628}
 ready = <optimized out>
 i = <optimized out>
 read_fds_out = {fds_bits = {2097152, 0 <repeats 15 times>}}
 write_fds_out = {fds_bits = {2097152, 0 <repeats 15 times>}}
 #6 0x00000000004707b4 in Qcommon_Frame () at src/common/common.cpp:1476
 time_to_next = 18
 #7 0x00000000004ca706 in main (argc=<optimized out>, argv=<optimized out>) at src/ports/linux/linux_main.cpp:55
 No locals.
 (gdb) f 3
 #3 0x0000000000554b1e in CL_PingServerCallback (s=0xa01fcc0) at src/client/cgame/multiplayer/mp_serverlist.cpp:116
 116 const int cmd = cgi->NET_ReadByte(buf);
 (gdb) p buf
 $1 = (dbuffer *) 0x0
 (gdb) p *s
 $3 = {data = 0x2d02a40, loopback = false, ready = false, closed = true, finished = false, socket = -1, index = 0, family = 2, addrlen = 16, inbound = {
 _refCount = 0xa01fe20, _deletion = 0xa01fe90, _pointer = 0xa01fd90}, outbound = {_refCount = 0x0, _deletion = 0x0, _pointer = 0x0}, onclose = 0,
 func = 0x554ac0 <CL_PingServerCallback(net_stream*)>, loopback_peer = 0x0}

http://sourceforge.net/tracker/?func=detail&aid=3558916&group_id=157793&atid=805242