Hi...as you may read in another thread....I am playing around with CompiledMethods and putting proxies for them. In my tests, everything goes well. But now, I am trying to automatically swap out all unused methods. Of course, so far I am excluding A LOT of packages (all methods of all classes of that package), classes and some particular methods. Everything that sounds complicated ;) And then...I swap everything. I can swap everything without problem, but it crash when trying to uninstall all proxies. I had put SqueakDebug in 1 for the VM in order to get the most info as possible. So far, all the crashes shows something like the following in the console. I have no idea what does it means or where can I look. All I can tell you is that I am putting proxies and use them as compiled methods. Not necessary SmallIneteger, but a subclass of ProtoObject. Thank you so much in advance. If someone can point to anywhere I would be gratefully :) Mariano Segmentation fault sProcess 582485516 >? 525243436 UndefinedObject>? 525243856 Array>? 525245296 Array>? 525259616 Array>? 525259796 Array>? Process 562303620 >finalizationProcess 562303528 >restartFinalizationProcess 562303764 BlockClosure>newProcess ------- Segmentation fault Process 573156076 SmallInteger>? Process 568326152 >finalizationProcess 568326060 >restartFinalizationProcess 568326296 BlockClosure>newProcess Process Bus error mariano @ ------ Segmentation fault Process 573113572 UndefinedObject>? Bus error ----- Segmentation fault Process 572246220 SmallInteger>? Bus error ----- etc..... In addition, Here is a crash report for example: Process: Squeak [50774] Path: /Users/mariano/PhD/Marea/VMs/Squeak Nueva trace.app/Contents/MacOS/./Squeak Identifier: org.squeak.Squeak Version: 5.7b3 (21.0) Code Type: X86 (Native) Parent Process: bash [1539] Date/Time: 2010-12-01 00:24:59.594 +0100 OS Version: Mac OS X 10.6.5 (10H574) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 org.squeak.Squeak 0x00054945 fetchClassOf + 21 (interp.c:4722) Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x9826f982 kevent + 10 1 libSystem.B.dylib 0x9827009c _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x9826f559 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x9826f2fe _dispatch_worker_thread2 + 240 4 libSystem.B.dylib 0x9826ed81 _pthread_wqthread + 390 5 libSystem.B.dylib 0x9826ebc6 start_wqthread + 30 Thread 2: com.apple.CFSocket.private 0 libSystem.B.dylib 0x982680c6 select$DARWIN_EXTSN + 10 1 com.apple.CoreFoundation 0x900cbc83 __CFSocketManager + 1091 2 libSystem.B.dylib 0x9827685d _pthread_start + 345 3 libSystem.B.dylib 0x982766e2 thread_start + 34 Thread 3: AQClient 0 libSystem.B.dylib 0x982490fa mach_msg_trap + 10 1 libSystem.B.dylib 0x98249867 mach_msg + 68 2 com.apple.CoreFoundation 0x9008c37f __CFRunLoopRun + 2079 3 com.apple.CoreFoundation 0x9008b464 CFRunLoopRunSpecific + 452 4 com.apple.CoreFoundation 0x9008b291 CFRunLoopRunInMode + 97 5 ....audio.toolbox.AudioToolbox 0x93340c36 GenericRunLoopThread::RunLoop() + 60 6 ....audio.toolbox.AudioToolbox 0x93340ff2 GenericRunLoopThread::Run() + 158 7 ....audio.toolbox.AudioToolbox 0x9330400c CAPThread::Entry(CAPThread*) + 96 8 libSystem.B.dylib 0x9827685d _pthread_start + 345 9 libSystem.B.dylib 0x982766e2 thread_start + 34 Thread 4: 0 libSystem.B.dylib 0x982770a6 __semwait_signal + 10 1 libSystem.B.dylib 0x98276d62 _pthread_cond_wait + 1191 2 libSystem.B.dylib 0x982789f8 pthread_cond_wait$UNIX2003 + 73 3 GLEngine 0x03644432 gleCmdProcessorPTHREAD + 186 4 libSystem.B.dylib 0x9827685d _pthread_start + 345 5 libSystem.B.dylib 0x982766e2 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x1f786f24 ecx: 0x00000000 edx: 0x00000000 edi: 0x1f4e44ec esi: 0x1f400004 ebp: 0x1f400004 esp: 0xbfffe0fc ss: 0x0000001f efl: 0x00010246 eip: 0x00054945 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000000 Binary Images: 0x1000 - 0x9cff7 +org.squeak.Squeak 5.7b3 (21.0) <5AEDD194-748A-6DDE-C421-D2E22DE3DE84> /Users/mariano/PhD/Marea/VMs/Squeak Nueva trace.app/Contents/MacOS/Squeak 0x754000 - 0x778fe7 GLRendererFloat ??? (???) <EFE5EC6D-74B2-37A2-92E4-526A2EF6B791> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat 0x355a000 - 0x36d2fe7 GLEngine ??? (???) <A4BBE58C-1211-0473-7B78-C3BA7AC29C9B> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine 0x37e7000 - 0x37ebff3 com.apple.audio.AudioIPCPlugIn 1.1.6 (1.1.6) <F402CF88-D96C-42A0-3207-49759F496AE8> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/Contents/MacOS/AudioIPCPlugIn 0x37f0000 - 0x37f6ffb com.apple.audio.AppleHDAHALPlugIn 1.9.9 (1.9.9f12) <82BFF5E9-2B0E-FE8B-8370-445DD94DA434> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 0x14000000 - 0x14405fe7 libclh.dylib 3.1.1 C (3.1.1) <D1A3D8AD-0FED-4AD2-AB43-CF804B7BDBF9> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/libclh.dylib 0x14429000 - 0x14d80ff3 com.apple.driver.AppleIntelHDGraphicsGLDriver 1.6.24 (6.2.4) <C9C8A21C-22E9-1689-FCA7-F33A4CB1DB28> /System/Library/Extensions/AppleIntelHDGraphicsGLDriver.bundle/Contents/MacOS/AppleIntelHDGraphicsGLDriver 0x18757000 - 0x187c4fff +com.DivXInc.DivXDecoder 6.6.0 (6.6.0) /Library/QuickTime/DivX Decoder.component/Contents/MacOS/DivX Decoder 0x187d3000 - 0x1889eff3 com.apple.audio.units.Components 1.6.3 (1.6.3) <5DA35A22-1B05-6BD3-985A-26A7A2CD6289> /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio 0x8f0c8000 - 0x8f811ff7 com.apple.GeForceGLDriver 1.6.24 (6.2.4) <DCC16E52-B1F1-90E6-E839-D30DF4CBA468> /System/Library/Extensions/GeForceGLDriver.bundle/Contents/MacOS/GeForceGLDriver 0x8fe00000 - 0x8fe4162b dyld 132.1 (???) <A4F6ADCC-6448-37B4-ED6C-ABB2CD06F448> /usr/lib/dyld 0x90003000 - 0x90005ff7 libRadiance.dylib ??? (???) <10048B4A-2AE8-A4E2-21B8-C6E7A8C5B76F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x9004f000 - 0x901cafe7 com.apple.CoreFoundation 6.6.4 (550.42) <C78D5079-663E-9734-7AFA-6CE79A0539F1> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x901de000 - 0x9030cfe7 com.apple.CoreData 102.1 (251) <460D594D-09DC-9082-3FD3-F93D6A08AE71> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x90d59000 - 0x90d94feb libFontRegistry.dylib ??? (???) <4FB144ED-8AF9-27CF-B315-DCE5575D5231> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib 0x90d95000 - 0x90d98ff7 libCoreVMClient.dylib ??? (???) <1F738E81-BB71-32C5-F1E9-C1302F71021C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib 0x90dda000 - 0x90de4ffb com.apple.speech.recognition.framework 3.11.1 (3.11.1) <6E3481DF-645E-6095-0CD7-9BEBEC2ED9D1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x90de5000 - 0x90e22ff7 com.apple.CoreMedia 0.484.20 (484.20) <105DDB24-E45F-5473-99E1-B09FDEAE4500> /System/Library/PrivateFrameworks/CoreMedia.framework/Versions/A/CoreMedia 0x90e23000 - 0x90ed3fe3 com.apple.QuickTimeImporters.component 7.6.6 (1756) <9276DEF5-B027-75CD-A0EB-69709F903196> /System/Library/QuickTime/QuickTimeImporters.component/Contents/MacOS/QuickTimeImporters 0x90ed4000 - 0x90ed4ff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x90ed5000 - 0x91148fe7 com.apple.Foundation 6.6.4 (751.42) <ACC0BAEB-C590-7052-3AB2-86C207C3D6D4> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x91149000 - 0x9115dfe7 libbsm.0.dylib ??? (???) <821E415B-6C42-D359-78FF-E892792F8C52> /usr/lib/libbsm.0.dylib 0x9116e000 - 0x91183fff com.apple.ImageCapture 6.0.1 (6.0.1) <E7ED2AC1-834C-A44E-531E-EC05F0496DBF> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x91184000 - 0x9118dff7 com.apple.DiskArbitration 2.3 (2.3) <E9C40767-DA6A-6CCB-8B00-2D5706753000> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x9118e000 - 0x9123cff3 com.apple.ink.framework 1.3.3 (107) <0AFEBD7C-D83C-7847-C075-9B427505F7F0> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x9123d000 - 0x91255ff7 com.apple.CFOpenDirectory 10.6 (10.6) <F9AFC571-3539-6B46-ABF9-46DA2B608819> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x91256000 - 0x9125dff7 com.apple.agl 3.0.12 (AGL-3.0.12) <6877F0D8-0DCF-CB98-5304-913667FF50FA> /System/Library/Frameworks/AGL.framework/Versions/A/AGL 0x9125e000 - 0x91306ffb com.apple.QD 3.36 (???) <FA2785A4-BB69-DCB4-3BA3-7C89A82CAB41> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x91343000 - 0x91346ff7 libCGXType.A.dylib 545.0.0 (compatibility 64.0.0) <B624AACE-991B-0FFA-2482-E69970576CE1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib 0x9135d000 - 0x9136eff7 com.apple.LangAnalysis 1.6.6 (1.6.6) <97511CC7-FE23-5AC3-2EE2-B5479FAEB316> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x913ee000 - 0x914a4ff7 libFontParser.dylib ??? (???) <33F62EE1-E457-C6FD-369E-E86745B94A4B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib 0x914f6000 - 0x9192bff7 libLAPACK.dylib 219.0.0 (compatibility 1.0.0) <5E2D2283-57DE-9A49-1DB0-CD027FEFA6C2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x9192c000 - 0x91986fe7 com.apple.CorePDF 1.3 (1.3) <696ADD5F-C038-A63B-4732-82E4109379D7> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF 0x91987000 - 0x91993ff7 libkxld.dylib ??? (???) <F0E915AD-6B32-0D5E-D24B-B188447FDD23> /usr/lib/system/libkxld.dylib 0x91994000 - 0x91994ff7 com.apple.CoreServices 44 (44) <51CFA89A-33DB-90ED-26A8-67D461718A4A> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x91995000 - 0x91a15feb com.apple.SearchKit 1.3.0 (1.3.0) <2F5DE102-A203-7905-7D12-FCBCF17BAEF8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x91b79000 - 0x91c7dfe7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <BDEFA030-5E75-7C47-2904-85AB16937F45> /usr/lib/libcrypto.0.9.8.dylib 0x91c7e000 - 0x91ca4ffb com.apple.DictionaryServices 1.1.2 (1.1.2) <43E1D565-6E01-3681-F2E5-72AE4C3A097A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x91cfc000 - 0x92067ff7 com.apple.QuartzCore 1.6.3 (227.34) <CC1C1631-D8D1-D416-171E-A1683274E479> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x921d8000 - 0x92403ff3 com.apple.QuartzComposer 4.2 ({156.28}) <08AF01DC-110D-9443-3916-699DBDED0149> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer 0x9250b000 - 0x9255cff7 com.apple.HIServices 1.8.1 (???) <51BDD848-32A5-2425-BE07-BD037A89630A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x9255d000 - 0x92560fe7 libmathCommon.A.dylib 315.0.0 (compatibility 1.0.0) <1622A54F-1A98-2CBE-B6A4-2122981A500E> /usr/lib/system/libmathCommon.A.dylib 0x92561000 - 0x925dcfff com.apple.AppleVAFramework 4.10.12 (4.10.12) <89C4EBE2-FE27-3160-0BD1-D0C2ED5F3605> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA 0x925dd000 - 0x9262dff7 com.apple.framework.familycontrols 2.0.1 (2010) <B9762E20-543D-13B9-F6BF-E8585F04CA01> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls 0x9262e000 - 0x92632ff7 IOSurface ??? (???) <D849E1A5-6B0C-2A05-2765-850EC39BA2FF> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x92638000 - 0x92a1effb com.apple.RawCamera.bundle 3.4.1 (546) <557C094F-BF8D-B298-E502-C4EE78914C55> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera 0x92a1f000 - 0x92a43ff7 libJPEG.dylib ??? (???) <46AF3A0F-2B8D-87B9-62D4-0905678A64DA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x92a4b000 - 0x92a91ff7 libauto.dylib ??? (???) <29422A70-87CF-10E2-CE59-FEE1234CFAAE> /usr/lib/libauto.dylib 0x92b0a000 - 0x92b10ff7 libCGXCoreImage.A.dylib 545.0.0 (compatibility 64.0.0) <DACD11D8-4B64-CD3B-C988-B1041E07D13A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXCoreImage.A.dylib 0x92c27000 - 0x92c2dfff com.apple.CommonPanels 1.2.4 (91) <2438AF5D-067B-B9FD-1248-2C9987F360BA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x92f9b000 - 0x92fb6ff7 libPng.dylib ??? (???) <E14178E0-B92D-94EA-DACB-04F346D7534C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x92fb7000 - 0x93030ff7 com.apple.PDFKit 2.5.1 (2.5.1) <2B62428D-0738-B499-C47C-3194B2967BD9> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versions/A/PDFKit 0x93031000 - 0x9306fff7 com.apple.QuickLookFramework 2.3 (327.6) <66955C29-0C99-D02C-DB18-4952AFB4E886> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook 0x93070000 - 0x93171fe7 libxml2.2.dylib 10.3.0 (compatibility 10.0.0) <AB3A3749-B577-1EB3-72DF-215E866F1168> /usr/lib/libxml2.2.dylib 0x93172000 - 0x931e5fff com.apple.iLifeMediaBrowser 2.1.5 (368) <30261504-7533-5424-DD15-32739DED6FB0> /System/Library/PrivateFrameworks/iLifeMediaBrowser.framework/Versions/A/iLifeMediaBrowser 0x931e6000 - 0x93206fe7 libresolv.9.dylib 41.0.0 (compatibility 1.0.0) <751955F3-21FB-A03A-4E92-1F3D4EFB8C5B> /usr/lib/libresolv.9.dylib 0x9325e000 - 0x9325eff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x9325f000 - 0x9325fff7 com.apple.quartzframework 1.5 (1.5) <CEB78F00-C5B2-3B3F-BF70-DD6D578719C0> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz 0x93260000 - 0x93264ff7 libGIF.dylib ??? (???) <DA5758A4-71B0-DD6E-7402-B7FB15387569> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x932a6000 - 0x933d5fe3 com.apple.audio.toolbox.AudioToolbox 1.6.5 (1.6.5) <0A0F68E5-4806-DB51-764B-D97554B801AD> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x933d6000 - 0x933f2fe3 com.apple.openscripting 1.3.1 (???) <480D41B6-F98E-8E21-CA3C-4CA6A9752D3D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x933f3000 - 0x93490fe3 com.apple.LaunchServices 362.1 (362.1) <ED243C3B-9A16-A6CB-CA51-5924F48569DE> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x9349b000 - 0x9349cff7 com.apple.audio.units.AudioUnit 1.6.5 (1.6.5) <BE4C2495-B758-AD22-DCC0-56A6791E948E> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x9349d000 - 0x934e1ff3 com.apple.coreui 2 (114) <E6096C79-94B0-730E-6070-3AE93B5678FE> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x934e2000 - 0x9358ffe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <22CD62D4-9E7D-C31A-F585-FCEF1FE4C39A> /usr/lib/libobjc.A.dylib 0x93590000 - 0x93622fe7 com.apple.print.framework.PrintCore 6.3 (312.7) <7410D1B2-655D-68DA-D4B9-2C65747B6817> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x93654000 - 0x945a6fef com.apple.QuickTimeComponents.component 7.6.6 (1756) /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponents 0x945a7000 - 0x94621fff com.apple.audio.CoreAudio 3.2.6 (3.2.6) <F7C9B01D-45AD-948B-2D26-9736524C1A33> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x94622000 - 0x94622ff7 liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib 0x94623000 - 0x94684fe7 com.apple.CoreText 3.5.0 (???) <BB50C045-25F5-65B8-B1DB-8CDAEF45EB46> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText 0x94685000 - 0x9497efef com.apple.QuickTime 7.6.6 (1756) <F08B13B6-31D7-BD18-DA87-A0CDFCF13B8F> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime 0x94a56000 - 0x94d76ff3 com.apple.CoreServices.CarbonCore 861.23 (861.23) <B08756E4-32C5-CC33-0268-7C00A5ED7537> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x94d77000 - 0x94db6ff7 com.apple.ImageCaptureCore 1.0.3 (1.0.3) <7E02D104-F31C-CF72-71B4-DA5DF7B48337> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore 0x94dc7000 - 0x94df8ff7 libGLImage.dylib ??? (???) <78F59EAB-BBD4-7366-CA84-970547501978> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x94fd6000 - 0x94fe4ff7 com.apple.opengl 1.6.11 (1.6.11) <286D1BC4-4CD8-3CD4-F723-5C196FE15FE0> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x94fe5000 - 0x94fe5ff7 com.apple.Accelerate 1.6 (Accelerate 1.6) <BC501C9F-7C20-961A-B135-0A457667D03C> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x94fe6000 - 0x94ff3ff7 com.apple.NetFS 3.2.1 (3.2.1) <E483137C-8239-E4DE-821C-05A9C22726AB> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS 0x94ff4000 - 0x95027ff7 com.apple.AE 496.4 (496.4) <582F5E9D-1B8E-6D03-EBB8-AA85F66253E2> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x95028000 - 0x9503cffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <0DBE17D5-17A2-8A0E-8572-5A78408B41C9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x95086000 - 0x95108ffb SecurityFoundation ??? (???) <3670AE8B-06DA-C447-EB14-79423DB9C474> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x95109000 - 0x95235ffb com.apple.MediaToolbox 0.484.20 (484.20) <D67788A2-B772-C5DB-B12B-173B2F8EE40B> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbox 0x95236000 - 0x95379fef com.apple.QTKit 7.6.6 (1756) <4D809734-4E1B-8E18-C825-86C5422FC3DC> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit 0x953b4000 - 0x953d5fe7 com.apple.opencl 12.3 (12.3) <DEA600BF-4F54-66B5-DB2F-DC57FD518543> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL 0x95427000 - 0x9574bfef com.apple.HIToolbox 1.6.3 (???) <0A5F56E2-9AF3-728D-70AE-429522AEAD8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x9574c000 - 0x95816fef com.apple.CoreServices.OSServices 357 (357) <CF9530AD-F581-B831-09B6-16D9F9283BFA> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x95891000 - 0x958f5ffb com.apple.htmlrendering 72 (1.1.4) <4D451A35-FAB6-1288-71F6-F24A4B6E2371> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x958f6000 - 0x958feff7 com.apple.DisplayServicesFW 2.3.0 (283) <48D94761-7340-D029-99E3-9BE0262FAF22> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices 0x958ff000 - 0x9590aff7 libGL.dylib ??? (???) <48405993-0AE9-292B-6705-C3525528682A> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x959f0000 - 0x95a39fe7 libTIFF.dylib ??? (???) <AC1FC806-F7F4-174B-375F-FE5D6008666C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x95a48000 - 0x95b25ff7 com.apple.vImage 4.0 (4.0) <64597E4B-F144-DBB3-F428-0EC3D9A1219E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x95b26000 - 0x95b28ff7 com.apple.securityhi 4.0 (36638) <38D36D4D-C798-6ACE-5FA8-5C001993AD6B> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x95c14000 - 0x95c22fe7 libz.1.dylib 1.2.3 (compatibility 1.0.0) <3CE8AA79-F077-F1B0-A039-9103A4A02E92> /usr/lib/libz.1.dylib 0x95c56000 - 0x95d62ff7 libGLProgrammability.dylib ??? (???) <8B308FAE-843F-EE76-0254-3374CBFFA7B3> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib 0x95d83000 - 0x95e2dfe7 com.apple.CFNetwork 454.11.5 (454.11.5) <D8963574-285A-3BD6-6B25-07D39C6F67A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x95e2e000 - 0x96244ff7 libBLAS.dylib 219.0.0 (compatibility 1.0.0) <C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x96245000 - 0x9624ffe7 com.apple.audio.SoundManager 3.9.3 (3.9.3) <5F494955-7290-2D91-DA94-44B590191771> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x9629f000 - 0x962dcff7 com.apple.SystemConfiguration 1.10.5 (1.10.2) <362DF639-6E5F-9371-9B99-81C581A8EE41> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x962e0000 - 0x9637bff7 com.apple.ApplicationServices.ATS 4.4 (???) <ECB16606-4DF8-4AFB-C91D-F7947C26040F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x9637c000 - 0x96c5cff7 com.apple.AppKit 6.6.7 (1038.35) <ABC7783C-E4D5-B848-BED6-99451D94D120> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x96c5d000 - 0x96c7ffef com.apple.DirectoryService.Framework 3.6 (621.9) <F2EEE9D7-D4FB-14F3-E647-ABD32754F557> /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryService 0x96c80000 - 0x96c84ff7 libGFXShared.dylib ??? (???) <C3A805C4-C0E5-B300-430A-7E811395CB8E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib 0x96c85000 - 0x96cf4ff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <5C3D7DA5-29EB-A745-E32B-26DBF547D532> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x96d95000 - 0x96d95ff7 com.apple.Carbon 150 (152) <9252D5F2-462D-2C15-80F3-109644D6F704> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x96d96000 - 0x96ff9fef com.apple.security 6.1.1 (37594) <1949216A-7583-B73A-6112-4D55CA5852E3> /System/Library/Frameworks/Security.framework/Versions/A/Security 0x96ffa000 - 0x97057ff7 com.apple.framework.IOKit 2.0 (???) <A769737F-E0D6-FB06-29B4-915CF4F43420> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x97059000 - 0x9705aff7 com.apple.TrustEvaluationAgent 1.1 (1) <07E7D892-5054-23A8-7144-3F19D3BFD48F> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent 0x97157000 - 0x9728eff7 com.apple.CoreAUC 6.04.04 (6.04.04) <050D9D16-AAE7-3460-4318-8449574F26C7> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC 0x9728f000 - 0x972fdff7 com.apple.QuickLookUIFramework 2.3 (327.6) <74706A08-5399-24FE-00B2-4A702A6B83C1> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI 0x97312000 - 0x97313ff7 com.apple.MonitorPanelFramework 1.3.0 (1.3.0) <0EC4EEFF-477E-908E-6F21-ED2C973846A4> /System/Library/PrivateFrameworks/MonitorPanel.framework/Versions/A/MonitorPanel 0x97314000 - 0x97356ff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <EF769BD0-63B6-B65D-FA54-8F2354CAD865> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x97357000 - 0x97510feb com.apple.ImageIO.framework 3.0.4 (3.0.4) <C145139E-24C4-5A3D-B17C-809D528354B2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x97511000 - 0x975c1ff3 com.apple.ColorSync 4.6.3 (4.6.3) <AA1076EA-7665-3005-A837-B661260DBE54> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x975c2000 - 0x975c2ff7 com.apple.vecLib 3.6 (vecLib 3.6) <7362077A-890F-3AEF-A8AB-22247B10E106> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x975fc000 - 0x976fefef com.apple.MeshKitIO 1.1 (49.2) <D0CBE997-5BDC-C0ED-B821-ACA6E6EE8B59> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshKitIO.framework/Versions/A/MeshKitIO 0x976ff000 - 0x97727ff7 libxslt.1.dylib 3.24.0 (compatibility 3.0.0) <769EF4B2-C1AD-73D5-AAAD-1564DAEA77AF> /usr/lib/libxslt.1.dylib 0x97760000 - 0x97792fe3 libTrueTypeScaler.dylib ??? (???) <6E9D1A50-330E-F1F4-F93D-9ECC8A61B21A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib 0x97793000 - 0x97793ff7 com.apple.Accelerate.vecLib 3.6 (vecLib 3.6) <1DEC639C-173D-F808-DE0D-4070CC6F5BC7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x978b0000 - 0x97906ff7 com.apple.MeshKitRuntime 1.1 (49.2) <B821BF19-0938-711C-7DC9-B8330DA01F77> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/Frameworks/MeshKitRuntime.framework/Versions/A/MeshKitRuntime 0x97907000 - 0x979c0fe7 libsqlite3.dylib 9.6.0 (compatibility 9.0.0) <52438E77-55D1-C231-1936-76F1369518E4> /usr/lib/libsqlite3.dylib 0x97a73000 - 0x97bf5fe7 libicucore.A.dylib 40.0.0 (compatibility 1.0.0) <35DB7644-0780-D2AB-F6A9-45F28D2D434A> /usr/lib/libicucore.A.dylib 0x97bf6000 - 0x97c1dff7 com.apple.quartzfilters 1.6.0 (1.6.0) <879A3B93-87A6-88FE-305D-DF1EAED04756> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework/Versions/A/QuartzFilters 0x97c1e000 - 0x97c6bfeb com.apple.DirectoryService.PasswordServerFramework 6.0 (6.0) <E2632F3E-6B5C-2E92-CD11-15BC0CE109CA> /System/Library/PrivateFrameworks/PasswordServer.framework/Versions/A/PasswordServer 0x97c96000 - 0x97c99ffb com.apple.help 1.3.1 (41) <EF92C648-2085-C085-8EA7-A1AF37AE94F4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x97d0a000 - 0x97eecfff com.apple.imageKit 2.0.3 (1.0) <B4DB05F7-01C5-35EE-7AB9-41BD9D63F075> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit 0x97eed000 - 0x97f45fe7 com.apple.datadetectorscore 2.0 (80.7) <F7416A84-E91C-5BDC-10E3-4940EB7AE5C9> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore 0x97f46000 - 0x97f4dff3 com.apple.print.framework.Print 6.1 (237.1) <F5AAE53D-5530-9004-A9E3-2C1690C5328E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x98248000 - 0x983efff7 libSystem.B.dylib 125.2.1 (compatibility 1.0.0) <62291026-D016-705D-DC1E-FC2B09D47DE5> /usr/lib/libSystem.B.dylib 0x983f0000 - 0x98bdf557 com.apple.CoreGraphics 1.545.0 (???) <1AB39678-00D5-FB88-3B41-93D78348E0DE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x98be0000 - 0x98bf2ff7 com.apple.MultitouchSupport.framework 207.10 (207.10) <E1A6F663-570B-CE54-0F8A-BBCCDECE3B42> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport 0x98c34000 - 0x98c6dff7 libcups.2.dylib 2.8.0 (compatibility 2.0.0) <D6F24434-8217-DF72-2126-1953080680D7> /usr/lib/libcups.2.dylib 0x98c6e000 - 0x98cb1ff7 libGLU.dylib ??? (???) <F8580594-0B38-F3ED-A715-CB3776B747A0> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x98cb2000 - 0x98eafff7 com.apple.JavaScriptCore 6533.19 (6533.19.1) <85A6BFDD-CBB6-7490-748D-8EA8B9B7FDD8> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x98eb0000 - 0x98ef7ffb com.apple.CoreMediaIOServices 133.0 (1158) <150A5F22-E7EC-9E8E-3B68-BAD75280EFC3> /System/Library/PrivateFrameworks/CoreMediaIOServices.framework/Versions/A/CoreMediaIOServices 0x98fe4000 - 0x99003ff7 com.apple.CoreVideo 1.6.2 (45.6) <EB53CAA4-5EE2-C356-A954-5775F7DDD493> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x99017000 - 0x99058ff7 libRIP.A.dylib 545.0.0 (compatibility 64.0.0) <16DAE1A5-937A-1CA2-D98F-2AF958B62993> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x99059000 - 0x9905eff7 com.apple.OpenDirectory 10.6 (10.6) <C1B46982-7D3B-3CC4-3BC2-3E4B595F0231> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x9905f000 - 0x9906fff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib 0x99070000 - 0x9907bff7 libCSync.A.dylib 545.0.0 (compatibility 64.0.0) <CB2510BD-A5B3-9D90-5917-C73F6ECAC913> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x99089000 - 0x99164feb com.apple.DesktopServices 1.5.9 (1.5.9) <CED00AC1-924B-0E45-7D5E-1CEA8929F5BE> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x99165000 - 0x991a9fe7 com.apple.Metadata 10.6.3 (507.12) <8632684D-ED4C-4CE1-4C53-015DFF10D873> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x991aa000 - 0x991baff7 com.apple.DSObjCWrappers.Framework 10.6 (134) <81A0B409-3906-A98F-CA9B-A49E75007495> /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWrappers 0x991bb000 - 0x99674ffb com.apple.VideoToolbox 0.484.20 (484.20) <E7B9F015-2569-43D7-5268-375ED937ECA5> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbox 0x996b6000 - 0x99720fe7 libstdc++.6.dylib 7.9.0 (compatibility 7.0.0) <411D87F4-B7E1-44EB-F201-F8B4F9227213> /usr/lib/libstdc++.6.dylib 0x99721000 - 0x99764ff7 com.apple.NavigationServices 3.5.4 (182) <ED268D94-E544-5548-AA59-7EC70DCB5EE4> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x99968000 - 0x99a00fe7 edu.mit.Kerberos 6.5.10 (6.5.10) <8B83AFF3-C074-E47C-4BD0-4546EED0D1BC> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x99a01000 - 0x99a31ff7 com.apple.MeshKit 1.1 (49.2) <0828CB45-3CC6-9A9E-070A-141A30F534E3> /System/Library/PrivateFrameworks/MeshKit.framework/Versions/A/MeshKit 0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <62291026-D016-705D-DC1E-FC2B09D47DE5> /usr/lib/libSystem.B.dylib |
Now I run the VM in debug with XCode and the problem is in the incrementalGC :( when it calls the function updatePointersInRangeFromto(). In one point it tries to do: newOop = longAt(fwdBlock3); but fwdBlock3 value is -8 So...the longAt calls longAtPointer(pointerForOop(oop)) and here it crash because the pointer of -8 is 0xfffffff8 in summary static inline sqInt longAtPointer(char *ptr) { return (sqInt)(*((sqInt *)ptr)); } fails because ptr is 0xfffffff8 This is as much as I could go :( I will try to continue. Thanks in advance Mariano On Wed, Dec 1, 2010 at 12:36 AM, Mariano Martinez Peck <[hidden email]> wrote: Hi...as you may read in another thread....I am playing around with CompiledMethods and putting proxies for them. In my tests, everything goes well. But now, I am trying to automatically swap out all unused methods. |
Well somehow you've picked -8 as a oops address. That as you see leads to disaster. If you are using a 64bit binary executable then the oops address will range from zero to image size as a 32bit value and we add on the memory offset where the mmap actually has put the image memory. If you are using a 32bit binary executable then the oops address zero is remapped to the start of the mmap. In the macintosh & iOS VM I took care to ensure it was mmapped to a starting address of (I can't remember) 512MB. Usually that means when you startup an image that was saved on a Macintosh or iOS platform it would not have to swizzle the offset thus skipping a entire pass thru the image. Other platforms may differ in that choice. For this problem start looking where you store a -8 You might of course put a check in longAtput & oopAtput to see who & when you storing a -8. On 2010-12-01, at 2:12 AM, Mariano Martinez Peck wrote: Now I run the VM in debug with XCode and the problem is in the incrementalGC :( -- =========================================================================== John M. McIntosh <[hidden email]> Twitter: squeaker68882 Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com =========================================================================== |
Free forum by Nabble | Edit this page |