Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Crash when switching from original_windows to zBase #5571

Closed
DorpsGek opened this issue Jun 2, 2013 · 3 comments
Closed

[Windows] Crash when switching from original_windows to zBase #5571

DorpsGek opened this issue Jun 2, 2013 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jun 2, 2013

Samu opened the ticket and wrote:

zBase is r250

- start OpenTTD in Window mode @ 1280x720 and original_windows graphics set
- click Game Options, click Fullscreen
- once in fullscreen mode, switch graphics set to zBase
- close Game Options screen -> Crash!

My desktop also looks real bad now.

*** OpenTTD Crash Report ***

Crash at: Sat Jun 01 23:47:51 2013
In game date: 2116-05-26 (52)

Crash reason:
Exception: C0000005
Location: 000000013FF9CFF8
Message:

OpenTTD version:
Version: 1.3.1 (0)
NewGRF ver: 131862de
Bits: 64
Endian: little
Dedicated: no
Build date: May 31 2013 21:01:26

Registers:
RAX: 0000000000000909 RBX: 0000000004BC954E RCX: 0000000000000009 RDX: 0000000000000000
RSI: 000000000F2471AC RDI: 0000000004F4A472 RBP: 000000000020DA60 RSP: 000000000020D9F0
R8: 0000000000000046 R9: 0000000000000000 R10: 0000000000000000 R11: 00000000000000FF
R12: 00000000FFE3F855 R13: 000000000F949000 R14: 000000000FD44842 R15: 000000000D1892A0
RIP: 000000013FF9CFF8 EFLAGS: 00010283

Bytes at instruction pointer:
41 8B 45 00 0F B6 0F C1 E8 10 44 88 5D BB 44 0F B6 C8 41 8B 45 00 C1 E8

Stack trace:
00000FD2 00000000 00000000 00000000 77395410 00000000 00000000 00000000
00000D90 00000000 FF130801 FF000000 00000000 00000000 00000000 00000000
01C34718 00000000 048585EE 00000000 088A8ABE 00000000 0F9C47E6 00000000
0F248F4C 00000000 00000D90 00000000 0000007B 00000000 00000000 00000000
00000000 00000000 000001D3 00000000 00000018 00000000 FFFFEF80 00000000
0020DB00 00000000 3FDF384F 00000001 0D1892A0 00000000 0020DAC0 00000000
00000002 00000000 0C973F00 00000000 04847E60 00000000 04801039 00000000
00000000 00000000 00000018 00000018 00000060 00000060 000001D3 0000007B
0F160000 00000000 00000780 00000001 00110966 00000000 00000000 00000000
00000005 00000000 00110966 00000000 0020DC09 00000000 3FDF2CF1 00000001
00000000 00000000 000001D3 00000000 0000007B 00000000 00000000 00000001
0F160000 00000000 00000000 00000000 00000002 00000000 00000005 00000000
0D1892A0 00000000 3FDF3F3C 00000001 4067B6B8 00000001 00000000 00000000
00000000 00000000 0D1892A0 00000000 00000000 00000000 04380780 00000000
04380780 00000000 3FFF671B 00000001 00000000 00000000 00000000 00000000
04380780 00000000 00000002 00000000 00000000 00000000 00000000 00000000
002D4420 00000000 002D4430 00000000 00000000 00000000 00000307 00000000
00000002 00000000 03070000 00020000 00000000 00000000 00000000 00370002
00000000 00020000 00000000 00000000 002D9880 00000000 00004000 00000040
00000005 00000000 00000000 00000000 00110966 00000000 77199BD1 00000000
00000005 00000000 00000001 00000000 00000000 00000000 00000002 00000000
00000000 00000000 00000000 00000000 00000001 00000000 00000000 00000000
00000000 00000000 00000080 00000000 00000048 00000000 00000001 00000000
00000000 00000000 00000000 00000000 00000030 00000000 FFFFFFFF FFFFFFFF

Operating system:
Name: Windows
Release: 6.1.7601 (Service Pack 1)
Compiler: MSVC 1600

