Robosturm / Commander_Wars

The aim of this project is to create an Advance Wars Clone with a lot of additions customizations and modding support. For Contact Inforamtion see the wiki page. Take a view on the game.
https://github.com/Robosturm/Commander_Wars/releases
GNU Lesser General Public License v3.0
213 stars 33 forks source link

Exception Access Violation when connecting to the v36.3 server #1795

Closed lonewolf19991 closed 4 months ago

lonewolf19991 commented 4 months ago

Describe the bug Whenever a user tries hosting a multiplayer game, the game crashes with the following output:

`Commander Wars v0.36.3-main Builddate: Apr 21 2024 13:08:43
03 May 2024 @ 02:06:05

EXCEPTION_ACCESS_VIOLATION

Frame : 0 PC address: 0x00007ffc952e39b9 Stack address: 0x000000823adfc080 Frame address:  0x000000823adfc0a0 Symbol name: ZN7QStringaSERKS_
Frame : 1 PC address: 0x00007ff76d35ace2 Stack address: 0x000000823adfc0b0 Frame address:  0x000000823adfc110 Symbol name: getNameFromAiType
Frame : 2 PC address: 0x00007ff76d35ddb9 Stack address: 0x000000823adfc120 Frame address:  0x000000823adfc240 Symbol name: initializeMap
Frame : 3 PC address: 0x00007ff76d365392 Stack address: 0x000000823adfc250 Frame address:  0x000000823adfc2d0 Symbol name: showPlayerSelection
Frame : 4 PC address: 0x00007ff76d765430 Stack address: 0x000000823adfc2e0 Frame address:  0x000000823adfc300 Symbol name: showPlayerSelection
Frame : 5 PC address: 0x00007ff76d47e587 Stack address: 0x000000823adfc310 Frame address:  0x000000823adfc420 Symbol name: buttonNext
Frame : 6 PC address: 0x00007ffc95511df1 Stack address: 0x000000823adfc430 Frame address:  0x000000823adfc500 Symbol name: z_adler32_combine
Frame : 7 PC address: 0x00007ff76d3a07dd Stack address: 0x000000823adfc510 Frame address:  0x000000823adfc570 Symbol name: connected
Frame : 8 PC address: 0x00007ffc95257232 Stack address: 0x000000823adfc580 Frame address:  0x000000823adfc5c0 Symbol name: ZN14QMetaCallEvent13placeMetaCallEP7QObject
Frame : 9 PC address: 0x00007ffc95258066 Stack address: 0x000000823adfc5d0 Frame address:  0x000000823adfc690 Symbol name: ZN7QObject5eventEP6QEvent
Frame : 10 PC address: 0x00007ffc940e5066 Stack address: 0x000000823adfc6a0 Frame address:  0x000000823adfc6e0 Symbol name: ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
Frame : 11 PC address: 0x00007ffc9522045d Stack address: 0x000000823adfc6f0 Frame address:  0x000000823adfc760 Symbol name: ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
Frame : 12 PC address: 0x00007ffc952243fd Stack address: 0x000000823adfc770 Frame address:  0x000000823adfc830 Symbol name: ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
Frame : 13 PC address: 0x00007ffc953a73ed Stack address: 0x000000823adfc840 Frame address:  0x000000823adff9a0 Symbol name: ZN21QEventDispatcherWin3213processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
Frame : 14 PC address: 0x00007ffc9522b804 Stack address: 0x000000823adff9b0 Frame address:  0x000000823adffa40 Symbol name: ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE
Frame : 15 PC address: 0x00007ffc95306fa1 Stack address: 0x000000823adffa50 Frame address:  0x000000823adffaa0 Symbol name: ZN7QThread4execEv
Frame : 16 PC address: 0x00007ffc953addc0 Stack address: 0x000000823adffab0 Frame address:  0x000000823adffaf0 Symbol name: ZN14QSystemLibrary4loadEPKwb
Frame : 17 PC address: 0x00007ffcea447344 Stack address: 0x000000823adffb00 Frame address:  0x000000823adffb20 Symbol name: BaseThreadInitThunk
Frame : 18 PC address: 0x00007ffceb1426b1 Stack address: 0x000000823adffb30 Frame address:  0x000000823adffba0 Symbol name: RtlUserThreadStart

INFO: 03.05.2024 01:32:13: Started with: Commander_Wars.exe`

This issue does not occur when the gateway option is chosen, nor when the multiplayer match is hosted directly.

To Reproduce Steps to reproduce the behavior:

  1. Connect to the Multiplayer server
  2. Attempt hosting a game through the server
  3. See error

Expected behavior The game would show the CO selection screen to start a match.

Desktop (please complete the following information):

Additional context Add any other context about the problem here.