[Mono-dev] debugger exception
Alvaro Ramirez
aramirez at xenodium.com
Tue Dec 11 15:01:18 EST 2007
Hiya Martin,
On Mon, 2007-12-10 at 11:56 +0100, Martin Baulig wrote:
> this looks like a bug I fixed on Saturday.
>
> Could you please check whether your debugger is at least svn revision
> r90973 ?
I've just updated mcs, mono, and debugger (rev 91059), but I'm still
getting the same exception, thrown at
debugger/backend/ProcessServant.cs:451. See comments below for a little
more info:
internal SingleSteppingEngine GetEngineByTID (Inferior inferior, long
tid) //at this point tid is 3083639024
{
//there is only one engine in hashtable with tid 0, so none found
foreach (SingleSteppingEngine engine in thread_hash.Values) {
if (engine.TID == tid)
return engine;
}
if (thread_db == null) {
Report.Error ("Failed to initialize thread_db on {0}: {1} {2}",
start.CommandLine, start, Environment.StackTrace);
throw new InternalError ();
}
...
Any clues? Thx!
Alvaro
>
> Martin
>
> On Sun, 2007-12-09 at 05:56 +0000, Alvaro Ramirez wrote:
> > Hiya,
> >
> > Checked out and built the latest debugger from svn. I'm getting an
> > unhandled exception (InternalError) when trying to debug basic console
> > apps (Attached is a stack trace).
> >
> > The exception is thrown when GetEngineByTID returns null while handling
> > GcThreadCreated events (MonoThreadManager.cs).
> >
> > Looking a bit into GetEngineByTID (ProcessServant.cs), here's a snapshot
> > of variables when attempting to get the engine by tid:
> >
> > tid:3083462896
> > thread_hastable count:1
> > engine in thread_hastable with TID:0
> >
> > The pid of the only engine in the hashtable seems to be correct (same
> > shown by ps). The tid(3083462896) used to request the engine is perhaps
> > bogus? Can someone shed some light? Need more info?
> >
> > Thanks,
> >
> > Alvaro
> >
> > _______________________________________________
> > Mono-devel-list mailing list
> > Mono-devel-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list