[Lazarus] Reliable access violations in IDE.

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Aug 23 18:16:03 CEST 2008


On Sat, 23 Aug 2008 16:58:59 +0200 (CEST)
Michael Van Canneyt <michael at freepascal.org> wrote:

> Hi,
> 
> The following invariably produces an access violation in the latest
> lazarus:
> 
> - Start lazarus
> - Drop syneditmemo on form
> - Click on syneditmemo.
> 
> ...and BOOM !
> 
> Backtrace:
> 
> 0  0x0000000000000000 in ?? ()
> #1  0x0000000000a3fd5a in LAZGETMETHODPROP (LAZGETMETHODPROP={CODE =
> 0x0, DATA = 0x0}, INSTANCE=0x2afbde7318d0, PROPINFO=0x15406bd) at
> propedits.pp:2307 #2  0x0000000000a3fdb3 in GETMETHODVALUEAT
> (GETMETHODVALUEAT={CODE = 0x0, DATA = 0x0}, INDEX=0,
> this=0x2afbdf8d4d80) at propedits.pp:2314 #3  0x0000000000a3fc12 in
> GETMETHODVALUE (GETMETHODVALUE={CODE = 0x2afbde7318d0, DATA =
> 0x2afbdf8d4d80}, this=0x2afbdf8d4d80) at propedits.pp:2273 #4
> 0x0000000000a46b22 in GETVALUE (GETVALUE=@0x7fffd0931078,
> this=0x2afbdf8d4d80, result=@0x7fffd0931078) at propedits.pp:4123 #5
> 0x0000000000a408e8 in GETVISUALVALUE (GETVISUALVALUE=@0x7fffd0931078,
> this=0x2afbdf8d4d80, result=@0x7fffd0931078) at propedits.pp:2467 #6
> 0x0000000000a05b77 in DOPAINT (PAINTONLYCHANGEDVALUES=true,
> this=0x2afbde78aa50) at objectinspector.pp:2479 #7
> 0x0000000000a05c41 in REFRESHPROPERTYVALUES (this=0x2afbde78aa50) at
> objectinspector.pp:2494 #8  0x0000000000a0c799 in
> REFRESHPROPERTYVALUES (this=0x2afbdc94cad0) at
> objectinspector.pp:3745 #9  0x000000000073dd3b in
> ONCONTROLSELECTIONPROPSCHANGED (SENDER=0x2afbddfaf740,
> this=0x2afbda1d12e0) at main.pp:11599 #10 0x0000000000c65869 in
> DOCHANGEPROPERTIES (this=0x2afbddfaf740)
> at ../designer/controlselection.pp:1800 #11 0x0000000000c6342c in
> UPDATEREALBOUNDS (this=0x2afbddfaf740)
> at ../designer/controlselection.pp:1161 #12 0x0000000000c62b5e in
> UPDATEBOUNDS (this=0x2afbddfaf740)
> at ../designer/controlselection.pp:1004 #13 0x0000000000c625ec in
> ENDUPDATE (this=0x2afbddfaf740)
> at ../designer/controlselection.pp:871 #14 0x0000000000c65d3e in
> ASSIGNPERSISTENT (ASSIGNPERSISTENT=true, APERSISTENT=0x2afbde736030,
> this=0x2afbddfaf740) at ../designer/controlselection.pp:1911 #15
> 0x0000000000c50edf in MOUSEDOWNONCONTROL (SENDER=0x2afbde7318d0,
> THEMESSAGE=@0x7fffd09316d8, this=0x2afbde7c1ee0)
> at ../designer/designer.pp:1375


Looks like
http://bugs.freepascal.org/view.php?id=11926

and the real bug is
http://bugs.freepascal.org/view.php?id=11949

Please test and add the comment to 11949 that 64bit linux is also
effected.

Mattias




More information about the Lazarus mailing list