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

Bug #622210 reported by Ben
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.

Tags: multiplayer

Related branches

Revision history for this message
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.

Revision history for this message
Pali (pali) wrote :

Can you include backtrace or something useful about crash?

Changed in wargus:
status: New → Incomplete
Revision history for this message
Ben (zaphands2002) wrote :

Sure. Can you tell me how to extract it?

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
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.

Revision history for this message
Ben (zaphands2002) wrote :

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

Revision history for this message
Pali (pali) wrote :

Confirmed, on Ubuntu amd64 same problem, crashed too.

Changed in wargus:
status: Incomplete → Confirmed
importance: Undecided → Medium
Pali (pali)
affects: wargus → stratagus
Pali (pali)
Changed in stratagus:
status: Confirmed → In Progress
assignee: nobody → Pali (pali)
status: In Progress → Fix Committed
Pali (pali)
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  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.