Lazbuild crash
Original Reporter info from Mantis: pch
-
Reporter name: Patrick Chevalley
Original Reporter info from Mantis: pch
- Reporter name: Patrick Chevalley
Description:
Using Lazarus svn 28578, Lazbuild crash when trying to compile a project.
Lazarus itself compile this project without problem.
See following gdb trace and environmentoptions extract.
Additional information:
$ gdb --args /home/pch/lazarus/lazbuild cdc.lpi
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &LtPos;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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
&LtPos;http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/pch/lazarus/lazbuild...done.
(gdb) run
Starting program: /home/pch/lazarus/lazbuild cdc.lpi
Program received signal SIGSEGV, Segmentation fault.
0x00000000006ffaea in GETCOMPILERFILENAME (this=0x7ffff7e0a050) at environmentopts.pp:1546
1546 GlobalMacroList.SubstituteStr(FCompilerFilenameParsed);
(gdb) bt
#0 0x00000000006ffaea in GETCOMPILERFILENAME (this=0x7ffff7e0a050) at environmentopts.pp:1546
#1 0x00000000006d6bca in SETUPCOMPILERFILENAME (INTERACTIVESETUP=@0x7fffffffe090)
at initialsetupdlgs.pas:61
#2 0x00000000005ae51f in INIT (this=0x7ffff7806120) at lazbuild.lpr:794
#3 0x00000000005ad6b9 in BUILDPROJECT (this=0x7ffff7806120,
AFILENAME=0x7ffff7fcbf50 '/home/pch/skychart/build/skychart/cdc.lpi') at lazbuild.lpr:610
#4 0x00000000005ac11a in BUILDFILE (this=0x7ffff7806120,
FILENAME=0x7ffff7fcbf50 '/home/pch/skychart/build/skychart/cdc.lpi') at lazbuild.lpr:295
#5 0x00000000005afa02 in RUN (this=0x7ffff7806120) at lazbuild.lpr:1039
#6 0x00000000005b19b6 in main () at lazbuild.lpr:1273
(gdb)
$ grep Compiler .lazarus/environmentoptions.xml
<CompilerFilename Value="/usr/local/bin/fpc">
</CompilerFilename>
<Name Value="TfrmCompilerOptions"/>
<CompilerMessagesFilename Value=""/>
Mantis conversion info:
- Mantis ID: 18122
- Version: 0.9.29 (SVN)
- Fixed in version: 0.9.29 (SVN)
- Fixed in revision: 28604 (#46cd0ac5)
- Monitored by: » Marelis (Marelis), » shokwave (Ingo Steiniger)
- Target version: 0.9.30