Re: [lazarus] Application crash

2005-09-14 Thread Mattias Gaertner
On Wed, 14 Sep 2005 02:56:42 +0200
Bjørn T. Jønsson [EMAIL PROTECTED] wrote:

[...] 
 BTW, the Unit Dependencies window doesn't update itself when loading a new
 project.
 Maybe there's already a bugreport for that, I don't know.

AFAIK: No, there isn't.


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Application crash

2005-09-14 Thread Vincent Snijders

Bjørn T. Jønsson wrote:

OK.  I tried to report it as a bug in Lazarus Bugtracker, but the server
times out (no response) when I press the Submit Report button.  I tried
several times...  sigh


But you succeeded anyway:
http://www.lazarus.freepascal.org/mantis/view.php?id=1165
http://www.lazarus.freepascal.org/mantis/view.php?id=1166
http://www.lazarus.freepascal.org/mantis/view.php?id=1167

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] Application crash

2005-09-13 Thread Bjørn T. Jønsson
Vincent Snijders wrote: 

  For some reason the test app doesn't compile here...
  I get a lot of OBJPAS.pp not found and then the error:
 
 Maybe your fpc install was incomplete or your fpc.cfg was incorrectly 
 installed. How did you install your fpc (or did you use a lazarus 
 installer that includes fpc)?

I used lazarus installer.
 
 It wouldn't surprise me if the $ and/or ! character are treated 
 incorrectly by the compiler or the linker. Try placing your app in a 
 path without $ or !.

Tried that, and it makes no difference...  Same error.

I've struggled with this since mid August now...  I can't even compile the
simplest program! With 25+ years of programming experience, I feel almost
embarrased to admit that I can't figure out this compiler.  So I must give
up Lazarus for the time being.  It's a shame, because I really needed to use
a free compiler w/ source and cross-platform capabilities for a non-profit
project.

And the forum password routine is still broken.  I have sent admin 3 private
mails, but I'm still without a solution(!)  He doesn't respond to me in this
mailinglist either anymore.  Maybe he's on vacation? I have no idea if he
has received any of my emails.

BTW, the Unit Dependencies window doesn't update itself when loading a new
project.
Maybe there's already a bugreport for that, I don't know.


---
Prognatus.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Application crash

2005-09-13 Thread Felipe Monteiro de Carvalho

On 9/13/05, Bjørn T. Jønsson [EMAIL PROTECTED] wrote:
I've struggled with this since mid August now...I can't even compile thesimplest program! With 25+ years of programming experience, I feel almostembarrased to admit that I can't figure out this compiler.So I must give
up Lazarus for the time being.It's a shame, because I really needed to usea free compiler w/ source and cross-platform capabilities for a non-profitproject.
Sorry to hear about that, but it works pretty nice here.

What is your operating system? Maybe Lazarus has issues with one of the nt series...

I have a new test for you. Why don´t you make a console application??
If not even console apps work then things are reeeally bad and if you
can get console apps running you can play a little. I think you must
write {$APPTYPE CONSOLE} or something like that. Are you familiar with
Delphi? You can make output on the console app with the same functions:
writeln and readln

Also that post you linked seams to talk about lazarus on Freebsd (am I
wrong??). So you have both OSes? What went wrong on FreeBSD?? What you
discribed here is for windows right?

-- Felipe Monteiro de Carvalho


Re: [lazarus} Application crash

2005-09-08 Thread Vincent Snijders

Bjørn T. Jønsson wrote:

Vincent Snijders wrote:



Mattias Gaertner wrote:


I guess, it's the spaces in the path.

...delfi\top down city\code\...



I don't think so:


[...]


fpc 2.0.0 can compile the test app too.



For some reason the test app doesn't compile here...
I get a lot of OBJPAS.pp not found and then the error:


Maybe your fpc install was incomplete or your fpc.cfg was incorrectly 
installed. How did you install your fpc (or did you use a lazarus 
installer that includes fpc)?



Fatal syntax error BEGIN expected but end of file found.

These are the compiler options in effect:

 -S2cdgi -CX -Cirot -Ch16384 -Or -TWin32 -gl -XX -WG -vewnhi -l
-FuC:\lazarus\lcl\units\i386-win32\
-FuC:\lazarus\lcl\units\i386-win32\win32\
-FuC:\lazarus\packager\units\i386-win32\ -Fu. -oD:\My
Documents\$Project\!willy\willy.exe -dLCL

Do you see anything missing or incorrect?



It wouldn't surprise me if the $ and/or ! character are treated 
incorrectly by the compiler or the linker. Try placing your app in a 
path without $ or !.


Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] Application crash

