[squeak-dev] Loading FFI crashes my VM

Tony Garnock-Jones tonyg at ccs.neu.edu
Thu Jun 13 00:00:24 UTC 2013


Hi all,

While installing FFI on a fresh Squeak4.5-12568 image,
CogMT.app-13.22.2732 segvs. Attached is crash.dmp.

Steps to reproduce:

 1. Download those versions of Cog and Squeak.
 2. Open the image.
 3. Open a workspace.
 4. Paste the following:

	(Installer repository: 'http://source.squeak.org/FFI')
	install: 'FFI-Pools';
	install: 'FFI-Kernel';
	install: 'FFI-Tests'.

 5. Select all in the workspace.
 6. Doit.

A normal progress meter will appear and eventually the VM will crash
mid-way through the load.

Regards,
  Tony
-------------- next part --------------

Segmentation fault Wed Jun 12 19:58:37 2013


Squeak VM version: 4.0 4.0.2732 Mac OS X built on Jun  6 2013 16:37:13 Compiler: 4.2.1 (Apple Inc. build 5666) (dot 3) [Production VM]
Built from: CoInterpreterMT VMMaker.oscog-eem.296 uuid: ca2924d5-7bfb-4690-a7ce-9ec8d2222043 Jun  6 2013
With: StackToRegisterMappingCogit VMMaker.oscog-eem.282 uuid: 6c2f2048-555b-4d37-a9eb-4d9252acf3b9 Jun  6 2013
Revision: VM: r2732 http://www.squeakvm.org/svn/squeak/branches/Cog
Plugins: r2545 http://squeakvm.org/svn/squeak/trunk/platforms/Cross/plugins


C stack backtrace:
0   Squeak                              0x00070821 reportStackState + 145
1   Squeak                              0x000711c2 sigsegv + 306
2   libSystem.B.dylib                   0x9146605b _sigtramp + 43
3   ???                                 0xffffffff 0x0 + 4294967295
4   Squeak                              0x00103593 interpret + 995
5   Squeak                              0x0010bd99 enterSmalltalkExecutiveImplementation + 121
6   Squeak                              0x0010bf54 threadSchedulingLoop + 404
7   Squeak                              0x00103e39 interpret + 3209
8   Squeak                              0x0005f580 EventLoopEventHandler + 144
9   HIToolbox                           0x915aec2f _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1567
10  HIToolbox                           0x915adef6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
11  HIToolbox                           0x915add55 SendEventToEventTargetWithOptions + 58
12  HIToolbox                           0x915e2a24 _ZL29ToolboxEventDispatcherHandlerP25OpaqueEventHandlerCallRefP14OpaqueEventRefPv + 3006
13  HIToolbox                           0x915af080 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 2672
14  HIToolbox                           0x915adef6 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 411
15  HIToolbox                           0x915d07f3 SendEventToEventTarget + 52
16  HIToolbox                           0x91759c17 ToolboxEventDispatcher + 86
17  HIToolbox                           0x91759d4f RunApplicationEventLoop + 243
18  Squeak                              0x0005ed9a RunApplicationEventLoopWithSqueak + 218
19  Squeak                              0x00070e72 main + 690
20  Squeak                              0x00002c26 start + 54


Smalltalk stack dump:
0xbffadc90 I [] in Project class>spawnNewProcess 0x130541cc: a(n) Project class
0x1332f270 s [] in BlockClosure()>?

Most recent primitives
@
basicScanCharactersFrom:to:in:rightX:stopConditions:kern:
new:
primDisplayString:from:to:map:xTable:kern:
@
primDisplayString:from:to:map:xTable:kern:
@
perform:
@
basicScanCharactersFrom:to:in:rightX:stopConditions:kern:
new:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
primDisplayString:from:to:map:xTable:kern:
@
primDisplayString:from:to:map:xTable:kern:
@
perform:
@
basicScanCharactersFrom:to:in:rightX:stopConditions:kern:
new:
perform:
species
species
species
species
=
=
=
=
species
species
species
species
@
@
basicNew
@
@
basicNew
@
perform:with:
@
@
perform:with:
@
basicNew
copyBits
value
@
perform:with:
@
@
perform:with:
@
basicNew
basicNew
@
@
@
@
basicNew
@
<=
copyBits
at:put:
at:put:
at:put:
basicNew
new:
at:put:
@
@
basicNew
clone
basicNew
@
@
basicNew
at:put:
identityHash
@
perform:with:
@
@
perform:with:
@
basicNew
basicNew
basicNew
@
@
@
basicNew
basicNew
basicNew
new:
basicNew:
basicNew
primitiveSetBitBltPlugin:
@
@
basicNew
@
@
basicNew
@
@
basicNew
@
primitiveSetBitBltPlugin:
@
@
basicNew
@
@
basicNew
@
@
basicNew
@
@
wait
at:put:
signal
primInitializeBuffer:
primSetAALevel:
primSetOffset:
primSetClipRect:
primSetEdgeTransform:
primSetColorTransform:
primSetEdgeTransform:
primSetColorTransform:
primGetDepth
primSetDepth:
new:
at:put:
at:put:
basicNew:
primAddGradientFill:from:along:normal:radial:
at:put:
at:put:
primAddRectFrom:to:fillIndex:borderWidth:borderColor:
basicNew
basicNew
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primRenderScanline:with:
primFinishedProcessing
primGetTimes:
primGetCounts:
primGetBezierStats:
wait
at:put:
signal
at:
@
@
basicNew
@
@
primDisplayString:from:to:map:xTable:kern:
@
primDisplayString:from:to:map:xTable:kern:
@
species
species
@
at:put:
basicNew
new:
size
species
basicNew
new:
species
basicNew
new:
at:put:
at:put:
at:put:
wait
signal
primShowRectLeft:right:top:bottom:
primShowRectLeft:right:top:bottom:
primShowRectLeft:right:top:bottom:
primitiveDeferUpdates:
forceDisplayUpdate
yield

stack page bytes 2048 available headroom 1252 minimum unused headroom 772

	(Segmentation fault)


More information about the Squeak-dev mailing list