| Summary: | Segfault in large bitset array | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Remi Collet <fedora> | ||||
| Component: | Judy | Assignee: | Paul Howarth <paul> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | paul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Judy-1.0.5-7.fc19 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2013-10-21 01:03:26 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Have you reported this upstream? That would seem to be the best place to me. (In reply to Paul Howarth from comment #1) > Have you reported this upstream? That would seem to be the best place to me. No, but as last version is from 2009... I'm a bit afraid... Will try to investigate a little first. P.S. and forget the JSLN, it works perfectly. NB: this is a 64bits only bug. i386 is not affected. @Paul, after some investigation, this is a gcc issue at the time this package (Judy-1.0.5-6.fc19) was build. No issue with all tested build (fc14 to fc20, el5 and el6). A simple rebuild with current gcc version in F19 solves this issue. Can you please take care of this (I can do it if you prefer). Judy-1.0.5-7.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/Judy-1.0.5-7.fc19 Package Judy-1.0.5-7.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing Judy-1.0.5-7.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-18927/Judy-1.0.5-7.fc19 then log in and leave karma (feedback). Judy-1.0.5-7.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 810043 [details] reproducer.c Working on pecl/Judy extension and trying to understand issue in the test suite, I finally think this is a bug in Judy library. Please try the minimal reproducer attached. $ gcc -Wall -lJudy reproducer.c -o reproducer $ ./reproducer 3 OK - bit successfully set at 1 OK - bit successfully set at 2 2 bits set in Judy1 array 2 Indexes used 24 bytes of memory OK - first bit set is at 1 $ ./reproducer 3 ... OK - bit successfully set at 269 OK - bit successfully set at 270 Erreur de segmentation (core dumped) P.S. I have another issue with the iterator (JSLN) I will try to provide another reproducer.