From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,dc550b838bdbe11f,start X-Google-Attributes: gid111c93,public From: Carlos Vidal Subject: Seg fault corrupts file system? Date: 1997/10/12 Message-ID: <344093AC.6A47FC1B@tarkus.se>#1/1 X-Deja-AN: 279690430 Organization: Tarkus AB Newsgroups: comp.os.linux.alpha Hi! I have a very curious problem using g++ 'istrstream' class. I'm reading big data files and parsing some fields with 'istrstream'. Some times this procedure crashes with a Segmentation Fault. This is no big deal, the curious problem is that in many cases I get the message: trying to free free block on the system console. If I continue to work the file system gets more and more corrupted. If I try to 'umount' it the system says "device busy" (although it is not busy), so, I have to reboot and run 'e2fsck'. First I thought that the file system corruption caused the 'seg. fault', but after several tests I verified that it is the other way around, the "segmentation fault" corrupts the file system! Any ideas? Anybody heard about this? I'm running RedHad 4.2 kernel 2.0.30 on a AlphaStation 233/300 -- Carlos Vidal carlos@tarkus.se