Sign in Join

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

Mailing lists / lazarus / 2015-04

Error compiling Lazarus: process_begin: CreateProcess(...) failed

6 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

luiz americo pereira camara

I'm on Windows 8.1 using fpc 2.6.4 32bit, Lazarus svn 48695

Lazarus was working fine until i updated svn, one week ago.

Then the already compiled IDE (lazarus.exe and lazarus.old.exe) started to crash with access violation at initialization

TApplication.HandleException Access violation
Stack trace:
$00923D7F TINITIALSETUPDIALOG__INIT, line 1223 of initialsetupdlgs.pas $0091FE07 SHOWINITIALSETUPDIALOG, line 330 of initialsetupdlgs.pas $00446BBF TMAINIDE__SETUPINTERACTIVE, line 1384 of main.pp $00446E98 TMAINIDE__CREATE, line 1447 of main.pp $0040398E main, line 116 of lazarus.pp

Since i could not recompile Lazarus from the IDE, i tried to use make but it fails at "tools" target with the following error:

make[1]: Entering directory `D:/repositories/lazarus/tools' echo
process_begin:
CreateProcess(C:\Users\Luiz\AppData\Local\Temp\make71602.bat, C:\ Users\Luiz\AppData\Local\Temp\make71602.bat, ...) failed. make (e=2): O sistema n?o pode encontrar o arquivo especificado. make[1]: *** [all] Error 2
make[1]: Leaving directory `D:/repositories/lazarus/tools' make: *** [lazbuild] Error 2

The archive C:\Users\Luiz\AppData\Local\Temp\make71602.bat does not exists Disabled AV without luck
Checked source tree and there's no leftover ppu/o files

Any idea what's going on?

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150410/c0944d19/attachment.html>

Reply by email

Mattias Gaertner
to luiz americo pereira camara
I'm on Windows 8.1 using fpc 2.6.4 32bit, Lazarus svn 48695

Trunk or fixes?
In trunk the line 1223 of initialsetupdlgs.pas is a comment. In fixes it is a call without parameters.
Either the memory is corrupted or the trace is bogus.

Show quoted text 31 lines
Lazarus was working fine until i updated svn, one week ago. Then the already compiled IDE (lazarus.exe and lazarus.old.exe) started to crash with access violation at initialization TApplication.HandleException Access violation Stack trace: $00923D7F TINITIALSETUPDIALOG__INIT, line 1223 of initialsetupdlgs.pas $0091FE07 SHOWINITIALSETUPDIALOG, line 330 of initialsetupdlgs.pas $00446BBF TMAINIDE__SETUPINTERACTIVE, line 1384 of main.pp $00446E98 TMAINIDE__CREATE, line 1447 of main.pp $0040398E main, line 116 of lazarus.pp Since i could not recompile Lazarus from the IDE, i tried to use make but it fails at "tools" target with the following error: make[1]: Entering directory `D:/repositories/lazarus/tools' echo process_begin: CreateProcess(C:\Users\Luiz\AppData\Local\Temp\make71602.bat, C:\ Users\Luiz\AppData\Local\Temp\make71602.bat, ...) failed. make (e=2): O sistema n?o pode encontrar o arquivo especificado. make[1]: *** [all] Error 2 make[1]: Leaving directory `D:/repositories/lazarus/tools' make: *** [lazbuild] Error 2 The archive C:\Users\Luiz\AppData\Local\Temp\make71602.bat does not exists Disabled AV without luck Checked source tree and there's no leftover ppu/o files Any idea what's going on?

Check your svn for local modifications.
Maybe you are using an old or wrong "make"?

Mattias

Reply by email

luiz americo pereira camara
to Mattias Gaertner

2015-04-10 7:40 GMT-03:00 Mattias Gaertner :

Show quoted text 7 lines
On Fri, 10 Apr 2015 07:16:18 -0300 luiz americo pereira camara wrote: > I'm on Windows 8.1 using fpc 2.6.4 32bit, Lazarus svn 48695 Trunk or fixes?

Trunk, but the old executables are from an older unknow revision

In trunk the line 1223 of initialsetupdlgs.pas is a comment. In fixes it is a call without parameters. Either the memory is corrupted or the trace is bogus.

What makes more strange is that was working until i updated the svn.

Deleted the lazarus dir with options but the same error

Considering some kind of virus or system misbehavior

Show quoted text 6 lines
> > Any idea what's going on? Check your svn for local modifications.

Already checked. No local modifications

Maybe you are using an old or wrong "make"?

Make 3.8 from fpc 2.6.4 (used the fullpath and same error)

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150410/54a30c4d/attachment.html>

Reply by email

luiz americo pereira camara
to luiz americo pereira camara

Copied Lazarus exe from other computer and recompiled through the IDE without issues

God knows what happened

Luiz

2015-04-10 8:26 GMT-03:00 luiz americo pereira camara :

Show quoted text 42 lines
2015-04-10 7:40 GMT-03:00 Mattias Gaertner : > On Fri, 10 Apr 2015 07:16:18 -0300 > luiz americo pereira camara wrote: > > > I'm on Windows 8.1 using fpc 2.6.4 32bit, Lazarus svn 48695 > > Trunk or fixes? > Trunk, but the old executables are from an older unknow revision > In trunk the line 1223 of initialsetupdlgs.pas is a comment. > In fixes it is a call without parameters. > Either the memory is corrupted or the trace is bogus. > What makes more strange is that was working until i updated the svn. Deleted the lazarus dir with options but the same error Considering some kind of virus or system misbehavior > > > > > Any idea what's going on? > > Check your svn for local modifications. > Already checked. No local modifications > Maybe you are using an old or wrong "make"? > Make 3.8 from fpc 2.6.4 (used the fullpath and same error) Luiz

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150410/7322793b/attachment.html>

Reply by email

luiz americo pereira camara
to Mattias Gaertner

2015-04-10 16:32 GMT-03:00 Mattias Gaertner :

Show quoted text 10 lines
On Fri, 10 Apr 2015 08:54:20 -0300 luiz americo pereira camara wrote: > Copied Lazarus exe from other computer and recompiled through the IDE > without issues Do I understand this correctly: Even 'make' gave strange problems. And by copying lazarus.exe this was fixed?

Yes.

I did not tried make through command line after that. I recompiled by the IDE, which seems to also uses make.

Not sure if this helps:

I had two fpc installed fpc264rc1 and 264, only the later is on the path

The old Lazarus exe was compiled by rc1, the make and fpc used by commandline where from 264

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150410/427bc554/attachment.html>

Reply by email