View Issue Details

IDProjectCategoryView StatusLast Update
0026305LazarusIDEpublic2014-06-08 14:52
ReporterBigChimpAssigned ToMattias Gaertner 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx64 (with x86 compiler)OSWindowsOS VersionWindows 7
Product Version1.3 (SVN)Product Build45396 
Target VersionFixed in Version1.3 (SVN) 
Summary0026305: Incorrect error message: Compiling project Panic: internal error: File not open
DescriptionCompiling the attached project leads to the error in Summary.
Note: this project has an error:
tcparser line 869 says
  S:=TSQLSetGeneratorStatement(CheckClass(FToFree,TSQLSetTermStatement));
while it should be
  S:=TSQLSetGeneratorStatement(CheckClass(FToFree,TSQLSetTermStatement));
If that error is corrected, compilation succeeds without errors.
(FPC reports:
...
Compiling tcparser.pas
tcparser.pas(869,6) Error: Incompatible types: got "TSQLSetGeneratorStatement" e
xpected "TSQLSetTermStatement"
tcparser.pas(8123) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
Error: c:\development\fpctrunk\bin\i386-win32\ppc386.exe returned an error exitc
ode
)
So... there's something wrong with error handling/reporting.
TagsNo tags attached.
Fixed in Revision45398
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Reinier Olislagers

2014-06-08 13:55

developer  

filenotf.zip (91,020 bytes)

Reinier Olislagers

2014-06-08 13:57

developer   ~0075568

Note: zip file contains debug log.

Shown messages:
Compile Project: File not open
  $00A674B6
  $00A69E25
  $006D15B8
  $006D4E9E
  $0047C375
  $00412EEE
  $7711338A
  $77759F72
  $77759F45
, Errors:10, Warnings:2, Hints:64
fpsqlscanner.pp(545,18) Warning: Implicit string type conversion with potential data loss from "WideChar" to "AnsiString"
fpsqlscanner.pp(166,5) Note: Private field "TSQLScanner.FReturnComments" is never used
fpsqlscanner.pp(167,5) Note: Private field "TSQLScanner.FReturnWhiteSpace" is never used
fpsqlscanner.pp(225,3) Warning: Variable "IdentifierTokensOK" read but nowhere assigned
tcsqlscanner.pas(22,31) Hint: Unit "testutils" not used in tcsqlscanner
fpsqltree.pp(129,23) Hint: Parameter "Options" not used
fpsqltree.pp(129,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(139,23) Hint: Parameter "Options" not used
fpsqltree.pp(139,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(149,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1961,57) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(1961,53) Hint: Local variable "Pref" does not seem to be initialized
fpsqltree.pp(1961,48) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(1994,57) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(1994,53) Hint: Local variable "Pref" does not seem to be initialized
fpsqltree.pp(1994,48) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(2000,3) Note: Local variable "Ind" not used
fpsqltree.pp(2064,74) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(2064,70) Hint: Local variable "Pref" does not seem to be initialized
fpsqltree.pp(2064,65) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(159,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(181,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(2503,91) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(2503,87) Hint: Local variable "Pref" does not seem to be initialized
fpsqltree.pp(2503,82) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(2732,91) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(2732,87) Hint: Local variable "Pref" does not seem to be initialized
fpsqltree.pp(2732,82) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(2935,72) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(2935,68) Hint: Local variable "Pref" does not seem to be initialized
fpsqltree.pp(2935,63) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(592,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(610,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(3043,93) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(3043,89) Hint: Local variable "prefix" does not seem to be initialized
fpsqltree.pp(3043,82) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(231,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(3616,41) Hint: Parameter "Options" not used
fpsqltree.pp(3642,5) Note: Local variable "J" not used
fpsqltree.pp(3716,73) Hint: Local variable "Ind" does not seem to be initialized
fpsqltree.pp(3716,69) Hint: Local variable "Prefix" does not seem to be initialized
fpsqltree.pp(3716,62) Hint: Local variable "Sep" does not seem to be initialized
fpsqltree.pp(3919,5) Note: Local variable "Sep" not used
fpsqltree.pp(3920,3) Note: Local variable "I" not used
fpsqltree.pp(194,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(239,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(246,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(253,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(260,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(267,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(274,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(106,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(113,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(120,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1232,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1444,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1451,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1388,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1409,52) Hint: Parameter "AIndent" not used
fpsqltree.pp(1543,29) Hint: Parameter "Options" not used
fpsqltree.pp(1549,29) Hint: Parameter "Options" not used
fpsqltree.pp(1555,29) Hint: Parameter "Options" not used
fpsqltree.pp(1561,29) Hint: Parameter "Options" not used
fpsqltree.pp(1567,29) Hint: Parameter "Options" not used
fpsqltree.pp(1573,29) Hint: Parameter "Options" not used
fpsqltree.pp(1579,29) Hint: Parameter "Options" not used
Panic: internal error: File not open
Panic: internal error: $00A674B6
Panic: internal error: $00A69E25
Panic: internal error: $006D15B8
Panic: internal error: $006D4E9E
Panic: internal error: $0047C375
Panic: internal error: $00412EEE
Panic: internal error: $7711338A
Panic: internal error: $77759F72
Panic: internal error: $77759F45

Mattias Gaertner

2014-06-08 14:49

manager   ~0075569

The "file not open" came from my forgotten "writeln". I removed that.

Reinier Olislagers

2014-06-08 14:52

developer   ~0075570

Thanks, Mattias!

Issue History

Date Modified Username Field Change
2014-06-08 13:55 Reinier Olislagers New Issue
2014-06-08 13:55 Reinier Olislagers Status new => assigned
2014-06-08 13:55 Reinier Olislagers Assigned To => Mattias Gaertner
2014-06-08 13:55 Reinier Olislagers File Added: filenotf.zip
2014-06-08 13:57 Reinier Olislagers Note Added: 0075568
2014-06-08 14:49 Mattias Gaertner Note Added: 0075569
2014-06-08 14:50 Mattias Gaertner Fixed in Revision => 45398
2014-06-08 14:50 Mattias Gaertner Status assigned => resolved
2014-06-08 14:50 Mattias Gaertner Resolution open => fixed
2014-06-08 14:52 Reinier Olislagers Note Added: 0075570
2014-06-08 14:52 Reinier Olislagers Status resolved => closed
2014-06-08 14:52 Reinier Olislagers Fixed in Version => 1.3 (SVN)