[Bug 2175] New: C++ Exception Catch Handler Crash on Sparc ERC32 Simulator(SIS)

bugzilla-daemon at rtems.org bugzilla-daemon at rtems.org
Mon Mar 24 14:47:39 UTC 2014


https://www.rtems.org/bugzilla/show_bug.cgi?id=2175

             Bug #: 2175
           Summary: C++ Exception Catch Handler Crash on Sparc ERC32
                    Simulator(SIS)
    Classification: Unclassified
           Product: Tools
           Version: unspecified
          Platform: sparc
        OS/Version: RTEMS
            Status: NEW
          Severity: critical
          Priority: P3
         Component: GCC
        AssignedTo: ralf.corsepius at rtems.org
        ReportedBy: jbkim at coressentkorea.co.kr


* RTEMS : 4.11 version
* GCC : 4.8.1 & 4.8.2
* Target : SIS(Sparc Instruction Simulator for ERC32)
* Testing code : cxx_throw.exe in example_v2

 - Both RTEMS 4.11 and example_v2 code are built.
 - cxx_throw.exe is run.
 - error message is below;

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SIS - SPARC instruction simulator 2.7.5,  copyright Jiri Gaisler 1995
Bug-reports to jgais at wd.estec.esa.nl

sis> load cxx_throw.exe
sis> go
resuming at 0x02000000
Hey I'm in base class constructor number 1 for 0x2081318.
Hey I'm in base class constructor number 2 for 0x2081320.
Hey I'm in derived class constructor number 3 for 0x2081320.


*** CONSTRUCTOR/DESTRUCTOR TEST ***
Hey I'm in base class constructor number 4 for 0x208c724.
Hey I'm in base class constructor number 5 for 0x208c71c.
Hey I'm in base class constructor number 6 for 0x208c714.
Hey I'm in base class constructor number 7 for 0x208c70c.
Hey I'm in derived class constructor number 8 for 0x208c70c.
Testing a C++ I/O stream
before try block
Unexpected trap ( 7) at address 0x02034A54
memory address not aligned
IU in error mode (257)
   826787 02036f14  91d02000  Address 0x02036f14 is out of bounds.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


I am guessing that a internal part of _Unwind_RaiseException() occurr memory
address alignment problem.

Please let me know how to fix this.

Best Regards,
JunBeom Kim

-- 
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the bugs mailing list