[Bug 149998] Re: tab completion crashes fish shell
This bug has been fixed upstream. I'm closing this bug report. Please reopen if you feel that this has been done wrongly. ** Changed in: fish (Ubuntu) Status: Confirmed = Fix Released -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
This bugged me too. I found this bug report in Debian, maybe can be helpful. I can confirm in Ubuntu 9.04 has the problem. I think Ubuntu 8.10 too. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487259 Thanks. ** Bug watch added: Debian Bug tracker #487259 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=487259 -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
This patch should fix the issue. Essentially the looping logic in get_description was broken. If the system encountered a matching long comment followed by a matching shorter one, it would spin into an infinite loop. ** Attachment added: mimedb-loop-bug.patch http://launchpadlibrarian.net/21271716/mimedb-loop-bug.patch -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
** Changed in: fish (Ubuntu) Importance: Undecided = Low Status: New = Confirmed -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
For the issue that causes mimedb to hang, there is an unofficial patch linked below: http://sourceforge.net/mailarchive/forum.php?thread_name=a877664d0810200339t48aa2b62vbe35e30b3d0521d4%40mail.gmail.comforum_name =fish-users It's not a pretty solution but it solves the problem -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
I straced the mimedb process when trying mimdb -d .xls (this is the line that blocks mine), I saw it loop juste after opening this file /usr/share/mime/application/vnd.ms-excel.xml, I tried to edit the file removing different XML element to see which made it block. Apparently if the is a comment field without an xml:lang attribute, it blocks on the function regexec. So this file parse: ?xml version=1.0 encoding=utf-8? mime-type xmlns=http://www.freedesktop.org/standards/shared-mime-info; type=application/vnd.ms-excel !--Created automatically by update-mime-database. DO NOT EDIT!-- comment xml:lang=en_GBExcel spreadsheet/comment generic-icon name=x-office-spreadsheet/ alias type=application/msexcel/ alias type=application/x-msexcel/ sub-class-of type=application/zip/ /mime-type but not this one (see the added comment line): ?xml version=1.0 encoding=utf-8? mime-type xmlns=http://www.freedesktop.org/standards/shared-mime-info; type=application/vnd.ms-excel !--Created automatically by update-mime-database. DO NOT EDIT!-- comment xml:lang=en_GBExcel spreadsheet/comment generic-icon name=x-office-spreadsheet/ alias type=application/msexcel/ alias type=application/x-msexcel/ commentExcel 2007 VBA add-in/comment sub-class-of type=application/zip/ /mime-type My conjectured diagnostic is that mimedb is trying to parse XML using regex and forgot to handle comments without xml:lang attributes. -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
I eventually tracked down the problem with Fish under Hardy to mimedb. mimedb -d .rb freezes, chewing up CPU. Maybe the Ruby mime file is oddly formatted? -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
I have a similar problem. Under the Hardy RC, tab completing a string that matches more than one file causes fish to freeze. I'm also using amd64; however, it worked fine for me under Gutsy. -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 149998] Re: tab completion crashes fish shell
Works fine for me, but I'm using i386 so thats probably not much help. -- tab completion crashes fish shell https://bugs.launchpad.net/bugs/149998 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs