[Lazarus] Need Testers

Carlos German Tejero german_tejero at yahoo.com.ar
Wed Apr 30 19:27:44 CEST 2008


Mattias:
The problem is fixed :), but when running and close an example project1 i
receive a "segmentation fault", here is a backtrace:

(gdb) run
Starting program: C:\tmp\test-menu-dbmodule/project1.exe

Program received signal SIGSEGV, Segmentation fault.
0x000000000040ba2d in TOBJECT__FREE (this=0x4bddbe) at objpas.inc:152
152     objpas.inc: No such file or directory.
        in objpas.inc
Current language:  auto; currently pascal
(gdb) backtrace
#0  0x000000000040ba2d in TOBJECT__FREE (this=0x4bddbe) at objpas.inc:152
#1  0x000000000006fb80 in ?? ()
#2  0x0000000000434a59 in REMOVEFIXUPREFERENCES (ROOT=0x0,
    ROOTNAME=0xabf50 'Φ┐'#10) at resref.inc:187
#3  0x00000000000abf50 in ?? ()
#4  0x0000000000000000 in ?? ()

Now the Lazarus menu editor don't work and when try to close the ide i
receive a "segmentation fault" too, here is a backtrace of lazarus:

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) backtrace
#0  0x0000000000000000 in ?? ()
#1  0x000000000040d6ba in TOBJECT__DISPATCH (MESSAGE=void, this=0x6f558)
    at objpas.inc:465
#2  0x0000000000bfd748 in $CONTROLS$_Ld400 ()
#3  0x000000000962dd20 in ?? ()
#4  0x0000000000120000 in ?? ()
#5  0x0000000000000000 in ?? ()
(gdb) continue
Continuing.

Breakpoint 1, fpc_raiseexception (OBJ=0xb4000000000, ANADDR=0xb41,
    AFRAME=0x40a0973) at except.inc:189
189     in except.inc
(gdb) backtrace
#0  fpc_raiseexception (OBJ=0xb4000000000, ANADDR=0xb41, AFRAME=0x40a0973)
    at except.inc:189
#1  0x00000000004ad6cc in RUNERRORTOEXCEPT (ERRNO=216, ADDRESS=0x0,
    FRAME=0x6f1b0) at sysutils.inc:317
#2  0x000000000041080b in HANDLEERRORADDRFRAME (ERRNO=0, ADDR=0xd8,
FRAME=0x0)
    at system.inc:865
#3  0xfffff97ff7bd88b0 in ?? ()
#4  0xfffffa8003187980 in ?? ()
#5  0x0000000000000003 in ?? ()
#6  0xfffff97fff075303 in ?? ()
#7  0x7fffffff7fffffff in ?? ()
#8  0x8000000080000000 in ?? ()
#9  0x0000000000000000 in ?? ()

Lazarus 0.9.25 2008-04-30 svn:15016 x86_64-win32/win64 daily snapshot (so:
winXP64)

Thanks!!!

2008/4/29 Mattias Gaertner <nc-gaertnma at netcologne.de>:

> On Tue, 29 Apr 2008 17:45:37 -0300
> "Carlos German Tejero" <german_tejero at yahoo.com.ar> wrote:
>
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to thread 2984.0x24c]
> > 0x0000000000bcc8a8 in RTTI_CLASSES_TCOMPONENT ()
> > (gdb) backtrace
> > #0  0x0000000000bcc8a8 in RTTI_CLASSES_TCOMPONENT ()
> > #1  0x0000000000526c5d in TWINCONTROL__HANDLENEEDED (this=0x7ed5de0)
> >     at wincontrol.inc:6850
> > #2  0x0000000000524845 in TWINCONTROL__GETHANDLE (this=0x7ed5de0)
> >     at wincontrol.inc:5784
> > #3  0x00000000005cb3ad in TWIN32WIDGETSET__ATTACHMENUTOWINDOW (
> >     AMENUOBJECT=0x7ed2e60, this=0x113700) at win32object.inc:492
> > #4  0x000000000041f31e in TCUSTOMFORM__SETMENU (VALUE=0x7ed2e60,
> >     this=0x9296640) at customform.inc:1174
>
> Thanks.
>
> The bug is in the win32 interface:
> TWin32WidgetSet.AttachMenuToWindow
>
> I changed it. Please test, if this fixes it.
>
> Mattias
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>



-- 
Carlos Germán Tejero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20080430/88e9f322/attachment-0007.html>


More information about the Lazarus mailing list