You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Alexey Varlamov (JIRA)" <ji...@apache.org> on 2007/04/26 06:54:15 UTC
[jira] Created: (HARMONY-3758) [drlvm][ia64] assert fires in
String_Pool::lookup()
[drlvm][ia64] assert fires in String_Pool::lookup()
---------------------------------------------------
Key: HARMONY-3758
URL: https://issues.apache.org/jira/browse/HARMONY-3758
Project: Harmony
Issue Type: Bug
Components: DRLVM
Environment: Sles9@IPF
Reporter: Alexey Varlamov
Priority: Minor
DRLVM crashes intermittently on various tests, independent of execution mode. Here is output obtained on kernel tests:
[junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
[junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3758) [drlvm][classloader] assert fires
in String_Pool::lookup()
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496853 ]
Gregory Shimansky commented on HARMONY-3758:
--------------------------------------------
I mistakenly thought that my commit is IPF specific and therefore didn't check on other platforms. Thank you for a quick fix Stepan.
> [drlvm][classloader] assert fires in String_Pool::lookup()
> ----------------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (HARMONY-3758) [drlvm][classloader] assert fires
in String_Pool::lookup()
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky resolved HARMONY-3758.
----------------------------------------
Resolution: Fixed
For some reason in unaligned case when string is read byte by byte the signed char bytes were converted to POINTER_SIZE_INT with sign extend. When string contains unicode characters ( >= 128) this leads to incorrect results because upper bytes of the byte are filled with 0xff bytes. The fix is to consider bytes as unsigned before extending them to POINTER_SIZE_INT. Fixed at
538982.
> [drlvm][classloader] assert fires in String_Pool::lookup()
> ----------------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (HARMONY-3758) [drlvm][classloader] assert fires
in String_Pool::lookup()
Posted by "Stepan Mishura (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12496763 ]
Stepan Mishura commented on HARMONY-3758:
-----------------------------------------
Commit r538982 broke DRLVM build on Windows x86 - I did quick fix at r539244.
Please verify if the fix works for you.
> [drlvm][classloader] assert fires in String_Pool::lookup()
> ----------------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (HARMONY-3758) [drlvm][classloader] assert fires in
String_Pool::lookup()
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov closed HARMONY-3758.
------------------------------------
Verified, I un-excluded related tests.
> [drlvm][classloader] assert fires in String_Pool::lookup()
> ----------------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3758) [drlvm][classloader] assert fires in
String_Pool::lookup()
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky updated HARMONY-3758:
---------------------------------------
Summary: [drlvm][classloader] assert fires in String_Pool::lookup() (was: [drlvm][ia64] assert fires in String_Pool::lookup())
> [drlvm][classloader] assert fires in String_Pool::lookup()
> ----------------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (HARMONY-3758) [drlvm][ia64] assert fires in
String_Pool::lookup()
Posted by "Alexey Varlamov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Varlamov updated HARMONY-3758:
-------------------------------------
Description:
To reproduce:
sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
...
[junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
[junit] SIGABRT in VM code.
was:
DRLVM crashes intermittently on various tests, independent of execution mode. Here is output obtained on kernel tests:
[junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
[junit] SIGABRT in VM code.
> [drlvm][ia64] assert fires in String_Pool::lookup()
> ---------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Assigned: (HARMONY-3758) [drlvm][classloader] assert fires
in String_Pool::lookup()
Posted by "Gregory Shimansky (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HARMONY-3758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gregory Shimansky reassigned HARMONY-3758:
------------------------------------------
Assignee: Gregory Shimansky
> [drlvm][classloader] assert fires in String_Pool::lookup()
> ----------------------------------------------------------
>
> Key: HARMONY-3758
> URL: https://issues.apache.org/jira/browse/HARMONY-3758
> Project: Harmony
> Issue Type: Bug
> Components: DRLVM
> Environment: Sles9@IPF
> Reporter: Alexey Varlamov
> Assigned To: Gregory Shimansky
> Priority: Minor
>
> To reproduce:
> sh build.sh -DBUILD_CFG=debug kernel.test -Dtest.mode=int -Dtest.vmargs="-XX:vm.dlls=libgc_cc.so" -Dtest.case=java.lang.ClassGenericsTest
> ...
> [junit] java: /nfs/ins/proj/drl/coreapi/avarlamo/harmony/linux.ipf/svn-repo/trunk/working_vm/vm/vmcore/src/class_support/String_Pool.cpp:199: String* String_Pool::lookup(const char*, long unsigned int, long long unsigned int): Assertion `key_stats->raw_hash == raw_hash' failed.
> [junit] SIGABRT in VM code.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.