Bug 492504
Summary: | infinite loop in boyer_moore() at 0x7fffffff/0x80000000 boundary | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Alexandre Oliva <oliva> |
Component: | emacs | Assignee: | Daniel Novotny <dnovotny> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 11 | CC: | debarshir, dnovotny, jonathan.underwood |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 23.1-1.fc11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-08-11 22:36:41 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
Alexandre Oliva
2009-03-27 02:35:02 UTC
I think adding '&& (EMACS_INT)(cursor + 20000) < (EMACS_INT)cursor', or replacing p_limit for cursor in the test, might fix this. FWIW, I've got this while searching large buffers interactively too, not only when splitting mail with gnus. I just hadn't realized it was just different symptoms of the same problem. what about adding "&& (EMACS_INT) cursor < (EMACS_INT) p_limit" to the first "if" ? This would certainly fix this particular case, but I'm not entirely sure it wouldn't break others. I reported this upstream, let's see what upstream maintainers have to say... I believe the upstream patch that fixes the bug is http://cvs.savannah.gnu.org/viewvc/emacs/src/search.c?root=emacs&r1=1.238&r2=1.239, although http://cvs.savannah.gnu.org/viewvc/emacs/src/search.c?root=emacs&r1=1.239&r2=1.240 might be needed as well. This still hits Fedora 11, and there's a patch. Is it too hard to integrate it? Can I help? hello, I will update F11 emacs to 23.1, which contains the fix for the bug emacs-23.1-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/emacs-23.1-1.fc11 emacs-23.1-1.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update emacs'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-8245 emacs-23.1-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |