Bug 62059 - Core dump when opening a keystore file with text editor
Summary: Core dump when opening a keystore file with text editor
Status: CLOSED DUPLICATE of bug 56390
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-13 03:44 EDT by Jochen Hiller CLA
Modified: 2004-05-13 11:06 EDT (History)
1 user (show)

See Also:


Attachments
Sample project, sample keystore files (2.85 KB, application/octet-stream)
2004-05-13 03:45 EDT, Jochen Hiller CLA
no flags Details
core dump (j2sdk 1.4.1_03) (6.07 KB, text/plain)
2004-05-13 03:46 EDT, Jochen Hiller CLA
no flags Details
core dump (j2sdk 1.4.1_03) (6.64 KB, text/plain)
2004-05-13 03:46 EDT, Jochen Hiller CLA
no flags Details
core dump (j2sdk 1.4.2_03) (6.39 KB, text/plain)
2004-05-13 03:47 EDT, Jochen Hiller CLA
no flags Details
core dump (j2sdk 1.4.2_03) (6.44 KB, text/plain)
2004-05-13 03:47 EDT, Jochen Hiller CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Hiller CLA 2004-05-13 03:44:53 EDT
Using Eclipse 3.0M8 on Windows XP, latest SP and updates.

When double-clicking on a file, which is a Java Keystore, a text editor will 
be opened, which shows the (binary) content. Eclipse will crash with a core 
dump in SWT. See stack trace of core dump.

It will happen with J2SE 1.4.1_05 (always), and with J2SE 1.4.2_03 (often, but 
not always).

It attach a small project xxx, containing two files, two different keystores, 
and some core dumps.

Cheers, Jochen

--- one inline core dump, see also attachments ---

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at 
PC=0x72F2F55B
Function=[Unknown.]
Library=C:\WINDOWS\System32\USP10.dll

NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


Current Java thread:
	at org.eclipse.swt.internal.win32.OS.ScriptTextOut(Native Method)
	at org.eclipse.swt.graphics.TextLayout.draw(TextLayout.java:470)
	at org.eclipse.swt.graphics.TextLayout.draw(TextLayout.java:339)
	at org.eclipse.swt.custom.StyledTextRenderer.drawLine
(StyledTextRenderer.java:133)
	at org.eclipse.swt.custom.StyledText.performPaint(StyledText.java:5637)
	at org.eclipse.swt.custom.StyledText.handlePaint(StyledText.java:5041)
	at org.eclipse.swt.custom.StyledText$7.handleEvent
(StyledText.java:4725)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:769)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:793)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:778)
	at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:781)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:2994)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:3146)
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1374)
	at org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:647)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1450)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2254)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1562)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1536)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
(Workbench.java:257)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139)
	at org.eclipse.ui.internal.ide.IDEApplication.run
(IDEApplication.java:90)
	at org.eclipse.core.internal.runtime.PlatformActivator$1.run
(PlatformActivator.java:277)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:239)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run
(EclipseStarter.java:117)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at org.eclipse.core.launcher.Main.basicRun(Main.java:267)
	at org.eclipse.core.launcher.Main.run(Main.java:692)
	at org.eclipse.core.launcher.Main.main(Main.java:676)

Dynamic libraries:
0x00400000 - 0x00407000 	J:\j2sdk1.4.2_03\bin\javaw.exe
0x77F40000 - 0x77FEE000 	C:\WINDOWS\System32\ntdll.dll
0x77E40000 - 0x77F38000 	C:\WINDOWS\system32\kernel32.dll
0x77DA0000 - 0x77E3C000 	C:\WINDOWS\system32\ADVAPI32.dll
0x78000000 - 0x78087000 	C:\WINDOWS\system32\RPCRT4.dll
0x77D10000 - 0x77D9C000 	C:\WINDOWS\system32\USER32.dll
0x7E180000 - 0x7E1C1000 	C:\WINDOWS\system32\GDI32.dll
0x77BE0000 - 0x77C33000 	C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 	J:\j2sdk1.4.2_03\jre\bin\client\jvm.dll
0x76AF0000 - 0x76B1D000 	C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 	J:\j2sdk1.4.2_03\jre\bin\hpi.dll
0x00820000 - 0x0082E000 	J:\j2sdk1.4.2_03\jre\bin\verify.dll
0x00830000 - 0x00849000 	J:\j2sdk1.4.2_03\jre\bin\java.dll
0x00850000 - 0x0085D000 	J:\j2sdk1.4.2_03\jre\bin\zip.dll
0x032F0000 - 0x0333D000 	C:\data\Project\BMW-
ZUM\Development\3rdParty\Eclipse-3.0M8\plugins\org.eclipse.swt.win32_3.0.0
\os\win32\x86\swt-win32-3044.dll
0x7CCC0000 - 0x7CDE4000 	C:\WINDOWS\system32\ole32.dll
0x77310000 - 0x7739B000 	C:\WINDOWS\system32\COMCTL32.dll
0x76350000 - 0x76396000 	C:\WINDOWS\system32\comdlg32.dll
0x70A70000 - 0x70AD5000 	C:\WINDOWS\system32\SHLWAPI.dll
0x773A0000 - 0x77BA3000 	C:\WINDOWS\system32\SHELL32.dll
0x770F0000 - 0x7717B000 	C:\WINDOWS\system32\OLEAUT32.dll
0x76330000 - 0x7634C000 	C:\WINDOWS\system32\IMM32.dll
0x72F10000 - 0x72F6A000 	C:\WINDOWS\System32\USP10.dll
0x71950000 - 0x71A34000 	C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-
Controls_6595b64144ccf1df_6.0.2600.1331_x-ww_7abf6d02\comctl32.dll
0x5B0F0000 - 0x5B124000 	C:\WINDOWS\System32\uxtheme.dll
0x034D0000 - 0x034DD000 	C:\WINDOWS\system32\PGPhk.dll
0x034F0000 - 0x034F7000 
	C:\Programme\Logitech\MouseWare\System\LgWndHk.dll
