[Lazarus] View form as .lfm crashes Lazarus
Mattias Gaertner
nc-gaertnma at netcologne.de
Thu Jul 14 11:46:52 CEST 2011
Torsten Bonde Christiansen <tc at epidata.dk> hat am 14. Juli 2011 um 11:27
geschrieben:
> On 2011-07-14 11:06, Mattias Gaertner wrote:
> >
> >
> >
> > Torsten Bonde Christiansen <tc at epidata.dk> [mailto:tc at epidata.dk] hat am
> > 14. Juli 2011 um 10:45 geschrieben:
> >
> > > Hi List.
> > >
> > > I was trying to check out my form with the .lfm view mode of lazarus,
> > > but there seems to be a bug. This is with the latest svn revision:
> > > Lazarus 0.9.31 r31694M FPC 2.4.2 x86_64-linux-gtk 2
> > What do you mean with '.lfm view mode'?
> >
The feature: Right click form -> View source (.lfm)
That simply opens a file. It works here.
Maybe related to the gtk2 bug of wrong OnMouseDown event.
>
> >
> > >[...]
> > > TApplication.HandleException Access violation
> > > Stack trace:
> > > $00000000005C37C0 line 415 of ../inc/objpas.inc
> >
> > Can you start the IDE in gdb and create a backtrace?
> >
This is the best I could get - it's from Lazarus own call stack window. Taken
right
> after the error occured.
>
> #0 INHERITSFROM(0x8948d07d8948ffff, 0x14227f8) at ../inc/objpas.inc:416
> #1 fpc_do_is(0x8948d07d8948ffff, 0x8948d07d8948ffff) at ../inc/objpas.inc:40
> #2 ?? at pthread_mutex_lock.c:201
> #3 GTKWSPOPUPDELAYEDCLOSE(0x7fffee99c860, 0x7fffee99c860) at
> gtk2/gtk2wsmenus.pp:603
Thanks. Maybe Zeljko can help.
> #4 g_main_context_dispatch at :0
> #5 ?? at :0
> #6 g_main_context_iteration at :0
> #7 APPPROCESSMESSAGES(0x7ffff7dffc30) at gtk2/gtk2widgetset.inc:2397
> #8 POPUP(0x7fffeebcc3b0, 0x7fffee99c860, 633, 509) at gtk2/gtk2wsmenus.pp:661
> #9 POPUP(0x7fffee99c860, 633, 509) at include/popupmenu.inc:87
> #10 MOUSEUPONCONTROL(0x7ffff7ff4bc0, 0x7fffeb812250, @0x7fffffffdde0: {MSG =
> 517, KEYS = 2, XPOS = 97, YPOS = 81, POS = {X = 97, Y = 81}, DUMMY = 5308513,
> RESULT = 0}) at ../designer/designer.pp:2188
> #11 ISDESIGNMSG(0x7ffff7ff4bc0, 0x7fffeb812250, @0x7fffffffdde0: {MSG = 517,
> UNUSEDMSG = 0, WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at
> ../designer/designer.pp:2623
> #12 WNDPROC(0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0,
> WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at include/control.inc:1594
> #13 WNDPROC(0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0,
> WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at include/wincontrol.inc:5243
> #14 WNDPROC(0x7fffeb812250, @0x7fffffffdde0: {MSG = 517, UNUSEDMSG = 0,
> WPARAM = 2, LPARAM = 5308513, RESULT = 0}) at include/customform.inc:1368
> #15 DELIVERMESSAGE(0x7fffeb812250, @0x7fffffffdde0: 0) at
> lclmessageglue.pas:111
> #16 DELIVERMESSAGE(0x7fffeb812250, @0x7fffffffdde0: 0) at
> gtk2/gtk2proc.inc:3628
> #17 DELIVERMOUSEUPMESSAGE(0x1c9dac0, 0x1e2de50, 0x7fffeb812250) at
> gtk2/gtk2callback.inc:1920
> #18 GTKMOUSEBTNRELEASE(0x1c9dac0, 0x1e2de50, 0x7fffeb812250) at
> gtk2/gtk2callback.inc:1977
> [...]
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110714/955fa390/attachment-0003.html>
More information about the Lazarus
mailing list