View Issue Details

IDProjectCategoryView StatusLast Update
0006905FPCCompilerpublic2009-05-21 17:51
ReporterFPC core teamAssigned ToPeter Vreman 
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformOSWin32OS Version
Product VersionProduct Build 
Target VersionFixed in Version 
Summary0006905: "fpc" (no arguments) crashes in Cygwin/rxvt
DescriptionI run Cygwin bash on rxvt as my main CLI on WinXP Pro SP2.

fpc.exe, when run with no arguments, prints a summary available options. When run in rxvt, it crashes with the following output, just as it reaches its first page 'break':

---8<---
*** press enter ***
Fatal: Compilation aborted
An unhandled exception occurred at $00438062 :
EInOutError : Invalid file handle
  $00438062
  $0043B681
  $00419426
  $004194BA
Error: c:\other\fpc\2.0.2\bin\i386-Win32\ppc386.exe returned an error exitcode (normal if you did not specify a source file to be compiled)
--->8---

However, ppc386.exe runs and displays options without problems.
Additional InformationReporter: Barry Kelly
EMail: barry dot j dot kelly at gmail dot com
TagsNo tags attached.
Fixed in Revision
FPCOldBugId5077
FPCTarget
Attached Files

Activities

2006-05-01 12:00

 

code.pp (18 bytes)
No program needed.
code.pp (18 bytes)

Marco van de Voort

2009-05-21 17:51

manager   ~0027841

Goes wrong on a readln() in options, but a readln in an empty program works.

Suspect redirection handling goes awol in rxvt/bash case.

Issue History

Date Modified Username Field Change
2006-05-17 23:45 Florian Status new => assigned
2006-05-17 23:45 Florian Assigned To => Peter Vreman
2009-05-21 17:51 Marco van de Voort Note Added: 0027841