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

crash after startup 1.4.0 #5969

Closed
DorpsGek opened this issue Apr 6, 2014 · 4 comments
Closed

crash after startup 1.4.0 #5969

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Apr 6, 2014

gpsoft opened the ticket and wrote:

The new release crashed after startup (few days ago, even after second or third run). Today is running fine.
Platform: Windows 8.1 64 bit

What I did:
- Installed 1.4.0, 64 bit installer - all default selection
- started the game, it reported the opengfx library is outdate, so I updated it.
- after next start it crashed

I noticed on other computer that after the clean installation now it doesn't ask to update opengfx, so last few days maybe something changed about this on the servers.

Crash dump files included.

Attachments

Reported version: 1.4.0
Operating system: Windows


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

DorpsGek commented Apr 6, 2014

frosch wrote:

extracted archive

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5969#comment13208

@DorpsGek
Copy link
Member Author

DorpsGek commented Apr 6, 2014

frosch wrote:

Information from crash.dmp:

FAULTING_IP:
openttd!MultiCommodityFlow::Dijkstra<CapacityAnnotation,FlowEdgeIterator>+382 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\linkgraph\mcf.cpp @ 256]
00007ff6`b62cba2a 488b01 mov rax,qword ptr [rcx]

ExceptionAddress: 00007ff6b62cba2a (openttd!MultiCommodityFlow::Dijkstra<CapacityAnnotation,FlowEdgeIterator>+0x0000000000000382)
ExceptionCode: c0000005 (Access violation)

FOLLOWUP_IP:
openttd!MultiCommodityFlow::Dijkstra<CapacityAnnotation,FlowEdgeIterator>+382 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\linkgraph\mcf.cpp @ 256]
00007ff6`b62cba2a 488b01 mov rax,qword ptr [rcx]

STACK_TEXT:
00000000`0bd0f900 00007ff6`b62c98fd : 00000000`0bd0fa98 00000000`00000000 00000000`0bd0fab8 00000000`031e0000 : openttd!MultiCommodityFlow::Dijkstra<CapacityAnnotation,FlowEdgeIterator>+0x382 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\linkgraph\mcf.cpp @ 256]
00000000`0bd0fa60 00007ff6`b62c9520 : 00007ff6`b741e460 00000000`031d0000 00000000`031d007f 00007ff6`b741e440 : openttd!MCFHandler::Run+0x71 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\linkgraph\mcf.h @ 84]
00000000`0bd0fb20 00007ff6`b64e3915 : 00000000`0fc82270 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!LinkGraphSchedule::Run+0x2c [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\linkgraph\linkgraphschedule.cpp @ 71]
00000000`0bd0fb50 00007ff6`b64e38f1 : 00000000`0fc82270 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!ThreadObject_Win32::ThreadProc+0x1d [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\thread\thread_win32.cpp @ 87]
00000000`0bd0fb90 00007ff6`b65cf747 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!ThreadObject_Win32::stThreadProc+0x9 [c:\bamboo-agent-home\xml-data\build-dir\ottd-rls-w64bit\src\thread\thread_win32.cpp @ 77]
00000000`0bd0fbc0 00007ff6`b65cf7db : 00000000`0314e710 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!_callthreadstartex+0x17 [f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c @ 314]
00000000`0bd0fbf0 00007ffc`08b215dd : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : openttd!_threadstartex+0x7f [f:\dd\vctools\crt_bld\self_64_amd64\crt\src\threadex.c @ 292]
00000000`0bd0fc20 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : kernel32+0x15dd


This comment was imported from FlySpray: https://bugs.openttd.org/task/5969#comment13209

@DorpsGek
Copy link
Member Author

DorpsGek commented Apr 6, 2014

fonsinchen wrote:

This is what the disassembly looks like. The compiler seems to inline the whole SetNode method and the crash occurs in one of the last statements. I think that's where it assigns the iterators. I should really refresh my knowledge on x86 assembler. Also the VS debugger doesn't seem to be able to figure out the value of "from" (or anything inside the scope of the while loop), even though it has to be available at that point.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5969#comment13213

@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 7, 2015

frosch closed the ticket.

Reason for closing: Fixed

in r27178


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

@DorpsGek DorpsGek closed this as completed Mar 7, 2015
@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