[Ad-dev] [ADIC] #44: segv during reinterpret cast of SgNode instance address set from string in xaif

ADIC trac at mcs.anl.gov
Wed Aug 4 14:53:50 CDT 2010


#44: segv during reinterpret cast of SgNode instance address set from string in
xaif
--------------------------+-------------------------------------------------
 Reporter:  utke          |       Owner:  norris
     Type:  defect        |      Status:  new   
 Priority:  major         |   Milestone:        
Component:  XAIF parsing  |     Version:        
 Keywords:                |  
--------------------------+-------------------------------------------------
 This is placeholder to collect info about this problem.

 Symptom:
 Program received signal SIGSEGV, Segmentation fault.
 0x00002aaab1f7192b in __dynamic_cast () from /usr/lib64/libstdc++.so.6
 (gdb) where
 #0  0x00002aaab1f7192b in __dynamic_cast () from /usr/lib64/libstdc++.so.6
 #1  0x00002aaaac2cf691 in isSgStatement(SgNode*) ()
    from /sandbox/Argonne/Apps/rose_inst/lib/librose.so.0
 #2  0x00000000005d8169 in
 adic::SgXAIF::DFSVisitor_XAIF2Sage::onStartElement (
     this=0x7fffffffaff0, e=0x2aaae49187f0, empty=true)
     at ../ADIC/xaif/XAIFVisitors.cpp:296
 #3  0x00000000005aee30 in adic::SgXAIF::DFSTraversal::visit (
     this=0x7fffffffb9b0, e=0x2aaae49187f0)
     at ../ADIC/xaif/XAIFGraphTraversals.cpp:119
 #4  0x00000000005af0aa in adic::SgXAIF::DFSTraversal::visit (
     this=0x7fffffffb9b0, e=0x2aaae4665e60)
     at ../ADIC/xaif/XAIFGraphTraversals.cpp:136
 #5  0x00000000005af4a4 in adic::SgXAIF::DFSTraversal::visit (
     this=0x7fffffffb9b0, e=0x2aaae4744050)
     at ../ADIC/xaif/XAIFGraphTraversals.cpp:157
 #6  0x00000000005af0aa in adic::SgXAIF::DFSTraversal::visit (
     this=0x7fffffffb9b0, e=0x2aaae408a7e0)
     at ../ADIC/xaif/XAIFGraphTraversals.cpp:136
 #7  0x00000000005af0aa in adic::SgXAIF::DFSTraversal::visit (
     this=0x7fffffffb9b0, e=0x2aaae4081d10)
     at ../ADIC/xaif/XAIFGraphTraversals.cpp:136
 #8  0x00000000005ae780 in adic::SgXAIF::DFSTraversal::traverse (
     this=0x7fffffffb9b0, e=0x2aaae4081d10)
     at ../ADIC/xaif/XAIFGraphTraversals.cpp:56
 #9  0x000000000060e6b7 in main (myargc=3, myargv=0x7fffffffd3c8)
     at ../ADIC/main/ADIC.cpp:492
 (gdb) p staddr
 $1 = 18446744073243085568
 (gdb) p stmtAddress
 $2 = "46913461308160"

 I run on 64 bit opensuse 11.2 with gcc 4.4.1 and have
 ROSE (pre-release beta version: 0.9.5a)
    --- using EDG C/C++ front-end version: edg-3.3
    --- using OFP Fortran parser version: ofp-0.7.2
 and rose svn revision: 779

-- 
Ticket URL: <http://trac.mcs.anl.gov/projects/ADIC/ticket/44>
ADIC <http://trac.mcs.anl.gov/projects/ADIC>
ADIC: Automatic Differentiation for C and C++


More information about the Ad-dev mailing list