>> > The point is that there is no stack trace with line numbers on the
>> > (obviously correct) exception, in spite of the option -gl (even when
>> > explicitly using SysUtils).
>>
>> The problem is that the framepointer register EBP is 0 in the
>> sigcontext.
>> We can't solve this.
>
> So, where
Marco van de Voort wrote:
On Thu, Jul 14, 2005 at 10:27:01AM +0200, Peter Vreman wrote:
Tom Verhoeff a ?crit :
The point is that there is no stack trace with line numbers on the
(obviously correct) exception, in spite of the option -gl (even when
explicitly using SysUtils).
The
> On Thu, Jul 14, 2005 at 10:27:01AM +0200, Peter Vreman wrote:
> > > Tom Verhoeff a ?crit :
> > >
> > > The point is that there is no stack trace with line numbers on the
> > > (obviously correct) exception, in spite of the option -gl (even when
> > > explicitly using SysUtils).
> >
> > The probl
On Thu, Jul 14, 2005 at 10:27:01AM +0200, Peter Vreman wrote:
> > Tom Verhoeff a écrit :
> >
> > The point is that there is no stack trace with line numbers on the
> > (obviously correct) exception, in spite of the option -gl (even when
> > explicitly using SysUtils).
>
> The problem is that the f
> On Thu, Jul 14, 2005 at 01:12:23AM +0200, Marcel Martin wrote:
>> Tom Verhoeff a écrit :
>> >begin
>> > VMyClass := TMyClass.Create;
>> > //VMyClass.FP := VMyClass.P; { with this assignment, it works }
>> > VMyClass.FP; { this causes an Access Violation }
>>
>> Of course, at this point FP =
On Thu, Jul 14, 2005 at 01:12:23AM +0200, Marcel Martin wrote:
> Tom Verhoeff a écrit :
> >begin
> > VMyClass := TMyClass.Create;
> > //VMyClass.FP := VMyClass.P; { with this assignment, it works }
> > VMyClass.FP; { this causes an Access Violation }
>
> Of course, at this point FP = nil sinc
Let it be. I just saw that, in fact, you told about the
problem in the subject of the post :-)
mm
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Tom Verhoeff a écrit :
begin
VMyClass := TMyClass.Create;
//VMyClass.FP := VMyClass.P; { with this assignment, it works }
VMyClass.FP; { this causes an Access Violation }
Of course, at this point FP = nil since you didn't set it.
mm
___
fpc-
When the following program is compiled with option -gl -Mdelphi
and executed, it results in
An unhandled exception occurred at $ :
EAccessViolation : Access violation
without a stack trace or line numbers. How come? Is that a bug?
(If so, I will submit it as such.)
The