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

CTD when pressing Ctrl and placing a NewObject #5622

Closed
DorpsGek opened this issue Jun 27, 2013 · 15 comments
Closed

CTD when pressing Ctrl and placing a NewObject #5622

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

Comments

@DorpsGek
Copy link
Member

JacobD88 opened the ticket and wrote:

CTD when pressing Ctrl and placing a NewObject under the station construction window in r25475
Savegame attached; if you are missing any GRFs please let me know, most are on BaNaNaS

Attachments

Reported version: trunk
Operating system: Windows


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

JacobD88 wrote:

Sorry, i mean pressing CTRL and placing a station tile next to a new object! (Trying to link to adjacent station separated by a newobject tile)

Error!
Assertion failed at line 546 of ..\src\fontcache.cpp: IsPrintable(key)


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12331

@DorpsGek
Copy link
Member Author

planetmaker wrote:

Can you please provide me with the necessary NewGRFs for the savegame? Most are not readily available anywhere, and of those which are I often only find in different versions.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12336

@DorpsGek
Copy link
Member Author

Alberth wrote:

Alternatively, make a save game that can reproduce the problem.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12337

@DorpsGek
Copy link
Member Author

JacobD88 wrote:

Hi Alberth, please find attached the savegame that created the error and the Crash.sav above.

There's 60+ NewGRFs in the save so if you could let me know which specific ones you cannot find i will send them over rather than bundling the whole lot.

Many thanks

Jacob

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12338

@DorpsGek
Copy link
Member Author

JacobD88 wrote:

Error occurs when adding new station tiles adjacent to the tracks leading to the depot to the South West of Ewell Valley (To which i am trying to link them), on the banks (As shown in Crash PNG)


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12339

@DorpsGek
Copy link
Member Author

Alberth wrote:

Stuff reported as non-findable after adding missing content from the fruit store.
dbg: [grf] NewGRF 4D656F6E (Climate\treesw.grf) not found; checksum 6A1FD7EADF9CBB9A0704FAA644B77AE6
dbg: [grf] NewGRF 53410100 (Climate\infra_foundations.grf) not found; checksum 8A164DE1903BA2A944BAB805A30A4C8F
dbg: [grf] NewGRF BEBE0004 (Climate\EmptyGRF.grf) not found; checksum 18B41A49349176DDE6784A16F9E0A4CB
dbg: [grf] NewGRF 504A4348 (Infastructure\highhqw.grf) not found; checksum 992CA1748EB3A25F349B529DD5BB0481
dbg: [grf] NewGRF 6D620C00 (Infastructure\maricow.grf) not found; checksum C5987ACC9C19F4720085C6456EE915D8
dbg: [grf] NewGRF 414E0201 (Ships\fish.grf) not found; checksum 6CF27A4B4C8049491E421BAFAE1F311D
dbg: [grf] NewGRF 43415463 (Stations\CanStn.grf) not found; checksum E440EA20845B08426829845AA70DC0B6
dbg: [grf] NewGRF 6D620601 (Stations\newstatsw.grf) not found; checksum 1214DD7F5FD214AAF7E4A83A3C8226A9
dbg: [grf] NewGRF 45520100 (Stations\pgs2w.GRF) not found; checksum 790525F9E9045CE49AD2776459C07436
dbg: [grf] NewGRF 44440801 (TrainSets\pineapple.grf) not found; checksum 3678B8A879199129805FB96D6F2442D4


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12340

@DorpsGek
Copy link
Member Author

JacobD88 wrote:

Hi Alberth, please find attached as requested :)

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12341

@DorpsGek
Copy link
Member Author

planetmaker wrote:

I still miss newgrfs...
dbg: [grf] NewGRF 53430101 (Climate\sacsobjects1w.grf) not found; checksum CF293FF57A05F8190CEC974468CDA78A
dbg: [grf] NewGRF 444E0800 (Infastructure\VASTobjects.grf) not found; checksum B0DB930C8D8987D6FB4CAC6CA15589D1
hovs uk bus


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12343

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Downloading minidump ...
Validating ...
Revision: r25475
Modified: (0)
Bits: 32
Downloading required files ...
Analyzing ...
Opened log file 'analyze.log'

