I have a program that core dumps when I redirect the output to
a file, but works fine I do not do redirection. Has anybody experienced
this kind of problem? The platform is SUNOS 4.1.3. I do not have any
problems with disk quota or disk getting full or permissions.
The program is 'pdfe' that uses tcl and tk interpreter. It in
turn connects to a database server and get the data. It gives a simple
command line interface for entering data base queries. These database
queries can be redirected from a file. I ran pdfe in two ways
1) Queries from an input file and the output goes into another file
pdfe < input_file > output_file
If we do this, for some specific input file 'pdfe' core dumps
2) Queries from an input file and the outpuf goes into the stdout
pdfe < input_file
For the same set of files that caused 'pdfe' coredump in 1) pdfe does
not coredump at all.