harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rustem Rafikov (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HARMONY-5198) [drlvm][jit][??] linux-32 build sometimes crashes when running jbb2005
Date Fri, 30 Nov 2007 10:04:43 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rustem Rafikov resolved HARMONY-5198.
-------------------------------------

    Resolution: Duplicate

Dedicated issue created for lack of OOM handling in JIT an VM. 
So close this issue as duplicate. 
Please see,
https://issues.apache.org/jira/browse/HARMONY-5229

> [drlvm][jit][??] linux-32 build sometimes crashes when running jbb2005 
> -----------------------------------------------------------------------
>
>                 Key: HARMONY-5198
>                 URL: https://issues.apache.org/jira/browse/HARMONY-5198
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: SLES 9.2, linux-32 build, woodcrest 2.67Ghz, 8Gb RAM, 2.2Gb reserved
for large pages, 
>            Reporter: Rustem Rafikov
>         Attachments: HARMONY-5198.patch
>
>
> Hi All,
> Sometime VM crashes with the traces which lead to jitrino. See machine description in
the "Environment" box.
> The issue has not been investigated deeply yet.
> Build: r597629
> Cmd line options: -Xms2000m -Xmx2000m -XX:gc.use_large_page=/mnt/huge -Xem:server
> I've got 2 kind of stack traces, it seems that is out of memory error. Everything is
OK when running with 1.9Gb heap. 
> SIGSEGV in VM code.
> Stack trace:
>   0: Jitrino::init_arena(void*, Jitrino::Arena*, unsigned int) (??:-1)
>   1: Jitrino::alloc_arena(Jitrino::Arena*, unsigned int) (??:-1)
>   2: Jitrino::MemoryManager::_alloc_arena(unsigned int) (??:-1)
>   3: Jitrino::MemoryManager::alloc(unsigned int) (??:-1)
>   4: Jitrino::ControlFlowGraphFactory::createEdge(Jitrino::MemoryManager&, Jitrino::Node::Kind,
Jitrino::Node::Kind) (??:-1)
>   5: Jitrino::ControlFlowGraph::addEdge(Jitrino::Node*, Jitrino::Node*, double) (??:-1)
>   6: Jitrino::JavaFlowGraphBuilder::edgesForBlock(Jitrino::Node*) (??:-1)
>   7: Jitrino::JavaFlowGraphBuilder::createCFGEdges() (??:-1)
>   8: Jitrino::JavaFlowGraphBuilder::build() (??:-1)
>   9: Jitrino::JavaTranslator::translateMethod(Jitrino::CompilationInterface&, Jitrino::MethodDesc&,
Jitrino::IRBuilder&) (??:-1)
>  10: Jitrino::TranslatorSession::translate() (??:-1)
>  11: Jitrino::TranslatorSession::run() (??:-1)
>  12: Jitrino::runPipeline(Jitrino::CompilationContext*) (??:-1)
>  13: Jitrino::compileMethod(Jitrino::CompilationContext*) (??:-1)
>  14: Jitrino::Jitrino::CompileMethod(Jitrino::CompilationContext*) (??:-1)
>  15: JIT_compile_method_with_params (??:-1)
>  16: Dll_JIT::compile_method_with_params(void*, Method*, OpenMethodExecutionParams) (??:-1)
>  17: compile_do_compilation_jit(Method*, JIT*) (??:-1)
>  18: vm_compile_method (??:-1)
>  19: DrlEMImpl::compileMethod(Method*) (??:-1)
>  20: CompileMethod (??:-1)
>  21: compile_me(Method*) (??:-1)
>  22: 0x415E7162  <Generated stub>
>  23: ?? (??:-1)
>  24: spec/jbb/JBBmain.runWarehouse(IIF)Z (??:-1)
>  25: spec/jbb/JBBmain.doIt()V (??:-1)
>  26: ?? (??:-1)
>  27: .L806 (??:-1)
> Loading Warehouse 1...
> SIGSEGV in VM code.
> Stack trace:
>   0: EncoderBase::encode(char*, Mnemonic, EncoderBase::Operands const&) (??:-1)
>   1: Jitrino::Jet::Encoder::call_impl(Jitrino::Jet::Opnd const&) (??:-1)
>   2: Jitrino::Jet::Encoder::call(Jitrino::Jet::Opnd const&, Jitrino::Jet::CallSig
const&, bool) (??:-1)
>   3: Jitrino::Jet::CodeGen::gen_invoke(JavaByteCodes, Method*, unsigned short, std::vector<Jitrino::Jet::jtype,
std::allocator<Jitrino::Jet::jtype> > const&, Jitrino::Jet::jtype) (??:-1)
>   4: Jitrino::Jet::Compiler::handle_ik_meth(Jitrino::Jet::JInst const&) (??:-1)
>   5: .L27 (??:-1)
>   6: Jitrino::Jet::Compiler::comp_gen_insts(unsigned int, unsigned int, unsigned int)
(??:-1)
>   7: Jitrino::Jet::Compiler::comp_gen_code_bb(unsigned int) (??:-1)
>   8: Jitrino::Jet::Compiler::compile(void*, Method*, OpenMethodExecutionParams const&)
(??:-1)
>   9: Jitrino::Jet::compile_with_params(void*, void*, Method*, OpenMethodExecutionParams)
(??:-1)
>  10: JIT_compile_method_with_params (??:-1)
>  11: Dll_JIT::compile_method_with_params(void*, Method*, OpenMethodExecutionParams) (??:-1)
>  12: compile_do_compilation_jit(Method*, JIT*) (??:-1)
>  13: vm_compile_method (??:-1)
>  14: DrlEMImpl::compileMethod(Method*) (??:-1)
>  15: CompileMethod (??:-1)
>  16: compile_me(Method*) (??:-1)

-- 
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