Bug 1108 : Crash when trying to open from file menu only
Last modified: 2008-12-22 20:43




Status:
RESOLVED
Resolution:
INVALID -
Priority:
P2
Severity:
normal

 

Reporter:
subminimal
Assigned To:
fry

Attachment Type Created Size Actions

Description:   Opened: 2008-12-22 13:36
Revision 1.0.1

OS: Windows XP Build 2600 Service Pack 3

CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 72
stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext

Memory: 4k page, physical 1964068k(1356844k free), swap 3902664k(3418508k free)

vm_info: Java HotSpot(TM) Client VM (11.0-b15) for windows-x86 JRE
(1.6.0_10-b33), built on Sep 26 2008 01:00:43 by "java_re" with MS VC++ 7.1

Problem: It seems whenever I try to use
File>Open/Sketchbook/Examples>Whatever (use the file menu to open any pde,
be it my sketchbook sketches, or examples, or just Open) Processing tries
to open the sketch (for a brief moment opens the second sketch window above
the first) and then crashes altogether.

Oddly, using the open "button" works fine if I just click a sketch name,
and physically double clicking the .pde files will open just fine as well.
Just the file menu options(and Open... CTRL O in the open buttons). It's as
if when Processing tries to open a sketch on top of another one, it's
crashing(I can save,export, everything else). And each time it crashes it
gives me a hs_err_pid396.log file in the main directory and no errors in
the lib file. Here's the contents of that file, sorry it's long I do not
know what parts you may need:

#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d23698f, pid=1216, tid=2100
#
# Java VM: Java HotSpot(TM) Client VM (11.0-b15 mixed mode windows-x86)
# Problematic frame:
# C [fontmanager.dll+0x1698f]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

--------------- T H R E A D ---------------

