Bug 171931
Summary: | Having more than 400 files in a directory causes a segmentation fault during mmap | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 3 | Reporter: | Joseph Salisbury <jts> | ||||||
Component: | kernel | Assignee: | Peter Staubach <staubach> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | Brian Brock <bbrock> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 3.0 | CC: | jparadis, petrides | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2005-11-08 17:56:39 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Joseph Salisbury
2005-10-27 21:30:33 UTC
Created attachment 120489 [details]
strace during segmentation fault
Created attachment 120490 [details]
strace with 400 files - does not cause seg fault.
If an "ls" command segfaults, it is not likely to be a kernel problem. But I'll assign this to PeterS for investigation first (in case the kernel is providing bogus data with the getdents64() syscall), and he can bounce it to the appropriate component if he finds that it's indeed a bug somewhere else. I tried creating directories of 676 files, with varying file names from 2 bytes up to 202 bytes. I don't see a failure. Is there a reproducer for this situation? We ran an up2date on the system, which fixed the problem on EXT3. We will also test GFS to see if the problem went away there as well. I am going to close this, but if it occurs again or more information becomes available, please reopen this report and I will look at it then. |