Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4104650

Adding null to a list then displaying frame causes access violation

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      ame (FPO: [1,0,0])
      022afe50 1003a10f 00f850d0 0085b5c0 00000001 022aff10 winawt!Java_sun_awt_windows_WToolkit_eventLoop_stub (FPO: [2,0,1])
      022aff10 01d8c6b0 00f850d0 00000000 00f85338 10042068 javai!jio_snprintf

      *----> Raw Stack Dump <----*
      022afa0c 00 d8 88 00 04 fb 2a 02 - 76 57 03 02 01 00 00 00 ......*.vW......
      022afa1c da 1f 04 02 04 fb 2a 02 - 8f 56 03 02 01 00 00 00 ......*..V......
      022afa2c 04 fb 2a 02 28 06 05 02 - 00 00 00 00 04 fb 2a 02 ..*.(.........*.
      022afa3c 00 d8 88 00 60 9f 03 02 - 01 00 00 00 04 fb 2a 02 ....`.........*.
      022afa4c 28 06 05 02 2c 00 00 00 - 00 d8 88 00 01 00 00 00 (...,...........
      022afa5c a7 3e 03 02 01 00 00 00 - 04 fb 2a 02 28 06 05 02 .>........*.(...
      022afa6c 2c 00 00 00 3e 02 b9 2c - 2c 00 00 00 00 00 00 00 ,...>..,,.......
      022afa7c 11 34 03 02 2c 00 00 00 - 01 00 00 00 04 fb 2a 02 .4..,.........*.
      022afa8c c0 fa 2a 02 d0 16 4a 00 - 3e 02 b9 2c 3b 1e e7 77 ..*...J.>..,;..w
      022afa9c 3e 02 b9 2c 2c 00 00 00 - 01 00 00 00 04 fb 2a 02 >..,,.........*.
      022afaac 00 00 00 00 2c 00 00 00 - bc 29 14 00 01 00 00 00 ....,....)......
      022afabc 00 00 00 00 e0 fa 2a 02 - 97 30 e7 77 d0 16 4a 00 ......*..0.w..J.
      022afacc 2c 00 00 00 01 00 00 00 - 04 fb 2a 02 00 00 00 00 ,.........*.....
      022afadc 70 38 14 00 28 fb 2a 02 - a9 5b e9 77 3e 02 b9 2c p8..(.*..[.w>..,
      022afaec 2c 00 00 00 01 00 00 00 - 04 fb 2a 02 70 5f 8a 00 ,.........*.p_..
      022afafc 70 38 14 00 88 17 4a 00 - 02 00 00 00 01 00 00 00 p8....J.........
      022afb0c 00 00 00 00 3f 00 fb 7f - 10 00 00 00 70 5f 8a 00 ....?.......p_..
      022afb1c b8 29 14 00 3a 4a f3 77 - 04 00 00 00 b4 fb 2a 02 .)..:J.w......*.
      022afb2c 31 c8 e7 77 70 38 14 00 - 70 5f 8a 00 ff ff ff ff 1..wp8..p_......
      022afb3c 00 00 00 00 02 00 00 00 - ff 00 00 00 ff ff ff ff ................
      (Review ID: 23252)
      ======================================================================


      Name: ggC50526 Date: 01/16/98


      Compile program below under NT4.0 using javac,
      run using java.exe, produces the Dr Watsons
      output below the program.

      ----------------------

      import java.awt.*;

      public class frameTest extends Frame {

      public frameTest() {

      super("Test this bug");

      java.awt.List l = new java.awt.List(); // List l = new List();
      l.addItem("Hi there");
      l.addItem(null);
      add(l);

      setSize(800,600);
      this.setVisible(true);

      }

      public static void main(String[] args) {
      frameTest t = new frameTest();
      }
      }

      ---------------------

      Dr Watsons output


      Microsoft (R) Windows NT (TM) Version 4.00 DrWtsn32
      Copyright (C) 1985-1996 Microsoft Corp. All rights reserved.



      Application exception occurred:
              App: java.exe (pid=172)
              When: 1/13/1998 @ 15:59:34.9
              Exception number: c0000005 (access violation)

      *----> System Information <----*
              Computer Name: EBONY
              User Name: richardk
              Number of Processors: 1
              Processor Type: x86 Family 5 Model 2 Stepping 5
              Windows Version: 4.0
              Current Build: 1381
              Current Type: Uniprocessor Free
              Registered Organization: CSIRO
              Registered Owner: Mathematical And Information Sciences

      *----> Task List <----*
         0 Idle.exe
         2 System.exe
        18 smss.exe
        28 csrss.exe
        32 WINLOGON.exe
        38 SERVICES.exe
        41 LSASS.exe
        66 SPOOLSS.exe
        81 AMGRSRVC.exe
        85 TASKMGR.exe
        92 RPCSS.exe
        96 SNMP.exe
       106 TIMESERV.exe
       107 NDDEAGNT.exe
        37 EXPLORER.exe
       133 systray.exe
       135 SHSTAT.exe
       137 realplay.exe
       128 OSA.exe
       145 netscape.exe
       141 CMD.exe
       179 netscape.exe
       180 EUDORA.exe
       191 notepad.exe
       213 notepad.exe
       174 notepad.exe
        45 DRWTSN32.exe
       120 notepad.exe
       172 java.exe
       221 DRWTSN32.exe
         0 _Total.exe

      (00400000 - 00406000) java.exe
      (77f60000 - 77fbc000) dll\ntdll.dbg
      (10000000 - 10060000) javai.dll
      (77dc0000 - 77dfe000) dll\advapi32.dbg
      (77f00000 - 77f5e000) dll\kernel32.dbg
      (77e70000 - 77ec4000) dll\user32.dbg
      (77ed0000 - 77efc000) dll\gdi32.dbg
      (77e10000 - 77e62000) dll\rpcrt4.dbg
      (77fd0000 - 77ffa000) dll\winmm.dbg
      (78000000 - 78000000)
      (77fc0000 - 77fc8000) dll\mmdrv.dbg
      (74bd0000 - 74be6000) dll\SNDBLST.dbg
      (5f810000 - 5f817000) dll\rpcltc1.dbg
      (01f10000 - 01f10000)
      (02030000 - 02068000) winawt.dll
      (77d80000 - 77db2000) dll\comdlg32.dbg
      (77c40000 - 77d7c000) dll\shell32.dbg
      (77bf0000 - 77c3f000) dll\comctl32.dbg
      (76ab0000 - 76ab5000) dll\imm32.dbg

      State Dump for Thread Id 0x67

      eax=54000121 ebx=015003dc ecx=0012fdc0 edx=00000000 esi=015003dc edi=00000181
      eip=77e7100b esp=0012fb60 ebp=0012fb84 iopl=0 nv up ei pl nz na pe nc
      cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000202


      function: <nosymbols>
              77e70ff1 0000 add [eax],al ds:54000121=??
              77e70ff3 0000 add [eax],al ds:54000121=??
              77e70ff5 0000 add [eax],al ds:54000121=??
              77e70ff7 0000 add [eax],al ds:54000121=??
              77e70ff9 0000 add [eax],al ds:54000121=??
              77e70ffb 0000 add [eax],al ds:54000121=??
              77e70ffd 0000 add [eax],al ds:54000121=??
              77e70fff 00b82f110000 add [eax+0x112f],bh ds:54001250=??
              77e71005 8d542404 lea edx,[esp+0x4] ss:0105e567=00000000
              77e71009 cd2e int 2e
              77e7100b c21c00 ret 0x1c
              77e7100e 8b4c2404 mov ecx,[esp+0x4] ss:0105e567=00000000
              77e71012 8b4104 mov eax,[ecx+0x4] ds:0105e7c6=00000000
              77e71015 3d00010000 cmp eax,0x100
              77e7101a 7222 jb TranslateMessageEx+0x30 (77e7103e)
              77e7101c 3d01010000 cmp eax,0x101
              77e71021 770d ja TranslateMessageEx+0x22 (77e71030)
              77e71023 ff742408 push dword ptr [esp+0x8] ss:0105e567=00000000
              77e71027 51 push ecx
              77e71028 e861150000 call InvalidateRect+0xc0 (77e7258e)
              77e7102d c20800 ret 0x8
              77e71030 3d04010000 cmp eax,0x104

      *----> Stack Back Trace <----*

      FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
      0012fb84 77e71ea7 015003dc 00000181 ffffffff 008a5f70 user32!<nosymbols>
      0012fbbc 77e725e3 004a1788 00000181 ffffffff 008a5f70 user32!BeginPaint
      0012fbdc 020420ae 015003dc 00000181 ffffffff 008a5f70 user32!SendMessageA
      0012fbfc 0204e1a9 00f867e8 00f83f58 ffffffff 0000002b winawt!<nosymbols> (FPO: [4,1,2])
      0012fc1c 1004ab68 01da9f54 008a38c0 01f768ad 00f867e8 winawt!Java_sun_awt_windows_WListPeer__0005faddItem_stub (FPO: [2,0,1])
      1004abb8 1004ab68 00000000 00000000 0089ae20 00000000 javai!Java_sun_misc_VM_writeJavaMonitorReport_stub
      10042748 00000000 00000000 1001a150 1001a190 1001a380 javai!Java_sun_misc_VM_writeJavaMonitorReport_stub
      00000000 00000000 00000000 00000000 00000000 00000000 java!<nosymbols>

      *----> Raw Stack Dump <----*
      0012fb60 81 56 e9 77 dc 03 50 01 - 81 01 00 00 ff ff ff ff .V.w..P.........
      0012fb70 70 5f 8a 00 00 00 00 00 - ad 02 00 00 01 00 00 00 p_..............
      0012fb80 88 17 4a 00 bc fb 12 00 - a7 1e e7 77 dc 03 50 01 ..J........w..P.
      0012fb90 81 01 00 00 ff ff ff ff - 70 5f 8a 00 00 00 00 00 ........p_......
      0012fba0 ad 02 00 00 01 00 00 00 - c0 38 8a 00 81 01 00 00 .........8......
      0012fbb0 58 3f f8 00 4f 0a 03 10 - e0 ea fc 00 dc fb 12 00 X?..O...........
      0012fbc0 e3 25 e7 77 88 17 4a 00 - 81 01 00 00 ff ff ff ff .%.w..J.........
      0012fbd0 70 5f 8a 00 01 00 00 00 - 10 3b 8a 00 68 ab 04 10 p_.......;..h...
      0012fbe0 ae 20 04 02 dc 03 50 01 - 81 01 00 00 ff ff ff ff . ....P.........
      0012fbf0 70 5f 8a 00 30 fc 12 00 - 58 3f f8 00 70 5f 8a 00 p_..0...X?..p_..
      0012fc00 a9 e1 04 02 e8 67 f8 00 - 58 3f f8 00 ff ff ff ff .....g..X?......
      0012fc10 2b 00 00 00 e8 67 f8 00 - e7 d4 f2 01 30 fc 12 00 +....g......0...
      0012fc20 68 ab 04 10 54 9f da 01 - c0 38 8a 00 ad 68 f7 01 h...T....8...h..
      0012fc30 e8 67 f8 00 58 3f f8 00 - ff ff ff ff 2b 00 00 00 .g..X?......+...
      0012fc40 f8 9e da 01 68 ab 04 10 - 58 3f f8 00 e8 67 f8 00 ....h...X?...g..
      0012fc50 b8 40 f8 00 00 00 00 00 - 32 67 f7 01 ff ff ff ff .@......2g......
      0012fc60 48 a3 da 01 68 ab 04 10 - 02 00 00 00 00 00 00 00 H...h...........
      0012fc70 48 a3 da 01 68 ab 04 10 - 68 ab 04 10 b8 40 f8 00 H...h...h....@..
      0012fc80 e8 67 f8 00 a0 ab fd 00 - c0 38 8a 00 9f 3d f7 01 .g.......8...=..
      0012fc90 04 4b d9 01 68 ab 04 10 - b8 40 f8 00 b8 40 f8 00 .K..h....@...@..

      State Dump for Thread Id 0xcd

      eax=78009b10 ebx=01f0fe54 ecx=0085306c edx=00000000 esi=7ffdf000 edi=00000001
      eip=77f6819b esp=01f0fe30 ebp=01f0fe84 iopl=0 nv up ei pl nz ac pe cy
      cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000213


      function: NtWaitForMultipleObjects
              77f68190 b8c4000000 mov eax,0xc4
              77f68195 8d542404 lea edx,[esp+0x4] ss:02e3e837=????????
              77f68199 cd2e int 2e
              77f6819b c21400 ret 0x14
              77f6819e 8bc0 mov eax,eax

      *----> Stack Back Trace <----*

      FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
      01f0fe84 77f1c690 00000002 01f0fecc 00000000 ffffffff ntdll!NtWaitForMultipleObjects
      01f0fea0 1000d9ab 00000002 01f0fecc 00000000 ffffffff kernel32!WaitForMultipleObjects
      01f0fed0 10024137 00899380 00860d08 00860cf0 01f0ffb8 javai!EE (FPO: [EBP 0x00000001] [3,3,4])
      01f0fef0 1000f142 00860cf0 ffffffff 00000000 0085c35b javai!monitorInit (FPO: [EBP 0x01f0ffb8] [3,0,4])
      01f0ff58 100320cc 00f80088 008993e0 008993e0 80134a0a javai!exceptionDescribe (FPO: [1,19,3])
      01f0ffb8 77f04f2c 008993e0 0085c35b 0085b2e0 008993e0 javai!java_lang_Thread_suspend0 (FPO: [1,7,2])
      01f0ffb8 77f04f2c 008993e0 0085c35b 0085b2e0 008993e0 kernel32!lstrcmpiW
      01f0ffec 00000000 78009b10 008993e0 00000000 00605a4d kernel32!lstrcmpiW
      00000000 00000000 00000000 00000000 00000000 00000000 java!<nosymbols>

      *----> Raw Stack Dump <----*
      01f0fe30 83 c7 f1 77 02 00 00 00 - 54 fe f0 01 01 00 00 00 ...w....T.......
      01f0fe40 00 00 00 00 00 00 00 00 - 01 00 00 00 08 0d 86 00 ................
      01f0fe50 f0 0c 86 00 44 02 00 00 - 94 02 00 00 00 00 00 00 ....D...........
      01f0fe60 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
      01f0fe70 00 00 00 00 00 00 00 00 - 00 00 00 10 00 00 00 00 ................
      01f0fe80 00 00 00 00 a0 fe f0 01 - 90 c6 f1 77 02 00 00 00 ...........w....
      01f0fe90 cc fe f0 01 00 00 00 00 - ff ff ff ff 00 00 00 00 ................
      01f0fea0 01 00 00 00 ab d9 00 10 - 02 00 00 00 cc fe f0 01 ................
      01f0feb0 00 00 00 00 ff ff ff ff - 01 00 00 00 00 00 00 00 ................
      01f0fec0 f0 0c 86 00 80 93 89 00 - 00 00 00 00 44 02 00 00 ............D...
      01f0fed0 94 02 00 00 37 41 02 10 - 80 93 89 00 08 0d 86 00 ....7A..........
      01f0fee0 f0 0c 86 00 b8 ff f0 01 - 00 00 00 00 88 00 f8 00 ................
      01f0fef0 e0 93 89 00 42 f1 00 10 - f0 0c 86 00 ff ff ff ff ....B...........
      01f0ff00 00 00 00 00 5b c3 85 00 - 80 93 89 00 e0 93 89 00 ....[...........
      01f0ff10 70 b4 d3 01 00 00 00 00 - 88 00 f8 00 00 00 00 00 p...............
      01f0ff20 00 00 00 00 68 20 04 10 - 00 00 00 00 00 00 00 00 ....h ..........
      01f0ff30 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
      01f0ff40 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
      01f0ff50 00 00 00 00 00 00 00 00 - 00 00 00 00 cc 20 03 10 ............. ..
      01f0ff60 88 00 f8 00 e0 93 89 00 - e0 93 89 00 0a 4a 13 80 .............J..

      State Dump for Thread Id 0xdb

      eax=00f84f50 ebx=0216fcb4 ecx=00000000 edx=00000000 esi=7ffdf000 edi=00000001
      eip=77f6819b esp=0216fc90 ebp=0216fce4 iopl=0 nv up ei pl nz ac pe cy
      cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000213


      function: NtWaitForMultipleObjects
              77f68190 b8c4000000 mov eax,0xc4
              77f68195 8d542404 lea edx,[esp+0x4] ss:0309e697=????????
              77f68199 cd2e int 2e
              77f6819b c21400 ret 0x14
              77f6819e 8bc0 mov eax,eax

      *----> Stack Back Trace <----*

      FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
      0216fce4 77f1c690 00000002 0216fd2c 00000000 ffffffff ntdll!NtWaitForMultipleObjects
      0216fd00 1000d9ab 00000002 0216fd2c 00000000 ffffffff kernel32!WaitForMultipleObjects
      0216fd30 10024137 0089f990 00851fcc 00851fb4 0216ff10 javai!EE (FPO: [EBP 0x00000001] [3,3,4])
      0216fd50 10023363 00851fb4 ffffffff 00000001 01d82d00 javai!monitorInit (FPO: [EBP 0x0216ff10] [3,0,4])
      0216fd68 100242ef 00f84f50 ffffffff 1003f068 00f84f50 javai!monitorWait (FPO: [2,0,2])
      0216fd74 1003f068 00f84f50 00000000 00000000 0089cb80 javai!monitorInit (FPO: [3,0,0])
      0216fe50 1003a10f 00f84f00 01d830e8 00000001 0216ff10 javai!Java_java_lang_Object_wait_stub (FPO: [2,0,1])
      0216ff10 01d85470 00f84f00 00000000 00000000 10042068 javai!jio_snprintf

      State Dump for Thread Id 0xd6

      eax=0000000f ebx=00000001 ecx=01d8c6b0 edx=01d8c70c esi=008a3b10 edi=00000000
      eip=02041eab esp=022afa0c ebp=02050628 iopl=0 nv up ei pl nz na po nc
      cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00000206


      function: <nosymbols>
              02041e89 68b4f50502 push 0x205f5b4
              02041e8e 68ccf50502 push 0x205f5cc
              02041e93 50 push eax
              02041e94 e803cb0000 call 0204e99c
              02041e99 50 push eax
              02041e9a e809cb0000 call 0204e9a8
              02041e9f 83c414 add esp,0x14
              02041ea2 8bf8 mov edi,eax
              02041ea4 8bce mov ecx,esi
              02041ea6 e8853affff call 02035930
      FAULT ->02041eab 8b0f mov ecx,[edi] ds:00000000=????????
              02041ead 894104 mov [ecx+0x4],eax ds:02cbb0b6=????????
              02041eb0 8bc7 mov eax,edi
              02041eb2 5f pop edi
              02041eb3 5e pop esi
              02041eb4 c3 ret
              02041eb5 8d642400 lea esp,[esp] ss:031de413=????????
              02041eb9 8da42400000000 lea esp,[esp] ss:022afa0c=0088d800
              02041ec0 83ec10 sub esp,0x10
              02041ec3 8d442400 lea eax,[esp] ss:031de413=????????
              02041ec7 53 push ebx
              02041ec8 56 push esi

      *----> Stack Back Trace <----*

      FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
      022afa10 02035776 00000001 02041fda 022afb04 0203568f winawt!<nosymbols> (FPO: [0,0,2])
      022afa18 02041fda 022afb04 0203568f 00000001 022afb04 winawt!<nosymbols> (FPO: [1,0,1])
      022afa20 0203568f 00000001 022afb04 02050628 00000000 winawt!<nosymbols> (FPO: [2,0,0])
      022afa3c 02039f60 00000001 022afb04 02050628 0000002c winawt!<nosymbols> (FPO: [EBP 0x02050628] [2,0,4])
      022afa58 02033ea7 00000001 022afb04 02050628 0000002c winawt!<nosymbols> (FPO: [EBP 0x02050628] [2,0,4])
      022afa78 02033411 0000002c 00000001 022afb04 022afac0 winawt!<nosymbols> (FPO: [EBP 0x02050628] [3,1,4])
      022afa94 77e71e3b 2cb9023e 0000002c 00000001 022afb04 winawt!<nosymbols> (FPO: [EBP 0x022afac0] [4,0,3])
      022afac0 77e73097 004a16d0 0000002c 00000001 022afb04 user32!BeginPaint
      022afae0 77e95ba9 2cb9023e 0000002c 00000001 022afb04 user32!SendMessageW
      022afb28 77e7c831 00143870 008a5f70 ffffffff 00000000 user32!CreateAcceleratorTableA
      022afbb4 77e88b2a 004a1788 00000181 ffffffff 008a5f70 user32!CharLowerBuffW
      022afbd8 77e7288d 015003dc 00000181 ffffffff 008a5f70 user32!GetMessagePos
      022afbf4 77e72918 77e88adb 015003dc 00000181 ffffffff user32!ClientToScreen
      022afc14 020345ae 77e88adb 015003dc 00000181 ffffffff user32!CallWindowProcA
      022afc34 02033c10 00000181 ffffffff 008a5f70 02050830 winawt!<nosymbols> (FPO: [EBP 0x02050830] [3,0,2])
      022afc58 02033411 00000181 ffffffff 008a5f70 022afc8c winawt!<nosymbols> (FPO: [EBP 0x02050830] [3,1,4])
      022afc74 77e71ab7 015003dc 00000181 ffffffff 008a5f70 winawt!<nosymbols> (FPO: [EBP 0x022afc8c] [4,0,3])
      022afc8c 77e71a77 004a1788 00000181 ffffffff 008a5f70 user32!OffsetRect
      022afcb8 77f7624f 022afcc8 00000018 004a1788 00000181 user32!OffsetRect
      022afd14 77e71bfe 022afd70 00000000 00000000 00000000 ntdll!KiUserCallbackDispatcher
      022afd40 020462f1 022afd70 00000000 00000000 00000000 user32!PeekMessageA
      022afd88 020462b1 00895ae0 022afdbc 02046766 0204e78d winawt!PrintEmbeddedFrame (FPO: [EBP 0x022aff10] [0,8,4])
      022afd94 02046766 0204e78d 00f84fa8 00895ae0 01f2d49b winawt!PrintEmbeddedFrame (FPO: [0,0,2])
      022afd98 0204e78d 00f84fa8 00895ae0 01f2d49b 022afdbc winawt!PrintEmbeddedFr

        Attachments

          Activity

            People

            • Assignee:
              mmartaksunw Michael Martak (Inactive)
              Reporter:
              ggrahamsunw Gregory Graham (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: