Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2008-08

Reliable access violations in IDE.

5 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt

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 (, this=0x2afbdf8d4d80, ) at propedits.pp:4123
#5 0x0000000000a408e8 in GETVISUALVALUE (, this=0x2afbdf8d4d80, ) 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, , this=0x2afbde7c1ee0) at ../designer/designer.pp:1375

Reply by email

Michael Van Canneyt
to Felipe Monteiro de Carvalho
Felipe Monteiro de Carvalho wrote
There is some tipical information missing: widgetset, operating system, free pascal version

GTK 1, Linux, fpc 2.3.1 of 30 july, 64-bit.

Although I suspect this is rather irrelevant, seeing where the error is in the code...

Michael.

Reply by email

Mattias Gaertner
to Michael Van Canneyt: The following invariably produces an access violation in the latest lazarus: - Start…
Show quoted text 46 lines
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 (, this=0x2afbdf8d4d80, ) at propedits.pp:4123 #5 0x0000000000a408e8 in GETVISUALVALUE (, this=0x2afbdf8d4d80, ) 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, , 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

Reply by email