Configuration:
Blitter: 32bpp-anim
Graphics set: zBase (250)
Language: C:\Program Files\OpenTTD\lang\english.lng
Music driver: win32
Music set: OpenMSX (96)
Network: no
Sound driver: win32
Sound set: OpenSFX (87)
Video driver: win32

AI Configuration (local: 0):
0: Human

Libraries:
FreeType: 2.4.5
ICU: 4.4.2
LZMA: 5.0.3
LZO: 2.05
PNG: 1.5.4
Zlib: 1.2.5

Module information:
C:\Program Files\OpenTTD\openttd.exe handle: 000000013FDD0000 size: 9963008 crc: 8EFDFABA date: 2013-05-31 21:06:02
C:\Windows\SYSTEM32\ntdll.dll handle: 0000000077280000 size: 1731920 crc: 71D20A99 date: 2011-11-17 06:41:18
C:\Windows\system32\kernel32.dll handle: 0000000077060000 size: 1161216 crc: EC2F4AD5 date: 2012-11-30 05:41:07
C:\Windows\system32\KERNELBASE.dll handle: 000007FEFD1C0000 size: 424448 crc: 2907A4D9 date: 2012-11-30 05:41:07
C:\Windows\system32\WINMM.dll handle: 000007FEF8F20000 size: 217600 crc: 7BC1529F date: 2009-07-14 01:41:56
C:\Windows\system32\msvcrt.dll handle: 000007FEFF4F0000 size: 634880 crc: 9D1B448A date: 2011-12-16 08:46:06
C:\Windows\system32\USER32.dll handle: 0000000077180000 size: 1008128 crc: 70FF7D7F date: 2010-11-20 04:27:28
C:\Windows\system32\GDI32.dll handle: 000007FEFD740000 size: 403968 crc: 3D5BC405 date: 2010-11-20 04:26:26
C:\Windows\system32\LPK.dll handle: 000007FEFF320000 size: 41984 crc: 350AF03B date: 2009-07-14 01:41:19
C:\Windows\system32\USP10.dll handle: 000007FEFF420000 size: 800768 crc: ED52987B date: 2012-11-22 05:44:23
C:\Windows\system32\WS2_32.dll handle: 000007FEFE0A0000 size: 297984 crc: 0F68689B date: 2010-11-20 04:27:30
C:\Windows\system32\RPCRT4.dll handle: 000007FEFDA50000 size: 1219584 crc: 5217F07C date: 2010-11-20 04:27:26
C:\Windows\system32\NSI.dll handle: 000007FEFF330000 size: 13824 crc: 53B46F6C date: 2009-07-14 01:41:53
C:\Windows\system32\ADVAPI32.dll handle: 000007FEFF340000 size: 877056 crc: FA615A20 date: 2009-07-14 01:40:01
C:\Windows\SYSTEM32\sechost.dll handle: 000007FEFE2B0000 size: 113664 crc: 978CFAE5 date: 2009-07-14 01:41:53
C:\Windows\system32\SHELL32.dll handle: 000007FEFE560000 size: 14172672 crc: CD9AB1F6 date: 2013-02-27 05:52:56
C:\Windows\system32\SHLWAPI.dll handle: 000007FEFE0F0000 size: 448512 crc: 086DF743 date: 2010-11-20 04:27:26
C:\Windows\system32\IMM32.DLL handle: 000007FEFF2F0000 size: 167424 crc: 41B2805A date: 2009-07-14 01:41:09
C:\Windows\system32\MSCTF.dll handle: 000007FEFDB80000 size: 1067008 crc: 798DDDA0 date: 2009-07-14 01:41:28
C:\Windows\system32\ole32.dll handle: 000007FEFD530000 size: 2086912 crc: 72F91CD0 date: 2010-11-20 04:27:24
C:\Windows\system32\uxtheme.dll handle: 000007FEFB780000 size: 332288 crc: B0A13DF9 date: 2009-07-14 01:41:56
C:\Windows\system32\dwmapi.dll handle: 000007FEFB1B0000 size: 82432 crc: A459F360 date: 2009-07-14 01:40:34
C:\Windows\system32\CRYPTBASE.dll handle: 000007FEFCF90000 size: 44032 crc: F547C16E date: 2009-07-14 01:40:24
C:\Windows\system32\CLBCatQ.DLL handle: 000007FEFE1F0000 size: 607744 crc: 939E35C9 date: 2009-07-14 01:40:15
C:\Windows\system32\OLEAUT32.dll handle: 000007FEFD7B0000 size: 861696 crc: 1F331414 date: 2011-08-27 05:37:49
C:\Windows\system32\mswsock.dll handle: 000007FEFC8D0000 size: 326144 crc: 136B1525 date: 2010-11-20 04:27:12
C:\Windows\System32\wshtcpip.dll handle: 000007FEFC290000 size: 13312 crc: 5D1E2C55 date: 2009-07-14 01:41:58
C:\Windows\system32\MMDevAPI.DLL handle: 000007FEFB1D0000 size: 284160 crc: CDF2EF81 date: 2009-07-14 01:41:26
C:\Windows\system32\PROPSYS.dll handle: 000007FEFB8A0000 size: 1212416 crc: B83FA3BE date: 2010-11-20 04:27:24
C:\Windows\system32\wdmaud.drv handle: 000007FEF51A0000 size: 217088 crc: 12829973 date: 2010-11-20 04:24:22
C:\Windows\system32\ksuser.dll handle: 0000000072660000 size: 5120 crc: AA2071D9 date: 2009-07-14 01:41:13
C:\Windows\system32\AVRT.dll handle: 000007FEFB090000 size: 18432 crc: 5CE53CB7 date: 2009-07-14 01:40:05
C:\Windows\system32\SETUPAPI.dll handle: 000007FEFDC90000 size: 1900544 crc: A364BD6A date: 2010-11-20 04:27:26
C:\Windows\system32\CFGMGR32.dll handle: 000007FEFD260000 size: 207872 crc: 1984C339 date: 2010-11-20 04:25:52
C:\Windows\system32\DEVOBJ.dll handle: 000007FEFD230000 size: 93184 crc: A7541AE2 date: 2009-07-14 01:40:28
C:\Windows\system32\AUDIOSES.DLL handle: 000007FEF9460000 size: 296448 crc: 90389554 date: 2010-11-20 04:25:44
C:\Windows\system32\msacm32.drv handle: 000007FEF5190000 size: 25600 crc: 2B579A05 date: 2009-07-14 01:38:50
C:\Windows\system32\MSACM32.dll handle: 000007FEF5170000 size: 83456 crc: 3D67538B date: 2009-07-14 01:41:27
C:\Windows\system32\midimap.dll handle: 000007FEF5160000 size: 20480 crc: CB902A13 date: 2009-07-14 01:41:23
C:\Windows\system32\psapi.dll handle: 0000000077450000 size: 9216 crc: 84B5E9BA date: 2009-07-14 01:41:53

