After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 164515 - Best crashes on certain searches
Best crashes on certain searches
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Beagle Bugs
Beagle Bugs
Depends on:
Blocks:
 
 
Reported: 2005-01-18 19:37 UTC by Stephen Solka
Modified: 2005-01-31 20:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Stephen Solka 2005-01-18 19:37:45 UTC
What happens: I search for the term sound. Then best dies with a unhandled
exception.
What I expect to happen: I would expect best to return the results of my search
Backtrace:
Unhandled Exception: System.ArgumentException: name cannot have zero length.
in [0x0002b] (at
/var/tmp/portage/mono-1.0.5-r3/work/mcs-1.0.5/class/corlib/System.Reflection/Assembly.cs:211)
System.Reflection.Assembly:GetManifestResourceStream (string)
in [0x0006a] (at /home/esavior/beagle/images/Images.cs:57)
Beagle.Images:GetStreamInner (string)
in [0x00001] (at /home/esavior/beagle/images/Images.cs:65)
Beagle.Images:GetStream (string)
in [0x0004b] (at /home/esavior/beagle/images/Images.cs:155)
Beagle.Images:GetHtmlSource (string,string)
in [0x00022] (at /home/esavior/beagle/Tiles/TileLauncher.cs:87)
Beagle.Tile.TileLauncher:PopulateTemplate ()
in [0x0000c] (at /home/esavior/beagle/Tiles/TileFromTemplate.cs:70)
Beagle.Tile.TileFromTemplate:Render (Beagle.Tile.TileRenderContext)
in [0x0000e] (at /home/esavior/beagle/Tiles/TileCanvas.cs:225)
TileCanvasRenderContext:Tile (Beagle.Tile.Tile)
in [0x0002c] (at /home/esavior/beagle/Tiles/TileHitCollection.cs:294)
Beagle.Tile.TileHitCollection:RenderTiles (Beagle.Tile.TileRenderContext)
in [0x0003a] (at /home/esavior/beagle/Tiles/TileHitCollection.cs:313)
Beagle.Tile.TileHitCollection:Render (Beagle.Tile.TileRenderContext)
in [0x0000e] (at /home/esavior/beagle/Tiles/TileCanvas.cs:225)
TileCanvasRenderContext:Tile (Beagle.Tile.Tile)
in [0x00065] (at /home/esavior/beagle/Tiles/SimpleRootTile.cs:151)
Beagle.Tile.SimpleRootTile:Render (Beagle.Tile.TileRenderContext)
in [0x0002d] (at /home/esavior/beagle/Tiles/TileCanvas.cs:277)
Beagle.Tile.TileCanvas:PaintTile (Beagle.Tile.Tile)
in [0x00081] (at /home/esavior/beagle/Tiles/TileCanvas.cs:320)
Beagle.Tile.TileCanvas:DoRender ()
in [0x00010] (at /home/esavior/beagle/Tiles/TileCanvas.cs:353)
Beagle.Tile.TileCanvas:RenderHandler ()
in <0x0005d> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool ()
in <0x0003c> IdleProxy:Handler ()
in <0x00040> (wrapper native-to-managed) IdleProxy:Handler ()
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00007> Gnome.Program:Run ()
in [0x00068] (at /home/esavior/beagle/Best/Best.cs:88) Best.Best:Main (string[])

free(): invalid pointer 0x85f1000!
Comment 1 Albert Vilella 2005-01-25 06:30:38 UTC
I'm having the same issue:

*** glibc detected *** free(): invalid pointer: 0x0abb3bb0 ***

Both with 0.0.4 and CVS as of 20050124
Comment 2 Albert Vilella 2005-01-25 16:49:01 UTC
Queries that make best crash also make beagle-query crash:

*** glibc detected *** free(): invalid pointer: 0x0a1a9000 ***
/usr/bin/beagle-query: line 13:  5096 Aborted                
MONO_GAC_PREFIX="/usr:$MONO_GAC_PREFIX" MONO_PATH="$THIS_PATH:$MONO_PATH"
BEAGLE_FILTER_PATH="$BEAGLE_FILTER_PATH:$THIS_FILTERS" mono --debug
$MONO_EXTRA_ARGS $THIS_EXE "$@"
Comment 3 Albert Vilella 2005-01-25 20:16:13 UTC
A dummy Console.WriteLine shows a problem in the stream opening...

-----------------------

[beagle]$ best 'pecador'
Rendering
Clearing actions: cleared
Clearing Tiles: cleared
Stream
PostRenderEvent
Time stopped
Done Rendering: 5.89s
SetSource:
Rendering
Clearing actions: cleared
Clearing Tiles: cleared
Stream
PostRenderEvent
Time stopped
Done Rendering: 1.13s
Rendering
Clearing actions: cleared
Clearing Tiles: cleared
*** glibc detected *** free(): invalid pointer: 0x08d68590 ***


---------------------

		private void DoRender ()
		{
			if (time == null) {
				time = new Beagle.Util.Stopwatch ();
				time.Start ();
			}
			System.Console.WriteLine ("Rendering");
			if (PreRenderEvent != null)
				PreRenderEvent (this, new EventArgs ());
				
			ClearActions ();
			ClearTiles ();

			string mime_type = "text/html";
			if (Environment.GetEnvironmentVariable ("BEST_DEBUG_HTML") != null)
			    mime_type = "text/plain";
			OpenStream ("file:///", mime_type);
			PaintTile (root);
			CloseStream ();
			System.Console.WriteLine ("Stream");

			if (PostRenderEvent != null)
				PostRenderEvent (this, new EventArgs ());

			System.Console.WriteLine ("PostRenderEvent");

			time.Stop ();
			System.Console.WriteLine ("Time stopped");
			System.Console.WriteLine ("Done Rendering: {0}",
						  time);
			time = null;


		}
Comment 4 Joe Shaw 2005-01-31 20:22:09 UTC
trow fixed this one about a week and a half ago.