Date: 10 Mar 94 16:38:05 GMT From: cvrij AT cs DOT vu DOT nl Subject: Segment error during compile! To: djgpp AT sun DOT soe DOT clarkson DOT edu I'm not happy about this at all.. As a result of a 'problem' with my harddisk I lost my djgpp compiler and everything that comes with it, and had to install the new version (I still used 1.10, no problems _at all_). Now I thought I had everything working, I've got 1.11 installed, including maint1,2 and 3, but when I tried to compile one of the programs I was working on earlier, (not very big, some 1500 line), I got the following output: (You'll notice that I cut off the first part. The end is intact though) --- End of search list. d:/djgpp/bin/cc1plus.exe c:/tmp/cc000077 -fno-builtin -quiet -dumpbase thread.cc -g -O -version -o c:/tmp/cca00077 GNU C++ version 2.5.7 (80386, BSD syntax) compiled by GNU C version 2.5.7. Segmentation violation in pointer 0x00f8df68 at d8:9fcde eax=0000000d ebx=00000001 ecx=00f8df68 edx=00f8df68 esi=0014f668 edi=0014f668 ebp=7fffbbb8 esp=7fffbba4 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000df68 Call frame traceback EIPs: 0x0009fcde 0x000a07bf 0x0009fefb 0x000e3d9c 0x000e9b15 0x000df6fe 0x00068bba 0x0001f6d0 0x0000c8ef 0x00067b6a 0x00069d27 --- As far as I could see, the only thing that differs between several tries is the value of the pointer, but other than that, very similar. --- Segmentation violation in pointer 0x00a0df68 at d8:9fcde eax=0000000d ebx=00000001 ecx=00a0df68 edx=00a0df68 esi=0014f668 edi=0014f668 --- Now what's this? The good news is, it doesn't happen every time, but the bad news is, I can't figure out when it does happen! Sometimes (compiling the same program) it does, sometimes it doesn't. I didn't get a CRC error when unzipping, so I assume my compiler is 'correct'. Any ideas? As an aside: is the old version still available somewhere? I might want to go back to it. Greetings, -Casey Ryder -- C. van Rij / Casey Ryder cvrij AT cs DOT vu DOT nl | +312503-16844 (CET) The light at the end of the tunnel... just might be YOU.