Navigation Menu

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

[Windows] Crash on clicking anywhere in menu 'cept buttons #5378

Closed
DorpsGek opened this issue Dec 1, 2012 · 4 comments
Closed

[Windows] Crash on clicking anywhere in menu 'cept buttons #5378

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

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Dec 1, 2012

Evropi opened the ticket and wrote:

OS is Windows XP SP3, 32-bit, of course.

Happens in the main menu so I assume it happens everywhere else as well.

See title for how to reproduce.

Attachments

Reported version: Version?
Operating system: All


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

DorpsGek commented Dec 2, 2012

Alberth wrote:

I cannot reproduce this in Linux by random clicking.

Can you give the position to click, and what button you use?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5378#comment11722

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 2, 2012

frosch wrote:

Usually this is a signed/unsigned issue in some computations.
MSVC sometimes implicitly casts different in formulas, so yeah, most likely MSVC only.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5378#comment11723

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 2, 2012

glx wrote:

kernel32.dll!RaiseException@16() + 0x52 octets
openttd.exe!CustomAbort(int signal=22) Ligne 548 C++
openttd.exe!raise(int signum=22) Ligne 586 + 0x4 octets C
openttd.exe!abort() Ligne 74 + 0x7 octets C
openttd.exe!error(const char * s=0x00ba6bdc, ...) Ligne 120 + 0x5 octets C++
openttd.exe!Window::IsWidgetHighlighted(unsigned char widget_index='<') Ligne 171 C++
openttd.exe!DispatchLeftClickEvent(Window * w=0x0012f43c, int x=97, int y=194, int click_count=1) Ligne 509 + 0x9 octets C++
openttd.exe!MouseLoop(MouseClick click=MC_LEFT, int mousewheel=0) Ligne 2571 C++
openttd.exe!HandleMouseEvents() Ligne 2653 C++
openttd.exe!WndProcGdi(HWND
_ * hwnd=0x002b020a, unsigned int msg=513, unsigned int wParam=1, long lParam=35455484) Ligne 497 C++
user32.dll!InternalCallWinProc@20() + 0x28 octets
user32.dll!UserCallWinProcCheckWow@32() + 0xb7 octets
user32.dll!DispatchMessageWorker@8() + 0xdc octets
user32.dll!DispatchMessageW@4() + 0xf octets
openttd.exe!VideoDriver_Win32::MainLoop() Ligne 977 C++
openttd.exe!ttd_main(int argc=1, char * * argv=0x0012fe30) Ligne 850 C++
openttd.exe!WinMain(HINSTANCE
* hInstance=0x00400000, HINSTANCE
* hPrevInstance=0x00000000, char * lpCmdLine=0x00152367, int nCmdShow=1) Ligne 464 + 0x9 octets C++
openttd.exe!__tmainCRTStartup() Ligne 275 + 0x1c octets C
kernel32.dll!_BaseProcessStart@4() + 0x23 octets


This comment was imported from FlySpray: https://bugs.openttd.org/task/5378#comment11730

@DorpsGek
Copy link
Member Author

DorpsGek commented Dec 3, 2012

glx closed the ticket.

Reason for closing: Fixed

In r24780


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

@DorpsGek DorpsGek closed this as completed Dec 3, 2012
@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