[Vm-dev] (Normal) VM crash while debugging exception handling
Frank Shearar
frank.shearar at angband.za.org
Sun Jan 9 21:59:02 UTC 2011
I applied Andreas' Exception fix (Kernel-ar.540 in the Inbox), to
double-check Julian's counter-example. I used a virgin trunk updated to
10877.
1 I did a print-it on "[ Error signal ] on: UnhandledError do: [ :ex |
'ANSI says so' ]", and the debugger popped up just as Julian described.
2 I accidentally dropped too far down the stack into
Compiler>>evaluate:in:to:notifying:ifFail:logged:.
3 I hit "restart" and while stepping through execution I got as far as
value := receiver
withArgs: (context ifNil: [#()] ifNotNil: [{context}])
executeMethod: method.
and when I hit "Over" the VM (Squeak4.0.01 from Mar 28 2010) crashed, saying
Exception code: C0000005
Exception address: 004096D1
Current byte code: 209
Primitive index: 258
Crash dump attached as crash-1.dmp.
Trying to reproduce the problem resulted in another crash:
Reason: Recursive not understood error encountered
Current byte code: 231
Primitive index: 199
Crash dump attached as crash-2.dmp
Subsequent attempts repeated the second error, as in crash-4.dmp.
Crash-3.dmp and crash-5.dmp happened while trying to reproduce the exact
crash.
So we have two errors:
* an access violation in crash-1, crash-3 and crash-5
* a recursive MNU in crash-2, crash-4
All appear somewhere during the execution of MethodContext>printDetails:.
frank
-------------- next part --------------
---------------------------------------------------------------------
Sun Jan 09 21:26:14 2011
Exception code: C0000005
Exception addr: 004096D1
Access violation (read access) at 1652E35C
EAX:1652E35C EBX:0B0AC7AC ECX:08B20004 EDX:0B0AC77C
ESI:08E4F8E2 EDI:0B0AC7AC EBP:0B0AC77C ESP:0006FA88
EIP:004096D1 EFL:00210246
FP Control: FFFF027F
FP Status: FFFF0120
FP Tag: FFFFFFFF
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 2
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 2087020 kbytes
Physical Memory Free: 274976 kbytes
Page File Size: 3490796 kbytes
Page File Free: 1119420 kbytes
Virtual Memory Size: 2097024 kbytes
Virtual Memory Free: 1936932 kbytes
Memory Load: 86 percent
Processor 0: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Processor 1: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Operating System: Microsoft Windows XP (Build 2600 Service Pack 3)
Registered Owner: Frank Shearar
Registered Company: RNID
SP major version: 3
SP minor version: 0
Suite mask: 100
Product type: 1
Display Information:
Graphics adapter name: Mobile Intel(R) 945GM/GU Express Chipset Family
Primary monitor resolution: 1280 x 800
Device: Mobile Intel(R) 945GM/GU Express Chipset Family
Adapter String: Mobile Intel(R) 945GM/GU Express Chipset Family
Bios String: Intel Video BIOS
Chip Type: Intel(R) GMA 950
DAC Type: Internal
Memory Size: 0x08000000
Driver Versions:
igxprd32: 6.14.10.4820
VM Version: Squeak4.0.1 from Mar 28 2010
Current byte code: 209
Primitive index: 258
Loaded plugins:
BMPReadWriterPlugin 28 March 2010 (i)
DSAPrims 28 March 2010 (i)
SoundGenerationPlugin 28 March 2010 (i)
Matrix2x3Plugin 28 March 2010 (i)
FloatArrayPlugin 28 March 2010 (i)
UUIDPlugin 28 March 2010 (i)
ZipPlugin 28 March 2010 (i)
SoundPlugin 28 March 2010 (i)
SocketPlugin 28 March 2010 (i)
LocalePlugin 28 March 2010 (i)
B2DPlugin 28 March 2010 (i)
BitBltPlugin 28 March 2010 (i)
SecurityPlugin 28 March 2010 (i)
FilePlugin 28 March 2010 (i)
LargeIntegers v1.5 28 March 2010 (i)
MiscPrimitivePlugin 28 March 2010 (i)
The Smalltalk Stack:
185255804 ContextPart>printOn:
185255712 MethodContext>printOn:
185255492 MethodContext>printDetails:
185126156 ContextPart>errorReportOn:
185125792 SmalltalkImage>logError:inContext:to:
185125700 SmalltalkImage>logSqueakError:inContext:
185088792 Debugger class>openOn:context:label:contents:fullView:
185088700 BlockClosure>on:do:
185088536 Debugger class>openOn:context:label:contents:fullView:
185088444 WorldState>runStepMethodsIn:
185088352 PasteUpMorph>runStepMethods
185088252 WorldState>doOneCycleNowFor:
185088160 WorldState>doOneCycleFor:
185088068 PasteUpMorph>doOneCycle
185087976 Project class>spawnNewProcess
185087796 BlockClosure>newProcess
-------------- next part --------------
---------------------------------------------------------------------
Sun Jan 09 21:31:51 2011
Reason: Recursive not understood error encountered
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 2
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 2087020 kbytes
Physical Memory Free: 699204 kbytes
Page File Size: 3490796 kbytes
Page File Free: 1027024 kbytes
Virtual Memory Size: 2097024 kbytes
Virtual Memory Free: 1936932 kbytes
Memory Load: 66 percent
Processor 0: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Processor 1: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Operating System: Microsoft Windows XP (Build 2600 Service Pack 3)
Registered Owner: Frank Shearar
Registered Company: RNID
SP major version: 3
SP minor version: 0
Suite mask: 100
Product type: 1
Display Information:
Graphics adapter name: Mobile Intel(R) 945GM/GU Express Chipset Family
Primary monitor resolution: 1280 x 800
Device: Mobile Intel(R) 945GM/GU Express Chipset Family
Adapter String: Mobile Intel(R) 945GM/GU Express Chipset Family
Bios String: Intel Video BIOS
Chip Type: Intel(R) GMA 950
DAC Type: Internal
Memory Size: 0x08000000
Driver Versions:
igxprd32: 6.14.10.4820
VM Version: Squeak4.0.1 from Mar 28 2010
Current byte code: 231
Primitive index: 199
Loaded plugins:
ZipPlugin 28 March 2010 (i)
SocketPlugin 28 March 2010 (i)
LocalePlugin 28 March 2010 (i)
B2DPlugin 28 March 2010 (i)
BitBltPlugin 28 March 2010 (i)
SecurityPlugin 28 March 2010 (i)
FilePlugin 28 March 2010 (i)
LargeIntegers v1.5 28 March 2010 (i)
MiscPrimitivePlugin 28 March 2010 (i)
The Smalltalk Stack:
174134908 MethodContext>printDetails:
174134816 BlockClosure>on:do:
174134724 BlockClosure>ifError:
174131476 MethodContext>printDetails:
173980116 ContextPart>errorReportOn:
173979776 SmalltalkImage>logError:inContext:to:
173979684 SmalltalkImage>logSqueakError:inContext:
173953104 Debugger class>openOn:context:label:contents:fullView:
173953012 BlockClosure>on:do:
173952848 Debugger class>openOn:context:label:contents:fullView:
173952756 WorldState>runStepMethodsIn:
173952664 PasteUpMorph>runStepMethods
173952564 WorldState>doOneCycleNowFor:
173952472 WorldState>doOneCycleFor:
173952380 PasteUpMorph>doOneCycle
173952288 Project class>spawnNewProcess
173952108 BlockClosure>newProcess
-------------- next part --------------
---------------------------------------------------------------------
Sun Jan 09 21:39:05 2011
Exception code: C0000005
Exception addr: 0040C14F
Access violation (read access) at 0000006F
EAX:08B20004 EBX:08CE9E74 ECX:00000909 EDX:08CB177C
ESI:0000006F EDI:0A443ABC EBP:08B20004 ESP:0006FA48
EIP:0040C14F EFL:00010283
FP Control: FFFF027F
FP Status: FFFF0120
FP Tag: FFFFFFFF
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 2
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 2087020 kbytes
Physical Memory Free: 705868 kbytes
Page File Size: 3490796 kbytes
Page File Free: 1032328 kbytes
Virtual Memory Size: 2097024 kbytes
Virtual Memory Free: 1936932 kbytes
Memory Load: 66 percent
Processor 0: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Processor 1: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Operating System: Microsoft Windows XP (Build 2600 Service Pack 3)
Registered Owner: Frank Shearar
Registered Company: RNID
SP major version: 3
SP minor version: 0
Suite mask: 100
Product type: 1
Display Information:
Graphics adapter name: Mobile Intel(R) 945GM/GU Express Chipset Family
Primary monitor resolution: 1280 x 800
Device: Mobile Intel(R) 945GM/GU Express Chipset Family
Adapter String: Mobile Intel(R) 945GM/GU Express Chipset Family
Bios String: Intel Video BIOS
Chip Type: Intel(R) GMA 950
DAC Type: Internal
Memory Size: 0x08000000
Driver Versions:
igxprd32: 6.14.10.4820
VM Version: Squeak4.0.1 from Mar 28 2010
Current byte code: 231
Primitive index: 199
Loaded plugins:
SocketPlugin 28 March 2010 (i)
ZipPlugin 28 March 2010 (i)
LocalePlugin 28 March 2010 (i)
B2DPlugin 28 March 2010 (i)
BitBltPlugin 28 March 2010 (i)
SecurityPlugin 28 March 2010 (i)
FilePlugin 28 March 2010 (i)
LargeIntegers v1.5 28 March 2010 (i)
MiscPrimitivePlugin 28 March 2010 (i)
The Smalltalk Stack:
172243612 MethodContext>printDetails:
172243520 BlockClosure>on:do:
172243428 BlockClosure>ifError:
172239036 MethodContext>printDetails:
172168524 ContextPart>errorReportOn:
172168184 SmalltalkImage>logError:inContext:to:
172168092 SmalltalkImage>logSqueakError:inContext:
172143996 Debugger class>openOn:context:label:contents:fullView:
172143904 BlockClosure>on:do:
172143740 Debugger class>openOn:context:label:contents:fullView:
172143648 WorldState>runStepMethodsIn:
172143556 PasteUpMorph>runStepMethods
172143456 WorldState>doOneCycleNowFor:
172143364 WorldState>doOneCycleFor:
172143272 PasteUpMorph>doOneCycle
172143180 Project class>spawnNewProcess
172143000 BlockClosure>newProcess
-------------- next part --------------
---------------------------------------------------------------------
Sun Jan 09 21:34:13 2011
Exception code: C0000005
Exception addr: 004096D1
Access violation (read access) at 00000000
EAX:00000000 EBX:0A50B0EC ECX:08B20004 EDX:0A50B0BC
ESI:08E526E6 EDI:0A50B0EC EBP:0A50B0BC ESP:0006FA88
EIP:004096D1 EFL:00010246
FP Control: FFFF027F
FP Status: FFFF0020
FP Tag: FFFFFFFF
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 2
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 2087020 kbytes
Physical Memory Free: 696204 kbytes
Page File Size: 3490796 kbytes
Page File Free: 1023720 kbytes
Virtual Memory Size: 2097024 kbytes
Virtual Memory Free: 1936932 kbytes
Memory Load: 66 percent
Processor 0: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Processor 1: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Operating System: Microsoft Windows XP (Build 2600 Service Pack 3)
Registered Owner: Frank Shearar
Registered Company: RNID
SP major version: 3
SP minor version: 0
Suite mask: 100
Product type: 1
Display Information:
Graphics adapter name: Mobile Intel(R) 945GM/GU Express Chipset Family
Primary monitor resolution: 1280 x 800
Device: Mobile Intel(R) 945GM/GU Express Chipset Family
Adapter String: Mobile Intel(R) 945GM/GU Express Chipset Family
Bios String: Intel Video BIOS
Chip Type: Intel(R) GMA 950
DAC Type: Internal
Memory Size: 0x08000000
Driver Versions:
igxprd32: 6.14.10.4820
VM Version: Squeak4.0.1 from Mar 28 2010
Current byte code: 209
Primitive index: 258
Loaded plugins:
SocketPlugin 28 March 2010 (i)
ZipPlugin 28 March 2010 (i)
LocalePlugin 28 March 2010 (i)
B2DPlugin 28 March 2010 (i)
BitBltPlugin 28 March 2010 (i)
SecurityPlugin 28 March 2010 (i)
FilePlugin 28 March 2010 (i)
LargeIntegers v1.5 28 March 2010 (i)
MiscPrimitivePlugin 28 March 2010 (i)
The Smalltalk Stack:
173060284 ContextPart>printOn:
173060192 MethodContext>printOn:
173059972 MethodContext>printDetails:
173003872 ContextPart>errorReportOn:
173003532 SmalltalkImage>logError:inContext:to:
173003440 SmalltalkImage>logSqueakError:inContext:
172979344 Debugger class>openOn:context:label:contents:fullView:
172979252 BlockClosure>on:do:
172979088 Debugger class>openOn:context:label:contents:fullView:
172978996 WorldState>runStepMethodsIn:
172978904 PasteUpMorph>runStepMethods
172978804 WorldState>doOneCycleNowFor:
172978712 WorldState>doOneCycleFor:
172978620 PasteUpMorph>doOneCycle
172978528 Project class>spawnNewProcess
172978348 BlockClosure>newProcess
-------------- next part --------------
---------------------------------------------------------------------
Sun Jan 09 21:37:46 2011
Reason: Recursive not understood error encountered
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 2
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 2087020 kbytes
Physical Memory Free: 698716 kbytes
Page File Size: 3490796 kbytes
Page File Free: 1027044 kbytes
Virtual Memory Size: 2097024 kbytes
Virtual Memory Free: 1936932 kbytes
Memory Load: 66 percent
Processor 0: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Processor 1: Intel(R) Core(TM)2 CPU T5200 @ 1.60GHz
Identifier: x86 Family 6 Model 15 Stepping 6
~MHZ: 1596
Operating System: Microsoft Windows XP (Build 2600 Service Pack 3)
Registered Owner: Frank Shearar
Registered Company: RNID
SP major version: 3
SP minor version: 0
Suite mask: 100
Product type: 1
Display Information:
Graphics adapter name: Mobile Intel(R) 945GM/GU Express Chipset Family
Primary monitor resolution: 1280 x 800
Device: Mobile Intel(R) 945GM/GU Express Chipset Family
Adapter String: Mobile Intel(R) 945GM/GU Express Chipset Family
Bios String: Intel Video BIOS
Chip Type: Intel(R) GMA 950
DAC Type: Internal
Memory Size: 0x08000000
Driver Versions:
igxprd32: 6.14.10.4820
VM Version: Squeak4.0.1 from Mar 28 2010
Current byte code: 231
Primitive index: 199
Loaded plugins:
SocketPlugin 28 March 2010 (i)
ZipPlugin 28 March 2010 (i)
LocalePlugin 28 March 2010 (i)
B2DPlugin 28 March 2010 (i)
BitBltPlugin 28 March 2010 (i)
SecurityPlugin 28 March 2010 (i)
FilePlugin 28 March 2010 (i)
LargeIntegers v1.5 28 March 2010 (i)
MiscPrimitivePlugin 28 March 2010 (i)
The Smalltalk Stack:
172733756 MethodContext>printDetails:
172733664 BlockClosure>on:do:
172733572 BlockClosure>ifError:
172730324 MethodContext>printDetails:
172634556 ContextPart>errorReportOn:
172634216 SmalltalkImage>logError:inContext:to:
172634124 SmalltalkImage>logSqueakError:inContext:
172610028 Debugger class>openOn:context:label:contents:fullView:
172609936 BlockClosure>on:do:
172609772 Debugger class>openOn:context:label:contents:fullView:
172609680 WorldState>runStepMethodsIn:
172609588 PasteUpMorph>runStepMethods
172609488 WorldState>doOneCycleNowFor:
172609396 WorldState>doOneCycleFor:
172609304 PasteUpMorph>doOneCycle
172609212 Project class>spawnNewProcess
172609032 BlockClosure>newProcess
More information about the Vm-dev
mailing list