0x746A0000 - 0x746E4000 	C:\WINDOWS\System32\MSCTF.dll
0x03550000 - 0x0355F000 	J:\j2sdk1.4.2_03\jre\bin\net.dll
0x03560000 - 0x03574000 	C:\WINDOWS\system32\WS2_32.dll
0x03580000 - 0x03588000 	C:\WINDOWS\system32\WS2HELP.dll
0x03590000 - 0x03598000 	J:\j2sdk1.4.2_03\jre\bin\nio.dll
0x035A0000 - 0x035A8000 	C:\data\Project\BMW-
ZUM\Development\3rdParty\Eclipse-3.0M8
\plugins\org.eclipse.core.resources.win32_3.0.0\os\win32\x86\core_2_1_0b.dll
0x74C00000 - 0x74C2C000 	C:\WINDOWS\System32\oleacc.dll
0x76020000 - 0x76081000 	C:\WINDOWS\System32\MSVCP60.dll
0x76320000 - 0x76325000 	C:\WINDOWS\System32\msimg32.dll
0x03700000 - 0x0370B000 	C:\Programme\Gemeinsame 
Dateien\Logitech\Scrolling\LgMsgHk.dll
0x71BA0000 - 0x71BEE000 	C:\WINDOWS\System32\netapi32.dll
0x76620000 - 0x76708000 	C:\WINDOWS\System32\SETUPAPI.dll
0x76C50000 - 0x76C72000 	C:\WINDOWS\system32\imagehlp.dll
0x6DA00000 - 0x6DA7D000 	C:\WINDOWS\system32\DBGHELP.dll
0x77BD0000 - 0x77BD7000 	C:\WINDOWS\system32\VERSION.dll
0x76BB0000 - 0x76BBB000 	C:\WINDOWS\System32\PSAPI.DLL

Heap at VM Abort:
Heap
 def new generation   total 1408K, used 162K [0x10010000, 0x10190000, 
0x104f0000)
  eden space 1280K,   2% used [0x10010000, 0x10018ad8, 0x10150000)
  from space 128K,  99% used [0x10170000, 0x1018fff8, 0x10190000)
  to   space 128K,   0% used [0x10150000, 0x10150000, 0x10170000)
 tenured generation   total 17396K, used 12512K [0x104f0000, 0x115ed000, 
0x14010000)
   the space 17396K,  71% used [0x104f0000, 0x111282c0, 0x11128400, 0x115ed000)
 compacting perm gen  total 19456K, used 19248K [0x14010000, 0x15310000, 
0x18010000)
   the space 19456K,  98% used [0x14010000, 0x152dc2b0, 0x152dc400, 0x15310000)

Local Time = Thu May 13 08:50:24 2004
Elapsed Time = 46
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Client VM (1.4.2_03-b02 mixed mode)
#
Comment 1 Jochen Hiller CLA 2004-05-13 03:45:58 EDT
Created attachment 10587 [details]
Sample project, sample keystore files

sample project, containing keystore files which makes eclipse crash
Comment 2 Jochen Hiller CLA 2004-05-13 03:46:29 EDT
Created attachment 10588 [details]
core dump (j2sdk 1.4.1_03)
Comment 3 Jochen Hiller CLA 2004-05-13 03:46:45 EDT
Created attachment 10589 [details]
core dump (j2sdk 1.4.1_03)
Comment 4 Jochen Hiller CLA 2004-05-13 03:47:32 EDT
Created attachment 10590 [details]
core dump (j2sdk 1.4.2_03)
Comment 5 Jochen Hiller CLA 2004-05-13 03:47:44 EDT
Created attachment 10591 [details]
core dump (j2sdk 1.4.2_03)
Comment 6 Grant Gayed CLA 2004-05-13 10:06:50 EDT
This should be fixed in more recent builds.


*** This bug has been marked as a duplicate of 56390 ***
Comment 7 Jochen Hiller CLA 2004-05-13 11:06:22 EDT
Retested it with I20040513, did work without any core dumps.