On 2011-07-14 11:06, Mattias Gaertner wrote:

Torsten Bonde Christiansen <[email protected]> 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)


> Even very simple forms will make the program crash.

It works here with Lazarus 0.9.31 r30979 FPC 2.5.1 i386-linux-gtk 2.

Can you create a bug report with an example?


>[...]
> 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
#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
#19 ?? at :0
#20 g_closure_invoke at :0
#21 ?? at :0
#22 g_signal_emit_valist at :0
#23 g_signal_emit at :0
#24 ?? at :0
#25 gtk_propagate_event at :0
#26 gtk_main_do_event at :0
#27 ?? at :0
#28 g_main_context_dispatch at :0
#29 ?? at :0
#30 g_main_context_iteration at :0
#31 APPWAITMESSAGE(0x7ffff7dffc30) at gtk2/gtk2widgetset.inc:2471
#32 IDLE(0x7ffff7dfe050, true) at include/application.inc:401
#33 HANDLEMESSAGE(0x7ffff7dfe050) at include/application.inc:1265
#34 RUNLOOP(0x7ffff7dfe050) at include/application.inc:1397
#35 APPRUN(0x7ffff7dffc30, {Proc = {procedure (POINTER)} 0x7fffffffe620, Self = 0x7ffff7dfe050}) at include/interfacebase.inc:60
#36 RUN(0x7ffff7dfe050) at include/application.inc:1385
#37 main at lazarus.pp:119


-Torsten.
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to