aliens

Author Topic: [Crash] Pressing 'Ok' in options screen crashes OpenXComEx  (Read 2498 times)

Offline Sander Bouwhuis

  • Sergeant
  • **
  • Posts: 26
    • View Profile
Re: [Crash] Pressing 'Ok' in options screen crashes OpenXComEx
« Reply #15 on: July 28, 2024, 12:37:56 pm »
Why's there a 15 second delay in there? After you change to Disabled, do you perhaps wait 15 seconds (where it counts down if you want to keep the settings), and then it crashes?

After I press 'Ok', the complete interface freezes (screen and mouse are 'stuck'). After 10 (or maybe 15?) seconds, the game crashes.
If this can't be fixed, at least people can find this thread to know how to use the text editing workaround to get the game working.

I'm happily playing now... the game is great!
« Last Edit: July 28, 2024, 12:39:36 pm by Sander Bouwhuis »

Online Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3346
    • View Profile
Re: [Crash] Pressing 'Ok' in options screen crashes OpenXComEx
« Reply #16 on: July 28, 2024, 12:53:37 pm »
@Sander Bouwhuis can you check older versions too? like do OXC work, do OXCE 7.12 work or OXCE 7.11 work?

Offline Sander Bouwhuis

  • Sergeant
  • **
  • Posts: 26
    • View Profile
Re: [Crash] Pressing 'Ok' in options screen crashes OpenXComEx
« Reply #17 on: July 28, 2024, 02:07:17 pm »
I tried v7.11.
1. Delete options.cfg
2. Start OpenXComEx.exe
3. Go to options
4. Go to fullscreen
5. Set native resolution
6. Change 'disable' (which was selected) to 'raw'
7. #CRASH#

