both server and client crash immidiately when the joining player presses "ready"

Bug #622210 reported by Ben on 2010-08-22
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Stratagus
Fix Released
Medium
Pali

Bug Description

Host: Starting a multiplayer game on version 2.2.5.3 32-bit, using any map.
Player: Joins with version 2.2.5.2 32-bit.
Player: Presses "ready"
Both ends crash.

Related branches

Ben (zaphands2002) wrote :

Both sides were running Windows 7.
We also tried setting compatibility mode to winXP SP3 and SP2 which made only the host crash on the instant the player joined.

Pali (pali) wrote :

Can you include backtrace or something useful about crash?

Changed in wargus:
status: New → Incomplete
Ben (zaphands2002) wrote :

Sure. Can you tell me how to extract it?

mattn (martin-gerhardy) wrote :

you have to run it in a debugger

run via:
$gdb <exe-file>
(gdb) run
play, after crash alt+tab to the gdb command window (cmd.exe) and type
(gdb) bt full
This will generate a backtrace that you should attach here.

Ben (zaphands2002) wrote :

When running "gdb wargus.exe" it says: "Program exited normally", and there's no stack even while the game is still running.
When running "gdb stratagus.exe" gdb crashes. I'm using mingw's gdb version 7.1.

Pali (pali) wrote :

wargus.exe only start stratagus (using exec) with correct params. But on Windows function exec does not replace current process image (like on POSIX systems), but start new process. So start directly stratagus with params:

"<path_to_gdb>\gdb.exe" --args "<path_to_stratagus>\stratagus.exe" -W -v 1 -d "<path_to_wargus>"

If you have still problem, contact me on email.

Ben (zaphands2002) wrote :

Correction: I meant that both players use the 2.2.5.3 32-bit version.

Pali (pali) wrote :

Confirmed, on Ubuntu amd64 same problem, crashed too.

Changed in wargus:
status: Incomplete → Confirmed
importance: Undecided → Medium
Pali (pali) on 2010-09-19
affects: wargus → stratagus
Pali (pali) on 2010-10-18
Changed in stratagus:
status: Confirmed → In Progress
assignee: nobody → Pali (pali)
status: In Progress → Fix Committed
Pali (pali) on 2010-11-23
Changed in stratagus:
milestone: none → 2.2.5.5
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers