Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-12

SegFault in DebugOptions

6 messages · 5 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Micha Nelissen
to Jens Arm: Hi If I try to open the Debugger-Options I get a SegFault: Form streaming…
Ken Moffat wrote 19 lines
Jens Arm wrote: > Hi > > If I try to open the Debugger-Options I get a SegFault: > > Form streaming "TDEBUGGEROPTIONSFORM" error: Error while reading > chkClearLogOnRun.DragCursor: Invalid property value > TApplication.HandleException Access violation > > > Jens > > _________________________________________________________________ > > Me too. Apparently it's a problem with fpc 1.0.10 or 11. (I have 1.0.11). They tell me 1.9 works. :-(

You should be able to make fpc 1.0.10 work too by compiling the new fcl using fpc 1.0.10. If you have the CVS tree, then go to the fpc/fcl directory. Now type cvs -z3 up -dPA. This clears the sticky 1.0 release branch tag for the fcl subdirectory. Recompile and install.

HTH,

Micha.

Reply by email

Jens Arm

Hi

If I try to open the Debugger-Options I get a SegFault:

Form streaming "TDEBUGGEROPTIONSFORM" error: Error while reading chkClearLogOnRun.DragCursor: Invalid property value TApplication.HandleException Access violation

Jens

Reply by email

Ken Moffat
to Jens Arm
Jens Arm wrote 13 lines
Hi If I try to open the Debugger-Options I get a SegFault: Form streaming "TDEBUGGEROPTIONSFORM" error: Error while reading chkClearLogOnRun.DragCursor: Invalid property value TApplication.HandleException Access violation Jens _________________________________________________________________

Me too. Apparently it's a problem with fpc 1.0.10 or 11. (I have 1.0.11). They tell me 1.9 works. :-(

Ken

Reply by email

Marc Weustink
to Vincent Snijders: Some extra information: At first I was not succesfull in doing this. At the moment I have…

