[New menu editor, sparta]: IDE crashes when double-clicking a menu item to create default event
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
When I double-click a menu item in the new menu editor, the IDE crashes.
Steps to reproduce:
Install sparta docked designer.
1.) Open a form in the designer.
2.) Place a popup menu onto a form.
3.) Open a popup menu in the new menu editor.
4.) Double-click the first (auto created) menu item.
5.) The IDE crashes.
Additional information:
Call Stack output:
#0 CLASSES$_$TFPLISTENUMERATOR_$__$$_MOVENEXT$$BOOLEAN at :0
#1 GETSHADOWFORMENUITEM(0x101e45d0, 0x16bace40) at ..\designer\menushadows.pp:5760
#2 ONDESIGNERMODIFIED(0x101e45d0, 0x1034d6b0) at ..\designer\menushadows.pp:5705
#3 MODIFIED(0x155f1050, 0x1034d6b0) at propedits.pp:6088
#4 MODIFIED(0x1034d6b0) at propedits.pp:2748
#5 SETMETHODVALUE(0x1034d6b0, {CODE = 0x0, DATA = 0x16db70b8}) at propedits.pp:2791
#6 SETVALUE(0x1034d6b0, 0x156c121c 'MenuItem11Click') at propedits.pp:4499
#7 EDIT(0x1034d6b0) at propedits.pp:4294
#8 EDIT(0x102bbd68) at componenteditors.pas:766
#9 ADDONCLICK(0x1023f798, 0x0) at ..\designer\menushadows.pp:4701
#10 DBLCLICK(0x17cc37c0) at ..\designer\menushadows.pp:6420
#11 WMLBUTTONDBLCLK(0x17cc37c0, {MSG = 515, KEYS = 1, XPOS = 86, YPOS = 10, POS = {X = 86, Y = 10}, DUMMY = 655446, RESULT = 0}) at include\control.inc:2377
#12 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0
#13 WNDPROC(0x17cc37c0, {MSG = 515, WPARAM = 1, LPARAM = 655446, RESULT = 0, WPARAMLO = 1, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 86, LPARAMHI = 10, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\control.inc:2124
#14 WNDPROC(0x17cc37c0, {MSG = 515, WPARAM = 1, LPARAM = 655446, RESULT = 0, WPARAMLO = 1, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 86, LPARAMHI = 10, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5383
#15 DELIVERMESSAGE(0x17cc37c0, 0) at lclmessageglue.pas:112
#16 DOWINDOWPROC(0x13d8a2d8) at win32\win32callback.inc:2407
#17 WINDOWPROC(201082, 515, 1, 655446) at win32\win32callback.inc:2565
#18 ?? at :0
#19 ?? at :0
#20 ?? at :0
#21 ?? at :0
#22 APPPROCESSMESSAGES(0xf4f17a0) at win32\win32object.inc:355
#23 PROCESSMESSAGES(0xf499bf0) at include\application.inc:373
#24 REFRESHFAKES(0x1023f798) at ..\designer\menushadows.pp:5524
#25 SETSELECTEDSHADOW(0x1023f798, 0x0, 0x16bace40, true) at ..\designer\menushadows.pp:5872
#26 SETSELECTEDMENUITEM(0x1023f798, 0x16bace40, true, false) at ..\designer\menushadows.pp:5832
#27 ONDESIGNERSETSELECTION(0x1585fbb0, 0x16c884c8) at ..\designer\menueditorform.pas:226
#28 SETSELECTION(0x155f1050, 0x16c884c8) at propedits.pp:5971
#29 OIONSELECTPERSISTENTS(0x13d90630, 0x17ce9140) at main.pp:1705
#30 SETSELECTION(0x17ce9140, 0x16be3230) at objectinspector.pp:4365
#31 SETSELECTION(0x1694fd10, 0x173fd660) at customformeditor.pp:507
#32 ONCONTROLSELECTIONCHANGED(0x13d90630, 0x16b702f8, false) at main.pp:8781
#33 DOCHANGE(0x16b702f8, false) at ..\designer\controlselection.pp:2087
#34 ENDUPDATE(0x16b702f8) at ..\designer\controlselection.pp:1002
#35 ASSIGNPERSISTENT(0x16b702f8, 0x16bace40) at ..\designer\controlselection.pp:2253
#36 ONPROPHOOKPERSISTENTADDED(0x13d90630, 0x16bace40, true) at main.pp:12464
#37 PERSISTENTADDED(0x155f1050, 0x16bace40, true) at propedits.pp:5897
#38 ACTIVATE(0x1585fbb0) at ..\designer\menueditorform.pas:403
#39 CMACTIVATE(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\customform.inc:823
#40 SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal at :0
#41 WNDPROC(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\control.inc:2124
#42 WNDPROC(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5383
#43 WNDPROC(0x1585fbb0, {MSG = 45056, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\customform.inc:1445
#44 PERFORM(0x1585fbb0, 45056, 0, 0) at include\control.inc:1453
#45 SETFOCUSEDFORM(0xf4d9758, 0x1585fbb0) at include\screen.inc:889
#46 SETFOCUSEDCONTROL(0x1585fbb0, 0x101d0c80) at include\customform.inc:2471
#47 WNDPROC(0x101d0c80, {MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\wincontrol.inc:5302
#48 DELIVERMESSAGE(0x101d0c80, 0) at lclmessageglue.pas:112
#49 DOWINDOWPROC(0x13d8a168) at win32\win32callback.inc:2407
#50 WINDOWPROC(1576312, 7, 1118122, 0) at win32\win32callback.inc:2565
#51 BITBTNWNDPROC(1576312, 7, 1118122, 0) at win32\win32wsbuttons.pp:523
#52 ?? at :0
#53 ?? at :0
#54 ?? at :0
#55 ?? at :0
#56 ?? at :0
#57 SETFOCUS(1576312) at include\winapi.inc:926
#58 WNDPROC(0x1585fbb0, {MSG = 7, WPARAM = 0, LPARAM = 0, RESULT = 0, WPARAMLO = 0, WPARAMHI = 0, WPARAMFILLER = {}, LPARAMLO = 0, LPARAMHI = 0, LPARAMFILLER = {}, RESULTLO = 0, RESULTHI = 0, RESULTFILLER = {}}) at include\customform.inc:1411
#59 DELIVERMESSAGE(0x1585fbb0, 0) at lclmessageglue.pas:112
#60 DOWINDOWPROC(0x13d89198) at win32\win32callback.inc:2407
#61 WINDOWPROC(1118122, 7, 199572, 0) at win32\win32callback.inc:2565
#62 CUSTOMFORMWNDPROC(1118122, 7, 199572, 0) at win32\win32wsforms.pp:382
#63 ?? at :0
#64 ?? at :0
#65 ?? at :0
#66 ?? at :0
#67 ?? at :0
#68 ?? at :0
#69 CALLDEFAULTWINDOWPROC(1118122, 6, 2, 135486) at win32\win32callback.inc:84
#70 DOWINDOWPROC(0x13d89ba8) at win32\win32callback.inc:2315
#71 WINDOWPROC(1118122, 6, 2, 135486) at win32\win32callback.inc:2565
#72 CUSTOMFORMWNDPROC(1118122, 6, 2, 135486) at win32\win32wsforms.pp:382
#73 ?? at :0
#74 ?? at :0
#75 ?? at :0
#76 ?? at :0
#77 ?? at :0
#78 ?? at :0
#79 PEEKMESSAGE(0xf4f17a0, {HWND = 1431655765, MESSAGE = 1431655765, WPARAM = 1431655765, LPARAM = 1431655765, TIME = 1431655765, PT = {X = 1431655765, Y = 1431655765}}, 0, 0, 0, 1) at win32\win32winapi.inc:2576
#80 APPPROCESSMESSAGES(0xf4f17a0) at win32\win32object.inc:347
#81 HANDLEMESSAGE(0xf499bf0) at include\application.inc:1260
#82 RUNLOOP(0xf499bf0) at include\application.inc:1395
#83 APPRUN(0xf4f17a0, {Proc = {procedure (POINTER)} 0xf3afedc, Self = 0xf499bf0}) at include\interfacebase.inc:54
#84 RUN(0xf499bf0) at include\application.inc:1383
#85 main at lazarus.pp:140
Mantis conversion info:
- Mantis ID: 29362
- Version: 1.7 (SVN)
- Fixed in version: 1.7 (SVN)
- Fixed in revision: 51240 (#96dee5b6)
- Target version: 1.8