IDE crash
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
-
Reporter name: Zeljan Rikalo
Original Reporter info from Mantis: zeljko@holobit.net @zeljan1
- Reporter name: Zeljan Rikalo
Description:
Sometimes access violation is thrown. Using Qt5 , lazarus trunk r62733, fpc-3.0.4 on linux 64bit.
Looks like same error as Cyrax reported (gtk2) in issue #36776 (closed) but this issue isn't related to count for menuitems
Steps to reproduce:
It is pretty hard to reproduce, but switching project with different num of build modes help, then open Project Options dialog and click "Cancel" (not OK but Cancel). GDB catched this:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000568d48 in COUNT (this=0x2f7362696c5f796d) at lazmethodlist.pas:192
192 Result:=FCount
(gdb) bt
#0 0x0000000000568d48 in COUNT (this=0x2f7362696c5f796d) at lazmethodlist.pas:192
#1 0x000000000049e60c in DOAFTERWRITE (this=0x7fffd89f50b0, RESTORE=true) at ideoptionsintf.pas:404
#2 0x0000000000bc7f20 in WRITEALL (this=0x7fffdcf4e830, RESTORE=true) at ideoptionsdlg.pas:411
#3 0x00000000004b7edd in DOOPENIDEOPTIONS (this=0x7fffe0678b10, AEDITOR=0x0, ACAPTION=0x7fffdc8e3218 'Options for Project: Holoerp', AOPTIONSFILTER=..., highAOPTIONSFILTER=
1, ASETTINGS=0) at main.pp:5044
#4 0x00000000004b55a3 in PROJECTOPTIONSHELPER (this=0x7fffe0678b10, AFILTER=..., highAFILTER=1) at main.pp:4446
#5 0x00000000004b56ee in MNUPROJECTOPTIONSCLICKED (this=0x7fffe0678b10, SENDER=0x7fffde9926c0) at main.pp:4458
#6 0x000000000093ce0f in MENUITEMCLICK (this=0x7fffde9926c0, SENDER=0x7fffdea58ae0) at menuintf.pas:547
#7 0x0000000000940db1 in MENUITEMCLICK (this=0x7fffde9926c0, SENDER=0x7fffdea58ae0) at menuintf.pas:1699
#8 0x000000000069681c in CLICK (this=0x7fffdea58ae0) at include/menuitem.inc:83
#9 0x0000000000697168 in DOCLICKED (this=0x7fffdea58ae0, MSG=) at include/menuitem.inc:288
#10 0x000000000043a4cf in SYSTEM$_$TOBJECT_$__$$_DISPATCH$formal ()
#11 0x00000000025e6698 in .Ld25 ()
#12 0x00000000025e6418 in VMT_$MENUS_$$_TMENUITEM ()
#13 0x0000000000000001 in ()
#14 0x0000000000000006 in ()
#15 0x00007fffffffd420 in ()
#16 0x00007fffdea58ae0 in ()
#17 0x0000000000000000 in ()
Mantis conversion info:
- Mantis ID: 36782
- Version: 2.1 (SVN)
- Fixed in revision: r63009 (#cbaeca66)
- Target version: 2.2