[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] bug: still PyrPrimitive.cpp:3078: failed assertion `g->gc->SanityCheck()'



You might try turning on GC sanity checks for the primitives and see if you can crash it at an earlier time.

In PyrPrimitive.cpp change:

#define SANITYCHECK 0
to
#define SANITYCHECK 1

When you crash, the crash log will not be enough. You need to find out what primitive you have just called. This requires some messing around in the debugger. Or you can change the lines: //post("doPrimitive %s-%s\n", meth->ownerclass.uoc->name.us->name, meth->name.us->name);
to:
printf("doPrimitive %s-%s\n", meth->ownerclass.uoc->name.us->name, meth->name.us->name); and you will get loads of prints and hopefully after not too long the last one will be the primitive that corrupted the gc.

On Wednesday, November 27, 2002, at 09:01  AM, crucial felix wrote:


still getting this.
boot SC, don't touch it.
wait  a couple of minutes.

->popen
err 0
Debugger() was called!
source/lang/LangSource/PyrPrimitive.cpp:3078: failed assertion `g->gc->SanityCheck()'




-felix

_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev


--
--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<ftp://www.audiosynth.com/pub/updates/SC2.2.16.sea.hqx>