OpenTTD

Tasklist

FS#4654 - OpenTTD crash with company switching cheat

Attached to Project: OpenTTD
Opened by Brumi (Brumi) - Wednesday, 22 June 2011, 08:56 GMT
Last edited by frosch (frosch) - Saturday, 02 July 2011, 19:31 GMT
Type Bug
Category Core
Status Closed
Assigned To No-one
Operating System Windows
Severity Very Low
Priority Normal
Reported Version trunk
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Steps to reproduce:
1. Start an AI.
2. Switch to the AI's company using the company switching cheat.
3. Stop the AI using the 'stop_ai' command.
4. Click to open the road construction toolbar.
OpenTTD crashes after this. Rail construction and airport construction are greyed out, waterways construction isn't, but at least it doesn't crash the game.
This task depends upon

Closed by  frosch (frosch)
Saturday, 02 July 2011, 19:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  in r22624
Comment by Jose Soler (Terkhen) - Thursday, 23 June 2011, 19:36 GMT
> openttd.exe!ToolbarBuildRoadClick(Window * w) Línea 723 + 0xf Bytes C++
openttd.exe!MainToolbarWindow::OnClick(Point pt, int widget, int click_count) Línea 1393 + 0x25 Bytes C++
openttd.exe!DispatchLeftClickEvent(Window * w, int x, int y, int click_count) Línea 386 + 0x11 Bytes C++
openttd.exe!MouseLoop(MouseClick click, int mousewheel) Línea 2242 C++
openttd.exe!HandleMouseEvents() Línea 2324 C++
openttd.exe!WndProcGdi(HWND__ * hwnd, unsigned int msg, unsigned int wParam, long lParam) Línea 403 C++
openttd.exe!VideoDriver_Win32::MainLoop() Línea 853 C++
openttd.exe!convert_from_fs(const wchar_t * name, char * utf8_buf, unsigned int buflen) Línea 661 C++
openttd.exe!WinMain(HINSTANCE__ * hInstance, HINSTANCE__ * hPrevInstance, char * lpCmdLine, int nCmdShow) Línea 443 + 0x9 Bytes C++

Loading...