Path: utzoo!attcan!uunet!mcvax!tuvie!tuhold!hoelling From: hoelling@tuhold (Wolfgang Hoellinger) Newsgroups: comp.lang.c++ Subject: Problems this STDIN,STDOUT ... Keywords: shell, stdin, stdout Message-ID: <1414@tuhold> Date: 22 Nov 88 09:54:26 GMT Organization: Institut f. Angewandte Informatik, TU Vienna Lines: 33 !!!!!! HEEEEEEEEEEEEEEEEEEEEEEEEEEEELP !!!! I use C++ (designer C++, release 1.2) on a Sun3/50 and I have big problems with STDIN, STDOUT and STDERR. Whenever I call a programm written in C++ in conjunction with any other program that changes STDIN, STDOUT or STDERR (e.g. script) I get a segmentation fault. This happens in the '_entry'-procedure generated by the C++-Precompiler/Linker, although I never use things like cin, cout or cerr. So my questions are: 1.) Does anybody know this problem? 2.) What are the reasons for that 'segmentation fault' ? (CTOR of CIN,... in libcxx?) 3.) What is the solution, to prevent this? Does somebody know a workaround for that problem? Wolfgang Hoellinger Technical University Vienna AUSTRIA hoelling@tuhold.uucp tuvie!tuhold!hoelling