Created attachment 359061 [details] Input to reproduce the infinite loop Description of problem: With the attached input files ctags jumps into infinite loop or gets segment fault. Version-Release number of selected component (if applicable): ctags-5.7-4.fc11.x86_64 How reproducible: For reproducing infinite loop, use hgcommand-infinite-loop.vim as argument for ctags. For reproduce segment fault, use hgcommand-segment-fault.vim as argument for ctags. Steps to Reproduce: * infinite loop ctags hgcommand-infinite-loop.vim * segment fault ctags hgcommand-segment-fault.vim Actual results: Never returned to shell or segment fault. Expected results: Returned to shell successfully. Additional info: See the attached patch.
Created attachment 359062 [details] Input to reproduce the segment fault
Created attachment 359063 [details] A patch to avoid the infinite loop and the segment fault.
I already built the new ctags-5.8 including this fix in rawhide. It will also be built for F11/F10 update soon. Thanks for the patch!
ctags-5.8-1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/ctags-5.8-1.fc11
ctags-5.8-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/ctags-5.8-1.fc10
ctags-5.8-1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
ctags-5.8-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report.