2005-09-01 Thread Bjørn T. Jønsson
Mattias Gaertner wrote:

 Bjørn T. Jønsson [EMAIL PROTECTED] wrote:
  
  Hmmm... I'm wondering if it's a path issue?  Maybe related 
 to long paths,
  paths on other disks than Lazarus, or similar.  See also this:
  
  http://www.lazarus.freepascal.org/mantis/view.php?id=900
 
 I guess, it's the spaces in the path.
 
 ...delfi\top down city\code\...
 
 
 I think, we should add checks in the IDE to warn about paths 
 with spaces.

Here's another directory issue:
http://www.lazarus.freepascal.org/mantis/view.php?id=881

Do you think this may be related to my case?
...I mean, the bactrace didn't actually provide so much useful info:

  Starting program: D:\My Documents\$Project\!willy/willy.exe 
 
Program received signal SIGSEGV, Segmentation fault.
0x7c918fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll
(gdb) bt
#0  0x7c918fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll
#1  0x0002 in ?? ()
#2  0x0006e870 in ?? ()
(gdb) quit
 
  Are there debugging info missing in the exe file?


Prognatus.
---

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] Application crash

2005-09-01 Thread Bjørn T. Jønsson
Vincent Snijders wrote:

 Mattias Gaertner wrote:
  
  I guess, it's the spaces in the path.
  
  ...delfi\top down city\code\...
  
 
 I don't think so:
[...]
 fpc 2.0.0 can compile the test app too.

For some reason the test app doesn't compile here...
I get a lot of OBJPAS.pp not found and then the error:
Fatal syntax error BEGIN expected but end of file found.

These are the compiler options in effect:

 -S2cdgi -CX -Cirot -Ch16384 -Or -TWin32 -gl -XX -WG -vewnhi -l
-FuC:\lazarus\lcl\units\i386-win32\
-FuC:\lazarus\lcl\units\i386-win32\win32\
-FuC:\lazarus\packager\units\i386-win32\ -Fu. -oD:\My
Documents\$Project\!willy\willy.exe -dLCL

Do you see anything missing or incorrect?


Prognatus.
---

 

 -Original Message-
 From: Vincent Snijders [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, August 31, 2005 11:32 AM
 To: lazarus@miraclec.com
 Subject: Re: [lazarus] Application crash
 
 Mattias Gaertner wrote:
  On Wed, 31 Aug 2005 04:19:16 +0200
  Bjørn T. Jønsson [EMAIL PROTECTED] wrote:
  
  
 Hmmm... I'm wondering if it's a path issue?  Maybe related 
 to long paths,
 paths on other disks than Lazarus, or similar.  See also this:
 
 http://www.lazarus.freepascal.org/mantis/view.php?id=900
  
  
  I guess, it's the spaces in the path.
  
  ...delfi\top down city\code\...
  
 
 I don't think so:
 
 [TCompiler.Compile] 
 CmdLine=D:\FPC\2.1.1\bin\i386-Win32\ppc386.exe  -S2cgi -OG1
   -gl -WG -vewnhi -l 
 -Fu..\..\..\..\..\..\..\..\..\source\lazarus\lcl\units\i386-
 win32\ 
 -Fu..\..\..\..\..\..\..\..\..\source\lazarus\lcl\units\i386-wi
 n32\win32\
 -Fu..\..\..\..\..\..\..\..\..\source\lazarus\packager\units\i3
 86-win32\ -Fu. -o
 D:\lazarus\bugs\900-documents and 
 settings\jernej\desktop\appbuilder\delfi\top d
 own city\code\real time code\project1.exe -dLCL -dLCLwin32 
 D:\lazarus\bugs\900
 -documents and settings\jernej\desktop\appbuilder\delfi\top 
 down city\code\real
 time code\project1.lpr
 Hint: Start of reading config file D:\FPC\2.1.1\bin\i386-Win32\fpc.cfg
 Hint: End of reading config file D:\FPC\2.1.1\bin\i386-Win32\fpc.cfg
 Free Pascal Compiler version 2.1.1 [2005/08/30] for i386
 Copyright (c) 1993-2005 by Florian Klaempfl
 Target OS: Win32 for i386
 Compiling D:\lazarus\bugs\900-documents and 
 settings\jernej\desktop\appbuilder\d
 elfi\top down city\code\real time code\project1.lpr
 Compiling Unit1.pas
 Unit1.pas(16,28) Hint: Parameter Sender not used
 Linking D:\lazarus\bugs\900-documents and 
 settings\jernej\desktop\appbuilder\del
 fi\top down city\code\real time code\project1.exe
 64 Lines compiled, 16.0 sec
 [TCompiler.Compile] end
 
 fpc 2.0.0 can compile the test app too.
 
  
  I think, we should add checks in the IDE to warn about 
 paths with spaces.
  
 
 Vincent.
 
 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Application crash

2005-08-31 Thread Felipe Monteiro de Carvalho
On 8/30/05, Bjørn T. Jønsson [EMAIL PROTECTED] wrote:
I did. It's installed in c:\lazarus\Only my project is located elsewhere.Prognatus.
Well, this should be no problem. I work with projects at very long
directory names all the time. Specially things like C:/Documents and
Settings///..//-- Felipe Monteiro de Carvalho


Re: [lazarus] Application crash

2005-08-31 Thread Felipe Monteiro de Carvalho

Did you try downloading again and doing a fresh install? Maybe a
corrupted download  I always check the md5sum of big downloads-- Felipe Monteiro de Carvalho


RE: [lazarus] Application crash

2005-08-31 Thread Bjørn T. Jønsson
Felipe Monteiro de Carvalho wrote:

 Did you try downloading again and doing a fresh install? 

Yes.  I've also tried later builds. Latest was Aug. 30th.


Prognatus.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] Application crash

