[Lazarus] Bug on Lazarus Startup

William Oliveira Ferreira bdexterholland at gmail.com
Fri Dec 23 18:36:38 CET 2011


> 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...



The backtrace:
______

Microsoft Windows [versão 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Todos os direitos reservados.

C:\Users\informatica>cd
C:\Users\informatica

C:\Users\informatica>cd\

C:\>cd Lazarus

C:\Lazarus>lazarus.exe

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
#4  0x0064df58 in TCTDIRECTORYCACHEPOOL__FINDDISKFILENAME (
    FILENAME=0xff504a0 '\\dados', SEARCHCASEINSENSITIVE=false,
    this=<error reading variable>, result=0xff502c0 '\\dados')
    at directorycacher.pas:1616
#5  0x0064d8ad in TCTDIRECTORYCACHEPOOL__GETCACHE (
    DIRECTORY=0xff503e0 '\\dados\', CREATEIFNOTEXISTS=true,
    DOREFERENCE=false, this=<error reading variable>)
    at directorycacher.pas:1407
#6  0x0064df58 in TCTDIRECTORYCACHEPOOL__FINDDISKFILENAME (
    FILENAME=0xff50420 '\\dados\informatica', SEARCHCASEINSENSITIVE=false,
    this=<error reading variable>, result=0xff50400 '\\dados\informatica')
    at directorycacher.pas:1616
#7  0x0064d8ad in TCTDIRECTORYCACHEPOOL__GETCACHE (
    DIRECTORY=0xff21078 '\\dados\informatica\', CREATEIFNOTEXISTS=true,
    DOREFERENCE=false, this=<error reading variable>)
    at directorycacher.pas:1407
#8  0x0064df58 in TCTDIRECTORYCACHEPOOL__FINDDISKFILENAME (
    FILENAME=0xff210d8 '\\dados\informatica\Documentos',
    SEARCHCASEINSENSITIVE=false, this=<error reading variable>,
    result=0xff21048 '\\dados\informatica\Documentos')
    at directorycacher.pas:1616
#9  0x0064d8ad in TCTDIRECTORYCACHEPOOL__GETCACHE (
    DIRECTORY=0xff21138 '\\dados\informatica\Documentos\',
    CREATEIFNOTEXISTS=true, DOREFERENCE=false, this=<error reading
variable>)
    at directorycacher.pas:1407
#10 0x0064df58 in TCTDIRECTORYCACHEPOOL__FINDDISKFILENAME (
    FILENAME=0x10102ec8 '\\dados\informatica\Documentos\Borland Studio
Projects'
, SEARCHCASEINSENSITIVE=false, this=<error reading variable>,
    result=0x10102f18 '\\dados\informatica\Documentos\Borland Studio
Projects')
at directorycacher.pas:1616
#11 0x0064d8ad in TCTDIRECTORYCACHEPOOL__GETCACHE (
    DIRECTORY=0x10102dd8 '\\dados\informatica\Documentos\Borland Studio
Projects
\', CREATEIFNOTEXISTS=true, DOREFERENCE=false, this=<error reading
variable>)
    at directorycacher.pas:1407
#12 0x0064df58 in TCTDIRECTORYCACHEPOOL__FINDDISKFILENAME (
    FILENAME=0x10102d38 '\\dados\informatica\Documentos\Borland Studio
Projects\
Bpl', SEARCHCASEINSENSITIVE=false, this=<error reading variable>,
    result=0x10102d88 '\\dados\informatica\Documentos\Borland Studio
Projects\Bp
l') at directorycacher.pas:1616
#13 0x0064d8ad in TCTDIRECTORYCACHEPOOL__GETCACHE (
    DIRECTORY=0xff31e78 '\\dados\informatica\Documentos\Borland Studio
Projects\
Bpl\', CREATEIFNOTEXISTS=true, DOREFERENCE=false,
    this=<error reading variable>) at directorycacher.pas:1407
#14 0x0064daf2 in TCTDIRECTORYCACHEPOOL__FILEEXISTS (
    FILENAME=0x18a898 '\\dados\informatica\Documentos\Borland Studio
Projects\Bp
l\ppc386.exe', this=<error reading variable>) at directorycacher.pas:1457
#15 0x00667362 in FILEEXISTSCACHED (
    AFILENAME=0x18a7d8 '\\dados\informatica\Documentos\Borland Studio
Projects\B
pl\ppc386.exe') at lazfilecache.pas:132
#16 0x00664740 in SEARCHFILEINDIR (FILENAME=0xff3b790 'ppc386.exe',
    BASEDIRECTORY=0x1000bef8 '\\dados\informatica\Documentos\Borland Studio
Proj
ects\Bpl\', SEARCHCASE=CTSFCDEFAULT,
    result=0x18a7d8 '\\dados\informatica\Documentos\Borland Studio
Projects\Bpl\
ppc386.exe') at fileprocs.pas:1456
#17 0x00664cc4 in SEARCHFILEINPATH (FILENAME=0xff3b790 'ppc386.exe',
    BASEPATH=0xff4b620 'C:\Lazarus',
    SEARCHPATH=0xe686de8
'C:\Windows\Microsoft.NET\Framework\v1.1.4322\;C:\Progr
am Files\Borland\BDS\4.0\Bin;C:\Program Files\Common Files\Microsoft
Shared\Wind
ows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C'...,
    DELIMITER=0xee1b94 ';', SEARCHCASE=CTSFCDEFAULT,
    result=0x18a7d8 '\\dados\informatica\Documentos\Borland Studio
Projects\Bpl\
ppc386.exe') at fileprocs.pas:1540
#18 0x00643541 in TFPCTARGETCONFIGCACHE__FINDREALCOMPILERINPATH (
    ATARGETCPU=0xff387f0 'i386', RESOLVELINKS=true,
    this=<error reading variable>,
    result=0x18a7d8 '\\dados\informatica\Documentos\Borland Studio
Projects\Bpl\
ppc386.exe') at definetemplates.pas:7202
#19 0x0064256b in TFPCTARGETCONFIGCACHE__NEEDSUPDATE (
    this=<error reading variable>) at definetemplates.pas:7057
#20 0x00891b7b in CHECKCOMPILERQUALITY (
    AFILENAME=0xcf848 'C:\Lazarus\fpc\2.5.1\bin\i386-win32\fpc.exe',
    NOTE=0x0,
    TESTSRCFILENAME=0xff31dd8
'C:\Users\informatica\AppData\Local\lazarus\compil
ertest.pas') at initialsetupdlgs.pas:394
#21 0x004713bb in TMAINIDE__INITCODETOOLBOSS (this=<error reading variable>)
    at main.pp:14565
#22 0x004422d1 in TMAINIDE__CREATE (THEOWNER=0x124970, vmt=0xd005c0,
    this=<error reading variable>) at main.pp:1390
#23 0x004031db in main () at lazarus.pp:107
(gdb)



________________________________
William de Oliveira Ferreira
Bacharel em Sistemas de Informação
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111223/d8fb7c7d/attachment-0003.html>


More information about the Lazarus mailing list