View Issue Details

IDProjectCategoryView StatusLast Update
0003055Multi Theft Auto : San AndreasGUI / Menus / Consolepublic2018-09-02 20:19
ReporterIJsAssigned To 
PriorityhighSeverityminorReproducibilityunable to reproduce
Status closedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0003055: Crash oddity after d3d Invalidate/Restore sequence (after initializing/splash screen)
Description

A user named 'J-Fox' has been continuously crashing after the Direct3D invalidate/restore sequence triggered by the initialization of our GUI subsystems (happening after the GTA splash screens).

This is triggered by a CEGUI texture being destroyed right after the OnRestore event. This should normally not be happening (only on OnInvalidate, or destroying of the GUI), it certainly isn't happening on my hardware, and the logfile isn't giving any explicit reasons why this is happening.

The call stack before the destroy call is smashed, so there's no way to know what is causing the texture to be destroyed.

Disabling the dynamic menu doesn't seem to have any effect.

Apparently the crash itself is caused by a IDirect3DTexture9::Release call on an invalid (already invalidated/released?) texture.

Additional Information

logfile.txt

[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CClientVariables::CClientVariables
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CCommands::CCommands
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CCore::CCore
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CDirect3DHookManager::CDirect3DHookManager
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CDirectInputHookManager::CDirectInputHookManager
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CMessageLoopHook::CMessageLoopHook
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CSetCursorPosHook::CSetCursorPosHook
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CDirectInputHook8::CDirectInputHook8
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CDirect3DHook8::CDirect3DHook8
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # CDirect3DHook9::CDirect3DHook9
[DEBUG EVENT] 01-04-2008 @ 01:23:10 # Direct3D9 hook applied
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # DirectInput8 ANSI Interface Created.
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirectInput8::CProxyDirectInput8
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirectInputDevice8::CProxyDirectInputDevice8
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # Game loaded.
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # Multiplayer loaded.
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # Network loaded.
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # GUI loaded.
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirect3D9::CProxyDirect3D9
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirect3D9::CProxyDirect3D9
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirect3D9::~CProxyDirect3D9
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirect3D9::CreateDevice
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CProxyDirect3DDevice9::CProxyDirect3DDevice9
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # CDirect3DEvents9::OnDirect3DDeviceCreate
[DEBUG EVENT] 01-04-2008 @ 01:23:11 # GUI initialized.
[DEBUG EVENT] 01-04-2008 @ 01:23:12 # Creating renderer wrapper...
[DEBUG EVENT] 01-04-2008 @ 01:23:12 # Loading font texture...
[DEBUG EVENT] 01-04-2008 @ 01:23:12 # Font texture load successful!
[DEBUG EVENT] 01-04-2008 @ 01:23:12 # Font data load successful!
[DEBUG EVENT] 01-04-2008 @ 01:23:13 # CProxyDirect3DDevice9::Reset
[DEBUG EVENT] 01-04-2008 @ 01:23:13 # CDirect3DEvents9::OnInvalidate
[DEBUG EVENT] 01-04-2008 @ 01:23:13 # CDirect3DEvents9::OnRestore


coreconfig.xml

<mainconfig>
<settings>
<nick>J-Fox</nick>
<host>195.22.100.232</host>
<port>22009</port>
<password/>
<debugfile/>
<console_pos>0.200000 0.200000</console_pos>
<chat_font>1</chat_font>
<chat_lines>0</chat_lines>
<chat_color>0 0 128 100</chat_color>
<chat_input_color>0 0 191 110</chat_input_color>
<chat_scale>1.000000 1.000000</chat_scale>
<chat_input_prefix_color>172 213 254 255</chat_input_prefix_color>
<chat_input_text_color>172 213 254 255</chat_input_text_color>
<chat_width>1.000000</chat_width>
<chat_css_style_text>1</chat_css_style_text>
<chat_css_style_background>1</chat_css_style_background>
<chat_line_life>12000</chat_line_life>
<chat_line_fade_out>3000</chat_line_fade_out>
<chat_use_cegui>1</chat_use_cegui>
<mtu_size>1400</mtu_size>
<menu_options>248</menu_options>
</settings>
</mainconfig>


core.log

-- Unhandled exception --

Time = Fri Jan 04 01:23:30 2008
Module = X:\Spiele\PC\GTASA~1\MTA\cgui.dll
Code = 0xC0000005
Offset = 0x0483916D

EAX=07DA6820 EBX=019E2601 ECX=DEADBEEF EDX=0489FAA4 ESI=08D6F2A0
EDI=05318970 EBP=00000007 ESP=0023FBA0 EIP=0483916D FLG=00210202
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000

-- End of unhandled exception --

TagsNo tags attached.

Relationships

related to 0003626 closedIJs Malfunctioning ID3DXFont::DrawText call 
related to 0003625 closed Omit second BeginScene/EndScene Direct3D calls within same frame 
related to 0005057 closed Remove ability to alt-tab when not using windowed mode 
child of 0004922 closed Fix alt+tab Direct3D stability issues 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change