+ From: Vincent Snijders
+ Sent: dinsdag 30 december 2003 12:17
+
+ > -----Oorspronkelijk bericht-----
+ > Van: Micha Nelissen
+ > Ken Moffat wrote:
+ >
+ > > Jens Arm wrote:
+ > >
+ > >> Hi
+ > >>
+ > >> If I try to open the Debugger-Options I get a SegFault:
+ > >>
+ > >> Form streaming "TDEBUGGEROPTIONSFORM" error: Error while reading
+ > >> chkClearLogOnRun.DragCursor: Invalid property value
+ > >> TApplication.HandleException Access violation
+ > >>
+ > >>
+ > >> Jens
+ > >>
+ > >> _________________________________________________________________
+ > >>
+ > >>
+ > >
+ > > Me too. Apparently it's a problem with fpc 1.0.10 or 11. (I have
+ > > 1.0.11). They tell me 1.9 works. :-(
+ >
+ > You should be able to make fpc 1.0.10 work too by compiling
+ > the new fcl
+ > using fpc 1.0.10. If you have the CVS tree, then go to the fpc/fcl
+ > directory. Now type cvs -z3 up -dPA. This clears the sticky
+ > 1.0 release
+ > branch tag for the fcl subdirectory. Recompile and install.
+ >
+ > HTH,
+ >
+ > Micha.
+ Some extra information:
+ At first I was not succesfull in doing this. At the moment I have no
+ such CVS tree, so I created one per instruction on the fpc site (using
+ the FIXES_1_0_0 branch) and above.
+
+ But when I do a make all, it fails when it tries do compile the rtl for
+ windows.

[snip]

As far as I can understand it you only need to rebuild the fcl, not the rtl (or does the new fcl need a recent rtl ?)

Marc

Reply by email

Micha Nelissen
to Vincent Snijders: Some extra information: At first I was not succesfull in doing this. At the moment I have…
Vincent Snijders wrote 46 lines
>-----Oorspronkelijk bericht----- >Van: Micha Nelissen >Ken Moffat wrote: > > >>Me too. Apparently it's a problem with fpc 1.0.10 or 11. (I have >>1.0.11). They tell me 1.9 works. :-( > >You should be able to make fpc 1.0.10 work too by compiling >the new fcl >using fpc 1.0.10. If you have the CVS tree, then go to the fpc/fcl >directory. Now type cvs -z3 up -dPA. This clears the sticky >1.0 release >branch tag for the fcl subdirectory. Recompile and install. > >HTH, > >Micha. Some extra information: At first I was not succesfull in doing this. At the moment I have no such CVS tree, so I created one per instruction on the fpc site (using the FIXES_1_0_0 branch) and above. But when I do a make all, it fails when it tries do compile the rtl for windows. make[3]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc/rtl/win32' make -C D:/lazarus/source/fpc-1.0/fpc/rtl/win32 'OPT=' all make[3]: Entering directory `D:/lazarus/source/fpc-1.0/fpc/rtl/win32' as -o wprt0.ow wprt0.as process_begin: CreateProcess((null), as -o wprt0.ow wprt0.as, ...) failed. make (e=2): Het systeem kan het opgegeven bestand niet vinden. make[3]: *** [wprt0.ow] Error 2 make[3]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc/rtl/win32' make[2]: *** [cycle] Error 2 make[2]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc/compiler' make[1]: *** [compiler_cycle] Error 2 make[1]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc' make: *** [build-stamp.win32] Error 2 To me it seems, that the last update of the Makefile in the rtl directory doesn't set ASNAME to asw anymore. If I do make all ASNAME=asw it works.

I have heard somewhere, someplace that you should copy asw.exe to as.exe, ldw.exe to ld.exe etc. But I guess your way is just as good.

HTH,

Micha.

Reply by email

Vincent Snijders
Show quoted text 34 lines
-----Oorspronkelijk bericht----- Van: Micha Nelissen Ken Moffat wrote: > Jens Arm wrote: > >> Hi >> >> If I try to open the Debugger-Options I get a SegFault: >> >> Form streaming "TDEBUGGEROPTIONSFORM" error: Error while reading >> chkClearLogOnRun.DragCursor: Invalid property value >> TApplication.HandleException Access violation >> >> >> Jens >> >> _________________________________________________________________ >> >> > > Me too. Apparently it's a problem with fpc 1.0.10 or 11. (I have > 1.0.11). They tell me 1.9 works. :-( You should be able to make fpc 1.0.10 work too by compiling the new fcl using fpc 1.0.10. If you have the CVS tree, then go to the fpc/fcl directory. Now type cvs -z3 up -dPA. This clears the sticky 1.0 release branch tag for the fcl subdirectory. Recompile and install. HTH, Micha.

Some extra information:
At first I was not succesfull in doing this. At the moment I have no such CVS tree, so I created one per instruction on the fpc site (using the FIXES_1_0_0 branch) and above.

But when I do a make all, it fails when it tries do compile the rtl for windows.
make[3]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc/rtl/win32' make -C D:/lazarus/source/fpc-1.0/fpc/rtl/win32 'OPT=' all make[3]: Entering directory `D:/lazarus/source/fpc-1.0/fpc/rtl/win32' as -o wprt0.ow wprt0.as
process_begin: CreateProcess((null), as -o wprt0.ow wprt0.as, ...) failed.
make (e=2): Het systeem kan het opgegeven bestand niet vinden. make[3]: *** [wprt0.ow] Error 2
make[3]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc/rtl/win32' make[2]: *** [cycle] Error 2
make[2]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc/compiler' make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `D:/lazarus/source/fpc-1.0/fpc' make: *** [build-stamp.win32] Error 2

To me it seems, that the last update of the Makefile in the rtl directory doesn't set ASNAME to asw anymore.

If I do make all ASNAME=asw it works.

Regards,
Vincent.

Reply by email