[Lazarus] Bug on Lazarus Startup

Mattias Gaertner nc-gaertnma at netcologne.de
Fri Dec 23 20:20:44 CET 2011


On Fri, 23 Dec 2011 15:36:38 -0200
William Oliveira Ferreira <bdexterholland at gmail.com> wrote:

> > So, Why the installer doesn´t auto add the freepascal binaries to path OR
> > does lazarus doesn´t search for this path?
> 
> Search for what path?
> 
> 
> The FreePascal binaries path that cames with Lazarus, 'cos lazarus works
> only when it finds freepascal files...

As far as I know the windows installer stores the path.


> The backtrace:
>[...] 
> C:\Lazarus>gdb lazarus.exe
> GNU gdb (GDB) 7.3
> Copyright (C) 2011 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
> >
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
> and "show warranty" for details.
> This GDB was configured as "mingw32".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from c:\lazarus\lazarus.exe...done.
> (gdb) break fpc_raiseexception
> Breakpoint 1 at 0x40d006
> (gdb) run
> Starting program: c:\lazarus\lazarus.exe
> [New Thread 2952.0xf9c]
> [New Thread 2952.0x1354]
> 
> Breakpoint 1, 0x0040d006 in fpc_raiseexception ()
> (gdb) backtrace
> #0  0x0040d006 in fpc_raiseexception ()
> #1  0x0064bf23 in RAISEDIRNOTABSOLUTE (parentfp=0xba2f60c)
>     at directorycacher.pas:694
> #2  0x0064bdc8 in TCTDIRECTORYCACHE__CREATE (THEDIRECTORY=0xfe79018 '\',
>     THEPOOL=0xcbf40, vmt=0xeeb1cc, this=<error reading variable>)
>     at directorycacher.pas:701
> #3  0x0064d8c2 in TCTDIRECTORYCACHEPOOL__GETCACHE (DIRECTORY=0xfe78f78 '\\',
>     CREATEIFNOTEXISTS=true, DOREFERENCE=false, this=<error reading
> variable>)
>     at directorycacher.pas:1408

Thanks. I added a check for UNC paths. Please try with revision 34374.

Mattias




More information about the Lazarus mailing list