It's not something usual to do, but executing (image: Squeak4.2-10966.zip: Compiler recompileAll crashes cogVM (linux) with: Segmentation fault Mon Aug 22 16:17:10 2011 C stack backtrace: /opt/cog/bin/../lib/squeak/4.0-2487/squeak[0x805cc6d] /opt/cog/bin/../lib/squeak/4.0-2487/squeak[0x805cf27] [0xe0440c] [0x77634b1f] [0x7760d6d1] [0x775b36b6] [0x7756e7c6] [0x775b364c] [0x7761ab16] [0x77617a80] [0x776188dc] [0x775c4a77] [0x775704cc] [0x7756d5c0] Smalltalk stack dump: 0xbff321fc M [] in ProgressInitiationException>defaultMorphicAction 2022221272: a(n) ProgressInitiationException 0xbff32218 M BlockClosure>cull: 2022222184: a(n) BlockClosure 0xbff32238 M [] in MethodContext(ContextPart)>handleSignal: 2022222364: a(n) MethodContext 0xbff32258 M BlockClosure>ensure: 2023082992: a(n) BlockClosure 0xbff32278 M MethodContext(ContextPart)>handleSignal: 2022222364: a(n) MethodContext 0xbff32294 M ProgressNotification(Exception)>signal 2023082676: a(n) ProgressNotification 0xbff322ac M ProgressNotification(Exception)>signal: 2023082676: a(n) ProgressNotification 0xbff322cc M ProgressNotification class>signal:extra: 2009227768: a(n) ProgressNotification class 0xbff32308 M [] in Array(Collection)>do:displayingProgress:every: 2022212608: a(n) Array 0xbff3232c M Array(SequenceableCollection)>do: 2022212608: a(n) Array 0xbff2cc70 I [] in Array(Collection)>do:displayingProgress:every: 2022212608: a(n) Array 0xbff2cc94 M [] in ProgressInitiationException>defaultMorphicAction 2022221272: a(n) ProgressInitiationException 0xbff2ccb0 M BlockClosure>on:do: 2022222156: a(n) BlockClosure 0xbff2cce0 I [] in ProgressInitiationException>defaultMorphicAction 2022221272: a(n) ProgressInitiationException 0xbff2cd00 M BlockClosure>ensure: 2022222012: a(n) BlockClosure 0xbff2cd2c I ProgressInitiationException>defaultMorphicAction 2022221272: a(n) ProgressInitiationException 0xbff2cd4c I ProgressInitiationException>defaultAction 2022221272: a(n) ProgressInitiationException 0xbff2cd68 M UndefinedObject>handleSignal: 2003226628: a(n) UndefinedObject 0xbff2cd88 M MethodContext(ContextPart)>handleSignal: 2022004064: a(n) MethodContext 0xbff2cda8 M MethodContext(ContextPart)>handleSignal: 2022221500: a(n) MethodContext 0xbff2cdcc I ProgressInitiationException(Exception)>signal 2022221272: a(n) ProgressInitiationException 0xbff2cdec I ProgressInitiationException>display:at:from:to:during: 2022221272: a(n) ProgressInitiationException 0xbff2ce20 I ProgressInitiationException class>display:at:from:to:during: 2009229340: a(n) ProgressInitiationException class 0xbff2ce54 I MorphicUIManager>displayProgress:at:from:to:during: 2011625028: a(n) MorphicUIManager 0xbff2ce88 I ByteString(String)>displayProgressAt:from:to:during: 2011363412: a(n) ByteString 0xbff2cec4 I Array(Collection)>do:displayingProgress:every: 2022212608: a(n) Array 0xbff2cef0 I Array(Collection)>do:displayingProgress: 2022212608: a(n) Array 0xbff2cf18 I Compiler class>recompileAll 2009609340: a(n) Compiler class 0xbff2cf30 M UndefinedObject>? 2003226628: a(n) UndefinedObject 0xbff2cf68 I Compiler>evaluate:in:to:notifying:ifFail:logged: 2022004888: a(n) Compiler 0xbff2cfa8 I [] in SmalltalkEditor(TextEditor)>evaluateSelection 2021974620: a(n) SmalltalkEditor 0xbff2cfc4 M BlockClosure>on:do: 2022004840: a(n) BlockClosure 0xbff2cff8 I SmalltalkEditor(TextEditor)>evaluateSelection 2021974620: a(n) SmalltalkEditor 0xbff2d010 M [] in PluggableTextMorphPlus(PluggableTextMorph)>doIt 2021821948: a(n) PluggableTextMorphPlus 0xbff2d034 I TextMorphForEditView(TextMorph)>handleEdit: 2021825532: a(n) TextMorphForEditView 0xbff2d05c I PluggableTextMorphPlus(PluggableTextMorph)>handleEdit: 2021821948: a(n) PluggableTextMorphPlus 0xbff2d078 M PluggableTextMorphPlus(PluggableTextMorph)>doIt 2021821948: a(n) PluggableTextMorphPlus 0xbff2d090 M Workspace(StringHolder)>perform:orSendTo: 2021815824: a(n) Workspace 0xbff2d0c0 I [] in MenuItemMorph>invokeWithEvent: 2021996700: a(n) MenuItemMorph 0xbff2d0e0 M BlockClosure>ensure: 2022004348: a(n) BlockClosure 0xbff2d108 I CursorWithMask(Cursor)>showWhile: 2006212052: a(n) CursorWithMask 0xbff2d130 I MenuItemMorph>invokeWithEvent: 2021996700: a(n) MenuItemMorph 0xbff2d154 I MenuItemMorph>mouseUp: 2021996700: a(n) MenuItemMorph 0xbff2d170 M MenuItemMorph>handleMouseUp: 2021996700: a(n) MenuItemMorph 0xbff2d18c M MouseButtonEvent>sentTo: 2022004028: a(n) MouseButtonEvent 0xbff2d1a8 M MenuItemMorph(Morph)>handleEvent: 2021996700: a(n) MenuItemMorph 0xbff2d1d8 M MorphicEventDispatcher>dispatchDefault:with: 2022004012: a(n) MorphicEventDispatcher 0xbff2d1f8 M MorphicEventDispatcher>dispatchEvent:with: 2022004012: a(n) MorphicEventDispatcher 0xbff2d218 M MenuItemMorph(Morph)>processEvent:using: 2021996700: a(n) MenuItemMorph 0xbff2d24c M MorphicEventDispatcher>dispatchDefault:with: 2022004012: a(n) MorphicEventDispatcher 0xbff2d26c M MorphicEventDispatcher>dispatchEvent:with: 2022004012: a(n) MorphicEventDispatcher 0xbff2d28c M MenuMorph(Morph)>processEvent:using: 2021992876: a(n) MenuMorph 0xbff2d2ac M MenuMorph(Morph)>processEvent: 2021992876: a(n) MenuMorph 0xbff2d2c8 M MenuMorph>handleFocusEvent: 2021992876: a(n) MenuMorph 0xbff2d2f0 M [] in HandMorph>sendFocusEvent:to:clear: 2005609276: a(n) HandMorph 0xbff2d30c M [] in PasteUpMorph>becomeActiveDuring: 2012727260: a(n) PasteUpMorph 0xbff2d328 M BlockClosure>on:do: 2022003916: a(n) BlockClosure 0xbff26d64 M PasteUpMorph>becomeActiveDuring: 2012727260: a(n) PasteUpMorph 0xbff26d88 M HandMorph>sendFocusEvent:to:clear: 2005609276: a(n) HandMorph 0xbff26db0 M HandMorph>sendEvent:focus:clear: 2005609276: a(n) HandMorph 0xbff26dd4 M HandMorph>sendMouseEvent: 2005609276: a(n) HandMorph 0xbff26df8 M HandMorph>handleEvent: 2005609276: a(n) HandMorph 0xbff26e24 M HandMorph>processEvents 2005609276: a(n) HandMorph 0xbff26e40 M [] in WorldState>doOneCycleNowFor: 2003382328: a(n) WorldState 0xbff26e64 M Array(SequenceableCollection)>do: 2003298356: a(n) Array 0xbff26e80 M WorldState>handsDo: 2003382328: a(n) WorldState 0xbff26ea0 M WorldState>doOneCycleNowFor: 2003382328: a(n) WorldState 0xbff26ebc M WorldState>doOneCycleFor: 2003382328: a(n) WorldState 0xbff26edc M WorldState>doOneSubCycleFor: 2003382328: a(n) WorldState 0xbff26ef8 M PasteUpMorph>doOneSubCycle 2012727260: a(n) PasteUpMorph 0xbff26f20 I MenuMorph>invokeModalAt:in:allowKeyboard: 2021992876: a(n) MenuMorph 0xbff26f4c I MenuMorph>invokeModal: 2021992876: a(n) MenuMorph 0xbff26f70 I MenuMorph>invokeModal 2021992876: a(n) MenuMorph 0xbff26f94 I PluggableTextMorphPlus(PluggableTextMorph)>yellowButtonActivity: 2021821948: a(n) PluggableTextMorphPlus 0xbff26fb0 M PluggableTextMorphPlus(ScrollPane)>mouseDown: 2021821948: a(n) PluggableTextMorphPlus 0xbff26fcc M PluggableTextMorphPlus(Morph)>handleMouseDown: 2021821948: a(n) PluggableTextMorphPlus 0xbff26fe8 M MouseButtonEvent>sentTo: 2021992796: a(n) MouseButtonEvent 0xbff27004 M PluggableTextMorphPlus(Morph)>handleEvent: 2021821948: a(n) PluggableTextMorphPlus 0xbff27040 M MorphicEventDispatcher>dispatchMouseDown:with: 2021992740: a(n) MorphicEventDispatcher 0xbff27060 M MorphicEventDispatcher>dispatchEvent:with: 2021992740: a(n) MorphicEventDispatcher 0xbff27080 M PluggableTextMorphPlus(Morph)>processEvent:using: 2021821948: a(n) PluggableTextMorphPlus 0xbff270c0 M MorphicEventDispatcher>dispatchMouseDown:with: 2021992740: a(n) MorphicEventDispatcher 0xbff270e0 M MorphicEventDispatcher>dispatchEvent:with: 2021992740: a(n) MorphicEventDispatcher 0xbff27100 M PluggableSystemWindow(Morph)>processEvent:using: 2021816180: a(n) PluggableSystemWindow 0xbff27140 M MorphicEventDispatcher>dispatchMouseDown:with: 2021992740: a(n) MorphicEventDispatcher 0xbff27160 M MorphicEventDispatcher>dispatchEvent:with: 2021992740: a(n) MorphicEventDispatcher 0xbff27180 M PasteUpMorph(Morph)>processEvent:using: 2012727260: a(n) PasteUpMorph 0xbff271a8 M PasteUpMorph>processEvent:using: 2012727260: a(n) PasteUpMorph 0xbff271c8 M PasteUpMorph(Morph)>processEvent: 2012727260: a(n) PasteUpMorph 0xbff271e8 M HandMorph>sendEvent:focus:clear: 2005609276: a(n) HandMorph 0xbff2720c M HandMorph>sendMouseEvent: 2005609276: a(n) HandMorph 0xbff27230 M HandMorph>handleEvent: 2005609276: a(n) HandMorph 0xbff2725c M HandMorph>processEvents 2005609276: a(n) HandMorph 0xbff27278 M [] in WorldState>doOneCycleNowFor: 2003382328: a(n) WorldState 0xbff2729c M Array(SequenceableCollection)>do: 2003298356: a(n) Array 0xbff272b8 M WorldState>handsDo: 2003382328: a(n) WorldState 0xbff272d8 M WorldState>doOneCycleNowFor: 2003382328: a(n) WorldState 0xbff272f4 M WorldState>doOneCycleFor: 2003382328: a(n) WorldState 0xbff27310 M PasteUpMorph>doOneCycle 2012727260: a(n) PasteUpMorph 0xbff27330 I [] in Project class>? 2011550840: a(n) Project class 2011437424 s [] in BlockClosure>newProcess Most recent primitives at:put: at:put: basicNew new: at:put: @ @ basicNew clone basicNew @ @ basicNew at:put: @ clone basicNew @ @ basicNew value: basicNew fractionPart truncated fractionPart truncated fractionPart truncated @ @ basicNew size @ perform:with: @ @ perform:with: @ basicNew copyBits @ perform:with: @ @ perform:with: @ basicNew basicNew basicNew @ @ @ basicNew basicNew basicNew new: basicNew: basicNew primitiveSetBitBltPlugin: @ @ basicNew @ size @ basicNew @ size @ basicNew @ primitiveSetBitBltPlugin: @ @ basicNew @ @ basicNew @ @ basicNew @ @ wait at:put: signal basicNew: primInitializeBuffer: primSetAALevel: primSetOffset: primSetClipRect: primSetEdgeTransform: primSetColorTransform: primSetEdgeTransform: primSetColorTransform: primGetDepth primSetDepth: new: at:put: at:put: size basicNew: size 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 primGetTimes: primGetCounts: primGetBezierStats: wait at:put: signal @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew basicNew new: @ basicNew at:put: @ basicNew at:put: @ @ basicNew at:put: @ @ basicNew at:put: copyBits copyBits copyBits copyBits @ @ basicNew copyBits copyBits @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits @ perform:with: @ @ perform:with: @ basicNew @ @ basicNew @ @ @ basicNew @ perform:with: @ @ perform:with: @ basicNew copyBits at:put: basicNew new: value: species basicNew new: species basicNew new: at:put: wait signal primShowRectLeft:right:top:bottom: primitiveDeferUpdates: forceDisplayUpdate primMillisecondClock basicNew: basicNew value: 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: species basicNew: replaceFrom:to:with:startingAt: species basicNew: replaceFrom:to:with:startingAt: replaceFrom:to:with:startingAt: compare:with:collated: basicNew findNextHandlerContextStarting tempAt: tempAt: tempAt:put: tempAt: Abortado (imagem do núcleo gravada) signature.asc (270 bytes) Download Attachment |
Hi Casimiro, this does not reproduce for me under CentOS 5.3 (kernel 2.6.18-128.el5). Are you sure you're using the VM you think you are? Smalltalk getSystemAttribute: 1007 'CoInterpreter VMMaker.oscog-eem.117 uuid: a21465f6-8cd9-4284-8638-c30d5de21ce9 Aug 16 2011'
Smalltalk getSystemAttribute: 1008 'StackToRegisterMappingCogit VMMaker.oscog-eem.117 uuid: a21465f6-8cd9-4284-8638-c30d5de21ce9 Aug 16 2011' Smalltalk getSystemAttribute: 1009 'r2487 http://www.squeakvm.org/svn/squeak/branches/Cog'
Notice my VM says August 16th, not August 22nd. On Mon, Aug 22, 2011 at 12:32 PM, Casimiro de Almeida Barreto <[hidden email]> wrote:
best, Eliot |
Em 22-08-2011 20:33, Eliot Miranda escreveu: Hi Casimiro, I'm running on Fedora 15. It happens consistently. Cog generated from: $ svn co http://www.squeakvm.org/svn/squeak/branches/Cog/ $ cd Cog/unixbuild/bld Then I moved UUIDPlugin, B3DAcceleratorPlugin, OSProcessPlugin from plugins.ext to plugins.int thus plugin.int becomes: # Automatically generated makefile include for internal plugins INTERNAL_PLUGINS = \ ADPCMCodecPlugin \ AsynchFilePlugin \ B2DPlugin \ B3DAcceleratorPlugin \ BitBltPlugin \ BMPReadWriterPlugin \ CroquetPlugin \ ZipPlugin \ DropPlugin \ DSAPrims \ FFTPlugin \ FileCopyPlugin \ FilePlugin \ FloatArrayPlugin \ FloatMathPlugin \ IA32ABI \ JoystickTabletPlugin \ JPEGReaderPlugin \ JPEGReadWriter2Plugin \ Klatt \ LargeIntegers \ Matrix2x3Plugin \ MIDIPlugin \ MiscPrimitivePlugin \ Mpeg3Plugin \ RePlugin \ SecurityPlugin \ SerialPlugin \ SocketPlugin \ SoundCodecPrims \ SoundGenerationPlugin \ SoundPlugin \ StarSqueakPlugin \ SurfacePlugin \ UnixOSProcessPlugin \ UUIDPlugin and plugins.ext: # Automatically generated makefile include for external plugins EXTERNAL_PLUGINS = \ SqueakFFIPrims \ LocalePlugin Then (noting that in Fedora 15 it is necessary to include -luuid -lGL in LIBS=)... $ ../../platforms/unix/config/configure --without-vm-display-fbdev --without-npsqueak CFLAGS="-g -O2 -msse2 -D_GNU_SOURCE -DNDEBUG -DITIMER_HEARTBEAT=1 -DNO_VM_PROFILE=1 -DCOGMTVM=0 -DDEBUGVM=0" LIBS="-lpthread -luuid -lGL" (...) $ make $ su ... $ make install prefix=/opt/cog After install I have: In /opt/cog/lib/squeak: [casimiro@localhost bld]$ ls -l /opt/cog/lib/squeak total 12 drwxr-xr-x 2 root root 4096 Ago 19 12:10 4.0-2487 -rwxr-xr-x 1 root root 1640 Mai 2 20:25 npsqueakregister -rwxr-xr-x 1 root root 2717 Mai 2 20:25 npsqueakrun The cog script I use to start squeak is: #!/bin/sh BIN=/opt/cog/lib/squeak/4.0-2487 EXE=~/Desenvolvimento/cog ARG="-encoding UTF-8 -textenc UTF-8 -pathenc UTF-8" if [ -d "$BIN" ] then PLUGINS="$BIN" # prepending is less flexible but safer because it ensures we find the plugins # in the same directory as the VM. if [ -d "$EXE" ] then cd "$EXE" && LD_LIBRARY_PATH=$PLUGINS${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} exec "$BIN/squeak" $ARG "$@" fi fi
|
Free forum by Nabble | Edit this page |