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

Range check error in menutest #121

Open
rchastain opened this issue Dec 30, 2022 · 0 comments
Open

Range check error in menutest #121

rchastain opened this issue Dec 30, 2022 · 0 comments

Comments

@rchastain
Copy link

Copy the directory menutest and name it (for example) menutest1. Compile the project using the attached files. Run the project from a terminal. Move the mouse cursor on the menu bar. The application crashes.

[roland@localhost menutest1 (develop)]$ ./menutest
TfpgPopupMenu.HandleMouseEnter
TfpgPopupMenu.HandleMouseEnter
TfpgPopupMenu.HandleMouseExit
TfpgPopupMenu.HandleClose
...closing FEditSubMenu
TfpgPopupMenu.HandleClose
An unhandled exception occurred at $0000000000534A74:
ERangeError: Range check error
  $0000000000534A74  DODRAWIMAGEPART,  line 3801 of ../../../src/corelib/x11/fpg_x11.pas
  $000000000045A54C  DRAWIMAGEPART,  line 2655 of ../../../src/corelib/fpg_base.pas
  $000000000045A492  DRAWIMAGE,  line 2649 of ../../../src/corelib/fpg_base.pas
  $00000000004993C7  HANDLEPAINT,  line 265 of ../../../src/gui/messagedialog.inc
  $0000000000512E4A  MSGPAINT,  line 1552 of ../../../src/corelib/fpg_widget.pas
  $0000000000417ACA
  $000000000046587A  FPGDELIVERMESSAGES,  line 300 of ../../../src/corelib/fpg_msgqueue.inc
  $000000000046C531  WAITWINDOWMESSAGE,  line 1931 of ../../../src/corelib/fpg_main.pas
  $000000000046BD1E  PROCESSMESSAGES,  line 1838 of ../../../src/corelib/fpg_main.pas
  $0000000000474AFF  SHOWMODAL,  line 366 of ../../../src/gui/fpg_form.pas
  $000000000049A6DA  CRITICAL,  line 465 of ../../../src/gui/messagedialog.inc
  $000000000046C0DD  SHOWEXCEPTION,  line 1908 of ../../../src/corelib/fpg_main.pas
  $000000000046BF99  HANDLEEXCEPTION,  line 1885 of ../../../src/corelib/fpg_main.pas
  $000000000046AEA4  RUN,  line 1632 of ../../../src/corelib/fpg_main.pas
  $0000000000405BE8  MAINPROC,  line 348 of menutest.lpr
  $0000000000405C1E  main,  line 353 of menutest.lpr
[roland@localhost menutest1 (develop)]$

script.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant