I am not sure where to start searching for answer on my issue. The problem is that, all the core files are invalid. I am sure it's not a gdb issue, but I don't know where to start ...
# uname -a Linux sbalu 2.6.19 #1 SMP PREEMPT Thu Dec 21 15:09:23 UTC 2006 i686 pentium4 i386 GNU/Linux # gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.0.3/configure --prefix=/usr --libexecdir=/usr/lib --enable-languages=c,c++,objc --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-shared --disable-nls --with-x=no Thread model: posix gcc version 4.0.3 (CRUX) # gdb -v GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. ... # gdb -c core.9826 ./bdcli GNU gdb 6.6 Copyright (C) 2006 Free Software Foundation, Inc. ... This GDB was configured as "i686-pc-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". "/home/packardb/cli/core.9826" is not a core dump: File format not recognized (gdb) # file core.9826 core.9826: ELF 32-bit LSB core file Intel 80386, version 1 (SYSV), SVR4-style # ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited pending signals (-i) 4096 max locked memory (kbytes, -l) 32 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 4096 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited # # cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 15 model : 2 model name : Intel(R) Pentium(R) 4 CPU 2.40GHz stepping : 7 cpu MHz : 2393.097 cache size : 512 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 2 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe up cid bogomips : 4790.06 # df -h Filesystem Size Used Avail Use% Mounted on /dev/hda2 18G 12G 6.5G 64% / I really have no ideea what is wrong with this. I have the same things installed on two different machines (gcc, glibc, gdb), what differes are the kernel and the hardware. -- Stefan Balu Linux Tester - BitDefender Softwin - Data Security Division www.bitdefender.com www.softwin.ro
