segfault when joining multiplayer game

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
alice
New user
Posts: 1
Joined: 23 Apr 2009, 00:42

segfault when joining multiplayer game

Post by alice »

Hello,

I just startet playing this game. We are using 2.2beta1 here as my friends mac tends to crash with oder versions.

I just saw my first open game in the lobby and joined. I can see the other players and the menu for like 3 seconds and then the game exits with Segmentation fault.

Network Game yesterday worked fine and so does singleplayer.
I m on gentoo linux, with amd64 cpu. I complied the 2.2beta1 from source.

Here is the console output:

Code: Select all

[alice@wonderland:~] warzone2100 
which: no gdb in (~/.bin:/sbin:/usr/sbin:~/.bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.1.2:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/games/bin)
warning |12:33:58: [MultiPlayerLeave] ** Warning, player 0 (dpid 1) [Black], has left the game.
warning |12:33:58: [MultiPlayerLeave] ** Warning, player 6 (dpid 2) [Blue], has left the game.
warning |12:33:58: [MultiPlayerLeave] ** Warning, player 1 (dpid 3) [Green], has left the game.
warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
warning |12:33:58: [MultiPlayerLeave] ** Warning, player 7 (dpid 4) [tsar ], has left the game.
warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
Saved dump file to '/tmp/warzone2100.gdmp-N6PoqR'
If you create a bugreport regardings this crash, please include this file.
Segmentation fault
And here is /tmp/warzone2100.gdmp-N6PoqR

Code: Select all

Program: /usr/local/bin/warzone2100(warzone2100)
Command line: "warzone2100"
Version: Version 2.2_beta1 - DEBUG
Distributor: sf
Compiled on: Apr 20 2009 22:57:34
Compiled by: GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)
Executed on: Thu Apr 23 00:33:52 2009
Operating system: Linux
Node name: wonderland
Release: 2.6.28-gentoo-r2_wonderland
Version: #11 SMP Tue Mar 3 16:15:10 CET 2009
Machine: x86_64

Pointers: 64bit

Compiled against PhysicsFS version: 1.0.2
Running with PhysicsFS version: 1.0.2

Dump caused by signal: SIGSEGV: Invalid memory reference: Address not mapped to object

Log message: warning |12:33:58: [MultiPlayerLeave] ** Warning, player 0 (dpid 1) [Black], has left the game.
Log message: warning |12:33:58: [MultiPlayerLeave] ** Warning, player 6 (dpid 2) [Blue], has left the game.
Log message: warning |12:33:58: [MultiPlayerLeave] ** Warning, player 1 (dpid 3) [Green], has left the game.
Log message: warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
Log message: warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
Log message: warning |12:33:58: [MultiPlayerLeave] ** Warning, player 7 (dpid 4) [tsar ], has left the game.
Log message: warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
Log message: warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
Log message: warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
Log message: warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
Log message: warning |12:33:58: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
Log message: warning |12:33:58: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?

GLIBC raw backtrace:
warzone2100[0x65a9f6]
/lib/libpthread.so.0[0x7f812862f410]
warzone2100(sendTextMessage+0x2f4)[0x55429a]
warzone2100[0x548df9]
warzone2100(runMultiOptions+0x4c9)[0x549e68]
warzone2100(titleLoop+0xca)[0x5cdbca]
warzone2100[0x52436d]
warzone2100[0x52463f]
warzone2100(main+0x3e0)[0x524a2b]
/lib/libc.so.6(__libc_start_main+0xf4)[0x7f8125eb05e4]
warzone2100[0x480b59]

No extended backtrace dumped:
- GDB not available
Who is GDB and why is he not here??

No wait, heard that before ...

* sys-devel/gdb
Latest version available: 6.8-r2
Latest version installed: [ Not Installed ]

I ll be back when I ever see a server again ... so I see only same verisons?



update
the game is still there

ist called something like rebellance-1.2.... Just read somwhere thats a mod, isnt it?


nearly forgott it ... attached now is the dump including GDB backtrace
for
[alice@wonderland:~] warzone2100
warning |01:06:12: [MultiPlayerLeave] ** Warning, player 0 (dpid 1) [Black], has left the game.
warning |01:06:12: [MultiPlayerLeave] ** Warning, player 6 (dpid 2) [Blue], has left the game.
warning |01:06:12: [MultiPlayerLeave] ** Warning, player 3 (dpid 3) [tsar ], has left the game.
warning |01:06:13: [MultiPlayerLeave] ** Warning, player 7 (dpid 4) [Red], has left the game.
warning |01:06:14: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |01:06:14: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
warning |01:06:14: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |01:06:14: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
warning |01:06:14: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |01:06:14: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
warning |01:06:16: [frontendMultiMessages] ** player 67108864 has dropped! Host is false
warning |01:06:16: [MultiPlayerLeave] Could not find Player 8 (dpid=67108864) to leave?
Saved dump file to '/tmp/warzone2100.gdmp-rdsd1n'
If you create a bugreport regardings this crash, please include this file.
Segmentation fault
You do not have the required permissions to view the files attached to this post.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: segfault when joining multiplayer game

Post by Per »

2.2beta1 crashes easily when joining games. It is a known problem that has been fixed and a new beta will be out ... soonish.