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

Strange bug related to soot.Scene



Hi!

I was experiencing some really strange behaviour regarding
loadClassAnsSupport(String) and reset() in soot.Scene. Please have a
look at the attached source file.

Whenever I invoke initialize(true) (one or multiple times) this all
works fine: The Scene is reset and some classes (definded in
rootClasses) are loaded to the Scene.

But whenever I first invoke initialize(true), then
setApplicationClasses() and then again initialize(true), the program
starts loading the first four classes and then dies with an out of
memory error.

But this really makes no sense to me since the critical line seems to be
line 91:

	cl.setApplicationClass();

When I comment this line, I can reinitialize 100 times without problems.
When I activate it, I get this strange behaviour. How can that be? If
anyone has a clue, please tell me.

Thanks,
Eric

Attachment: AnalysisManager.java
Description: Binary data