Re: Segmentation fault

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hehe, i delete the old kernel. And then I cant boot on.

the strace return this logs maybe it can help someone! :
==10859== My PID = 10859, parent PID = 10646. Prog and args are:
==10859== ./soldatserver
==10859==
==10859== Valgrind library directory: /usr/lib/valgrind
==10859== Command line
==10859== ./soldatserver
==10859== Startup, with flags:
==10859== -v
==10859== --log-file=soldatlogmem.log
==10859== Contents of /proc/version:
==10859== Linux version 2.6.16-1.2108_FC4 (bhcole@xxxxxxxxxxxx) (gcc
version 4.0.2 20051125 (Red Hat 4.0.2-8)) #1 Thu May 4 23:52:01 EDT
2006
==10859== Reading syms from /data/soldatserver249/soldatserver (0x8048000)
==10859== object doesn't have a symbol table
==10859== object doesn't have any debug info
==10859== Reading syms from /lib/ld-2.3.6.so (0x1B8E4000)
==10859== object doesn't have any debug info
==10859== Reading syms from /usr/lib/valgrind/stage2 (0xB0000000)
==10859== Reading syms from /lib/ld-2.3.6.so (0xB1000000)
==10859== object doesn't have any debug info
==10859== Reading syms from /usr/lib/valgrind/vgskin_memcheck.so (0xB7C25000)
==10859== Reading syms from /lib/libc-2.3.6.so (0xB7E85000)
==10859== object doesn't have any debug info
==10859== Reading syms from /lib/libdl-2.3.6.so (0xB7FAF000)
==10859== object doesn't have any debug info
==10859== Reading suppressions file: /usr/lib/valgrind/default.supp
==10859==
==10859== Reading syms from /usr/lib/valgrind/vg_inject.so (0x1B901000)
==10859== Reading syms from /usr/lib/valgrind/vgpreload_memcheck.so (0x1B906000)
==10859== Reading syms from /lib/libNoVersion-2.3.6.so (0x1B90D000)
==10859== object doesn't have any debug info
==10859== Reading syms from
/lib/obsolete/linuxthreads/libpthread-0.10.so (0x1B918000)
==10859== object doesn't have any debug info
==10859== Reading syms from /lib/libdl-2.3.6.so (0x46B000)
==10859== object doesn't have any debug info
==10859== Reading syms from /lib/obsolete/linuxthreads/libc-2.3.6.so
(0x1B96C000)
==10859== object doesn't have any debug info
==10859== Conditional jump or move depends on uninitialised value(s)
==10859== at 0x1B9D6B77: strstr (in /lib/obsolete/linuxthreads/libc-2.3.6.so)
==10859== by 0x1B91FF10: pthread_initialize (in
/lib/obsolete/linuxthreads/libpthread-0.10.so)
==10859== by 0x1B925CA1: (within /lib/obsolete/linuxthreads/libpthread-0.10.so)
==10859== by 0x1B91BAE9: (within /lib/obsolete/linuxthreads/libpthread-0.10.so)
==10859== by 0x1B8F1D5A: call_init (in /lib/ld-2.3.6.so)
==10859== by 0x1B8F1E7C: _dl_init (in /lib/ld-2.3.6.so)
==10859== by 0x1B8E47CE: (within /lib/ld-2.3.6.so)
==10859==
==10859== Invalid read of size 1
==10859== at 0x80533C5: (within /data/soldatserver249/soldatserver)
==10859== by 0x1B9812AE: __libc_start_main (in
/lib/obsolete/linuxthreads/libc-2.3.6.so)
==10859== by 0x8053743: (within /data/soldatserver249/soldatserver)
==10859== Address 0x52BFEA14 is just below %esp. Possibly a bug in GCC/G++
==10859== v 2.96 or 3.0.X. To suppress, use: --workaround-gcc296-bugs=yes
==10859== TRANSLATE: 0x1B9D24FD redirected to 0x1B909AE6



2006/5/22, Mogens Kjaer <mk@xxxxxx>:
Guillaume wrote:
> hi,
> I have a problem since (i tought) i upgrade my kernel to the last
> release... When i launch specific program it show me an error :
> "segmentation fault"
>
> I have 2 questions:
>
> 1) Is it possible to revert to my previous kernel version,and if yes,
> how to? (i download from a site  kernel.i686 2.6.15-1.1833_FC4.rpm but
> when i try to install it it fail...)

Most likely, the old kernel is still installed.

rpm -qa|fgrep kernel

should list the kernels installed.

To boot an old kernel, stop grub at the booting stage and
see if the old kernel is listed.

>
> 2) How have to do to trace the error program & find what is wrong...
>
> I run Fedora core 4 on a pentium 3 proc. The actual kernel installed
> is 2.6.16-1.2108_FC4.

You could try strace and see what happens.

boot old kernel:

strace -o oldkernel.log yourprogram

boot new kernel:

strace -o newkernel.log yourprogram

compare the two files newkernel.log and oldkernel.log

Mogens


--
Mogens Kjaer, Carlsberg A/S, Computer Department
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux