etc.
On Mon, 6 May 1996, Peter Asboeck wrote:
> Everybody is happy if no core dump occurs. Ok, I'm not happy.
> I have written a program and made some mistakes. The program
> crashes _Segmentation fault_ - but no core dump.
>
> Therefore I tested this one:
>
> int main(unsigned int argc, char **argv)
> {
> char *p;
>
> p = 0;
> *p = 0;
> }
>
> compiled by /usr/bin/gcc -v -g -o x x.c
>
> Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2/specs
> gcc version 2.7.2
> /usr/lib/gcc-lib/i486-linux/2.7.2/cpp -lang-c -v -undef -D__GNUC__=2
> -D__GNUC_MINOR__=7 -D__ELF__ -Dunix -Di386 -Dlinux -D__ELF__ -D__unix__
> -D__i386__ -D__linux__ -D__unix -D__i386 -D__linux -Asystem(unix)
> -Asystem(posix) -Acpu(i386) -Amachine(i386) -g -D__i486__ x.c /tmp/cca00926.i
> GNU CPP version 2.7.2 (i386 Linux/ELF)
> #include "..." search starts here:
> #include <...> search starts here:
> /usr/local/include
> /usr/i486-linux/include
> /usr/lib/gcc-lib/i486-linux/2.7.2/include
> /usr/include
> End of search list.
> /usr/lib/gcc-lib/i486-linux/2.7.2/cc1 /tmp/cca00926.i -quiet -dumpbase x.c
> -g -version -o /tmp/cca00926.s
> GNU C version 2.7.2 (i386 Linux/ELF) compiled by GNU C version 2.7.2.
> /usr/i486-linux/bin/as -V -Qy -o /tmp/cca009261.o /tmp/cca00926.s
> GNU assembler version 960228 (i486-linux), using BFD version 2.6.0.12
> /usr/i486-linux/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.1 -o x
> /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o
> -L/usr/lib/gcc-lib/i486-linux/2.7.2 -L/usr/i486-linux/lib /tmp/cca009261.o
> -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o
>
> ldd x reports
> libc.so.5 => /lib/lic.so.5.3.12
>
> ./x works with
>
> Segmentation fault
>
> but no CORE DUMP.
>
> Any ideas ?
>
> BTW kernel 1.3.97 (working without problems).
>
> Thanks Peter
>
>
> Peter Asboeck e-mail: pas@servodata.co.at
> s-mail: Peter Asboeck
> c/o Servo Data Ges.m.b.H.
> J.-K.-Vogelstr. 2
> A-4020 Linz
> Austria/Europe
>
>
>
>