2005-08-30 Thread Bjørn T. Jønsson
Vincent Snijders wrote:

 What about using the gdb that comes with lazarus (on windows)?
 
 See for the path:
 Environment, Debugger Options, General Tab.
 The default is: c:\lazarus\mingw\bin\gdb.exe

Thanks! I didn't know about that.  You saved me from lots of fumbling there.
:)
I guess the Wiki docs needs updating on this.  I'll do it.


Prognatus.

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


RE: [lazarus] Application crash

2005-08-30 Thread Bjørn T. Jønsson
Vincent Snijders wrote:

 Try creating a back trace, it gives us some information where it went
wrong

OK, here's the output:

  Starting program: D:\My Documents\$Project\!willy/willy.exe 

  Program received signal SIGSEGV, Segmentation fault.
  0x7c918fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll
  (gdb) bt
  #0  0x7c918fea in ntdll!RtlpWaitForCriticalSection () from ntdll.dll
  #1  0x0002 in ?? ()
  #2  0x0006e870 in ?? ()
  (gdb) quit

Are there debugging info missing in the exe file?


Prognatus.


smime.p7s
Description: S/MIME cryptographic signature


RE: [lazarus] Application crash

2005-08-30 Thread Bjørn T. Jønsson

Hmmm... I'm wondering if it's a path issue?  Maybe related to long paths,
paths on other disks than Lazarus, or similar.  See also this:

http://www.lazarus.freepascal.org/mantis/view.php?id=900


- Bjørn.
---

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Application crash

2005-08-30 Thread Felipe Monteiro de Carvalho

Try installing lazarus on a
directory that does not have spaces on it's name (the best is a short
directory name). I would say this is a bug with long file names on the
interface. Don't worry. Programs produced by lazarus do not have this
bug ;-)
-- Felipe Monteiro de Carvalho


RE: [lazarus] Application crash

2005-08-30 Thread Bjørn T. Jønsson
Felipe Monteiro de Carvalho wrote:

 Try installing lazarus on a directory that does not have 
 spaces on it's name (the best is a short directory name). I 
 would say this is a bug with long file names on the 
 interface.

I did. It's installed in c:\lazarus\
Only my project is located elsewhere.


Prognatus.


smime.p7s
Description: S/MIME cryptographic signature


Re: [lazarus] Application crash

2005-08-29 Thread Vincent Snijders

Bjørn T. Jønsson wrote:

(This message is posted here partly because I have only guest access to the
forums, but also because I got no further solving the problem by posting it
in the forum. See
http://www.lazarus.freepascal.org/index.php?name=PNphpBB2file=viewtopict=6
79)

Some weeks ago I dowloaded the release version 0.9.8 and installed Lazarus
for the first time.  Built a simple application and compiled. It linked
successfully, but crashed on run.  Tried to debug, but the execution stops
even before it gets to Application.Initialize!  I have tried to
rebuild/recompile Lazarus from scratch, installed newever versions from
http://www.ca.freepascal.org/Lazarus/ ...but no luck.

I'd really like to use Lazarus and even maybe participate in developing at a
later date, but as it stand now it's hard to get to know Lazarus better,
when I can't make any applications!  LOL  ...Of course I've gone through my
environment settings, compiler settings, etc. Even tried to disable the
debugger. Nothing helps...  I really need some input to get further.  :)


Try creating a back trace, it gives us some information where it went wrong:
http://wiki.lazarus.freepascal.org/index.php/Creating_a_Backtrace_with_GDB

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Application crash

2005-08-29 Thread Vincent Snijders

Bjørn T. Jønsson wrote:

Vincent Snijders wrote:


Try creating a back trace, it gives us some information where 
it went wrong:

http://wiki.lazarus.freepascal.org/index.php/Creating_a_Backtr
ace_with_GDB



Thanks! I've downloaded GDB 6.3 and is looking at it.
Seems to be some job setting up though...
Any chance of a ready-made version for Windows XP?  :)



What about using the gdb that comes with lazarus (on windows)?

See for the path:
Environment, Debugger Options, General Tab.
The default is: c:\lazarus\mingw\bin\gdb.exe

Vincent.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives