Hi all,
I have this problem for quite a while now, but I can not fix it. If I start lazarus, choose File->New->CGI application I get a TFPWebModule. When I click on it I get an segfault. The backtrace is below.
This does not happen with fpc versions < 2.3.1. (I'm on linux-x86_64) Thus I'm not sure if it's a Lazarus or fpc-issue. The comment above the LazGetMethodProp function states that it replaces the buggy GetMethodProp function of fpc, but those two are exactly the same, as far as I can see. So I guess that the LazGetMethodProp function can be removed, but that woudn't solve my problem.
Any ideas?
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 46912508777424 (LWP 7244)]
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00000000009ff1e2 in LAZGETMETHODPROP (LAZGETMETHODPROP={CODE = 0x0, DATA = 0x0},
INSTANCE=0x2aaaaf770fa0, PROPINFO=0x174edbf) at propedits.pp:2314 #2 0x00000000009ff23b in GETMETHODVALUEAT (GETMETHODVALUEAT= {CODE = 0x7fff33281160, DATA = 0xa0a4cf}, INDEX=0, this=0x2aaab000a540) at propedits.pp:2321
#3 0x00000000009ff09a in GETMETHODVALUE (GETMETHODVALUE= {CODE = 0x2aaaaf770fa0, DATA = 0x2aaab000a540},
this=0x2aaab000a540) at propedits.pp:2280
#4 0x0000000000a05ff2 in GETVALUE (,
this=0x2aaab000a540,
) at propedits.pp:4130
#5 0x00000000009ffd50 in GETVISUALVALUE
(, this=0x2aaab000a540,
) at propedits.pp:2474
#6 0x00000000009c5827 in DOPAINT (PAINTONLYCHANGEDVALUES=true, this=0x2aaaafdacc30)
at objectinspector.pp:2494
#7 0x00000000009c58f1 in REFRESHPROPERTYVALUES (this=0x2aaaafdacc30) at objectinspector.pp:2509
#8 0x00000000009cc349 in REFRESHPROPERTYVALUES (this=0x2aaaafd19e50) at objectinspector.pp:3760
#9 0x00000000006fe62b in ONCONTROLSELECTIONPROPSCHANGED (SENDER=0x2aaaaff67040, this=0x2aaaaf7c2200)
at main.pp:11698
#10 0x0000000000c22529 in DOCHANGEPROPERTIES (this=0x2aaaaff67040) at ../designer/controlselection.pp:1800
#11 0x0000000000c200ec in UPDATEREALBOUNDS (this=0x2aaaaff67040) at ../designer/controlselection.pp:1161
#12 0x0000000000c1f81e in UPDATEBOUNDS (this=0x2aaaaff67040) at ../designer/controlselection.pp:1004
#13 0x0000000000c0dddc in MOUSEDOWNONCONTROL (SENDER=0x2aaab05c8b50, ,
this=0x2aaaaff140e0) at ../designer/designer.pp:1378 #14 0x0000000000c0fffe in ISDESIGNMSG (ISDESIGNMSG=true, SENDER=0x2aaab05c8b50,
, this=0x2aaaaff140e0)
at ../designer/designer.pp:2011
#15 0x00000000007fc9df in WNDPROC (,
this=0x2aaab05c8b50)
at include/control.inc:1503
#16 0x00000000007f29a8 in WNDPROC (,
this=0x2aaab05c8b50)
at include/wincontrol.inc:4749
#17 0x00000000006b2ac0 in WNDPROC (,
this=0x2aaab05c8b50)
at include/customform.inc:953
#18 0x00000000008e6d7d in DELIVERMESSAGE (DELIVERMESSAGE=7002366, TARGET=0x2aaab05c8b50,
) at gtkproc.inc:3547
#19 0x00000000008f3409 in DELIVERMOUSEDOWNMESSAGE (WIDGET=0x191e200, EVENT=0x187b4c0,
AWINCONTROL=0x2aaab05c8b50) at gtkcallback.inc:1421 #20 0x00000000008f3907 in GTKMOUSEBTNPRESS (GTKMOUSEBTNPRESS=true (4294967295), WIDGET=0x191e200,
EVENT=0x187b4c0, DATA=0x2aaab05c8b50) at gtkcallback.inc:1549 #21 0x00002aaaaafdffce in gtk_marshal_BOOL__POINTER () from /usr/lib64/libgtk-1.2.so.0
#22 0x00002aaaab00f8a7 in ?? () from /usr/lib64/libgtk-1.2.so.0 #23 0x00002aaaab011f28 in ?? () from /usr/lib64/libgtk-1.2.so.0 #24 0x00002aaaab01267b in gtk_signal_emit ()
from /usr/lib64/libgtk-1.2.so.0
#25 0x00002aaaab0486c8 in gtk_widget_event ()
from /usr/lib64/libgtk-1.2.so.0
#26 0x00002aaaaafde540 in gtk_propagate_event ()
from /usr/lib64/libgtk-1.2.so.0
#27 0x00002aaaaafdf2e2 in gtk_main_do_event ()
from /usr/lib64/libgtk-1.2.so.0
#28 0x00002aaaaad13a5d in ?? () from /usr/lib64/libgdk-1.2.so.0 #29 0x00002aaaaaae1baa in ?? () from /usr/lib64/libglib-1.2.so.0 #30 0x00002aaaaaae2345 in ?? () from /usr/lib64/libglib-1.2.so.0 #31 0x00002aaaaafdf54c in gtk_main_iteration_do () from /usr/lib64/libgtk-1.2.so.0
#32 0x00000000008ba626 in APPPROCESSMESSAGES (this=0x2aaaaf76a160) at gtkwidgetset.inc:1187
#33 0x00000000006badb9 in HANDLEMESSAGE (this=0x2aaaab6bf1d0) at include/application.inc:984
#34 0x00000000006bb18a in RUNLOOP (this=0x2aaaab6bf1d0) at include/application.inc:1095
#35 0x00000000007361e8 in APPRUN (ALOOP=
{Proc = {procedure (^pointer)} 0x7fff33282570, Self = 0x2aaaab6bf1d0}, this=0x2aaaaf76a160)
at include/interfacebase.inc:49
#36 0x00000000006bb12c in RUN (this=0x2aaaab6bf1d0) at include/application.inc:1082
#37 0x000000000068c7c2 in main () at lazarus.pp:107
