[Bug 519613] Re: synaptic crashes on word AND quicksearch
Fixed in 0.63.1ubuntu2 * common/rpackagelister.cc: - in RPackageLister::xapianSearch() catch xapian exception to prevent crash when xapian interprets search string as a syntax error ** Changed in: synaptic (Ubuntu) Status: Fix Committed = Fix Released ** Changed in: synaptic (Ubuntu) Assignee: Jean-Baptiste Lallement (jibel) = (unassigned) -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
** Tags added: quicksearch -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
Hi Olly, Thanks for the information. We catch the exception now and keep the list in it's previous state when it raises. -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
The error is triggered in common/rpackagelister.cc in RPackageLister::xapianSearch . The call to Xapian::Query query = parser.parse_query(unsplitSearchString); fails when the search string is an contains an operator AND, OR, NOT, XOR, ... in upper case. affecting to xapian-core ** Package changed: synaptic (Ubuntu) = xapian-core (Ubuntu) ** Changed in: xapian-core (Ubuntu) Status: Confirmed = Triaged -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
finally xapian raise the correct exception but synaptic doesn't catch it. reaffecting to synaptic. Sorry for the coming and going. ** Package changed: xapian-core (Ubuntu) = synaptic (Ubuntu) ** Changed in: synaptic (Ubuntu) Status: Triaged = In Progress ** Changed in: synaptic (Ubuntu) Assignee: (unassigned) = Jean-Baptiste Lallement (jibel) -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
** Branch linked: lp:~jibel/synaptic/bug.519613 -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
** Changed in: synaptic (Ubuntu) Status: In Progress = Fix Committed -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
Yes, this isn't a bug in xapian-core - you need to catch QueryParserError, and you can call get_msg() on it to get an error message to report to the user. You'll want to run the message through i18n as it's always in English currently. The possible errors are: Unknown range operation parse error Syntax: expression AND expression Syntax: expression AND NOT expression Syntax: expression NOT expression Syntax: expression OR expression Syntax: expression XOR expression -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
Glad to be of assistance. -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
** Changed in: synaptic (Ubuntu) Status: New = Confirmed ** Changed in: synaptic (Ubuntu) Importance: Undecided = Medium -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
Thank you for reporting this bug. I am able to confirm it using the current development release, Lucid Lynx. Unfortunately, not only did Synaptic Package Manager fail, but apport failed in trying to attach the log files. I am attaching the complete file from /log/crash, which appears to include the coredump. Fortunately, it was on a test machine, and contains no private matter. -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
** Attachment added: charlie s crash log http://launchpadlibrarian.net/39032364/_usr_sbin_synaptic.0.crash -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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 519613] Re: synaptic crashes on word AND quicksearch
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/38969752/Dependencies.txt ** Attachment added: ProcMaps.txt http://launchpadlibrarian.net/38969753/ProcMaps.txt ** Attachment added: ProcStatus.txt http://launchpadlibrarian.net/38969754/ProcStatus.txt -- synaptic crashes on word AND quicksearch https://bugs.launchpad.net/bugs/519613 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