JDK-6429829 : crash in hotspot -server compiler PhaseIdealLoop::build_loop_late (1.4.2_11 after 5030922 fix)
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 1.4.2_11
  • Priority: P2
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2006-05-24
  • Updated: 2010-04-03
  • Resolved: 2006-08-02
Related Reports
Relates :  
Description
Reading libjss3.so
t@null (l@19) terminated by signal SEGV (Segmentation Fault)
0xfd4cca88: build_loop_late+0x0630:     ld       [%g4 + 4], %g2
(dbx) where -h -l
=>[1] libjvm.so:PhaseIdealLoop::build_loop_late(0xa38febcc, 0xa38feb20, 0xa38feb20, 0xa38feb10, 0x0, 0xd81661), at 0xfd4cca88
[2] libjvm.so:PhaseIdealLoop::build_loop_late(0xa38febcc, 0xa38feb20, 0xa38feb20, 0xa38feb10, 0x0, 0xd81221), at 0xfd4cc62c
[3] libjvm.so:PhaseIdealLoop::build_loop_late(0xa38febcc, 0xa38feb20, 0xa38feb20, 0xa38feb10, 0x0, 0xd7ef01), at 0xfd4cc62c
[4] libjvm.so:PhaseIdealLoop::build_loop_late(0xa38febcc, 0xa38feb20, 0xa38feb20, 0xa38feb10, 0x0, 0x19f4a98), at 0xfd4cc62c
[5] libjvm.so:PhaseIdealLoop::PhaseIdealLoop(0xfd9debc8, 0x0, 0xa38fec14, 0x1, 0x1, 0x1), at 0xfd5c1dbc
[6] libjvm.so:Compile::Optimize(0xa38ff500, 0xfd943c60, 0xa38ff414, 0xfd992000, 0x0, 0x0), at 0xfd603d7c
[7] libjvm.so:Compile::Compile(0xfd943a95, 0x1a565ec, 0x129341c, 0x17a67c4, 0xffffffff, 0x1), at 0xfd602190
[8] libjvm.so:C2Compiler::compile_method(0x94508, 0xa38ffd1c, 0x0, 0x1a3df98, 0xffffffff, 0x0), at 0xfd5fe924
[9] libjvm.so:CompileBroker::invoke_compiler_on_method(0x7a0, 0x0, 0xffffffff, 0xfd9d16e0, 0xfd9debc8, 0x409580), at 0xfd5fe0e8
[10] libjvm.so:CompileBroker::compiler_thread_loop(0xfd9442e8, 0xfd9d1ac4, 0x409580, 0x409b38, 0x3269e4, 0xfd66b580), at 0xfd6ae3a8
[11] libjvm.so:JavaThread::run(0x409580, 0x13, 0x40, 0x0, 0x40, 0x0), at 0xfd66b5a8
[12] libjvm.so:java_start(0x409580, 0x0, 0x0, 0x0, 0x0, 0x0), at 0xfd8a230c

(dbx) regs
current thread: t@null
current frame:  [1]
g0-g3    0x00000000 0xfec30800 0x00000000 0x00000000
g4-g7    0x00000000 0x00000000 0x00000000 0xfdeb2400
o0-o3    0x00dc9a68 0x00000000 0x00004000 0x00002a37
o4-o7    0x00000000 0x00d81621 0xa38fe928 0xfd4cc9e8
l0-l3    0x00afeedc 0x00000105 0xa38febdc 0x0133b3d0
l4-l7    0x013389dc 0x00afeedd 0xa38fec04 0x01338a3c
i0-i3    0xa38febcc 0xa38feb20 0xa38feb20 0xa38feb10
i4-i7    0x00000000 0x00d81661 0xa38fe988 0xfd4cc62c
y        0xffffffff
psr      0xfe901005
pc       0xfd4cca88:build_loop_late+0x630       ld       [%g4 + 4], %g2
npc      0xfd4cca8c:build_loop_late+0x634       ld       [%g2], %g2


(dbx) j142GetC2methNClass
0xfd5fe924: compile_method+0x0064:      call     Compile        ! 0xfd6015e4
Class: _jsps/_etc/_opt/_SUNWps/_desktop/_NHSdesktop_en_US/_NHSLinks/_html/_content_jsp
Method: _jspService

(dbx) x build_loop_late+0x5b0/33i   
0xfd4cca08: build_loop_late+0x05b0:     cmp      %l0, %g2
0xfd4cca0c: build_loop_late+0x05b4:     bcs,a,pt  %icc,build_loop_late+0x5c8 0xfd4cca20
0xfd4cca10: build_loop_late+0x05b8:     ld       [%i0 + 24], %g2
0xfd4cca14: build_loop_late+0x05bc:     call     grow   ! 0xfd4ea844
0xfd4cca18: build_loop_late+0x05c0:     mov      %l0, %o1
0xfd4cca1c: build_loop_late+0x05c4:     ld       [%i0 + 24], %g2
0xfd4cca20: build_loop_late+0x05c8:     sll      %l0, 2, %g3
0xfd4cca24: build_loop_late+0x05cc:     add      %i0, 56, %o0
0xfd4cca28: build_loop_late+0x05d0:     st       %l3, [%g2 + %g3]
0xfd4cca2c: build_loop_late+0x05d4:     ld       [%i0 + 68], %l0
0xfd4cca30: build_loop_late+0x05d8:     ld       [%i0 + 60], %g2
0xfd4cca34: build_loop_late+0x05dc:     add      %l0, 1, %g3
0xfd4cca38: build_loop_late+0x05e0:     st       %g3, [%i0 + 68]
0xfd4cca3c: build_loop_late+0x05e4:     cmp      %l0, %g2
0xfd4cca40: build_loop_late+0x05e8:     bcs,a,pt  %icc,build_loop_late+0x5fc 0xfd4cca54
0xfd4cca44: build_loop_late+0x05ec:     ld       [%i0 + 64], %g2
0xfd4cca48: build_loop_late+0x05f0:     call     grow   ! 0xfd4ea844
0xfd4cca4c: build_loop_late+0x05f4:     mov      %l0, %o1
0xfd4cca50: build_loop_late+0x05f8:     ld       [%i0 + 64], %g2
0xfd4cca54: build_loop_late+0x05fc:     sll      %l0, 2, %g3
0xfd4cca58: build_loop_late+0x0600:     st       %l4, [%g2 + %g3]
0xfd4cca5c: build_loop_late+0x0604:     ret      
0xfd4cca60: build_loop_late+0x0608:     restore  
0xfd4cca64: build_loop_late+0x060c:     mov      %o0, %o1
0xfd4cca68: build_loop_late+0x0610:     mov      %o0, %l3
0xfd4cca6c: build_loop_late+0x0614:     cmp      %l0, %o0
0xfd4cca70: build_loop_late+0x0618:     be,pn    %icc,build_loop_late+0x74c 0xfd4ccba4
0xfd4cca74: build_loop_late+0x061c:     nop      
0xfd4cca78: build_loop_late+0x0620:     ld       [%o1 + 28], %g2
0xfd4cca7c: build_loop_late+0x0624:     ld       [%i0 + 88], %o0
0xfd4cca80: build_loop_late+0x0628:     sll      %g2, 2, %o1
0xfd4cca84: build_loop_late+0x062c:     ld       [%o0 + %o1], %g4
0xfd4cca88: build_loop_late+0x0630:     ld       [%g4 + 4], %g2

Comments
EVALUATION The customer has not been able to run with the debug jvm, and is no longer able to reproduce the failure. I am closing the bug for now but if a reproduceable testcase is found we will re-open the bug.
02-08-2006