Current thread (0x0f53d000): JavaThread "AWT-EventQueue-0"
[_thread_in_native, id=2100, stack(0x0f990000,0x0f9e0000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000

Registers:
EAX=0x00000000, EBX=0x0eb4feb0, ECX=0x00000030, EDX=0x0eb4feb0
ESP=0x0f9df358, EBP=0x0f9df384, ESI=0x00000000, EDI=0x00000013
EIP=0x6d23698f, EFLAGS=0x00010202

Top of Stack: (sp=0x0f9df358)
0x0f9df358: 0000000a 0eab5504 0000000a 7c3416b8
0x0f9df368: 00000002 00000030 0eb4feb0 0000009a
0x0f9df378: 00000002 00000013 0000009a 0f9df3e8
0x0f9df388: 6d236b7e 00000004 00000013 00000001
0x0f9df398: 00000003 00000000 0f603f60 00000003
0x0f9df3a8: 00000030 0eab5504 00000000 0000000a
0x0f9df3b8: 00000030 0eb4feb0 00000004 00000000
0x0f9df3c8: 00000030 00000001 00000013 00000003

Instructions: (pc=0x6d23698f)
0x6d23697f: 18 8b 55 08 01 55 f4 40 3b c7 7c e7 eb 7f 3b f8
0x6d23698f: 8a 16 c6 45 ff 00 89 45 f0 7e 64 eb 17 ff 45 f0


Stack: [0x0f990000,0x0f9e0000], sp=0x0f9df358, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [fontmanager.dll+0x1698f]
C [fontmanager.dll+0x16b7e]
C [fontmanager.dll+0x16f9e]
C [fontmanager.dll+0x11fd5]
C [fontmanager.dll+0x121b4]
C [fontmanager.dll+0x26dca]
j sun.font.FileFont.getGlyphImage(JI)J+0
j sun.font.FileFontStrike.getGlyphImagePtr(I)J+115
j sun.font.FileFontStrike.getGlyphAdvance(IZ)F+116
j sun.font.FileFontStrike.getGlyphAdvance(I)F+3
j sun.font.FileFontStrike.getCodePointAdvance(I)F+9
J sun.font.FontDesignMetrics.charsWidth([CII)I
J
javax.swing.text.Utilities.getTabbedTextWidth(Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I[I)I
j
javax.swing.text.Utilities.getTabbedTextWidth(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I)I+8
j javax.swing.text.PlainView.getLineWidth(Ljavax/swing/text/Element;)I+54
j javax.swing.text.PlainView.calculateLongestLine()V+69
j javax.swing.text.PlainView.updateMetrics()V+19
j javax.swing.text.PlainView.setSize(FF)V+7
j javax.swing.plaf.basic.BasicTextUI$RootView.setSize(FF)V+13
j
javax.swing.plaf.basic.BasicTextUI.modelToView(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;+52
j javax.swing.text.DefaultCaret.repaintNewCaret()V+44
j javax.swing.text.DefaultCaret$1.run()V+4
j java.awt.event.InvocationEvent.dispatch()V+47
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
J java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
j
java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j
java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.font.FileFont.getGlyphImage(JI)J+0
j sun.font.FileFontStrike.getGlyphImagePtr(I)J+115
j sun.font.FileFontStrike.getGlyphAdvance(IZ)F+116
j sun.font.FileFontStrike.getGlyphAdvance(I)F+3
j sun.font.FileFontStrike.getCodePointAdvance(I)F+9
J sun.font.FontDesignMetrics.charsWidth([CII)I
J
javax.swing.text.Utilities.getTabbedTextWidth(Ljavax/swing/text/View;Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I[I)I
j
javax.swing.text.Utilities.getTabbedTextWidth(Ljavax/swing/text/Segment;Ljava/awt/FontMetrics;ILjavax/swing/text/TabExpander;I)I+8
j javax.swing.text.PlainView.getLineWidth(Ljavax/swing/text/Element;)I+54
j javax.swing.text.PlainView.calculateLongestLine()V+69
j javax.swing.text.PlainView.updateMetrics()V+19
j javax.swing.text.PlainView.setSize(FF)V+7
j javax.swing.plaf.basic.BasicTextUI$RootView.setSize(FF)V+13
j
javax.swing.plaf.basic.BasicTextUI.modelToView(Ljavax/swing/text/JTextComponent;ILjavax/swing/text/Position$Bias;)Ljava/awt/Rectangle;+52
j javax.swing.text.DefaultCaret.repaintNewCaret()V+44
j javax.swing.text.DefaultCaret$1.run()V+4
j java.awt.event.InvocationEvent.dispatch()V+47
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+26
J java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z
j
java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
j
java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x0ee2a800 JavaThread "Animation Thread" [_thread_blocked, id=2292,
stack(0x108b0000,0x10900000)]
0x0ee2a400 JavaThread "Animation Thread" [_thread_blocked, id=2288,
stack(0x10620000,0x10670000)]
0x0ef6d400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=2264,
stack(0x0f920000,0x0f970000)]
0x0f5ffc00 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked,
id=2140, stack(0x10860000,0x108b0000)]
0x003a6c00 JavaThread "DestroyJavaVM" [_thread_blocked, id=1484,
stack(0x003b0000,0x00400000)]
0x0f5fec00 JavaThread "TimerQueue" daemon [_thread_blocked, id=2132,
stack(0x105d0000,0x10620000)]
0x0f5fbc00 JavaThread "D3D Screen Updater" daemon [_thread_blocked,
id=2124, stack(0x10140000,0x10190000)]
0x0f5fd800 JavaThread "Animation Thread" [_thread_blocked, id=2120,
stack(0x100f0000,0x10140000)]
0x0f5cd800 JavaThread "Animation Thread" [_thread_blocked, id=1132,
stack(0x0f9e0000,0x0fa30000)]
=>0x0f53d000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=2100,
stack(0x0f990000,0x0f9e0000)]
0x0eb32800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2072,
stack(0x0f100000,0x0f150000)]
0x0ee42c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=2068,
stack(0x0f0b0000,0x0f100000)]
0x0eb28400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3640,
stack(0x0f060000,0x0f0b0000)]
0x0eae4c00 JavaThread "Low Memory Detector" daemon [_thread_blocked,
id=2032, stack(0x0ed30000,0x0ed80000)]
0x0eae2400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=184,
stack(0x0ece0000,0x0ed30000)]
0x0eadd800 JavaThread "Attach Listener" daemon [_thread_blocked, id=1536,
stack(0x0ec90000,0x0ece0000)]
0x0eadc400 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=2028, stack(0x0ec40000,0x0ec90000)]
0x0eacc400 JavaThread "Finalizer" daemon [_thread_blocked, id=1728,
stack(0x0ebf0000,0x0ec40000)]
0x0eac7800 JavaThread "Reference Handler" daemon [_thread_blocked,
id=796, stack(0x0eba0000,0x0ebf0000)]

