2 Replies Latest reply: Feb 24, 2012 3:14 AM by 917348 RSS

    JAXB unmarshalling using Java crashes Oracle

    917348
      Hi,

      I have loaded JAXB generated classes for xml schema into Oracle 11g2. When I tried to parse .xml using the classes (creating JAXBContext and then creating Unmarshaller), the oracle crashes and gives the following error:

      ERROR:
      ORA-03114: not connected to ORACLE

      begin
      ***
      ERROR at line 1:
      ORA-03113: end-of-file on communication channel
      Process ID: 17631
      Session ID: 125 Serial number: 13

      The stack trace is below:

      +ORA-07445: exception encountered: core dump [joncla_get_raw_annotations()+72] [SIGSEGV] [ADDR:0x48] [PC:0x27A5D4E] [Address not mapped to object] []+

      +========= Dump for incident 14578 (ORA 7445 [joncla_get_raw_annotations()+72]) ========+
      ----- Beginning of Customized Incident Dump(s) -----
      +Exception [type: SIGSEGV, Address not mapped to object] [ADDR:0x48] [PC:0x27A5D4E, joncla_get_raw_annotations()+72] [flags: 0x0, count: 1]+
      Registers:
      %rax: 0x0000000000000000 %rbx: 0x00002b28df4739f8 %rcx: 0x0000000000000000
      %rdx: 0x00002b28df44c200 %rdi: 0x00002b28df39fd2f %rsi: 0x00002b28df44c202
      %rsp: 0x00007fffd770a5e0 %rbp: 0x00007fffd770a5f0 %r8: 0x00007fffd770aa90
      %r9: 0x00002b28df44c202 %r10: 0x00002b28df3d4e03 %r11: 0x00007fffd770aa90
      %r12: 0x00002b28df472727 %r13: 0x00002b28df468a02 %r14: 0x00002b28df39fd2f
      %r15: 0x00002b28df472720 %rip: 0x00000000027a5d4e %efl: 0x0000000000010246
      (0x27a5d4e) mov 0x48(%rax),%rsi
      (0x27a5d52) mov %rsi,%rdx
      (0x27a5d55) and $-8,%rdx
      (0x27a5d59) mov 0xf8(%rdx),%rax
      (0x27a5d60) and $7,%rax

      *** 2012-02-17 09:08:06.422
      dbkedDefDump(): Starting a non-incident diagnostic dump (flags=0x3, level=3, mask=0x0)
      ----- Current SQL Statement for this session (sql_id=5bb64r47xpya2) -----
      begin
      sys.init_arq('xacml30test.properties','VPDARQTestPolicy.xml', 'db_to_attr_config.xml', null);
      end;
      ----- PL/SQL Stack -----
      ----- PL/SQL Call Stack -----
      object line object
      handle number name
      0x114df82e8 1 procedure SYS.INIT_ARQ
      0x114d6eed8 2 anonymous block

      ----- Call Stack Trace -----
      calling call entry argument values in hex
      location type point (? means dubious value)
      --------------------
      -------------------- ----------------------------
      skdstdst()36 call kgdsdst() 000000000 ? 000000000 ?+
      2B28DF0DC118 ? 000000001 ?
      2B28DF0E0618 ? 000000000 ?
      ksedst1()98 call skdstdst() 000000000 ? 000000000 ?+
      2B28DF0DC118 ? 000000001 ?
      000000000 ? 000000000 ?
      ksedst()34 call ksedst1() 000000001 ? 000000001 ?+
      2B28DF0DC118 ? 000000001 ?
      000000000 ? 000000000 ?
      dbkedDefDump()2736 call ksedst() 000000001 ? 000000001 ?+
      2B28DF0DC118 ? 000000001 ?
      000000000 ? 000000000 ?
      ksedmp()36 call dbkedDefDump() 000000003 ? 000000003 ?+
      2B28DF0DC118 ? 000000001 ?
      000000000 ? 000000000 ?
      ssexhd()2326 call ksedmp() 000000003 ? 000000003 ?+
      2B28DF0DC118 ? 000000001 ?
      000000000 ? 000000000 ?
      __restore_rt() call ssexhd() 00000000B ? 2B28DF0E4D70 ?
      2B28DF0E4C68 ? 000000001 ?
      000000000 ? 000000000 ?
      joncla_get_raw_anno signal __restore_rt() 2B28DF39FD2F ? 2B28DF44C202 ?
      tations()72 2B28DF44C200 ? 000000000 ?+
      7FFFD770AA90 ? 2B28DF44C202 ?
      joncla8_get_raw_ann call joncla_get_raw_anno 2B28DF39FD2F ? 000000000 ?
      otations__cst__()6 tations() 2B28DF44C200 ? 000000000 ?+
      30 7FFFD770AA90 ? 2B28DF44C202 ?
      joncla8_get_raw_ann call joncla8_get_raw_ann 2B28DF39FD2F ? 000000000 ?
      otations()80 otations__cst__() 2B28DF3D4E03 ? 2B28DF44C202 ?+
      7FFFD770AA90 ? 2B28DF44C202 ?
      java_lang_Class__in call joncla8_get_raw_ann 2B28DF39FD2F ? 2B28DF3D4E03 ?
      itAnnotationsIfNece otations() 2B28DF3D4E03 ? 2B28DF44C202 ?
      ssary()342 7FFFD770AA90 ? 2B28DF44C202 ?+
      java_lang_Class__ge call java_lang_Class__in 2B28DF39FD2F ? 2B28DF3D4E03 ?
      tAnnotation()303 itAnnotationsIfNece 2B28DF3D4E03 ? 2B28DF44C202 ?+
      ssary() 7FFFD770AA90 ? 2B28DF44C202 ?
      com_sun_xml_bind_v2 call java_lang_Class__ge 2B28DF39FD2F ? 2B28DF745203 ?
      modelannotation_R tAnnotation() 2B28DF3D4E03 ? 2B28DF44C202 ?
      untimeInlineAnnotat 2B28DF70D703 ? 2B28DF44C202 ?
      ionReader__getClass
      Annotation()180+
      com_sun_xml_bind_v2 call com_sun_xml_bind_v2 2B28DF39FD2F ? 2B28DF745203 ?
      modelannotation_R modelannotation_R 2B28DF44C202 ? 2B28DF57FEE0 ?
      untimeInlineAnnotat untimeInlineAnnotat 2B28DF70D703 ? 2B28DF44C202 ?
      ionReader__getClass ionReader__getClass
      Annotation()283 Annotation()+
      com_sun_xml_bind_v2 call com_sun_xml_bind_v2 2B28DF39FD2F ? 2B28DF745200 ?
      modelimpl_Propert modelannotation_R 2B28DF44C202 ? 2B28DF57FEE0 ?
      yInfoImpl__getAppli untimeInlineAnnotat 2B28DF70D703 ? 2B28DF4D9618 ?
      cableAdapter()2831 ionReader__getClass+
      Annotation()
      com_sun_xml_bind_v2 call com_sun_xml_bind_v2 2B28DF39FD2F ? 000000000 ?
      modelimpl_Propert modelimpl_Propert 2B28DF44C202 ? 2B28DF57FEE0 ?
      yInfoImpl__<init>() yInfoImpl__getAppli 2B28DF44C202 ? 2B28DF581980 ?
      +2109 cableAdapter()
      sjoninvk_jit()1041 call com_sun_xml_bind_v2 2B28DF39FD2F ? 0FFFFFFFF ?+
      modelimpl_Propert 2B28DF57FEE0 ? 2B28DF57FEE0 ?
      yInfoImpl__<init>() 2B28DF57D928 ? 2B28DF581980 ?
      joevm_invoke_jit_0r call sjoninvk_jit() 2B28DF39FD2F ? 0FFFFFFFF ?
      et()400 2B28E018E008 ? 2B28DF57FEE0 ?+
      2B28DF57D928 ? 2B28DF581980 ?
      joevm_invokenonvirt call joevm_invoke_jit_0r 2B28DF39FD2F ? 2B28DF4739F8 ?
      ualq_first()786 et() 2B28DF4739F8 ? 2B28DF473A30 ?+
      101D3684C ? 000000003 ?
      joe_run_vm()30499 call joevm_invokenonvirt 2B28DF39FD2F ? 000000003 ?+
      ualq_first() 2B28DF4739F8 ? 2B28DF473A60 ?
      101D3684C ? 000000003 ?
      joe_run()440 call joe_run_vm() 2B28DF39FD2F ? 2B28DF468A02 ?+
      2B28DF4739F8 ? 2B28DF473A60 ?
      101D3684C ? 000000003 ?
      joe_jit_class_tramp call joe_run() 2B28DF39FD2F ? 2B28DF468A02 ?
      oline()3776 2B28DF4739F8 ? 2B28DF473A60 ?+
      101D3684C ? 000000003 ?
      sjoe_jit_class_call call joe_jit_class_tramp 2B28DF39FD2F ? 7FFFD770C5D0 ?
      back()485 oline() 2B28DF70BC03 ? 7FFFD770BC90 ?+
      20000002B ? 7FFFD770BC90 ?
      com_sun_xml_bind_v2 call sjoe_jit_class_call 2B28DF39FD2F ? 2B28DF70BC03 ?
      modelimpl_ClassIn back() 7FFFD770C5D0 ? 2B28DF70BC03 ?

      The stack trace continues more. Is it a known issue or is there any problem with my side?

      Regards,
      Saravana