Subject: monodoc-base: monodoc search crash with special chars
Package: monodoc-base
Version: 1.9-2ubuntu1
Severity: important

*** Please type your report below this line ***
When i tried to execute a search via the "Search tab", monodoc crash.
In fact, to reproduce this bug, you must be followed this procedure :
1 - You click on search tab.
2 - In search textbox you wrote a characters of this list (this list is not signifiant) : * + " { }
At this time, monodoc crash, like :

using GtkHtml
using GtkHtml
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. Monodoc.Lucene.Net.QueryParsers.ParseException: Lexical error at line 1, column 2. Encountered: <EOF> after : "" 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)

My ubuntu version is : Ubuntu 8.10

-- System Information:
Debian Release: lenny/sid
  APT prefers intrepid-updates
APT policy: (500, 'intrepid-updates'), (500, 'intrepid-security'), (500, 'intrepid')
Architecture: i386 (i686)

Kernel: Linux 2.6.27-11-generic (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages monodoc-base depends on:
ii  libc6              2.8~20080505-0ubuntu9 GNU C Library: Shared libraries
ii  libmono-corlib1.0- 1.9.1+dfsg-4ubuntu2   Mono core library (1.0)
ii  libmono-corlib2.0- 1.9.1+dfsg-4ubuntu2   Mono core library (2.0)
ii  libmono-sharpzip0. 1.9.1+dfsg-4ubuntu2   Mono SharpZipLib library
ii  libmono-system-web 1.9.1+dfsg-4ubuntu2   Mono System.Web library
ii  libmono-system1.0- 1.9.1+dfsg-4ubuntu2   Mono System libraries (1.0)
ii  libmono-system2.0- 1.9.1+dfsg-4ubuntu2   Mono System libraries (2.0)
ii  libmono1.0-cil     1.9.1+dfsg-4ubuntu2   Mono libraries (1.0)
ii  libmono2.0-cil     1.9.1+dfsg-4ubuntu2   Mono libraries (2.0)
ii  lynx               2.8.6-2.1ubuntu3      Text-mode WWW Browser
ii  mono-runtime       1.9.1+dfsg-4ubuntu2   Mono runtime

monodoc-base recommends no packages.

-- no debconf information




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to