Code: [Select]
[28-07-2024_13-04-38] [INFO] OpenXcom Version: Extended 7.11 (v2024-01-09)
[28-07-2024_13-04-38] [INFO] Platform: Windows 64 bit
[28-07-2024_13-04-38] [INFO] Data folder is:
[28-07-2024_13-04-38] [INFO] Data search is:
[28-07-2024_13-04-38] [INFO] - C:/Users/Bouwhuis/Documents/OpenXcom/
[28-07-2024_13-04-38] [INFO] - E:/Games/Installed/OpenXcom v7.11/
[28-07-2024_13-04-38] [INFO] User folder is: C:/Users/Bouwhuis/Documents/OpenXcom/
[28-07-2024_13-04-38] [INFO] Config folder is: C:/Users/Bouwhuis/Documents/OpenXcom/
[28-07-2024_13-04-38] [INFO] Options loaded successfully.
[28-07-2024_13-04-38] [INFO] SDL initialized successfully.
[28-07-2024_13-04-38] [INFO] SDL_mixer initialized successfully.
[28-07-2024_13-04-38] [INFO] Attempted locale:
[28-07-2024_13-04-38] [INFO] Detected locale: C
[28-07-2024_13-04-38] [INFO] Attempting to set display to 640x400x8...
[28-07-2024_13-04-38] [INFO] Display set to 640x400x8.
[28-07-2024_13-04-38] [INFO] Loading data...
[28-07-2024_13-04-38] [INFO] Scanning standard mods in ''...
[28-07-2024_13-04-38] [INFO] Scanning user mods in 'C:/Users/Bouwhuis/Documents/OpenXcom/'...
[28-07-2024_13-04-38] [INFO] Active mods:
[28-07-2024_13-04-38] [INFO] - xcom1 v1.0
[28-07-2024_13-04-39] [INFO] Loading begins...
[28-07-2024_13-04-39] [INFO] Pre-loading rulesets...
[28-07-2024_13-04-39] [INFO] Loading vanilla resources...
[28-07-2024_13-04-40] [INFO] Loading rulesets...
[28-07-2024_13-04-40] [INFO] Loading rulesets done.
[28-07-2024_13-04-40] [INFO] Loading fonts... Font.dat
[28-07-2024_13-04-40] [INFO] Lazy loading: 1
[28-07-2024_13-04-40] [INFO] Loading custom palettes from ruleset...
[28-07-2024_13-04-40] [INFO] Making palette backups...
[28-07-2024_13-04-40] [INFO] After load.
[28-07-2024_13-04-40] [INFO] Loading ended.
[28-07-2024_13-04-40] [INFO] Data loaded successfully.
[28-07-2024_13-04-40] [INFO] Loading language...
[28-07-2024_13-04-41] [INFO] Language loaded successfully.
[28-07-2024_13-04-41] [INFO] OpenXcom started successfully!
[28-07-2024_13-04-41] [INFO] Playing flx, 320x200, 890 frames
[28-07-2024_13-04-41] [INFO] Using software scaling routine. For best results, try an OpenGL filter.
[28-07-2024_13-04-43] [INFO] SDL_mixer initialized successfully.
[28-07-2024_13-04-44] [WARN] Couldn't get display resolutions
[28-07-2024_13-04-51] [INFO] Attempting to set display to 640x400x8...
[28-07-2024_13-04-53] [INFO] Display set to 640x400x8.
[28-07-2024_13-05-08] [INFO] Attempting to set display to 3840x2160x8...
[28-07-2024_13-05-09] [INFO] Display set to 3840x2160x8.
[28-07-2024_13-05-22] [INFO] Attempting to set display to 3840x2160x32...
[28-07-2024_13-05-22] [INFO] Display set to 3840x2160x32.
[28-07-2024_13-05-22] [FATAL] A fatal error has occurred: Segmentation fault.
[28-07-2024_13-05-22] [FATAL] 0x5dc830 OpenXcom::CrossPlatform::stackTrace(void*)
[28-07-2024_13-05-22] [FATAL] 0x5dd6b0 OpenXcom::CrossPlatform::crashDump(void*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[28-07-2024_13-05-22] [FATAL] 0x41c7f0 signalLogger(int)
[28-07-2024_13-05-22] [FATAL] 0xa1ade0 OpenXcom::UfopaediaStartState::think()
[28-07-2024_13-05-22] [FATAL] 0x7ffaf933cdc0 _C_specific_handler
[28-07-2024_13-05-22] [FATAL] 0x7ffaf9352810 _chkstk
[28-07-2024_13-05-22] [FATAL] 0x7ffaf93020d0 RtlRaiseException
[28-07-2024_13-05-22] [FATAL] 0x7ffaf9351410 KiUserExceptionDispatcher
[28-07-2024_13-05-22] [FATAL] 0xa292b0 SDL_FillRect
[28-07-2024_13-05-22] [FATAL] 0x6b9bc0 OpenXcom::Surface::CleanSdlSurface(SDL_Surface*)
[28-07-2024_13-05-22] [FATAL] 0x5f4cf0 OpenXcom::Game::run()
[28-07-2024_13-05-22] [FATAL] 0x41c950 SDL_main
[28-07-2024_13-05-22] [FATAL] 0xa1c910 console_main
[28-07-2024_13-05-22] [FATAL] 0xa1ca30 WinMain
[28-07-2024_13-05-22] [FATAL] ??
[28-07-2024_13-05-22] [FATAL] ??
[28-07-2024_13-05-22] [FATAL] 0x7ffaf8ec7360 BaseThreadInitThunk
[28-07-2024_13-05-22] [FATAL] 0x7ffaf92fcc70 RtlUserThreadStart
[28-07-2024_13-05-29] [FATAL] OpenXcom has crashed: Segmentation fault.
Log file: C:/Users/Bouwhuis/Documents/OpenXcom/openxcom.log
If this error was unexpected, please report it on the OpenXcom forum (OXCE board).
The following can help us solve the problem:
1. a saved game from just before the crash (helps 98%)
2. a detailed description how to reproduce the crash (helps 80%)
3. a log file (helps 10%)
4. a screenshot of this error message (helps 5%)

This is my GPU:
Code: [Select]
NVIDIA System Information report created on: 07/28/2024 13:08:45
System name: HOME

[Display]
DirectX version: 12.0
GPU processor: NVIDIA GeForce GTX 1660 Ti
Driver version: 560.70
Driver Type: DCH
Direct3D feature level: 12_1
CUDA Cores: 1536
Core clock: 1845 MHz
Memory data rate: 12.00 Gbps
Memory interface: 192-bit
Memory bandwidth: 288.05 GB/s
Total available graphics memory: 22506 MB
Dedicated video memory: 6144 MB GDDR6
System video memory: 0 MB
Shared system memory: 16362 MB
Video BIOS version: 90.16.20.00.88
IRQ: Not used
Bus: PCI Express x16 Gen3
Device Id: 10DE 2182 3FC31458
Part Number: G161 0021

[Components]

nvui.dll 8.17.15.6070 NVIDIA User Experience Driver Component
nvxdplcy.dll 8.17.15.6070 NVIDIA User Experience Driver Component
nvxdbat.dll 8.17.15.6070 NVIDIA User Experience Driver Component
nvxdapix.dll 8.17.15.6070 NVIDIA User Experience Driver Component
NVCPL.DLL 8.17.15.6070 NVIDIA User Experience Driver Component
nvCplUIR.dll 8.1.940.0 NVIDIA Control Panel
nvCplUI.exe 8.1.940.0 NVIDIA Control Panel
nvWSSR.dll 32.0.15.6070 NVIDIA Workstation Server
nvWSS.dll 32.0.15.6070 NVIDIA Workstation Server
nvViTvSR.dll 32.0.15.6070 NVIDIA Video Server
nvViTvS.dll 32.0.15.6070 NVIDIA Video Server
nvLicensingS.dll 6.14.15.6070 NVIDIA Licensing Server
nvDevToolSR.dll 32.0.15.6070 NVIDIA Licensing Server
nvDevToolS.dll 32.0.15.6070 NVIDIA 3D Settings Server
nvDispSR.dll 32.0.15.6070 NVIDIA Display Server
nvDispS.dll 32.0.15.6070 NVIDIA Display Server
PhysX 09.23.1019 NVIDIA PhysX
NVCUDA64.DLL 32.0.15.6070 NVIDIA CUDA 12.6.32 driver
nvGameSR.dll 32.0.15.6070 NVIDIA 3D Settings Server
nvGameS.dll 32.0.15.6070 NVIDIA 3D Settings Server

These are my monitors:
DELL U4320Q (3840x2160) - Main monitor
DELL U2713HM (2560x1440) - 2nd monitor
« Last Edit: July 28, 2024, 02:10:56 pm by Sander Bouwhuis »

Online Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3346
    • View Profile
Re: [Crash] Pressing 'Ok' in options screen crashes OpenXComEx
« Reply #18 on: July 28, 2024, 05:09:08 pm »
Ok, thanks. It look like it even had better backtrack.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9076
    • View Profile
Re: [Crash] Pressing 'Ok' in options screen crashes OpenXComEx
« Reply #19 on: August 25, 2024, 10:27:30 am »
Yankes made some changes for OXCE 7.13.1: https://github.com/MeridianOXC/OpenXcom/commit/0038f67fe0fd5644e3497c1def6b36a7eee8a29f

@Sander Bouwhuis: can you retest if it still crashes?