�Martin Ma?ok� sagte am 2002-02-20 um 13:35:59 +0100 :
> On Wed, Feb 20, 2002 at 12:57:13PM +0100, Alexander Skwar wrote:
> > atd from at-3.1.8-5mdk core dumps at startup.
>
> Can you gdb the core? Can you strace atd?
> gdb atd
GNU gdb 5.1.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(no debugging symbols found)...
(gdb) run
Starting program: /usr/sbin/atd
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0804a005 in strcpy ()
(gdb) where
#0 0x0804a005 in strcpy ()
(gdb)
execve("/usr/sbin/atd", ["atd"], [/* 42 vars */]) = 0
uname({sys="Linux", node="cpo", ...}) = 0
brk(0) = 0x804c478
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62606, ...}) = 0
old_mmap(NULL, 62606, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40016000
close(3) = 0
open("/lib/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\204\1"..., 1024) = 1024
fstat64(3, {st_mode=S_IFREG|0755, st_size=1275588, ...}) = 0
old_mmap(NULL, 1292288, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40026000
mprotect(0x40158000, 38912, PROT_NONE) = 0
old_mmap(0x40158000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x131000)
= 0x40158000
old_mmap(0x4015e000, 14336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS,
-1, 0) = 0x4015e000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x40162000
munmap(0x40016000, 62606) = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
> Do you have everything synced to cooker? Files are okay?
Yes, it is synced. Hmm:
> rpm -V at
.M...... c /etc/rc.d/init.d/atd
..5..... /usr/sbin/atd
After erasing and reinstalling the rpm, at works. Thanks for the hints!
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.iso-top.de | Jabber: [EMAIL PROTECTED]
iso-top.de - Die g�nstige Art an Linux Distributionen zu kommen
Uptime: 4 hours 22 minutes