Bug 372031 - Updatedb crashes
Summary: Updatedb crashes
Keywords:
Status: CLOSED DUPLICATE of bug 242715
Alias: None
Product: Fedora
Classification: Fedora
Component: mlocate
Version: 8
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: Miloslav Trmač
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-09 01:56 UTC by Joshua Rosen
Modified: 2008-02-13 14:22 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-02-13 14:22:23 UTC


Attachments (Terms of Use)

Description Joshua Rosen 2007-11-09 01:56:11 UTC
Description of problem:
Updatedb crashed with the following message,

updatedb: src/updatedb.c:730: scan_cwd: Assertion `name_size > 1' failed.
Abort

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


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Dag Arne Eriksson 2008-02-13 00:30:10 UTC
Version-Release number of selected component (if applicable):
Fedora 8
updatedb (mlocate) 0.18

How reproducible:
Not tested, probably 100%

Steps to Reproduce:
1. run updatedb on a newly installed Fedora 8 install.
  
Actual results:
Updatedb crashes with the following message,
updatedb: src/updatedb.c:730: scan_cwd: Assertion `name_size > 1' failed.
Abort

Expected results:
updatedb runs successfully,

Additional info:
Confirmed on newly installed Fedore 8 system today. (no updates were done).

Fix: add "/sys/module/nousb" to PRUNEPATH in /etc/updatedb.conf

Comment 2 Andreas Thienemann 2008-02-13 00:51:20 UTC
No idea why this was assigned as bacula. Reassigned to mlocate.

Comment 3 Miloslav Trmač 2008-02-13 14:22:23 UTC
Thanks for your report.  This bug is already tracked as #242715.

> Fix: add "/sys/module/nousb" to PRUNEPATH in /etc/updatedb.conf
That doesn't really fix the underlying bug.  A better workaround is to run
(/etc/cron.daily/mlocate.cron) instead of updatedb.

*** This bug has been marked as a duplicate of 242715 ***


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