[Soot-list] Problem on analyzing SPECjvm2008

Jae-Woo Lee lee575 at purdue.edu
Fri Nov 14 10:13:55 EST 2008


Thank you very much, Eric.
I will be very helpful.

I meet another problem during the execution. When I run the analysis on 
SPECjvm2008, "segmentation fault" happened. Do you have any idea where I have 
to look for this problem. The following is the last part of the execution.

Thank you.

Sincerely,
Jaewoo

Applying phase jb.ls to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Splitting locals...
[initSystemColorDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initSystemColorDefaults]     Constructing SimpleLiveLocals...
[initSystemColorDefaults]     Constructing SmartLocalDefs...
[initSystemColorDefaults]        done localToDefs map...
[initSystemColorDefaults]        done unitToMask map...
[initSystemColorDefaults]     SmartLocalDefs finished.
[initSystemColorDefaults]     Constructing SimpleLocalUses...
[initSystemColorDefaults]     finished SimpleLocalUses...
Applying phase jb.a to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Aggregating iteration 1...
[initSystemColorDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initSystemColorDefaults]     Constructing SimpleLiveLocals...
[initSystemColorDefaults]     Constructing SmartLocalDefs...
[initSystemColorDefaults]        done localToDefs map...
[initSystemColorDefaults]        done unitToMask map...
[initSystemColorDefaults]     SmartLocalDefs finished.
[initSystemColorDefaults]     Constructing SimpleLocalUses...
[initSystemColorDefaults]     finished SimpleLocalUses...
[initSystemColorDefaults] Aggregating iteration 2...
[initSystemColorDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initSystemColorDefaults]     Constructing SimpleLiveLocals...
[initSystemColorDefaults]     Constructing SmartLocalDefs...
[initSystemColorDefaults]        done localToDefs map...
[initSystemColorDefaults]        done unitToMask map...
[initSystemColorDefaults]     SmartLocalDefs finished.
[initSystemColorDefaults]     Constructing SimpleLocalUses...
[initSystemColorDefaults]     finished SimpleLocalUses...
Applying phase jb.ule to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Eliminating unused locals...
Applying phase jb.tr to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[TypeAssigner] typing system started on Fri Nov 14 10:05:43 EST 2008
[TypeAssigner] typing system ended. It took 0 mins and 0 secs.
Applying phase jb.lns to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
Applying phase jb.cp to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Propagating copies...
[initSystemColorDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initSystemColorDefaults]     Constructing SimpleLiveLocals...
[initSystemColorDefaults]     Constructing SmartLocalDefs...
[initSystemColorDefaults]        done localToDefs map...
[initSystemColorDefaults]        done unitToMask map...
[initSystemColorDefaults]     SmartLocalDefs finished.
[initSystemColorDefaults]     Propagated: 0 fast copies  0 slow copies
Applying phase jb.dae to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Eliminating dead code...
[initSystemColorDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initSystemColorDefaults]     Constructing SimpleLiveLocals...
[initSystemColorDefaults]     Constructing SmartLocalDefs...
[initSystemColorDefaults]        done localToDefs map...
[initSystemColorDefaults]        done unitToMask map...
[initSystemColorDefaults]     SmartLocalDefs finished.
[initSystemColorDefaults]     Constructing SimpleLocalUses...
[initSystemColorDefaults]     finished SimpleLocalUses...
Applying phase jb.cp-ule to 
<com.sun.java.swing.plaf.windows.WindowsLookAndFeel: void 
initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Eliminating unused locals...
Applying phase jb.ne to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Removing nops...
Applying phase jb.uce to <com.sun.java.swing.plaf.windows.WindowsLookAndFeel: 
void initSystemColorDefaults(javax.swing.UIDefaults)>.
[initSystemColorDefaults] Eliminating unreachable code...
[initSystemColorDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initSystemColorDefaults]     Removed 0 statements...
[initComponentDefaults] Constructing JimpleBody from coffi...
[initComponentDefaults]     Parsing Coffi instructions...
[initComponentDefaults]     Building Coffi CFG...
[initComponentDefaults]     Producing naive Jimple...
Applying phase jb.ls to <javax.swing.plaf.basic.BasicLookAndFeel: void 
initComponentDefaults(javax.swing.UIDefaults)>.
[initComponentDefaults] Splitting locals...
[initComponentDefaults]     Constructing 
soot.toolkits.graph.ExceptionalUnitGraph...
[initComponentDefaults]     Constructing SimpleLiveLocals...
[initComponentDefaults]     Constructing SmartLocalDefs...
[initComponentDefaults]        done localToDefs map...
[initComponentDefaults]        done unitToMask map...
./run_analysis_derby.sh: line 10: 22618 Segmentation fault      java -Xmx2048m -
Xss16m -classpath .:bin/:${CLASSPATH} esnew.EscapeDriver -verbose -
cp .:${spec_classpath}:${jre_classpath}:${derby_classpath}


Quoting Eric Bodden <eric.bodden at mail.mcgill.ca>:

> By the way:
> 
> That's a tool that I sometimes found helpful (JWhich):
> http://www.javaworld.com/javaworld/javatips/jw-javatip105.html
> 
> Given a class name and classpath it tells you from where the class
> will be loaded.
> 
> Eric
> 
> 2008/11/13 Jae-Woo Lee <lee575 at purdue.edu>:
> > Okay. Then I have to begin the painful job now :)
> > Thank you very much for the answer.
> >
> > Sincerely,
> > Jaewoo
> >
> >
> > Quoting Eric Bodden <eric.bodden at mail.mcgill.ca>:
> >
> >> 2008/11/13 Jae-Woo Lee <lee575 at purdue.edu>:
> >> > Hi Eric,
> >> >
> >> > I need to analyze the whole SPECjvm2008 benchmark class files and
> >> inintially I
> >> > just wanted to run soot.Main and create jimple code. Whenever I run, I
> >> meet
> >> > some library problems so I turned on -use-phantom-refs, which I think
> >> create
> >> > another problem. It seems soot.Main tries to resolve all the libraries
> >> which
> >> > are used by SPECjvm2008 and creates exceptions when I don't have the
> >> libraries.
> >>
> >> That's correct, and it should - at least if you want to do a
> >> whole-program analysis.
> >>
> >> > For the time being, I want to ignore all the system libraries which are
> >> outside
> >> > the SPECjvm2008. Is there a better way other than whenever I meet the
> >> > exception, I try to find what's the missing class belongs and find and
> add
> >> the
> >> > libraries which are not contained in the SPECjvm2008 packages ?
> >> > Thank you.
> >>
> >> No, there isn't. It's painful but that's the only good way to cope
> >> with that. I did this once for the DaCapo suite and it took me a week
> >> :-(
> >>
> >> Eric
> >>
> >> --
> >> Eric Bodden
> >> Sable Research Group, McGill University, Montréal, Canada
> >> Got an interesting job offer? http://www.bodden.de/hire-me/
> >>
> >
> >
> >
> 
> 
> 
> -- 
> Eric Bodden
> Sable Research Group, McGill University, Montréal, Canada
> Got an interesting job offer? http://www.bodden.de/hire-me/
> 




More information about the Soot-list mailing list