java on cygwin - 2082 tests pass

Christian Jönsson christian@j-son.org
Thu May 9 22:37:00 GMT 2002


On Fri, May 10, 2002 at 06:39:25AM +0200, chj wrote:
> On Wed, May 08, 2002 at 12:10:07PM -0600, Tom Tromey wrote:
> > >>>>> "ChJ" == Christian Jönsson <christian@j-son.org> writes:
> > 
> > David> FAIL: Array_3 execution from source compiled test
> > 
> > >> This tests null pointer exception creation and handling.
> > 
> > ChJ> I have severe problems with Array_3 from gcc-3.1 on sparc32-linux
> > ChJ> also as I have reported before. It goes into an infinite loop,
> > ChJ> past dejagnu's 300 sec limit, does not abort, eventaully the
> > ChJ> system crashes.
> > 
> > ChJ> This is on a, currently dual sun4m, (SS20) system running Debian Woody
> > ChJ> with a 2.2.20 SMP kernel. It might be related to a kernel memory
> > ChJ> handling problem as davem suggests.
> > 
> > I've CC'd David.
> > 
> > If it is a kernel problem then there's probably little we can do about it.
> > Anyway, this is almost certainly different from the Array_3 problem on
> > Cygwin.
> > 
> > Tom
> 
> Well, more for completeness (I really need a 2.4.x SMP sun4m kernel).
> 
> This was on a Debian Woody (test release) sun4m system with these
> packages:
> 
> binutils                           2.12.90.0.1-4
> dejagnu                            1.4.2-1.1
> gcc                                2:2.95.4-14 (Debian prerelease)
> gcc-2.95			   1:2.95.4-7 (Debian prerelease)
> gnat				   3.14p-3
> kernel-image-2.2.20-sun4dm-smp     9
> libc6                              2.2.5-4
> 
> In-tree joined gcc-3.1 and binutils-2.12 cvs branches.
> 
> LAST_UPDATED: Thu May  9 13:30:04 UTC 2002
> 
> Similar problem, running Array_3 from the testsuite, Array_3 runs
> a long time, beyound 300 sec dejagnu limit, does ot abort, hangs
> the machine... I might try Billingurts's patch to dejagnu's remote.exp
> to see if that makes dejagnu abort Array_3 again...
> 
> Here's the kernel related output (just for reference) 
> 
> Array_3 (24622): Oops
> 
> PSR: 404000c0  PC: fe361788  NDC: fe36178c  Y: 00400000
> 
> .
> .
> .
> 
> Caller(f001b249)
> Caller(f0016428)
> Caller(500c2bd4)
> Instruction DUMP: 80a40015 0280000d 80a72000 <d0040000> 80a22000 02800004 7c73bfe3 01000000
> 
> FWIW... :-(

I sohould have attached someting like this: (not from this crash,
but very similar)

ksymoops 2.4.5 on sparc 2.2.20.  Options used
     -V (default)
     -k /proc/ksyms (default)
     -l /proc/modules (default)
     -o /lib/modules/2.2.20/ (default)
     -m /boot/System.map-2.2.20 (default)

Warning: You did not tell me where to find symbol information.  I will
assume that the log matches the kernel and modules that are running
right now and I'll use the default options above for symbol resolution.
If the current kernel and/or modules do not match the log, you can get
more accurate output by telling me the kernel version and where to find
map, modules, ksyms etc.  ksymoops -h explains the options.

Warning (compare_maps): ksyms_base symbol module_list_R__ver_module_list not found in System.map.  Ignoring ksyms_base entry
Unable to handle kernel NULL pointer dereference<1>tsk->mm->context = 0000bc12
tsk->mm->pgd = ee81a400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
Array_3(15810): Oops
PSR: 408000c2 PC: fe361788 NPC: fe36178c Y: 00400000
Using defaults from ksymoops -t elf32-sparc -a sparc
g0: 00000000 g1: 00000040 g2: 21a9f3b0 g3: 500d4da8 g4: f001e15c g5: 00000020 g6: f23f8000 g7: 00000040
o0: 00000000 o1: f23f8348 o2: 00000040 o3: 4a415641 o4: 00000060 o5: f01637a0 sp: f23f9f08 o7: f001e2fc
l0: 00000040 l1: f23f8308 l2: 00000000 l3: e8fff000 l4: 00000000 l5: 00000003 l6: f23f8000 l7: 50656190
i0: f23f9fb0 i1: 00000001 i2: ffffffff i3: 0000000a i4: f23f8690 i5: 00000001 fp: f23f9f70 i7: f001646c
Caller[f001646c]
Caller[504c9208]
Instruction DUMP: 80a40015  0280000d  80a72000 <d0040000> 80a22000  02800004  a0042004  7c73bfe3  01000000 


>>PC;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====

>>g2; 21a9f3b0 Before first symbol
>>g3; 500d4da8 Before first symbol
>>g4; f001e15c <flush_user_windows+4/2c>
>>g6; f23f8000 <end+21f83a8/e1243a8>
>>o1; f23f8348 <end+21f86f0/e1243a8>
>>o3; 4a415641 Before first symbol
>>o5; f01637a0 <__strnlen_user+4c/90>
>>sp; f23f9f08 <end+21fa2b0/e1243a8>
>>o7; f001e2fc <try_to_clear_window_buffer+84/f8>
>>l1; f23f8308 <end+21f86b0/e1243a8>
>>l3; e8fff000 Before first symbol
>>l6; f23f8000 <end+21f83a8/e1243a8>
>>l7; 50656190 Before first symbol
>>i0; f23f9fb0 <end+21fa358/e1243a8>
>>i2; ffffffff <END_OF_CODE+1c67cb8/????>
>>i4; f23f8690 <end+21f8a38/e1243a8>
>>fp; f23f9f70 <end+21fa318/e1243a8>
>>i7; f001646c <ret_trap_continue+34/44>

Trace; f001646c <ret_trap_continue+34/44>
Trace; 504c9208 Before first symbol

Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
00000000 <_PC>:
Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
   0:   80 a4 00 15       cmp  %l0, %l5
Code;  fe361780 <[sysv]sysv_file_read+350/3e8>
   4:   02 80 00 0d       be  38 <_PC+0x38> fe3617b4 <[sysv]sysv_file_read+384/3e8>
Code;  fe361784 <[sysv]sysv_file_read+354/3e8>
   8:   80 a7 20 00       cmp  %i4, 0
Code;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====
   c:   d0 04 00 00       ld  [ %l0 ], %o0   <=====
Code;  fe36178c <[sysv]sysv_file_read+35c/3e8>
  10:   80 a2 20 00       cmp  %o0, 0
Code;  fe361790 <[sysv]sysv_file_read+360/3e8>
  14:   02 80 00 04       be  24 <_PC+0x24> fe3617a0 <[sysv]sysv_file_read+370/3e8>
Code;  fe361794 <[sysv]sysv_file_read+364/3e8>
  18:   a0 04 20 04       add  %l0, 4, %l0
Code;  fe361798 <[sysv]sysv_file_read+368/3e8>
  1c:   7c 73 bf e3       call  f1ceffa8 <_PC+0xf1ceffa8> f0051724 <__brelse+0/44>
Code;  fe36179c <[sysv]sysv_file_read+36c/3e8>
  20:   01 00 00 00       nop 

Unable to handle kernel NULL pointer dereference<1>tsk->mm->context = 0000bcab
tsk->mm->pgd = ee81a400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
Array_3(15963): Oops
PSR: 408000c2 PC: fe361788 NPC: fe36178c Y: 00400000
g0: f5994000 g1: 00000040 g2: 21a9f3b0 g3: 500d4da8 g4: f001e15c g5: 00000020 g6: f5994000 g7: 00000040
o0: 00000000 o1: f5994348 o2: 00000040 o3: 4a415641 o4: 00000060 o5: f01637a0 sp: f5995f08 o7: f001e2fc
l0: 00000040 l1: f5994308 l2: 00000000 l3: e8fff000 l4: 00000000 l5: 00000003 l6: f5994000 l7: 50656190
i0: f5995fb0 i1: 00000001 i2: ffffffff i3: 0000000a i4: f5994690 i5: 00000001 fp: f5995f70 i7: f001646c
Caller[f001646c]
Caller[504c9208]
Instruction DUMP: 80a40015  0280000d  80a72000 <d0040000> 80a22000  02800004  a0042004  7c73bfe3  01000000 


>>PC;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====

>>g0; f5994000 <end+57943a8/e1243a8>
>>g2; 21a9f3b0 Before first symbol
>>g3; 500d4da8 Before first symbol
>>g4; f001e15c <flush_user_windows+4/2c>
>>g6; f5994000 <end+57943a8/e1243a8>
>>o1; f5994348 <end+57946f0/e1243a8>
>>o3; 4a415641 Before first symbol
>>o5; f01637a0 <__strnlen_user+4c/90>
>>sp; f5995f08 <end+57962b0/e1243a8>
>>o7; f001e2fc <try_to_clear_window_buffer+84/f8>
>>l1; f5994308 <end+57946b0/e1243a8>
>>l3; e8fff000 Before first symbol
>>l6; f5994000 <end+57943a8/e1243a8>
>>l7; 50656190 Before first symbol
>>i0; f5995fb0 <end+5796358/e1243a8>
>>i2; ffffffff <END_OF_CODE+1c67cb8/????>
>>i4; f5994690 <end+5794a38/e1243a8>
>>fp; f5995f70 <end+5796318/e1243a8>
>>i7; f001646c <ret_trap_continue+34/44>

Trace; f001646c <ret_trap_continue+34/44>
Trace; 504c9208 Before first symbol

Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
00000000 <_PC>:
Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
   0:   80 a4 00 15       cmp  %l0, %l5
Code;  fe361780 <[sysv]sysv_file_read+350/3e8>
   4:   02 80 00 0d       be  38 <_PC+0x38> fe3617b4 <[sysv]sysv_file_read+384/3e8>
Code;  fe361784 <[sysv]sysv_file_read+354/3e8>
   8:   80 a7 20 00       cmp  %i4, 0
Code;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====
   c:   d0 04 00 00       ld  [ %l0 ], %o0   <=====
Code;  fe36178c <[sysv]sysv_file_read+35c/3e8>
  10:   80 a2 20 00       cmp  %o0, 0
Code;  fe361790 <[sysv]sysv_file_read+360/3e8>
  14:   02 80 00 04       be  24 <_PC+0x24> fe3617a0 <[sysv]sysv_file_read+370/3e8>
Code;  fe361794 <[sysv]sysv_file_read+364/3e8>
  18:   a0 04 20 04       add  %l0, 4, %l0
Code;  fe361798 <[sysv]sysv_file_read+368/3e8>
  1c:   7c 73 bf e3       call  f1ceffa8 <_PC+0xf1ceffa8> f0051724 <__brelse+0/44>
Code;  fe36179c <[sysv]sysv_file_read+36c/3e8>
  20:   01 00 00 00       nop 

Unable to handle kernel NULL pointer dereference<1>tsk->mm->context = 0000bd3f
tsk->mm->pgd = ee81a400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
Array_3(16111): Oops
PSR: 408000c2 PC: fe361788 NPC: fe36178c Y: 00400000
g0: 00000000 g1: 00000040 g2: 21a9f3b0 g3: 500d4da8 g4: f001e15c g5: 00000020 g6: f5726000 g7: 00000040
o0: 00000000 o1: f5726348 o2: 00000040 o3: 4a415641 o4: 00000060 o5: f01637a0 sp: f5727f08 o7: f001e2fc
l0: 00000040 l1: f5726308 l2: 00000000 l3: e8fff000 l4: 00000000 l5: 00000003 l6: f5726000 l7: 50656190
i0: f5727fb0 i1: 00000001 i2: ffffffff i3: 0000000a i4: f5726690 i5: 00000001 fp: f5727f70 i7: f001646c
Caller[f001646c]
Caller[504c9208]
Instruction DUMP: 80a40015  0280000d  80a72000 <d0040000> 80a22000  02800004  a0042004  7c73bfe3  01000000 


>>PC;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====

>>g2; 21a9f3b0 Before first symbol
>>g3; 500d4da8 Before first symbol
>>g4; f001e15c <flush_user_windows+4/2c>
>>g6; f5726000 <end+55263a8/e1243a8>
>>o1; f5726348 <end+55266f0/e1243a8>
>>o3; 4a415641 Before first symbol
>>o5; f01637a0 <__strnlen_user+4c/90>
>>sp; f5727f08 <end+55282b0/e1243a8>
>>o7; f001e2fc <try_to_clear_window_buffer+84/f8>
>>l1; f5726308 <end+55266b0/e1243a8>
>>l3; e8fff000 Before first symbol
>>l6; f5726000 <end+55263a8/e1243a8>
>>l7; 50656190 Before first symbol
>>i0; f5727fb0 <end+5528358/e1243a8>
>>i2; ffffffff <END_OF_CODE+1c67cb8/????>
>>i4; f5726690 <end+5526a38/e1243a8>
>>fp; f5727f70 <end+5528318/e1243a8>
>>i7; f001646c <ret_trap_continue+34/44>

Trace; f001646c <ret_trap_continue+34/44>
Trace; 504c9208 Before first symbol

Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
00000000 <_PC>:
Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
   0:   80 a4 00 15       cmp  %l0, %l5
Code;  fe361780 <[sysv]sysv_file_read+350/3e8>
   4:   02 80 00 0d       be  38 <_PC+0x38> fe3617b4 <[sysv]sysv_file_read+384/3e8>
Code;  fe361784 <[sysv]sysv_file_read+354/3e8>
   8:   80 a7 20 00       cmp  %i4, 0
Code;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====
   c:   d0 04 00 00       ld  [ %l0 ], %o0   <=====
Code;  fe36178c <[sysv]sysv_file_read+35c/3e8>
  10:   80 a2 20 00       cmp  %o0, 0
Code;  fe361790 <[sysv]sysv_file_read+360/3e8>
  14:   02 80 00 04       be  24 <_PC+0x24> fe3617a0 <[sysv]sysv_file_read+370/3e8>
Code;  fe361794 <[sysv]sysv_file_read+364/3e8>
  18:   a0 04 20 04       add  %l0, 4, %l0
Code;  fe361798 <[sysv]sysv_file_read+368/3e8>
  1c:   7c 73 bf e3       call  f1ceffa8 <_PC+0xf1ceffa8> f0051724 <__brelse+0/44>
Code;  fe36179c <[sysv]sysv_file_read+36c/3e8>
  20:   01 00 00 00       nop 

Unable to handle kernel NULL pointer dereference<1>tsk->mm->context = 0000bddb
tsk->mm->pgd = ee81a400
              \|/ ____ \|/
              "@'/ ,. \`@"
              /_| \__/ |_\
                 \__U_/
Array_3(16267): Oops
PSR: 408000c2 PC: fe361788 NPC: fe36178c Y: 00400000
g0: 50844000 g1: 00000040 g2: 21a9f3b0 g3: 500d4da8 g4: f001e15c g5: 00000020 g6: f5994000 g7: 00000040
o0: 00000000 o1: f5994348 o2: 00000040 o3: 4a415641 o4: 00000060 o5: f01637a0 sp: f5995f08 o7: f001e2fc
l0: 00000040 l1: f5994308 l2: 00000000 l3: e8fff000 l4: 00000000 l5: 00000003 l6: f5994000 l7: 50656190
i0: f5995fb0 i1: 00000001 i2: ffffffff i3: 0000000a i4: f5994690 i5: 00000001 fp: f5995f70 i7: f001646c
Caller[f001646c]
Caller[504c9208]
Instruction DUMP: 80a40015  0280000d  80a72000 <d0040000> 80a22000  02800004  a0042004  7c73bfe3  01000000 


>>PC;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====

>>g0; 50844000 Before first symbol
>>g2; 21a9f3b0 Before first symbol
>>g3; 500d4da8 Before first symbol
>>g4; f001e15c <flush_user_windows+4/2c>
>>g6; f5994000 <end+57943a8/e1243a8>
>>o1; f5994348 <end+57946f0/e1243a8>
>>o3; 4a415641 Before first symbol
>>o5; f01637a0 <__strnlen_user+4c/90>
>>sp; f5995f08 <end+57962b0/e1243a8>
>>o7; f001e2fc <try_to_clear_window_buffer+84/f8>
>>l1; f5994308 <end+57946b0/e1243a8>
>>l3; e8fff000 Before first symbol
>>l6; f5994000 <end+57943a8/e1243a8>
>>l7; 50656190 Before first symbol
>>i0; f5995fb0 <end+5796358/e1243a8>
>>i2; ffffffff <END_OF_CODE+1c67cb8/????>
>>i4; f5994690 <end+5794a38/e1243a8>
>>fp; f5995f70 <end+5796318/e1243a8>
>>i7; f001646c <ret_trap_continue+34/44>

Trace; f001646c <ret_trap_continue+34/44>
Trace; 504c9208 Before first symbol

Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
00000000 <_PC>:
Code;  fe36177c <[sysv]sysv_file_read+34c/3e8>
   0:   80 a4 00 15       cmp  %l0, %l5
Code;  fe361780 <[sysv]sysv_file_read+350/3e8>
   4:   02 80 00 0d       be  38 <_PC+0x38> fe3617b4 <[sysv]sysv_file_read+384/3e8>
Code;  fe361784 <[sysv]sysv_file_read+354/3e8>
   8:   80 a7 20 00       cmp  %i4, 0
Code;  fe361788 <[sysv]sysv_file_read+358/3e8>   <=====
   c:   d0 04 00 00       ld  [ %l0 ], %o0   <=====
Code;  fe36178c <[sysv]sysv_file_read+35c/3e8>
  10:   80 a2 20 00       cmp  %o0, 0
Code;  fe361790 <[sysv]sysv_file_read+360/3e8>
  14:   02 80 00 04       be  24 <_PC+0x24> fe3617a0 <[sysv]sysv_file_read+370/3e8>
Code;  fe361794 <[sysv]sysv_file_read+364/3e8>
  18:   a0 04 20 04       add  %l0, 4, %l0
Code;  fe361798 <[sysv]sysv_file_read+368/3e8>
  1c:   7c 73 bf e3       call  f1ceffa8 <_PC+0xf1ceffa8> f0051724 <__brelse+0/44>
Code;  fe36179c <[sysv]sysv_file_read+36c/3e8>
  20:   01 00 00 00       nop 


2 warnings issued.  Results may not be reliable.

(And I won't disturb all of you anymore with linux kernel issues...)

Cheers,

/ChJ



More information about the Java mailing list