Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8176887

AOT: SIGSEGV in AOTCodeHeap::next when using specific configuration

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2
    • Resolution: Unresolved
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: hotspot

      Description

      A number of jtreg tests ends with SIGSEGV at AOTCodeHeap::next

      A specific configuration of various modules aot-compiled was used when problems was introduced(see attached hs_err, which lists loaded libraries).

        Activity

        Hide
        dpochepk Dmitrij Pochepko added a comment -
        Seems like this SIGSEGV mostly(or only) happens when class redefinition happens.
        Show
        dpochepk Dmitrij Pochepko added a comment - Seems like this SIGSEGV mostly(or only) happens when class redefinition happens.
        Hide
        zmajo Zoltan Majo added a comment -
        ILW=crash in AOT-compiled code, experimental feature,no workaround=HLH=P2
        Show
        zmajo Zoltan Majo added a comment - ILW=crash in AOT-compiled code, experimental feature,no workaround=HLH=P2
        Hide
        opliss Oleg Pliss added a comment -
        I get very different results with slowdebug build.

        [opliss@sc14ia05 myaotjdk]$ /net/koori/onestop/jtreg/4.2/promoted/latest/binaries/jtreg/bin/jtreg -testjdk:$JAVA_HOME -v hotspot/test/closed/serviceability/commercialfeatures/TestJcmdFlightRecorderDynamicStart.java
        runner starting test: closed/serviceability/commercialfeatures/TestJcmdFlightRecorderDynamicStart.java
        runner finished test: closed/serviceability/commercialfeatures/TestJcmdFlightRecorderDynamicStart.java
        Passed. Execution successful
        Test results: passed: 1
        TR.badChars: output=!!! 0
        !!! ... slowdebug
        TR.badChars: 'b' (98)
        Error: Unexpected exception occurred! java.lang.NullPointerException
        java.lang.NullPointerException
                at com.sun.javatest.report.KflSorter.getTestCases(KflSorter.java:579)
                at com.sun.javatest.report.KflSorter.run(KflSorter.java:250)
                at com.sun.javatest.report.ReportSettings.setupKfl(ReportSettings.java:511)
                at com.sun.javatest.report.Report.writeReports(Report.java:117)
                at com.sun.javatest.report.Report.writeReport(Report.java:95)
                at com.sun.javatest.regtest.report.RegressionReporter.report(RegressionReporter.java:99)
                at com.sun.javatest.regtest.tool.Tool.batchHarness(Tool.java:1761)
                at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1191)
                at com.sun.javatest.regtest.tool.Tool.run(Tool.java:945)
                at com.sun.javatest.regtest.tool.Tool.main(Tool.java:133)
                at com.sun.javatest.regtest.Main.main(Main.java:58)

        I suspect a misconfiguration of the test harness. What command line should I use? What environment variables should I set?
        Show
        opliss Oleg Pliss added a comment - I get very different results with slowdebug build. [ opliss@sc14ia05 myaotjdk]$ /net/koori/onestop/jtreg/4.2/promoted/latest/binaries/jtreg/bin/jtreg -testjdk:$JAVA_HOME -v hotspot/test/closed/serviceability/commercialfeatures/TestJcmdFlightRecorderDynamicStart.java runner starting test: closed/serviceability/commercialfeatures/TestJcmdFlightRecorderDynamicStart.java runner finished test: closed/serviceability/commercialfeatures/TestJcmdFlightRecorderDynamicStart.java Passed. Execution successful Test results: passed: 1 TR.badChars: output=!!! 0 !!! ... slowdebug TR.badChars: 'b' (98) Error: Unexpected exception occurred! java.lang.NullPointerException java.lang.NullPointerException         at com.sun.javatest.report.KflSorter.getTestCases(KflSorter.java:579)         at com.sun.javatest.report.KflSorter.run(KflSorter.java:250)         at com.sun.javatest.report.ReportSettings.setupKfl(ReportSettings.java:511)         at com.sun.javatest.report.Report.writeReports(Report.java:117)         at com.sun.javatest.report.Report.writeReport(Report.java:95)         at com.sun.javatest.regtest.report.RegressionReporter.report(RegressionReporter.java:99)         at com.sun.javatest.regtest.tool.Tool.batchHarness(Tool.java:1761)         at com.sun.javatest.regtest.tool.Tool.run(Tool.java:1191)         at com.sun.javatest.regtest.tool.Tool.run(Tool.java:945)         at com.sun.javatest.regtest.tool.Tool.main(Tool.java:133)         at com.sun.javatest.regtest.Main.main(Main.java:58) I suspect a misconfiguration of the test harness. What command line should I use? What environment variables should I set?
        Hide
        opliss Oleg Pliss added a comment -
        How exactly to build this "specific configuration"?
        Show
        opliss Oleg Pliss added a comment - How exactly to build this "specific configuration"?

          People

          • Assignee:
            opliss Oleg Pliss
            Reporter:
            dpochepk Dmitrij Pochepko
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: