Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5481

Unit tests fail on a derby closed iterator test with a "Invalid memory access of location"

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.8.1.2
    • Fix Version/s: None
    • Component/s: Miscellaneous
    • Environment:
      Eclipse 3.7.0 on Mac OSX 10.7.2
    • Urgency:
      Normal

      Description

      I'm the lead author of ORMLite, a smallish ORM project that supports Derby and some other JDBC and Android databases. I'm getting a reproducible memory fault during one of my Derby tests. I've just ignored the test for now in my code but I thought I'd report it.

      To check out the tree svn co http://ormlite.svn.sourceforge.net/svnroot/ormlite/ormliteTest/trunk

      You'll need maven. The DerbyEmbeddedBaseDaoImplTest is the one that fails. Not by itself unfortunately but running the com.j256.ormlite.dao package which is also testing some other database types causes it to fail every time for me. It's the testCloseInIterator() method defined in the test base class JdbcBaseDaoImplTest. This test closes the underlying database connection in the middle of an iterator loop to test exception handling.

      Sorry if this is just too obscure to be useful.

        Attachments

        1. derby.log
          66 kB
          Gray Watson

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              graywatson Gray Watson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: