JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2.01k stars 612 forks source link

JK2 SP crash on startup on Windows 7 #1041

Closed B-Keeper closed 4 years ago

B-Keeper commented 4 years ago

Source snapshot from 05/28/2020 (latest commit 5203023) built with mingw-w64, GCC version 10.1.0.

OS: Windows 7 Home Premium SP1 CPU: AMD Phenom II 64-bit GPU: AMD Mobility Radeon HD4200

OpenJK Jedi Outcast singleplayer crashes on startup, yields the following Windows error report:

Problem Event Name: BEX64 Application Name: openjo_sp.x86_64.exe Application Version: 1.0.1.1 Application Timestamp: 5ecf9eb1 Fault Module Name: openjo_sp.x86_64.exe Fault Module Version: 1.0.1.1 Fault Module Timestamp: 5ecf9eb1 Exception Offset: 00000000011c34d4 Exception Code: c0000005 Exception Data: 0000000000000008 OS Version: 6.1.7601.2.1.0.768.3 Locale ID: 1033 Additional Information 1: 7e5f Additional Information 2: 7e5f7362f44594a815398758a2ce1035 Additional Information 3: aa7d Additional Information 4: aa7d87dea5d70b3876d7283133ebe601

No additional information or log files. Happens even if there's no game data present, the application doesn't seem to be able to even initialize itself. Last time I built OpenJK on the same machine was about a year ago (I have no record of the revision/commit number or GCC version at the time), and everything was working fine.

ensiform commented 4 years ago

Try compiling a debug version to get real information. Nothing here helps determine the cause. Also it is entirely possible that you might even have external software trying to hook in and interfere such as overlays.

B-Keeper commented 4 years ago

Okay, I made a debug build, and ran it through GDB. Here's the result:

Program received signal SIGSEGV, Segmentation fault.
0x00000000015ee4f4 in memoryPool ()

As for overlays, I'm not aware of having anything installed on my system that could potentially interfere (such as a GPU control app).

EDIT: Here's a backtrace, if it's of any help.

(gdb) backtrace
#0  0x00000000015ee4f4 in memoryPool ()
#1  0x00000000004a6eab in main_getcmdline ()
#2  0x00000000004013c4 in __tmainCRTStartup ()
    at D:/mingwbuild/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:335
#3  0x00000000004014e6 in WinMainCRTStartup ()
    at D:/mingwbuild/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:192
Calinou commented 4 years ago

Isn't Jedi Outcast singleplayer not in a working state? According to the README:

Currently, the most stable portion of this project is the Jedi Academy multiplayer code, with the single player code in a reasonable state.

Rough support for Jedi Outcast single player is also available, however this should be considered heavily work in progress. This is not currently actively worked on or tested. OpenJK does not have Jedi Outcast multiplayer support.

B-Keeper commented 4 years ago

@Calinou Certainly not. As I mentioned in my original post, I did compile and play it in the past.