Other Threads:
0x0eac2c00 VMThread [stack: 0x0eb50000,0x0eba0000] [id=904]
0x0eaef400 WatcherThread [stack: 0x0ed80000,0x0edd0000] [id=2052]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 9088K, used 2567K [0x02970000, 0x03340000,
0x03340000)
eden space 8128K, 19% used [0x02970000, 0x02b01d08, 0x03160000)
from space 960K, 100% used [0x03160000, 0x03250000, 0x03250000)
to space 960K, 0% used [0x03250000, 0x03250000, 0x03340000)
tenured generation total 121024K, used 5627K [0x03340000, 0x0a970000,
0x0a970000)
the space 121024K, 4% used [0x03340000, 0x038bedd0, 0x038bee00,
0x0a970000)
compacting perm gen total 12288K, used 10939K [0x0a970000, 0x0b570000,
0x0e970000)
the space 12288K, 89% used [0x0a970000, 0x0b41ee18, 0x0b41f000, 0x0b570000)
No shared spaces configured.

Dynamic libraries:
0x00400000 - 0x00424000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\javaw.exe
0x7c900000 - 0x7c9af000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\msvcr71.dll
0x6d800000 - 0x6da56000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d280000 - 0x6d288000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d7b0000 - 0x6d7bc000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\java.dll
0x6d7f0000 - 0x6d7ff000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\zip.dll
0x6d000000 - 0x6d138000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\awt.dll
0x73000000 - 0x73026000 C:\WINDOWS\system32\WINSPOOL.DRV
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x773d0000 - 0x774d3000
C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x5ad70000 - 0x5ada8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476c000 C:\WINDOWS\system32\MSCTF.dll
0x10000000 - 0x10057000 C:\program files\relevantknowledge\rlls.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
0x7c3c0000 - 0x7c43c000 C:\WINDOWS\system32\MSVCP71.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x767f0000 - 0x76817000 C:\WINDOWS\system32\Schannel.dll
0x77a80000 - 0x77b15000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x5b860000 - 0x5b8b5000 C:\WINDOWS\system32\NETAPI32.dll
0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
0x78050000 - 0x78120000 C:\WINDOWS\system32\wininet.dll
0x0f330000 - 0x0f339000 C:\WINDOWS\system32\Normaliz.dll
0x78000000 - 0x78045000 C:\WINDOWS\system32\iertutil.dll
0x77b40000 - 0x77b62000 C:\WINDOWS\system32\apphelp.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x0f8c0000 - 0x0f90c000 C:\Documents and Settings\Administrator\Local
Settings\Temp\jna39711.tmp
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\shell32.dll
0x6d220000 - 0x6d274000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\fontmanager.dll
0x4fdd0000 - 0x4ff76000 C:\WINDOWS\system32\d3d9.dll
0x0f970000 - 0x0f976000 C:\WINDOWS\system32\d3d8thk.dll
0x6d610000 - 0x6d623000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\net.dll
0x6d630000 - 0x6d639000 C:\Documents and
Settings\Administrator\Desktop\processing-1.0.1\java\bin\nio.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x16080000 - 0x160a5000 C:\Program Files\Bonjour\mdnsNSP.dll
0x76d60000 - 0x76d79000 C:\WINDOWS\system32\Iphlpapi.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x662b0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll

VM Arguments:
jvm_args: -Xms128m -Xmx128m
java_command: processing.app.Base
Launcher Type: SUN_STANDARD

Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common
Files\GTK\2.0\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program
Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common
Files\Roxio
Shared\11.0\DLLShared\;;C:\gstreamer\bin;C:\gstreamer\bin;C:\gstreamer\bin;C:\gstreamer\bin;C:\gstreamer\bin;C:\gstreamer\bin;C:\Documents
and Settings\Administrator\Desktop\processing-1.0.1\java\bin
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 72 Stepping 2, AuthenticAMD
Additional Comment #1 From fry 2008-12-22 20:43
Sorry, that's something in Sun's Java code, completely outside of
Processing, that's giving you trouble.

You can file a bug with them (as per the instructions in the error
message), or I would check whether you have any fonts that are corrupt on
your system.

Good luck!