Bug 87405 - Segmentation fault in 'updatedb' from cron
Segmentation fault in 'updatedb' from cron
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: slocate (Show other bugs)
7.3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Thomas Woerner
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-03-26 13:05 EST by Michal Jaegermann
Modified: 2007-04-18 12:52 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-15 14:47:13 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Michal Jaegermann 2003-03-26 13:05:02 EST
Description of problem:

On one (Athlon) machine I see recently pretty consistently these:

/etc/cron.daily/slocate.cron: line 3:  9934 Segmentation fault
/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"

mailed by cron.  I _think_ that this really coincides with a recent
update to kernel-2.4.18-27.7.x.

In /etc/cron.daily/slocate.cron I commented out
"renice +19 -p $$ >/dev/null 2>&1" line and this appears to help.
At least I did not a message like above from the last night where
they were otherwise a fixture.

Version-Release number of selected component (if applicable):
slocate-2.6-1

How reproducible:
I do not observe that on other machines which are somewhat related
both hardware-wise and software-wise.  A different memory layout?
Comment 1 Boris Folgmann 2003-10-20 13:59:04 EDT
Today I received a similar mail from my cron daemon.

/etc/cron.daily/slocate.cron:

/etc/cron.daily/slocate.cron: line 3:  7209 Segmentation fault     
/usr/bin/updatedb -f "nfs,smbfs,ncpfs,proc,devpts" -e
"/tmp,/var/tmp,/usr/tmp,/afs,/net"
/usr/bin/run-parts: line 36:  7275 Segmentation fault      $i 2>&1
      7276                       | awk -v "progname=$i" 'progname {
				   print progname ":\n"
				   progname="";
			       }
			       { print; }'
/usr/bin/run-parts: line 36:  7444 Done                    $i 2>&1
      7445 Segmentation fault      | awk -v "progname=$i" 'progname {
				   print progname ":\n"
				   progname="";
			       }
			       { print; }'

It's slocate-2.6-8 on a RH9 system with kernel 2.4.20-20.9.
Comment 2 Thomas Woerner 2004-10-15 14:47:13 EDT
Please verify this with a newer version of Red Hat Enterprise Linux or
Fedora Core and reopen it against the new version if it still occurs.

Closing as "not a bug" for now.

Note You need to log in before you can comment on or make changes to this bug.