[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6623) Tests in core's derived identities package hang while logging SQL

John Verhaeg (JIRA) noreply at atlassian.com
Wed Aug 31 15:25:02 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Verhaeg updated HHH-6623:
------------------------------

    Description: 
from the thread dump, the only stack involving Hibernate is
- locked <7c01bce30> (a java.io.PrintStream)
   at org.gradle.util.LinePerThreadBufferingOutputStream.println(LinePerThreadBufferingOutputStream.java:205)
   at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
   at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:394)
   at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:354)

Even after removing the initial offending test, another test under the same derived identities package starts hanging.  Not sure if the type of test has anything to do with it though.  Some of the tests under this package work.

The tests hang *usually*, it they occasionally run fine.

Workaround: Turn off the hibernate.show_sql property in hibernate.properties

  was:
from the thread dump, the only stack involving Hibernate is
- locked <7c01bce30> (a java.io.PrintStream)
   at org.gradle.util.LinePerThreadBufferingOutputStream.println(LinePerThreadBufferingOutputStream.java:205)
   at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
   at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:394)
   at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:354)

Even after removing the initial offending test, another test under the same derived identities package starts hanging.  Not sure if the type of test has anything to do with it though.  Some of the tests under this package work.

Workaround: Turn off the hibernate.show_sql property in hibernate.properties


> Tests in core's derived identities package hang while logging SQL
> -----------------------------------------------------------------
>
>                 Key: HHH-6623
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6623
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: testsuite
>    Affects Versions: 4.0.0.CR1
>         Environment: Mac 10.6 and 10.7, gradle 1.0 m3, JVM: 1.6.0_26 (Apple Inc. 20.1-b02-383)
>            Reporter: John Verhaeg
>
> from the thread dump, the only stack involving Hibernate is
> - locked <7c01bce30> (a java.io.PrintStream)
>    at org.gradle.util.LinePerThreadBufferingOutputStream.println(LinePerThreadBufferingOutputStream.java:205)
>    at org.hibernate.engine.jdbc.spi.SqlStatementLogger.logStatement(SqlStatementLogger.java:106)
>    at org.hibernate.tool.hbm2ddl.SchemaExport.perform(SchemaExport.java:394)
>    at org.hibernate.tool.hbm2ddl.SchemaExport.execute(SchemaExport.java:354)
> Even after removing the initial offending test, another test under the same derived identities package starts hanging.  Not sure if the type of test has anything to do with it though.  Some of the tests under this package work.
> The tests hang *usually*, it they occasionally run fine.
> Workaround: Turn off the hibernate.show_sql property in hibernate.properties

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list