harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Shimansky (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-4030) [drlvm][classloader] Fixed bug prone code in Class_File_Loader file
Date Tue, 05 Jun 2007 14:25:26 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-4030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501574
] 

Gregory Shimansky commented on HARMONY-4030:
--------------------------------------------

This patch makes some of the DRLVM kernel (e.g. java.lang.ClassGenericsTest) tests to fail
on assertion in Class_File_Loader.cpp. The stack trace looks like this:

#6  0x405acce3 in __assert_fail () from /lib/tls/libc.so.6
#7  0x40c0b605 in check_member_name (name=0x54316653 "ClassGenericsTest$Mc007�\221;", len=25,
    old_version=false, is_method=false)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:682
#8  0x40c0b73b in check_field_descriptor (descriptor=0x54316653 "ClassGenericsTest$Mc007�\221;",
    next=0xbfffa3ac, is_void_legal=false, old_version=false)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:739
#9  0x40bff7b7 in Method::_parse_local_vars (this=0x54369350, table=0xbfffa4f0, offset_list=0xbfffa570,
    env=@0x807fcd8, cp=@0x5435c260, cfs=@0xbfffaba0, attr_name=0x40dfb847 "LocalVariableTable",
    attribute=ATTR_LocalVariableTable)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:1411
#10 0x40c01cee in Method::_parse_code (this=0x54369350, env=@0x807fcd8, cp=@0x5435c260, code_attr_len=70,
    cfs=@0xbfffaba0)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:1773
#11 0x40c032e0 in Method::parse (this=0x54369350, env=@0x807fcd8, clss=0x5435c1d8, cfs=@0xbfffaba0,
    is_trusted_cl=true)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:2029
#12 0x40c05363 in Class::parse_methods (this=0x5435c1d8, env=0x807fcd8, cfs=@0xbfffaba0, is_trusted_cl=true)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:2368
#13 0x40c08f2d in Class::parse (this=0x5435c1d8, env=0x807fcd8, cfs=@0xbfffaba0)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Class_File_Loader.cpp:3141
#14 0x40c310d3 in ClassLoader::DefineClass (this=0x808f0d8, env=0x807fcd8,
    class_name=0x54308558 "java/lang/ClassGenericsTest$Mc007�\221", bytecode=0x54369470
"����", offset=0,
    length=746, res_name=0x0)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:287
#15 0x40c36bcb in BootstrapClassLoader::LoadFromClassFile (this=0x808f0d8, dir_name=0x80834b4,
    class_name_in_fs=0xbfffacc0 "java/lang/ClassGenericsTest$Mc007�\221.class", class_name=0x5430854c,
    not_found=0xbfffad0b)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:1765
#16 0x40c36989 in BootstrapClassLoader::LoadFromFile (this=0x808f0d8, class_name=0x5430854c)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:1704
#17 0x40c358b7 in BootstrapClassLoader::DoLoadClass (this=0x808f0d8, env=0x807fcd8, className=0x5430854c)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:1445
#18 0x40c35639 in ClassLoader::LoadClass (this=0x808f0d8, env=0x807fcd8, className=0x5430854c)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:1400
---Type <return> to continue, or q <return> to quit---
#19 0x40c314e2 in ClassLoader::LoadVerifyAndPrepareClass (this=0x808f0d8, env=0x807fcd8, name=0x5430854c)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/classloader.cpp:367
#20 0x40c19a82 in Class::_resolve_class (this=0x54327900, env=0x807fcd8, cp_index=87)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/class_support/Resolve.cpp:167
#21 0x40c5fb67 in rth_ldc_ref_helper (c=0x54327900, cp_index=87)
    at /nfs/ims/proj/drl/mrt2/users/gregory/suse/trunk/working_vm/vm/vmcore/src/jit/jit_runtime_support.cpp:173


> [drlvm][classloader] Fixed bug prone code in Class_File_Loader file
> -------------------------------------------------------------------
>
>                 Key: HARMONY-4030
>                 URL: https://issues.apache.org/jira/browse/HARMONY-4030
>             Project: Harmony
>          Issue Type: Sub-task
>          Components: DRLVM
>            Reporter: Vera Volynets
>            Assignee: Gregory Shimansky
>            Priority: Minor
>         Attachments: utf8_improvement.patch
>
>


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message