ddd freeze on read from redirect

Dan Clapp <[email protected]>
Newsgroups gmane.comp.debugging.ddd.general
Organization Ipswich Engineering Group
Message-ID <[email protected]>
Hello,

I am trying to debug a program that uses a redirected input/ouput and 
ddd keep freezing up after starting a new thread on the fread portion of 
the program.

my normal run for the program is:

mygain.exe <infile.bin >outfile.bin

Ddd freezes, however, after starting a new thread on the line:

nread = fread(bufPtr,size, count, stream);

with

ddd output of

(gdb)step
[New thread 4588.0x1270]

ddd hangs saying waiting until gdb gets ready.

All other parts of the program seem to run just fine via the debugger.

any ideas?

thanks

Dan

-- 
Ipswich Engineering Group
2 Lakemans Lane
Ipswich, MA 01938

508-517-4058

[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.