Created attachment 120012 [details] Configuration file
Description of problem: logrotate segfaults with: /etc/cron.daily/logrotate: /etc/cron.daily/logrotate: line 3: 4376 Segmentation fault /usr/sbin/logrotate /etc/logrotate.conf Version-Release number of selected component (if applicable): 3.7.2-6 How reproducible: Happens every day. Steps to Reproduce: 1. Do nothing, let cron/anacron run logrotate. Actual results: logrotate segfaults. Expected results: Should work as it used to. Additional info: Attaching config file and strace output. GDB backtrace: ---------------------------- GNU gdb Red Hat Linux (6.3.0.0-1.81rh) Copyright 2004 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-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) set args /etc/logrotate.conf (gdb) r Starting program: /usr/sbin/logrotate /etc/logrotate.conf Reading symbols from shared object read from target memory...done. Loaded system supplied DSO at 0x8e7000 Program received signal SIGSEGV, Segmentation fault. 0x00b7c026 in free () from /lib/libc.so.6 (gdb) bt #0 0x00b7c026 in free () from /lib/libc.so.6 #1 0x0804ce6d in main (argc=2, argv=0xbfdac244) at logrotate.c:90 #2 0x00b2d50f in __libc_start_main () from /lib/libc.so.6 #3 0x08049851 in _start () ----------------------------
Created attachment 120013 [details] strace output
check logrotate-3.7.2-7 please, http://people.redhat.com/pvrabec/rpms/logrotate-3.7.2-7.src.rpm
Yeah, appears much better. Thanks.
*** Bug 170955 has been marked as a duplicate of this bug. ***