Microsoft (R) Windows Debugger Version 6.12.0002.633 AMD64
Copyright (c) Microsoft Corporation. All rights reserved.

Loading Dump File [C:\WINDOWS\TEMP\crash.cHrldqulsD\crash.dmp]
User Mini Dump File: Only registers, stack and portions of memory are available

Symbol search path is: .http://msdl.microsoft.com/download/symbols
Executable search path is:
Windows XP Version 2600 (Service Pack 3) MP (2 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
Machine Name:
Debug session time: Thu Jun 27 13:56:19.000 2013 (UTC + 0:00)
System Uptime: not available
Process Uptime: 0 days 0:03:29.000
...............................................
This dump file has an exception of interest stored in it.
The stored exception information can be accessed via .ecxr.
(864.a8): Unknown exception - code e1212012 (first/second chance not available)
eax=7c831324 ebx=001890d8 ecx=023a0808 edx=59a63d70 esi=001890b0 edi=00189108
eip=7c90e514 esp=0013c7dc ebp=0013c7ec iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00200246
Unable to load image C:\WINDOWS\system32\ntdll.dll, Win32 error 0n2
*
* WARNING: Unable to verify timestamp for ntdll.dll
*** ERROR: Module load completed but symbols could not be loaded for ntdll.dll
ntdll+0xe514:
7c90e514 c3 ret
0:000> !analyze -v; q
*******************************************************************************
* *
* Exception Analysis *
* *
*******************************************************************************

***** OS symbols are WRONG. Please fix symbols to do analysis.

Unable to load image C:\WINDOWS\system32\ole32.dll, Win32 error 0n2
*** WARNING: Unable to verify timestamp for ole32.dll
*** ERROR: Module load completed but symbols could not be loaded for ole32.dll
*** WARNING: Unable to verify timestamp for wdmaud.drv
*** ERROR: Module load completed but symbols could not be loaded for wdmaud.drv
*** WARNING: Unable to verify timestamp for dmime.dll
*** ERROR: Module load completed but symbols could not be loaded for dmime.dll
*** WARNING: Unable to verify timestamp for dmusic.dll
*** ERROR: Module load completed but symbols could not be loaded for dmusic.dll
GetPageUrlData failed, server returned HTTP status 404
URL requested: http://watson.microsoft.com/StageOne/openttd_exe/1_3_0_25475/kernel32_dll/5_1_2600_6293/00012fd3.htm?Retriage=1

FAULTING_IP:
kernel32+12fd3
7c812fd3 ?? ???

EXCEPTION_RECORD: ffffffff -- (.exr 0xffffffffffffffff)
.exr 0xffffffffffffffff
ExceptionAddress: 7c812fd3 (kernel32+0x00012fd3)
ExceptionCode: e1212012
ExceptionFlags: 00000000
NumberParameters: 0

DEFAULT_BUCKET_ID: WRONG_SYMBOLS

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: 7c900000 ntdll

DEBUG_FLR_IMAGE_TIMESTAMP: 51cb2e6c

ERROR_CODE: (NTSTATUS) 0xe1212012 -

EXCEPTION_CODE: (NTSTATUS) 0xe1212012 -

MOD_LIST:

FAULTING_THREAD: 000000a8

PRIMARY_PROBLEM_CLASS: WRONG_SYMBOLS

BUGCHECK_STR: APPLICATION_FAULT_WRONG_SYMBOLS

LAST_CONTROL_TRANSFER: from 00f75a90 to 7c812fd3

STACK_TEXT:
WARNING: Stack unwind information not available. Following frames may be wrong.
0013d708 00f75a90 e1212012 00000000 00000000 kernel32+0x12fd3
0013d760 005f58b2 e1212012 00000000 00000000 openttd!abort_action
0013d774 006a5467 00000016 a89ea25f 00000002 openttd!CustomAbort+0x10 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\os\windows\crashlog_win.cpp @ 548]
0013d7c0 006a4a25 00000016 0043ec47 65737341 openttd!raise+0x17a [f:\dd\vctools\crt_bld\self_x86\crt\src\winsig.c @ 586]
0013d7c8 0043ec47 65737341 6f697472 6166206e openttd!abort+0x10 [f:\dd\vctools\crt_bld\self_x86\crt\src\abort.c @ 74]
0013d9d0 0041d0b4 00eba670 00000222 00eef790 openttd!error+0x40 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\openttd.cpp @ 122]
0013d9e4 00422fe3 0000000a 0069e33e 0000000a openttd!FreeTypeFontCache::MapCharToGlyph+0x30 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\fontcache.cpp @ 548]
0013d9ec 0069e33e 0000000a 0013da04 006e9502 openttd!Font::mapCharToGlyph+0x2d [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\gfx_layout.cpp @ 86]
0013d9f8 006e9502 0000000a 0013da20 006f2457 openttd!icu_51::LEFontInstance::canDisplay+0xe
0013da04 006f2457 0000000a 00000001 00eb3fb8 openttd!icu_51::CharSubstitutionFilter::accept+0x12
0013da20 006ec610 0013da94 0013dca0 0b21b570 openttd!icu_51::MultipleSubstitutionSubtable::process+0x37
0013da3c 006ec775 00eb3fcc 00000002 0013da94 openttd!icu_51::GlyphSubstitutionLookupProcessor::applySubtable+0x50
0013da6c 006ec894 00000007 0000000b 00000000 openttd!icu_51::LookupProcessor::applyLookupTable+0x85
0013dad8 006e9bd4 00000001 00000000 00000000 openttd!icu_51::LookupProcessor::process+0xe4
0013db2c 006e7a36 0013db6c 00000000 6c61746e openttd!icu_51::GlyphSubstitutionTableHeader::process+0x84
0013dbb0 006e7227 0013dd6c 0013dd6c 00000000 openttd!icu_51::LayoutEngine::characterProcessing+0x216
0013dbe4 006e75b6 0013dd6c 00000000 00000026 openttd!icu_51::LayoutEngine::computeGlyphs+0x77
0013dc14 0069f6bd 0013dd6c 00000000 00000026 openttd!icu_51::LayoutEngine::layoutChars+0x76
0013dc7c 004230ec 00000000 0b791478 0013dcb8 openttd!icu_51::ParagraphLayout::ParagraphLayout+0x30d
0013dce4 004233e9 00000026 0b755008 0b7550a0 openttd!Layouter::GetParagraphLayout+0xc8 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\gfx_layout.cpp @ 126]
0013dd30 00420222 0013dd60 0013edc2 7fffffff openttd!Layouter::Layouter+0x2dc [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\gfx_layout.cpp @ 437]
0013ed88 00420291 0013ed98 00000000 418981ee openttd!GetStringBoundingBox+0x40 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\gfx.cpp @ 716]
0013f59c 0049728d 000000cb 0b755008 0b9118c0 openttd!GetStringBoundingBox+0x2a [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\gfx.cpp @ 732]
0013f5c4 00468d15 00000000 0013f5e8 00f01430 openttd!TooltipsWindow::UpdateWidgetSize+0x42 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\misc_gui.cpp @ 674]
0013f60c 00468071 0b755008 00000001 00000000 openttd!NWidgetBackground::SetupSmallestSize+0x1bb [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\widget.cpp @ 1765]
0013f62c 0046d239 0b755008 00000001 00000002 openttd!NWidgetVertical::SetupSmallestSize+0x37 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\widget.cpp @ 1280]
0013f644 0046d94c 00000000 0b755008 027b28f8 openttd!Window::InitializeData+0x7b [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\window.cpp @ 1314]
0013f65c 0046d9d1 00000000 0b755008 00000006 openttd!Window::FinishInitNested+0x10 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\window.cpp @ 1652]
0013f66c 0049716e 00000000 000000ac 00000001 openttd!Window::InitNested+0x16 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\window.cpp @ 1666]
0013f68c 004973f8 0b755008 0b7436c8 000000cb openttd!TooltipsWindow::TooltipsWindow+0x7e [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\misc_gui.cpp @ 646]
0013f6b8 004669fb 0b7436c8 000000cb 0013f6f0 openttd!GuiShowTooltips+0x5b [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\misc_gui.cpp @ 727]
0013f70c 004ae7b6 00000c0f 00001aff 00000004 openttd!VpSelectTilesWithMethod+0x3c7 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\viewport.cpp @ 2889]
0013f720 00466a71 00000004 0000000c 00000c0f openttd!BuildRailToolbarWindow::OnPlaceDrag+0x85 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\rail_gui.cpp @ 673]
0013f748 0046ebcd 00000334 0000034b 00000000 openttd!VpHandlePlaceSizingDrag+0x5d [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\viewport.cpp @ 2911]
0013f76 0046f19a 00000000 00000000 0000034b openttd!MouseLoop+0x4a [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\window.cpp @ 2636]
0013f788 005f3970 0013f86c 005f34f8 00000000 openttd!HandleMouseEvents+0x213 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\window.cpp @ 2794]
0013f7fc 0013f938 0013f830 7e418734 000a054a openttd!WndProcGdi+0x478 [c:\bamboo-agent-home\xml-data\build-dir\ottd-nightly-w32bit\src\video\win32_v.cpp @ 497]
00000000 00000000 00000000 00000000 00000000 0x13f938

