Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When I call system-config-services it reports a whole bunch of dead services. All of these are based on xinetd. In /var/log/message I see a lot of such messages: Nov 16 10:37:28 localhost kernel: chkconfig[27866]: segfault at 1c ip 00300a48 sp bff16e84 error 4 in libc-2.12.1.so[28d000+185000] I could reproduce it by calling chkconfig manually: # chkconfig --type xinetd --list discard Segmentation fault Using valgrind we see the following: # valgrind chkconfig --type xinetd --list discard ==28660== Memcheck, a memory error detector ==28660== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==28660== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==28660== Command: chkconfig --type xinetd --list discard ==28660== ==28660== Conditional jump or move depends on uninitialised value(s) ==28660== at 0x40057B6: free (vg_replace_malloc.c:325) ==28660== by 0x804D1B7: readServiceInfo (leveldb.c:337) ==28660== by 0x8049D23: listService (chkconfig.c:400) ==28660== by 0x804ABB1: main (chkconfig.c:663) ==28660== ==28660== Invalid free() / delete / delete[] ==28660== at 0x40057F6: free (vg_replace_malloc.c:325) ==28660== by 0x804D1B7: readServiceInfo (leveldb.c:337) ==28660== by 0x8049D23: listService (chkconfig.c:400) ==28660== by 0x804ABB1: main (chkconfig.c:663) ==28660== Address 0x9d18d7 is not stack'd, malloc'd or (recently) free'd ==28660== ==28660== Warning: invalid file descriptor -1 in syscall close() error reading information on service discard: Bad file descriptor ... Version-Release number of selected component (if applicable): chkconfig-1.3.48-1.fc13.i686 How reproducible: On one machine 100%. Other machines only sometimes. Steps to Reproduce: 1. See description above 2. 3. Actual results: Segmentation fault Expected results: No segmentation fault Additional info:
*** This bug has been marked as a duplicate of bug 649227 ***