[armedbear-devel] debugAssert again

Alan Ruttenberg alanruttenberg at gmail.com
Mon May 10 13:40:45 UTC 2010


; Loading #P"/Users/alanr/.cache/common-lisp/armedbear-0.20.0-dev-fasl36-darwin-java-1.6/Users/alanr/repos/lsw2/trunk/util/encapsulate.abcl"
...
ABCL Debug.assertTrue() assertion failed!
java.lang.Error: ABCL Debug.assertTrue() assertion failed!
	at org.armedbear.lisp.Debug.assertTrue(Debug.java:46)
	at org.armedbear.lisp.Package.shadowingImport(Package.java:601)
	at org.armedbear.lisp.PackageFunctions$9.execute(PackageFunctions.java:186)
	at org.armedbear.lisp.Primitive.execute(Primitive.java:118)
....

        internalSymbols.put(symbol.name, symbol);
        if (shadowingSymbols == null)
            shadowingSymbols = new HashMap<String,Symbol>();
-->        Debug.assertTrue(shadowingSymbols.get(symbolName) == null);
        shadowingSymbols.put(symbolName, symbol);

This seems to be where I'm calling shadowing import. However a small
file with just this doesn't trigger the bug, nor does it seem to
happen on all loads.

(defpackage "ENCAPSULATE" (:USE "CL" "SYSTEM")
	    (:export "TRACE" "UNTRACE" "ADVISE" "UNADVISE" "ARGLIST"))
(in-package encapsulate)
(shadowing-import '(trace untrace advise unadvise arglist) 'cl-user)

-Alan




More information about the armedbear-devel mailing list