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

Fatal Application Failure #6126

Closed
DorpsGek opened this issue Oct 4, 2014 · 4 comments
Closed

Fatal Application Failure #6126

DorpsGek opened this issue Oct 4, 2014 · 4 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Oct 4, 2014

foffy opened the ticket and wrote:

just after purchasing a rival company openttd caused "fatal application failure".

System Information:

AMD Turion x2 RM-72
3gb Ram
Windows Vista Home Premium 32bit Service Pack 2
1tb hdd
OpenTTD 1.4.3

crash files attached

Attachments

Reported version: 1.4.3
Operating system: Windows


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

DorpsGek commented Oct 4, 2014

foffy wrote:

Sorry I forgot to add the crash.sav and last autosave files

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6126#comment13547

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 4, 2014

Rubidium wrote:

Some information from the crash dump:

FAULTING_IP:
openttd!ErrmsgWindow::DrawWidget+12c [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\error_gui.cpp @ 252]
00478c1b 0fb64834 movzx ecx,byte ptr [eax+34h]

EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
.exr 0xffffffffffffffff
ExceptionAddress: 00478c1b (openttd!ErrmsgWindow::DrawWidget+0x0000012c)
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000000
Parameter[1]: 00000034
Attempt to read from address 00000034

PROCESS_NAME: openttd.exe

ADDITIONAL_DEBUG_TEXT:
Use '!findthebuild' command to search for the target build information.
If the build information is available, run '!findthebuild -s ; .reload' to set symbol path and load symbols.

MODULE_NAME: openttd

FAULTING_MODULE: 770d0000 ntdll

DEBUG_FLR_IMAGE_TIMESTAMP: 5421c017

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

EXCEPTION_PARAMETER1: 00000000

EXCEPTION_PARAMETER2: 00000034

READ_ADDRESS: 00000034

FOLLOWUP_IP:
openttd!ErrmsgWindow::DrawWidget+12c [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\error_gui.cpp @ 252]
00478c1b 0fb64834 movzx ecx,byte ptr [eax+34h]

MOD_LIST:

FAULTING_THREAD: 0000114

BUGCHECK_STR: APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ_WRONG_SYMBOLS

PRIMARY_PROBLEM_CLASS: NULL_CLASS_PTR_DEREFERENCE

DEFAULT_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE

LAST_CONTROL_TRANSFER: from 0046291a to 00478c1b

STACK_TEXT:
0012f9e8 0046291a 0012fa30 00000001 00000000 openttd!ErrmsgWindow::DrawWidget+0x12c [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\error_gui.cpp @ 252]
0012fa44 0045fbed 0e0586c8 0d609798 0045fbed openttd!NWidgetLeaf::Draw+0xac1 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\widget.cpp @ 2496]
0012fa50 0045fbed 0e0586c8 00000170 00460f44 openttd!NWidgetPIPContainer::Draw+0x11 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\widget.cpp @ 1100]
0012fa5c 00460f44 0e0586c8 0e0586c8 0fc8ea70 openttd!NWidgetPIPContainer::Draw+0x11 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\widget.cpp @ 1100]
0012fa98 0045fbed 0e0586c8 0012fb08 0045f577 openttd!NWidgetBackground::Draw+0x35f [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\widget.cpp @ 1852]
0012faa4 0045f577 0e0586c8 0e0586c8 04ff14c0 openttd!NWidgetPIPContainer::Draw+0x11 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\widget.cpp @ 1100]
0012fac8 004bbff4 0e0586c8 00464533 00000160 openttd!Window::DrawWidgets+0x13 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\widget.cpp @ 606]
0012fad0 00464533 00000160 0e0586c8 000004c0 openttd!BuildTreesWindow::OnPaint+0x6 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\tree_gui.cpp @ 106]
0012fae8 0041fa04 000000d0 000004c0 00000160 openttd!DrawOverlappedWindow+0xff [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\window.cpp @ 899]
0012fb24 0041fb85 00000340 000000d0 0000049f openttd!RedrawScreenRect+0xad [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\gfx.cpp @ 1268]
0012fb60 00466a6a 7600863c 003900ac 0012fb78 openttd!DrawDirtyBlocks+0x15a [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\gfx.cpp @ 1360]
0012fb78 005bfa09 00000000 00000000 0012fde0 openttd!UpdateWindows+0x10a [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\window.cpp @ 3021]
0012fbc0 0043da9a 029a37c0 0012fdf8 7ffd8000 openttd!VideoDriver_Win32::MainLoop+0x31e [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\video\win32_v.cpp @ 1295]
0012fde0 005c1cf3 00000001 0012fdf8 00000000 openttd!openttd_main+0xa47 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\openttd.cpp @ 856]
0012fef8 0069409c 00400000 00000000 001c26af openttd!WinMain+0x7a [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w32bit\src\os\windows\win32.cpp @ 452]
0012ff88 763bd3c9 7ffd8000 0012ffd4 77111603 openttd!__tmainCRTStartup+0x11a [f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c @ 275]
WARNING: Stack unwind information not available. Following frames may be wrong.
0012ff94 77111603 7ffd8000 770361ef 00000000 kernel32+0x4d3c9
0012ffd4 771115d6 006940ef 7ffd8000 00000000 ntdll+0x41603
0012ffec 00000000 006940ef 7ffd8000 00000000 ntdll+0x415d6

STACK_COMMAND: ~0s; .ecxr ; kb

SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: openttd!ErrmsgWindow::DrawWidget+12c

FOLLOWUP_NAME: MachineOwner

IMAGE_NAME: openttd.exe

BUCKET_ID: WRONG_SYMBOLS

FAILURE_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE_c0000005_openttd.exe!ErrmsgWindow::DrawWidget


This comment was imported from FlySpray: https://bugs.openttd.org/task/6126#comment13549

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 4, 2014

Rubidium wrote:

The attempt of removing the tram tracks from the tram depot caused the error message to show, which triggered the crash. The initial cause of the crash is a bug with changing the ownership of things when taking over a company.

If you just remove the depots (dynamite) instead of trying to remove the tram track, you should be able to remove the depot and continue playing the game.


This comment was imported from FlySpray: https://bugs.openttd.org/task/6126#comment13550

@DorpsGek
Copy link
Member Author

DorpsGek commented Oct 4, 2014

Rubidium closed the ticket.

Reason for closing: Fixed

In r26955.


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

@DorpsGek DorpsGek closed this as completed Oct 4, 2014
@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