---- gamelog start ----
Tick 11496: game loaded
Revision text changed to 1.3.0, savegame version 180, not modified, _openttd_newgrf_version = 0x130061eb
New game mode: 1 landscape: 0
Tick 11496: game loaded
Revision text changed to 1.3.1, savegame version 180, not modified, _openttd_newgrf_version = 0x131862de
New game mode: 0 landscape: 0
---- gamelog end ----

*** End of OpenTTD Crash Report ***

Decoded stack trace:
[00] openttd 0x000000013FF9CFF8
[01] openttd 0x000000013FDF384F
[02] openttd 0x000000013FDF2CF1
[03] openttd 0x000000013FDF3F3C
[04] openttd 0x000000013FFF671B
[05] USER32 0x0000000077199BD1 TranslateMessageEx + 673
[06] USER32 0x0000000077196AA8 SetTimer + 376
[07] USER32 0x00000000771926F8 GetSystemMenu + 312
[08] USER32 0x000000007719760E SetWindowTextW + 1466
[09] uxtheme 0x000007FEFB781644
[10] uxtheme 0x000007FEFB781445
[11] USER32 0x00000000771989D3 GetWindowDC + 227
[12] openttd 0x000000013FFF6C6D
[13] USER32 0x0000000077198971 GetWindowDC + 129
[14] USER32 0x00000000771972CB SetWindowTextW + 631
[15] USER32 0x0000000077192651 GetSystemMenu + 145
[16] ntdll 0x00000000772D1225 KiUserCallbackDispatcher + 31
[17] USER32 0x00000000771A395A mouse_event + 198
[18] USER32 0x00000000771A378B ChangeDisplaySettingsW + 31
[19] openttd 0x000000013FFF6656
[20] USER32 0x0000000077199BD1 TranslateMessageEx + 673
[21] USER32 0x00000000771972CB SetWindowTextW + 631
[22] USER32 0x0000000077196829 IsDialogMessageW + 361
[23] ntdll 0x00000000772D1225 KiUserCallbackDispatcher + 31
[24] USER32 0x000000007718CBFA DestroyWindow + 10
[25] openttd 0x000000013FFF5F7E
[26] openttd 0x000000013FFF75B4
[27] openttd 0x000000013FDF4C5A
[28] openttd 0x000000013FF0ED68
[29] openttd 0x000000013FF226B1
[30] openttd 0x000000013FF229AA
[31] openttd 0x000000013FE1032E
[32] openttd 0x000000013FE11FBF
[33] openttd 0x000000013FE12EF6
[34] openttd 0x000000013FFF749D
[35] openttd 0x000000013FE119BB
[36] openttd 0x000000013FFF998E
[37] openttd 0x00000001400F502C
[38] kernel32 0x000000007707652D BaseThreadInitThunk + 13
[39] ntdll 0x00000000772AC521 RtlUserThreadStart + 33