STACK_COMMAND: ~0s; .ecxr ; kb

FOLLOWUP_IP:
openttd!abort_action+0
00f75a90 30a09b9e30a0 xor byte ptr [eax-5FCF6165h],ah

SYMBOL_STACK_INDEX: 1

SYMBOL_NAME: openttd!abort_action+13d760

FOLLOWUP_NAME: MachineOwner

IMAGE_NAME: openttd.exe

BUCKET_ID: WRONG_SYMBOLS

FAILURE_BUCKET_ID: WRONG_SYMBOLS_e1212012_openttd.exe!abort_action

WATSON_STAGEONE_URL: http://watson.microsoft.com/StageOne/openttd_exe/1_3_0_25475/51cb2e6c/kernel32_dll/5_1_2600_6293/506bc5e5/e1212012/00012fd3.htm?Retriage=1

Followup: MachineOwner
---------


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12345

@DorpsGek
Copy link
Member Author

planetmaker wrote:

May I suggest to try the same thing (possibly starting with the crash.sav as attached here) with a more recent trunk version, like the nightly as of today? I'm reasonably sure that the bug got fixed along some other changes meanwhile.
Did you by chance (accidentially) drag the station from the shore onto the water? Can you check whether that crashes r25475 for you but not current trunk?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12346

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 1, 2013

JacobD88 wrote:

Apologies for delayed reply, i have been away over the weekend.
Please find the additional two GRFs as requested.

The problem still occurs with r25545 when placing the tiles alongside the water, OR, dragging shore to water.

Interestingly, removing the text

small_font = Arial Bold
medium_font = Arial Bold
large_font = Arial Bold

from the config file (resetting to default font) stops the problem. The moment the text is back in the config file, the crashes return...

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12359

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 1, 2013

Rubidium wrote:

Does it also happen with other fonts such as Verdana?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12363

@DorpsGek
Copy link
Member Author

DorpsGek commented Jul 2, 2013

JacobD88 wrote:

Hi Rubidium, yes it appears so.

Currently i have tried

Arial
Arial Bold
Impact
Verdana
Tahoma
Times New Roman
Helvetica

All are True Type Fonts and I've checked the font files for corruption.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12372

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Do you have any static NewGRFs configured?
Does it still happen? If so, can you attach a new crash.dmp and log?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5622#comment12398

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Requested by user

no longer happening


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

@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