[Lazarus] Crash on clicking on TFPWebModule (designer)

Mattias Gaertner nc-gaertnma at netcologne.de
Tue May 20 19:09:03 CEST 2008


On Tue, 20 May 2008 18:11:42 +0200
Joost van der Sluis <joost at cnoc.nl> wrote:

> Hi All,
> 
> I have a program with a TFPWebModule with lot of components on it.
> When I open the project, and click on an empty space on the
> TFPWebModule, I get a SIGSEGV with the backtrace below. This did work
> in the past and I have no idea how to fix it. Maybe that someone can
> find it with this backtrace?

Probably the TCustomFPWebModule.OnGetAction property.
I need an example to fix this.

Mattias

 
> Joost.
> 
> GetAdjustment 0000000001850510=LCLWinapiWidget [FPr]
> LCLObject=00002AAAAFD4B5B0=ComponentTree:TComponentTreeView<NOT
> HandleAllocated>
> GetAdjustment 0000000001850690=LCLWinapiWidget [FPr]
> LCLObject=00002AAAAFD4BD70=Splitter1:TSplitter<NOT HandleAllocated>
> GetAdjustment 0000000001850AA0=LCLWinapiWidget [FPr]
> LCLObject=00002AAAAFD667B0=PropertyGrid:TOICustomPropertyGrid<NOT
> HandleAllocated>
> GetAdjustment 0000000001850BF0=LCLWinapiWidget [FPr]
> LCLObject=00002AAAAFF30170=EventGrid:TOICustomPropertyGrid<NOT
> HandleAllocated>
> GetAdjustment 0000000001850FB0=LCLWinapiWidget [FPr]
> LCLObject=00002AAAAFF31D30=FavouriteGrid:TOICustomPropertyGrid<NOT
> HandleAllocated>
> GetAdjustment 00000000018703F0=LCLWinapiWidget [FPr]
> LCLObject=00002AAAAFF338F0=RestrictedGrid:TOICustomPropertyGrid<NOT
> HandleAllocated>
> GetAdjustment 0000000001871C00=LCLWinapiWidget [FStPr]
> LCLObject=00002AAAB04766B0=MessageTreeView:TTreeView<NOT
> HandleAllocated>
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x0000000000000000 in ?? ()
> (gdb) bt
> #0  0x0000000000000000 in ?? ()
> #1  0x00000000009c28cf in LAZGETMETHODPROP (LAZGETMETHODPROP={CODE =
> 0x0, DATA = 0x0}, INSTANCE=0x2aaab000dc40, PROPINFO=0x1648cdf)
>     at propedits.pp:2163
> #2  0x00000000009c292b in GETMETHODVALUEAT (GETMETHODVALUEAT={CODE =
> 0x7fffb69afbb8, DATA = 0x2aaaaf7c2200}, INDEX=0, this=0x2aaab00d47c0)
>     at propedits.pp:2170
> #3  0x00000000009c2792 in GETMETHODVALUE (GETMETHODVALUE={CODE = 0x0,
> DATA = 0x2aaaafd71e40}, this=0x2aaab00d47c0) at propedits.pp:2129
> #4  0x00000000009c90e3 in GETVALUE (GETVALUE=@0x7fffb69afbb8,
> this=0x2aaab00d47c0, result=@0x7fffb69afbb8) at propedits.pp:3913
> #5  0x00000000009c33f0 in GETVISUALVALUE
> (GETVISUALVALUE=@0x7fffb69afbb8, this=0x2aaab00d47c0,
> result=@0x7fffb69afbb8) at propedits.pp:2313
> #6  0x000000000098993b in DOPAINT (PAINTONLYCHANGEDVALUES=true,
> this=0x2aaaaff338f0) at objectinspector.pp:2394
> #7  0x0000000000989a01 in REFRESHPROPERTYVALUES (this=0x2aaaaff338f0)
> at objectinspector.pp:2409
> #8  0x0000000000990039 in REFRESHPROPERTYVALUES (this=0x2aaaaf7b8bd0)
> at objectinspector.pp:3562
> #9  0x00000000006e31cb in ONCONTROLSELECTIONPROPSCHANGED
> (SENDER=0x2aaaafd1f900, this=0x2aaaaf7c2200) at main.pp:11341
> #10 0x0000000000b52579 in DOCHANGEPROPERTIES (this=0x2aaaafd1f900)
> at ../designer/controlselection.pp:1800
> #11 0x0000000000b5013c in UPDATEREALBOUNDS (this=0x2aaaafd1f900)
> at ../designer/controlselection.pp:1161
> #12 0x0000000000b4f86e in UPDATEBOUNDS (this=0x2aaaafd1f900)
> at ../designer/controlselection.pp:1004
> #13 0x0000000000b3f13c in MOUSEDOWNONCONTROL (SENDER=0x2aaab0773990,
> THEMESSAGE=@0x7fffb69b0178, this=0x2aaab00140e0)
>     at ../designer/designer.pp:1375
> #14 0x0000000000b41173 in ISDESIGNMSG (ISDESIGNMSG=true,
> SENDER=0x2aaab0773990, THEMESSAGE=@0x7fffb69b0178,
> this=0x2aaab00140e0) at ../designer/designer.pp:1993
> #15 0x00000000007d30bf in WNDPROC (THEMESSAGE=@0x7fffb69b0178,
> this=0x2aaab0773990) at include/control.inc:1502
> #16 0x00000000007c8de0 in WNDPROC (MESSAGE=@0x7fffb69b0178,
> this=0x2aaab0773990) at include/wincontrol.inc:4715
> #17 0x0000000000699460 in WNDPROC (THEMESSAGE=@0x7fffb69b0178,
> this=0x2aaab0773990) at include/customform.inc:947
> #18 0x00000000008b0550 in DELIVERMESSAGE (DELIVERMESSAGE=6898974,
> TARGET=0x2aaab0773990, AMESSAGE=@0x7fffb69b0178) at gtkproc.inc:3605
> #19 0x00000000008bc8f9 in DELIVERMOUSEDOWNMESSAGE (WIDGET=0x19fe320,
> EVENT=0x17cd070, AWINCONTROL=0x2aaab0773990) at gtkcallback.inc:1409
> #20 0x00000000008bcdfc in GTKMOUSEBTNPRESS (GTKMOUSEBTNPRESS=false,
> WIDGET=0x19fe320, EVENT=0x17cd070, DATA=0x2aaab0773990)
>     at gtkcallback.inc:1522
> #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
> ---Type <return> to continue, or q <return> to quit---
> #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 0x000000000088435e in APPPROCESSMESSAGES (this=0x2aaaab736160) at
> gtkwidgetset.inc:1162
> #33 0x00000000006a1641 in HANDLEMESSAGE (this=0x2aaaab6bf1d0) at
> include/application.inc:975
> #34 0x00000000006a1a12 in RUNLOOP (this=0x2aaaab6bf1d0) at
> include/application.inc:1086
> #35 0x00000000006fa3a8 in APPRUN (ALOOP={Proc = {procedure (^pointer)}
> 0x7fffb69b0ca0, Self = 0x2aaaab6bf1d0}, this=0x2aaaab736160)
>     at include/interfacebase.inc:49
> #36 0x00000000006a19b4 in RUN (this=0x2aaaab6bf1d0) at
> include/application.inc:1073
> #37 0x0000000000675347 in main () at lazarus.pp:99
> 
> 
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus



More information about the Lazarus mailing list