Searching for () crashes the appication

Bug #259346 reported by João Pinto
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
monodoc (Ubuntu)
Fix Released
Undecided
Unassigned
monodoc (openSUSE)
Confirmed
Unknown

Bug Description

monodoc:
  Installed: 1.2.6-1ubuntu2
Search for: ()
Exception in Gtk# callback delegate
  Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
Monodoc.Lucene.Net.QueryParsers.ParseException: Encountered ")" at line 1, column 1.
Was expecting one of:
    <NOT> ...
    "+" ...
    "-" ...
    "(" ...
    <QUOTED> ...
    <TERM> ...
    <PREFIXTERM> ...
    <WILDTERM> ...
    "[" ...
    "{" ...
    <NUMBER> ...

  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Jj_consume_token (Int32 kind) [0x00000]
  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Clause (System.String field) [0x00000]
  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Query (System.String field) [0x00000]
  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Clause (System.String field) [0x00000]
  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Query (System.String field) [0x00000]
  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Parse (System.String query) [0x00000]
  at Monodoc.Lucene.Net.QueryParsers.QueryParser.Parse (System.String query, System.String field, Monodoc.Lucene.Net.Analysis.Analyzer analyzer) [0x00000]
  at Monodoc.SearchableIndex.Search (System.String term) [0x00000]
  at Monodoc.Browser.OnSearchActivated (System.Object sender, System.EventArgs a) [0x00000]
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr data) [0x00000]
   at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
   at GLib.Signal.voidObjectCallback(IntPtr handle, IntPtr data)
   at GLib.Signal.voidObjectCallback(IntPtr , IntPtr )
   at Gtk.Application.gtk_main()
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Monodoc.Driver.Main(System.String[] args)

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Confirming. This is quite easily reproducible by searching for the term '()'

chr1s@chris-desktop:~$ apt-cache policy monodoc
monodoc:
  Installed: 1.2.6-1ubuntu2
  Candidate: 1.2.6-1ubuntu2
  Version table:
 *** 1.2.6-1ubuntu2 0
        500 http://archive.ubuntu.com hardy/main Packages
        100 /var/lib/dpkg/status

Changed in monodoc:
status: New → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Confirmed in Intrepid too

Revision history for this message
Jo Shields (directhex) wrote :

Bug filed upstream.

Changed in monodoc:
status: Unknown → Confirmed
Changed in monodoc (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Jo Shields (directhex) wrote :

Why was this marked as Fix Released? The problem still occurs in the package in Lucid.

Changed in monodoc (Ubuntu):
status: Fix Released → Confirmed
Revision history for this message
Guillaume AVRIL (guillaumeavril) wrote : Re: [Bug 259346] Re: Searching for () crashes the appication

I don't know, I just sent a patch that works but the package must be
recompiled.

On Sun, Dec 20, 2009 at 11:59 PM, directhex <email address hidden> wrote:

> Why was this marked as Fix Released? The problem still occurs in the
> package in Lucid.
>
> ** Changed in: monodoc (Ubuntu)
> Status: Fix Released => Confirmed
>
> --
> Searching for () crashes the appication
> https://bugs.launchpad.net/bugs/259346
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

--
Guillaume AVRIL

Revision history for this message
benoît tuduri (benoit2009) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

2009/12/21 Guillaume AVRIL <email address hidden>

> I don't know, I just sent a patch that works but the package must be
> recompiled.
>
> On Sun, Dec 20, 2009 at 11:59 PM, directhex <email address hidden>
> wrote:
>
> > Why was this marked as Fix Released? The problem still occurs in the
> > package in Lucid.
> >
>

"Fix Released" means that a package which fixes the bug has been uploaded to
the official archive. It is not appropriate to use this status when
attaching a patch to a bug report.

Revision history for this message
benoît tuduri (benoit2009) wrote :

that's ok, i understand.

Revision history for this message
Jo Shields (directhex) wrote :

On Mon, 2009-12-21 at 11:10 +0000, benoît tuduri wrote:
> that's ok, i understand.

Thanks for the fixes though, they had gone under my radar. Passing
upstream.

Revision history for this message
benoît tuduri (benoit2009) wrote :

Thanks you directhex. :)

João Pinto (joaopinto)
Changed in monodoc (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.