Bug 474140
Summary: | electric fence and valgrind reporting problem in regexp glibc | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Bezdicka <social> |
Component: | glibc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | drepper, jakub, lkundrak |
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: | 2008-12-05 08:11:44 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: |
Description
Lukas Bezdicka
2008-12-02 13:18:05 UTC
I cannot reproduce any problem. ef crashes, yes, but that's an ef problem: ef /bin/grep lala Electric Fence 2.2.2 Copyright (C) 1987-1999 Bruce Perens <bruce> ElectricFence Aborting: Allocating 0 bytes, probably a bug. /usr/bin/ef: line 20: 8790 Illegal instruction ( export LD_PRELOAD=libefence.so.0.0; exec "$@" ) Under valgrind I see no problem at all. The backtrace you show also doesn't indicate a problem in the code. A crash inside ef's memory allocation code can indicate a problem in ef just as well. You'll have to provide more detailed instructions on how to reproduce the problem. Allocating 0 bytes, probably a bug. says it all, not a bug. EF_ALLOW_MALLOC_0 By default, Electric Fence traps calls to malloc() with a size of zero, because they are often the result of a software bug. If EF_ALLOW_MALLOC_0 is non-zero, the software will not trap calls to malloc() with a size of zero. To change this value, set EF_ALLOC_MALLOC_0 in the shell environment to an integer value, or assign to the global integer variable EF_ALLOC_MALLOC_0 using a debugger. So just use EF_ALLOC_MALLOC_0=0 ef /bin/grep lala |