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

self compile debug operator crash #4587

Closed
DorpsGek opened this issue Apr 11, 2011 · 5 comments
Closed

self compile debug operator crash #4587

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

Comments

@DorpsGek
Copy link
Member

LordAro opened the ticket and wrote:

Crash when running ./openttd -d5

MinGW
Win32 - Windows XP Pro SP3

attached file is only file generated, and that's only with the 'emergency save' window (the save didn't work), copy and pasting the log window-thing :)

clean trunk - r22317

Attachments

Reported version: trunk
Operating system: Windows


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

LordAro wrote:

compiling with './configure --enable-console' fixes the problem, but this still shouldn't happen...?
especially when doing './openttd' (normal configure) does work


This comment was imported from FlySpray: https://bugs.openttd.org/task/4587#comment9871

@DorpsGek
Copy link
Member Author

LordAro wrote:

ok, so apparently this is a problem with msys (according to Terkhen)


This comment was imported from FlySpray: https://bugs.openttd.org/task/4587#comment9873

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Does it also crash with OpenTTD's precompiled win32 and win9x binaries?

If win32 works (built with MSVC), then it's a msys bug (in general). If win9x works (built with MSYS), then it's probably even confined to a particular version of msys.


This comment was imported from FlySpray: https://bugs.openttd.org/task/4587#comment9900

@DorpsGek
Copy link
Member Author

DorpsGek commented May 9, 2011

Terkhen wrote:

All binaries (built with MSVC and built with MinGW/MSYS) crash when called from MSYS console with the -d parameter. No binaries crash when called with -d from windows console or from windows explorer. OpenTTD compiled as a console application does not crash with -d at all.

It seems that OpenTTD fails to open the handle to STDOUT when run from an MSYS console. The attached patch turns the crash into an assertion, but I'm not sure what could be done to fix this issue from our side. Since it runs fin except in this case, I'm inclined to believe it is an issue in MSYS, not in OpenTTD.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/4587#comment9914

@DorpsGek
Copy link
Member Author

Terkhen closed the ticket.

Reason for closing: Fixed

In r22464. Check known-bugs.txt.


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

@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