Menu

Bus Error on Solaris

Help
Barry
2007-04-04
2013-04-22
  • Barry

    Barry - 2007-04-04

    Hello,

    When I execute a unit test that throws a user defined exception (that doesn't inherit from std::exception), I get a Bus Error (core dump) message and my test execution stops.  I am on Solaris 5.9 with GCC 3.3.3.

    Does anyone know what is happening?

    Thanks,

     
    • Barry

      Barry - 2007-04-04

      BTW .. I am using CPPUNIT 1.12.0.

       
      • Pascal Fleury

        Pascal Fleury - 2007-04-04

        Maybe CppUnit does not catch it (as it does not derive from the std::except) and so it crashes in this way.
        Have you tried to wrap the call to test unit in a try/catch block ?

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.