*** End of additional info ***

Attachments

Reported version: 1.3.1
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/5571
@DorpsGek
Copy link
Member Author

DorpsGek commented Jun 2, 2013

frosch wrote:

Crashes upon drawing the mouse cursor. Maybe some missing mutex stuff?

Backtrace from crash.dmp:
00000000`0020d9f0 00000001`3fdf384f : 00000000`0d1892a0 00000000`0020dac0 00000000`00000002 00000000`0c973f00 : openttd!Blitter_32bppAnim::Draw+0xe00 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\blitter\32bpp_anim.cpp @ 208]
00000000`0020daa0 00000001`3fdf2cf1 : 00000000`00000000 00000000`000001d3 00000000`0000007b 00000001`00000000 : openttd!GfxMainBlitter+0x5a7 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\gfx.cpp @ 1429]
00000000`0020db30 00000001`3fdf3f3c : 00000001`4067b6b8 00000000`00000000 00000000`00000000 00000000`0d1892a0 : openttd!DrawSprite+0xb5 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\gfx.cpp @ 1225]
00000000`0020db80 00000001`3fff671b : 00000000`00000000 00000000`00000000 00000000`04380780 00000000`00000002 : openttd!DrawMouseCursor+0x184 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\gfx.cpp @ 1707]
00000000`0020dbc0 00000000`77199bd1 : 00000000`00000005 00000000`00000001 00000000`00000000 00000000`00000002 : openttd!WndProcGdi+0x1cf [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\video\win32_v.cpp @ 647]
00000000`0020dc70 00000000`00000005 : 00000000`00000001 00000000`00000000 00000000`00000002 00000000`00000000 : user32+0x19bd1


This comment was imported from FlySpray: https://bugs.openttd.org/task/5571#comment12264

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 1, 2013

Rubidium closed the ticket.

Reason for closing: Fixed

In r25550


This comment was imported from FlySpray: https://bugs.openttd.org/task/5571

@DorpsGek DorpsGek closed this as completed Jul 1, 2013
@DorpsGek
Copy link
Member Author

frosch wrote:

r25550 was reverted in r26360. Issue still exists as #5867.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5571#comment13092

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant