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

Assertion in ai_gui.cpp in r19359 on line 831 #3666

Closed
DorpsGek opened this issue Mar 7, 2010 · 5 comments
Closed

Assertion in ai_gui.cpp in r19359 on line 831 #3666

DorpsGek opened this issue Mar 7, 2010 · 5 comments
Labels
component: AI/Game script (squirrel) This issue is related to Squirrel (Scripting language) flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Mar 7, 2010

Zuu opened the ticket and wrote:

I played the attached scenario 'clueless_fail.sav' for a while (with an unreleased CluelessPlus version 17 with some fixes to the very recent report in the CluelessPlus thread).

When clicking to load clueless_fail.sav to restart it and re-load the AI I hit an assert as shown in the bug report.

Attachments

Reported version: 1.0.0-RC2
Operating system: All


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

DorpsGek commented Mar 7, 2010

Zuu wrote:

"The attached scenario" <--- should be a savegame and it can be found here: http://www.tt-forums.net/viewtopic.php?p=862281# p862281


This comment was imported from FlySpray: https://bugs.openttd.org/task/3666#comment7667

@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 7, 2010

Zuu wrote:

crash.sav is zero byte.

OpenTTD crashed when I tried to click on the emergency save button.


This comment was imported from FlySpray: https://bugs.openttd.org/task/3666#comment7668

@DorpsGek
Copy link
Member Author

DorpsGek commented Mar 8, 2010

glx wrote:

kernel32.dll!_RaiseException@16() + 0x58 octets
openttd.exe!CustomAbort(int signal=0x00000016) Ligne 417 C++
openttd.exe!raise(int signum=0x00000016) Ligne 590 + 0x4 octets C
openttd.exe!abort() Ligne 71 + 0x7 octets C
openttd.exe!error(const char * s=0x006d34a8, ...) Ligne 131 C++
openttd.exe!AIDebugWindow::SetStringParameters(int widget=0x00000001) Ligne 830 + 0x1a octets C++
openttd.exe!NWidgetLeaf::SetupSmallestSize(Window * w=0x04317690, bool init_array=true) Ligne 1906 C++
openttd.exe!NWidgetHorizontal::SetupSmallestSize(Window * w=0x04317690, bool init_array=true) Ligne 1125 C++
openttd.exe!NWidgetVertical::SetupSmallestSize(Window * w=0x04317690, bool init_array=true) Ligne 1277 C++
openttd.exe!NWidgetStacked::SetupSmallestSize(Window * w=0x04317690, bool init_array=true) Ligne 995 C++
openttd.exe!NWidgetVertical::SetupSmallestSize(Window * w=0x04317690, bool init_array=true) Ligne 1277 C++
openttd.exe!Window::InitializeData(WindowClass cls=WC_NONE, int window_number=0x00000000, unsigned int desc_flags=0x00000000) Ligne 860 C++
openttd.exe!Window::FinishInitNested(const WindowDesc * desc=0x00000000, int window_number=0x00000000) Ligne 1234 C++
openttd.exe!Window::InitNested(const WindowDesc * desc=0x00000000, int window_number=0x00000000) Ligne 1248 C++
openttd.exe!AIDebugWindow::AIDebugWindow(const WindowDesc * desc=0x0012fa6c, int number=0x0012fa6c) Ligne 702 C++
openttd.exe!ShowAIDebugWindow(Owner show_company=0x00000004) Ligne 1013 + 0x26 octets C++
openttd.exe!AIInstance::Died() Ligne 298 C++
openttd.exe!AIInstance::AIInstance(AIInfo * info=0x0012fae0) Ligne 126 C++
openttd.exe!__acos_pentium4() + 0x558f octets C++
openttd.exe!__acos_pentium4() + 0x3d0e octets C++
openttd.exe!__acos_pentium4() + 0x5843 octets C++
openttd.exe!00625cbf()
ntdll.dll!__except_handler4()
00eb2a8d()


This comment was imported from FlySpray: https://bugs.openttd.org/task/3666#comment7680

@DorpsGek
Copy link
Member Author

Rubidium wrote:

Easy to reproduce using the attached patch which does nothing more than make one 'fail' case always happen.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/3666#comment7712

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r19388


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

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

No branches or pull requests

1 participant