Still having problems with Mac OSX

Archives Forums/MacOS X Discussion/Still having problems with Mac OSX

PhotonTom(Posted 2015) [#1]
Hi again.
I'm having problems with trying to get mac setup again. I've finally managed to get all modules to compile but now my linker is complaining of duplicate symbols:
duplicate symbol _main in:
    /Users/tom/Documents/BlitzMax/mod/bah.mod/freeimage.mod/freeimage.release.mt.macos.x86.a(mkg3states.c.release.mt.macos.x86.o)
    /Users/tom/Documents/BlitzMax/mod/brl.mod/appstub.mod/appstub.release.mt.macos.x86.a(appstub.macos.m.release.mt.macos.x86.o)
ld: 1 duplicate symbol for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Build Error: Failed to link /Volumes/gameManager/GameManagerV4/Code/PhotonManager.mt.app/Contents/MacOS/PhotonManager.mt
Process complete


Any ideas?
(Mavericks, Carrying on my woes from this thread: http://www.blitzbasic.com/Community/posts.php?topic=104583)


Brucey(Posted 2015) [#2]
The latest version from May 20, fixes a couple of imports which shouldn't have been there : https://github.com/maxmods/bah.mod/commit/89c7fca5afd297e5c0bf920467f5512ecf122937#diff-1d654fc3bbbac9e89542355aa4de35d8

If you comment out those lines and rebuild, you should be good to go.


PhotonTom(Posted 2015) [#3]
Ah that fixed it.

My woes continue :P
Any idea why I get this error
Process:         untitled1.debug.mt [5438]
Path:            /Users/USER/Documents/*/untitled1.debug.mt.app/Contents/MacOS/untitled1.debug.mt
Identifier:      untitled1.debug.mt
Version:         ???
Code Type:       X86 (Native)
Parent Process:  bmk [5430]
Responsible:     MaxIDE [3875]
User ID:         501

Date/Time:       2015-07-08 10:26:57.116 -0700
OS Version:      Mac OS X 10.9.5 (13F34)
Report Version:  11
Anonymous UUID:  D136EAC9-C768-8CC0-3A5B-127A059B10EF


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called
*** error for object 0xffffffff: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x9ac03952 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x94f3c167 pthread_kill + 101
2   libsystem_c.dylib             	0x962cf29c abort + 155
3   libsystem_malloc.dylib        	0x987e3dab free + 419
4   untitled1.debug.mt            	0x001b0238 bbMemFree + 24 (blitz_memory.c:33)
5   untitled1.debug.mt            	0x000e3bda _bah_regex_TRegEx_Delete + 31
6   untitled1.debug.mt            	0x001b69e4 collectMem + 532 (blitz_gc_ms.c:382)
7   untitled1.debug.mt            	0x001b642f allocMem + 111 (blitz_gc_ms.c:208)
8   untitled1.debug.mt            	0x001b667a bbGCAllocObject + 58 (blitz_gc_ms.c:500)
9   untitled1.debug.mt            	0x001b297d bbStringConcat + 61 (blitz_string.c:101)
10  untitled1.debug.mt            	0x000e27fa 453 + 147
11  untitled1.debug.mt            	0x000e287d 460 + 27
12  untitled1.debug.mt            	0x000e2aa0 477 + 15
13  untitled1.debug.mt            	0x000e2f9c 512 + 39
14  untitled1.debug.mt            	0x000e3122 515 + 12
15  untitled1.debug.mt            	0x000022d0 40 + 51
16  untitled1.debug.mt            	0x000020bd 24 + 250
17  untitled1.debug.mt            	0x000e1602 4 + 25
18  untitled1.debug.mt            	0x000e3a3e run + 78 (appstub.macos.m:52)
19  untitled1.debug.mt            	0x000e35eb -[BlitzMaxAppDelegate applicationDidFinishLaunching:] + 267
20  com.apple.Foundation          	0x992459f2 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke + 49
21  com.apple.CoreFoundation      	0x99fa05a4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
22  com.apple.CoreFoundation      	0x99e8204b _CFXNotificationPost + 3435
23  com.apple.Foundation          	0x992344df -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
24  com.apple.AppKit              	0x95276575 -[NSApplication _postDidFinishNotification] + 367
25  com.apple.AppKit              	0x95276215 -[NSApplication _sendFinishLaunchingNotification] + 239
26  com.apple.AppKit              	0x95272b44 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 840
27  com.apple.AppKit              	0x95272431 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 277
28  libobjc.A.dylib               	0x92387304 -[NSObject performSelector:withObject:withObject:] + 77
29  com.apple.Foundation          	0x9925473a __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke + 121
30  com.apple.Foundation          	0x99254271 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 430
31  com.apple.Foundation          	0x9925407b _NSAppleEventManagerGenericHandler + 218
32  com.apple.AE                  	0x9abc8b15 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 387
33  com.apple.AE                  	0x9ab97ed6 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
34  com.apple.AE                  	0x9ab97dce aeProcessAppleEvent + 318
35  com.apple.HIToolbox           	0x91328571 AEProcessAppleEvent + 55
36  com.apple.AppKit              	0x9526e148 _DPSNextEvent + 1089
37  com.apple.AppKit              	0x9526d870 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
38  com.apple.AppKit              	0x9526015c -[NSApplication run] + 727
39  untitled1.debug.mt            	0x000e39d5 main + 997 (appstub.macos.m:131)
40  untitled1.debug.mt            	0x00001f65 start + 53

Thread 1:
0   libsystem_kernel.dylib        	0x9ac04046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x94f3cdcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x94f40cce start_wqthread + 30

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib        	0x9ac04992 kevent64 + 10
1   libdispatch.dylib             	0x9a078899 _dispatch_mgr_invoke + 238
2   libdispatch.dylib             	0x9a078532 _dispatch_mgr_thread + 52

Thread 3:
0   libsystem_kernel.dylib        	0x9ac04046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x94f3cdcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x94f40cce start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib        	0x9ac04046 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x94f3cdcf _pthread_wqthread + 372
2   libsystem_pthread.dylib       	0x94f40cce start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00000000  ecx: 0xbfffea1c  edx: 0x9ac03952
  edi: 0xa08b91a8  esi: 0x00000006  ebp: 0xbfffea38  esp: 0xbfffea1c
   ss: 0x00000023  efl: 0x00000206  eip: 0x9ac03952   cs: 0x0000000b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x006e9000
  
Logical CPU:     0
Error Code:      0x00080148
Trap Number:     132


Binary Images:
    0x1000 -   0x1f3ffb +untitled1.debug.mt (???) <705DA809-DEFA-379D-8A62-E74DE3169FDB> /Users/USER/Documents/*/untitled1.debug.mt.app/Contents/MacOS/untitled1.debug.mt
 0x304a000 -  0x3071ff7  com.apple.audio.OpenAL (1.7 - 1.7) <E17E6E36-968C-37A3-929C-53B78E28862E> /System/Library/Frameworks/OpenAL.framework/OpenAL
0x8fe09000 - 0x8fe3b417  dyld (239.4) <0F2176BD-4239-3506-BA41-3B885269520E> /usr/lib/dyld
0x90025000 - 0x90031ff7  com.apple.OpenDirectory (10.9 - 173.90.1) <D50773D6-A261-390E-B159-0C161EA7C457> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x90032000 - 0x90070ff7  com.apple.NavigationServices (3.8 - 215) <A093AAF0-248E-313E-BA82-01F69E269895> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x90071000 - 0x90072fff  libremovefile.dylib (33) <ED35EA79-EB06-3B84-A6D4-B1A9D6B8648D> /usr/lib/system/libremovefile.dylib
0x90091000 - 0x9009fff7  libz.1.dylib (53) <858B4D9F-D87E-3D81-B07A-DF9632BD185F> /usr/lib/libz.1.dylib
0x900a0000 - 0x900a4ffe  libCoreVMClient.dylib (58.1) <0EB8FFD7-AFED-3A63-810E-29629831D43D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x9029b000 - 0x9029cffa  libsystem_sandbox.dylib (278.11.1) <DA875837-A5C2-3004-8117-65F378E4BD03> /usr/lib/system/libsystem_sandbox.dylib
0x9029d000 - 0x902b9fff  libCRFSuite.dylib (34) <FFF76EBA-DF35-3A5F-857F-3F4B1C9F4C77> /usr/lib/libCRFSuite.dylib
0x902ba000 - 0x902bbfff  liblangid.dylib (117) <F18F76C6-7E4B-34AD-AE81-C1C031BF2F7D> /usr/lib/liblangid.dylib
0x902bc000 - 0x902c0ffc  com.apple.IOSurface (91.1 - 91.1) <70637267-4D54-3EFF-A929-54FC0A8A907A> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x902c1000 - 0x905b6ffc  com.apple.CoreImage (9.4.0) <33696A53-9E18-32D6-844F-28098DB7E426> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x905b7000 - 0x9062cff1  com.apple.ApplicationServices.ATS (360 - 363.3) <FD423680-01A1-357A-89A7-33910A87DE65> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x9062d000 - 0x9063bff7  com.apple.Sharing (132.2 - 132.2) <87DBFC7A-9689-3B8E-AD16-5A9DFF9DE625> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x90646000 - 0x90647fff  libsystem_blocks.dylib (63) <2AC67D5E-ECD4-3644-A53C-9684F9B7AA33> /usr/lib/system/libsystem_blocks.dylib
0x90648000 - 0x90648fff  com.apple.ApplicationServices (48 - 48) <7967F6FA-2984-3CC3-AD9A-7B9AEC562A2A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90649000 - 0x9066dfff  libJPEG.dylib (1044) <8501702E-37C9-35F6-8342-037337CCD837> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x9066e000 - 0x90672ff7  libmacho.dylib (845) <D8E93E59-1F80-3413-B9CF-78B848F6E873> /usr/lib/system/libmacho.dylib
0x90673000 - 0x9069bfff  libsystem_info.dylib (449.1.3) <BB68E8CC-422F-3121-8C86-D0F766FB696D> /usr/lib/system/libsystem_info.dylib
0x9069c000 - 0x9069cffd  com.apple.audio.units.AudioUnit (1.10 - 1.10) <9515158F-3A33-39CF-AD5A-201C2B121F33> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x906a5000 - 0x906a5fff  com.apple.CoreServices (59 - 59) <06747539-5035-3307-8645-9BC4E7F89023> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x9077f000 - 0x907ceff9  com.apple.HIServices (1.23 - 468) <E8F6C5CD-F96C-3E81-B8B4-2811BBAC222F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x907cf000 - 0x907d3fff  com.apple.CommonPanels (1.2.6 - 96) <E7CA63C6-CEE9-3F0A-93A7-C12C653FFB80> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x907d4000 - 0x90870fff  com.apple.QD (3.50 - 298) <F73FD4D4-17A4-37D6-AC06-7CA5A8BA1212> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x90871000 - 0x908aeffb  libGLImage.dylib (9.6.1) <E2DADD8A-8A60-3F39-840B-4B7FE7001384> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x908fc000 - 0x90993ff7  com.apple.ink.framework (10.9 - 207) <EF00BCCB-B270-3F3D-9424-EF5F4BC23E25> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x912ef000 - 0x91664ff9  com.apple.HIToolbox (2.1.1 - 698) <392738F0-322F-3C80-BEF7-138AFB124C35> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x91912000 - 0x9192eff9  com.apple.Ubiquity (1.3 - 289) <1CEDC83D-7282-3B4D-8CF7-4FE045012391> /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity
0x9192f000 - 0x9194aff6  libPng.dylib (1044) <D90105D1-B8AD-3649-A798-DA567D1C5B3A> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x9194b000 - 0x919acff7  com.apple.Symbolication (1.4 - 129.0.2) <FB0121DF-F27B-39A3-92CA-B46981D322D5> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x919ad000 - 0x919b6fff  com.apple.DiskArbitration (2.6 - 2.6) <92F7575A-AA20-34D9-BB26-2CC8C3CCAFEB> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x919b7000 - 0x91ab5fff  libJP2.dylib (1044) <E8873182-8B75-34A5-A104-BED94B0C6BF6> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x91c8e000 - 0x91c99fff  com.apple.CrashReporterSupport (10.9 - 539) <10FE9B2D-404F-32B8-B3CA-CBA3524B4CFF> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x91e3d000 - 0x91e45ffe  libGFXShared.dylib (9.6.1) <D1A3DB40-7F78-36A9-A4FB-BC1A875F94DC> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x91e46000 - 0x91ea2ffa  com.apple.print.framework.PrintCore (9.0 - 428) <3E248391-2669-328B-B84F-8763FE8E92BB> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x91ea3000 - 0x91ea7ffa  libGIF.dylib (1044) <075D0A69-DEEC-3712-93F7-DC78FECCC0FF> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x91ea8000 - 0x91eb1fff  com.apple.audio.SoundManager (4.1 - 4.1) <68B7CEB7-AF09-3E24-8548-6ABF065B5186> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x91f15000 - 0x91fadff7  com.apple.Metadata (10.7.0 - 800.28) <8AF73B57-0FC2-3A11-9216-6A70D3C6A9EB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x91fae000 - 0x91ffefff  com.apple.opencl (2.3.59 - 2.3.59) <CE95AA26-7AE6-3692-8291-8268BBB976D1> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x92002000 - 0x9210fff7  com.apple.ImageIO.framework (3.3.0 - 1044) <D48549F6-CD49-30FA-A4CD-85166A66D830> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x92141000 - 0x921d2fff  com.apple.ColorSync (4.9.0 - 4.9.0) <8366AE10-0396-3100-B87A-A176E8ECE7B6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x921d3000 - 0x92226fff  com.apple.htmlrendering (77 - 1.1.4) <408FA30F-4FE9-3162-9FFD-677E8569C1EA> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x92227000 - 0x92263ff4  com.apple.RemoteViewServices (2.0 - 94) <BEEE6ADF-7DA3-3D68-BCB0-9863BE1A1F46> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x922f7000 - 0x92304fff  com.apple.AppleFSCompression (56.92.1 - 1.0) <D2E7A2DF-9E5B-35E6-9CCD-0D40ADA7E021> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
0x9236d000 - 0x925154af  libobjc.A.dylib (551.1) <31CBE178-E972-30D1-ADC6-4B8345CAE326> /usr/lib/libobjc.A.dylib
0x9263a000 - 0x92647fff  com.apple.Librarian (1.2 - 1) <F85681E3-3398-327B-829B-1D8078C38C22> /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian
0x92801000 - 0x92974ffb  com.apple.audio.toolbox.AudioToolbox (1.10 - 1.10) <4248C0FE-F872-34AB-9402-0045D5CD0CC1> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x92975000 - 0x92c5ffd2  com.apple.vImage (7.0 - 7.0) <256972F0-3DBC-3CE1-9EE8-B48243868729> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x92c60000 - 0x92c63ff9  com.apple.TCC (1.0 - 1) <A5FCF7AA-3F56-3A19-9DF1-661F1F02F79D> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x92c64000 - 0x92c74ff5  com.apple.LangAnalysis (1.7.0 - 1.7.0) <71DE7754-0A47-3F35-B1BF-B1FE7E1311E0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x92c75000 - 0x92c83ff3  com.apple.opengl (9.6.1 - 9.6.1) <E9135C1E-4F15-3978-96FA-AA3EA0FE9CBE> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x92c84000 - 0x92d47ff1  com.apple.CoreText (367.20 - 367.20) <42445623-3BDD-3678-8B46-845C441B6251> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x9329a000 - 0x932a9fff  libGL.dylib (9.6.1) <885E9C1F-11C7-347D-BE10-522A40A46596> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x932aa000 - 0x93396ff7  libxml2.2.dylib (26) <32040145-6FD6-3AD2-B98B-39F73BF9AC47> /usr/lib/libxml2.2.dylib
0x93397000 - 0x933aafff  com.apple.ImageCapture (9.0 - 9.0) <63D5C96F-1893-3F35-ADFB-EE451AFD87E6> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x933db000 - 0x933dcffd  libunc.dylib (28) <22A126A1-DCFB-3BE5-A66B-C973F0A5D839> /usr/lib/system/libunc.dylib
0x93471000 - 0x93471fff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <DDAC0B59-F886-3AB1-98E8-C71FFF161CD4> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x93472000 - 0x934fcff7  com.apple.CoreSymbolication (3.0.1 - 141.0.5) <996E5777-1F98-3841-9614-5FC5E03589E3> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x934fd000 - 0x93521ff7  libxpc.dylib (300.90.2) <5ACBBE2C-74EB-3E88-BCBF-C573095318A5> /usr/lib/system/libxpc.dylib
0x93522000 - 0x93956ff7  com.apple.vision.FaceCore (3.0.0 - 3.0.0) <5B12F3E9-84F6-3183-B85D-FD19EF800ADB> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x93957000 - 0x93982ff7  libsystem_network.dylib (241.3) <71EBA489-386D-3608-ADE6-CB50EBD1AB1B> /usr/lib/system/libsystem_network.dylib
0x94839000 - 0x94970fff  com.apple.desktopservices (1.8.3 - 1.8.3) <3574872B-435C-3AB8-A453-02A33A771CDB> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x94988000 - 0x94c89ffb  com.apple.CoreServices.CarbonCore (1077.17 - 1077.17) <02C72D54-E3D3-32B0-A081-E85A7038489D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x94c8a000 - 0x94ca5ff5  com.apple.openscripting (1.4 - 157) <5C161A52-8D2F-3D56-A988-05727BED7A59> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x94ca6000 - 0x94cd4ff3  com.apple.DebugSymbols (106 - 106) <FC70F4C9-B2A6-352F-9563-6C085E9DDDB8> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x94cd5000 - 0x94f39ff7  com.apple.CoreData (107 - 481.3) <8EB45FB9-CF78-36E1-919C-E976AE4C8146> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x94f3a000 - 0x94f41ffb  libsystem_pthread.dylib (53.1.4) <8B1B7B84-1B5D-32A8-AC0D-1E689E5C8A4C> /usr/lib/system/libsystem_pthread.dylib
0x9523c000 - 0x95245ff7  libsystem_notify.dylib (121.20.1) <4D3293AC-1CEF-347A-987F-2314AF3CC6EA> /usr/lib/system/libsystem_notify.dylib
0x95246000 - 0x95e64ff3  com.apple.AppKit (6.9 - 1265.21) <1D31697B-6F33-3239-BACE-5D1361B1F79A> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x95ed5000 - 0x95f2afff  libc++.1.dylib (120) <10C0A136-64F9-3CC2-9420-013247032120> /usr/lib/libc++.1.dylib
0x95f2b000 - 0x95f31ffb  libunwind.dylib (35.3) <099D1A6F-A1F0-3D05-BF1C-0A7BB32D39C2> /usr/lib/system/libunwind.dylib
0x95f89000 - 0x95fa2fff  com.apple.Kerberos (3.0 - 1) <91F17EB2-C70C-359C-B09D-96B52D2A9C9F> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x95fa3000 - 0x95fefff7  libcups.2.dylib (372.4) <A11AA954-07E7-3929-84AB-309B0C0DDB5D> /usr/lib/libcups.2.dylib
0x95ff0000 - 0x9619cfff  com.apple.QuartzCore (1.8 - 332.3) <1A14CA72-68A2-3970-BFF6-3D36339496FB> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x96265000 - 0x96266ffc  com.apple.TrustEvaluationAgent (2.0 - 25) <064B485D-56E0-3DD7-BBE2-E08A5BFFF8B3> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x96272000 - 0x96304ff9  libsystem_c.dylib (997.90.3) <80D21D3D-1031-314C-B1F0-0B35B977CEFB> /usr/lib/system/libsystem_c.dylib
0x9641d000 - 0x96453fff  com.apple.IconServices (25 - 25.17) <A4B5242B-765E-3D58-B066-BBEDB5947AAD> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x96457000 - 0x96457fff  com.apple.Cocoa (6.8 - 20) <407DC9E6-BBCE-3D34-9BBB-00C90584FFDF> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x96458000 - 0x9649afff  libGLU.dylib (9.6.1) <0655104D-2F22-36CE-955B-52A533CA70D5> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x9649b000 - 0x964a3fff  liblaunch.dylib (842.92.1) <C180016C-F2DB-3D8B-A72D-5185CE67DFA2> /usr/lib/system/liblaunch.dylib
0x964a4000 - 0x965b6ffc  libsqlite3.dylib (158) <B3DB0FED-FE4C-314D-8329-CF7708C8AAF4> /usr/lib/libsqlite3.dylib
0x965b7000 - 0x9669dfff  com.apple.coreui (2.2 - 231.1) <17E75125-8D14-30EF-B7A7-662A56B0F4B3> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x9669e000 - 0x966a3ff7  com.apple.print.framework.Print (9.0 - 260) <A6C465F6-C5D1-353A-9F33-19B9CEDBBC2A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x96743000 - 0x96780ff7  libauto.dylib (185.5) <CD008E66-4A0C-35F5-8D72-80D76A716A03> /usr/lib/libauto.dylib
0x96781000 - 0x969faff2  com.apple.security (7.0 - 55471.14.18) <7A58D9DE-D68B-37F7-87EF-4A3575DA09B7> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x969fe000 - 0x96a09ff6  com.apple.NetAuth (5.0 - 5.0) <3B2E9615-EE12-38FC-BDCF-09529FF9464B> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x96a0a000 - 0x96a0afff  com.apple.Accelerate (1.9 - Accelerate 1.9) <C85070A7-D942-3CFA-981F-5864480788C8> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x96c78000 - 0x96c90ff7  com.apple.CFOpenDirectory (10.9 - 173.90.1) <7F3A0094-3A24-302C-9B64-C32C65750EDE> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x96cb2000 - 0x97077ff6  libLAPACK.dylib (1094.5) <E6286E68-3501-31AC-813E-75B3B3968011> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x97078000 - 0x970a4ff7  com.apple.DictionaryServices (1.2 - 208) <33873336-BECD-3F62-A315-C45F24C1818C> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x970a5000 - 0x970a5ffd  libOpenScriptingUtil.dylib (157) <4D06E8ED-D312-34EA-A448-DFF45ADC3CE5> /usr/lib/libOpenScriptingUtil.dylib
0x970a6000 - 0x970d6ff7  com.apple.CoreServicesInternal (184.9 - 184.9) <999FEDEC-7657-3F32-A9AE-F29E0BE0AAF5> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
0x970e5000 - 0x970effff  com.apple.bsd.ServiceManagement (2.0 - 2.0) <B84F3916-236A-347B-9C1F-3DE571496737> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x970f0000 - 0x9715bfff  com.apple.Heimdal (4.0 - 2.0) <D6465D74-9351-3FF3-9561-AC149AEDB86F> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x9715c000 - 0x97165ffc  com.apple.CommonAuth (4.0 - 2.0) <99219CEB-D340-3E1F-9C04-FD0FA700BD67> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x97294000 - 0x97340ffb  libvMisc.dylib (423.32) <43873EFF-FB43-3301-BEE8-F2C3A046D7A6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x9742d000 - 0x97439ffc  libbz2.1.0.dylib (29) <3CEF1E92-BA42-3F8A-8E8D-9E1F7658E5C7> /usr/lib/libbz2.1.0.dylib
0x9743a000 - 0x97465ff5  com.apple.ChunkingLibrary (2.0 - 155.1) <50BBBBF8-F30B-39EA-A512-11A47F429F2C> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x97466000 - 0x9746ffff  com.apple.speech.recognition.framework (4.2.4 - 4.2.4) <CF8E5706-F744-3139-8A51-D52BF055D19F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x97470000 - 0x97475ff3  libsystem_platform.dylib (24.90.1) <0613F163-9A7A-3908-B30B-AC1627503933> /usr/lib/system/libsystem_platform.dylib
0x97476000 - 0x9747dff2  com.apple.NetFS (6.0 - 4.0) <915AA303-C02B-3B0C-8208-D8AAA4350DB4> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x9752a000 - 0x9752afff  com.apple.Carbon (154 - 157) <6C29C608-97B4-306E-AEC5-6F48EDF7EFB5> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x97650000 - 0x9766dffb  libresolv.9.dylib (54) <3EC12A7F-6BA1-3976-9F1F-6A4B76303028> /usr/lib/libresolv.9.dylib
0x97679000 - 0x97685fff  libkxld.dylib (2422.115.4) <8B183287-E46E-3810-AA93-7A83E4BBEA2E> /usr/lib/system/libkxld.dylib
0x97686000 - 0x976f9fff  com.apple.SearchKit (1.4.0 - 1.4.0) <6F607AB6-7553-37BA-BEC5-98FD7C27FAD7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x97749000 - 0x9774bfff  libsystem_configuration.dylib (596.15) <E49AAD29-35C2-3EE2-AF4D-59514C4B478F> /usr/lib/system/libsystem_configuration.dylib
0x9774c000 - 0x9781cfef  libvDSP.dylib (423.32) <E2FA7230-A001-3F6B-9ACF-6998C51AD7DC> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x9787c000 - 0x97880ffc  libpam.2.dylib (20) <50623D44-795F-3E28-AA85-23E0E7E2AE0E> /usr/lib/libpam.2.dylib
0x97884000 - 0x978faff3  com.apple.securityfoundation (6.0 - 55122.3) <DFA5E047-2B68-3CE8-B9C3-D19E6F2461CB> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x97925000 - 0x9794ffff  libxslt.1.dylib (13) <249D54AB-1D82-38FE-ABEC-0D575450C73B> /usr/lib/libxslt.1.dylib
0x97956000 - 0x979bffff  com.apple.SystemConfiguration (1.13.1 - 1.13.1) <68986435-5B12-370A-9408-0282D176279F> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x979d6000 - 0x979e0ff7  com.apple.speech.synthesis.framework (4.7.1 - 4.7.1) <C4CC55E5-6CC4-307E-9499-AF89A6463AF4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x97d09000 - 0x97d1bfff  libsystem_asl.dylib (217.1.4) <51EB17C9-9F5B-39F3-B6CD-8EF238B05B89> /usr/lib/system/libsystem_asl.dylib
0x97d25000 - 0x97d37fff  libbsm.0.dylib (33) <1BE92DB5-0D2F-3BB5-BCC6-8A71EF2A3450> /usr/lib/libbsm.0.dylib
0x97d38000 - 0x97d3bff7  com.apple.help (1.3.3 - 46) <AB6292FA-D3BC-3D56-B3A5-2BE630A503E7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x987d3000 - 0x987ebff7  libsystem_malloc.dylib (23.10.1) <CB52555E-0F5B-31E3-A42A-FD4F930E2192> /usr/lib/system/libsystem_malloc.dylib
0x9901c000 - 0x99027ffb  libcommonCrypto.dylib (60049) <F8E60C43-22EE-3E0B-9546-3365056901F1> /usr/lib/system/libcommonCrypto.dylib
0x99028000 - 0x99068ff7  com.apple.bom (14.0 - 193.1) <FFF1C8E5-41FF-357B-8681-69B21DCED2E4> /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x99069000 - 0x99069fff  libkeymgr.dylib (28) <1B097DEA-011E-3B1C-86D5-6C7FAD5C765A> /usr/lib/system/libkeymgr.dylib
0x9906a000 - 0x99230ffb  libicucore.A.dylib (511.35) <D14DF7FE-7DE3-36C6-A46D-18C3978827A5> /usr/lib/libicucore.A.dylib
0x99231000 - 0x9955effe  com.apple.Foundation (6.9 - 1056.16) <F4D43475-9915-3552-B8E1-4F3E1C9E5394> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x9955f000 - 0x995b4ff7  com.apple.audio.CoreAudio (4.2.1 - 4.2.1) <CB06B746-9EB1-3972-A798-A139E15F5ACC> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x995b5000 - 0x9960effa  libTIFF.dylib (1044) <EC7E978B-3A38-3696-AAB6-A32221952C69> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x9960f000 - 0x99640ffa  libsystem_m.dylib (3047.16) <28E614E8-7802-3E84-960A-AD4721EF10F7> /usr/lib/system/libsystem_m.dylib
0x99641000 - 0x99735fff  libFontParser.dylib (111.1) <D8F9B2A4-41A6-3407-8D80-13A841F97BE5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x99e3a000 - 0x99e3fff6  libcompiler_rt.dylib (35) <9924DF2E-D80B-3A21-920D-544A4597203F> /usr/lib/system/libcompiler_rt.dylib
0x99e40000 - 0x99e71ffb  com.apple.GSS (4.0 - 2.0) <145B389F-AC1E-3817-835D-8EA263E96EA5> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x99e72000 - 0x9a074fff  com.apple.CoreFoundation (6.9 - 855.17) <E382BBB6-4F41-3959-ADC7-238BE49A2155> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x9a075000 - 0x9a08dffd  libdispatch.dylib (339.92.1) <7E7A88BF-74B3-363B-B534-6F757DF2DDE3> /usr/lib/system/libdispatch.dylib
0x9a08e000 - 0x9a0a2ff9  com.apple.MultitouchSupport.framework (245.13.1 - 245.13.1) <6DDC6828-879B-3F7F-9458-8F57713104B5> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x9a0a3000 - 0x9a0a4fff  libSystem.B.dylib (1197.1.1) <6BDF4FCA-2E77-3F74-ADB2-54049B426E32> /usr/lib/libSystem.B.dylib
0x9a0ab000 - 0x9a201ff0  libBLAS.dylib (1094.5) <74310C2F-4FDB-3995-A01A-5AFB83010A43> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9a202000 - 0x9a204ffe  libCVMSPluginSupport.dylib (9.6.1) <DCEA5FE5-AC05-3B1A-B87E-1FB8E0CAAFFF> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x9ab2e000 - 0x9ab30fff  com.apple.securityhi (9.0 - 55005) <7B106CFE-C811-3350-B4E7-F5763F6B698F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x9ab31000 - 0x9ab79fff  com.apple.PerformanceAnalysis (1.47 - 47) <8041F84A-EC6F-3B5E-831E-87F6BCFB7073> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x9ab8d000 - 0x9abebffd  com.apple.AE (665.5 - 665.5) <54F2F247-160C-3A22-A6E3-5D49655A67AB> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9abec000 - 0x9ac09ff4  libsystem_kernel.dylib (2422.115.4) <011434BC-0EFD-35E9-B76D-A22B76DC83DC> /usr/lib/system/libsystem_kernel.dylib
0x9ac0a000 - 0x9ac0effa  libcache.dylib (62) <9730D7F2-D226-3F30-8D26-BF598CB781F6> /usr/lib/system/libcache.dylib
0x9ac0f000 - 0x9ac29ff7  com.apple.GenerationalStorage (2.0 - 160.3) <D39634C9-93BF-3C74-828B-4809EF895DA0> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x9ac2a000 - 0x9acaaff7  com.apple.CoreServices.OSServices (600.4 - 600.4) <53C9C33B-B000-37FD-8C8F-C86F29F058F0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x9acab000 - 0x9acfcff1  libstdc++.6.dylib (60) <354F284B-2343-3810-9CA2-E28038824F6E> /usr/lib/libstdc++.6.dylib
0x9ad4c000 - 0x9ada2ff6  com.apple.ScalableUserInterface (1.0 - 1) <2C81641B-FA30-32FF-8B3E-3CB9BF53B2D9> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface
0x9adaa000 - 0x9ae13ffa  com.apple.datadetectorscore (5.0 - 354.5) <2B523979-8292-3132-96AB-79274908CD2F> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x9ae45000 - 0x9ae47fff  libquarantine.dylib (71) <EE3B510E-1AEC-3171-8A1A-D6A5A42CF35C> /usr/lib/system/libquarantine.dylib
0x9ae48000 - 0x9af23ff7  com.apple.LaunchServices (572.28 - 572.28) <12F13478-DB82-3C78-9140-2C98FECD0A80> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x9afc5000 - 0x9b3bdffb  com.apple.CoreGraphics (1.600.0 - 599.35.4) <2B46D887-CAED-30F3-B009-1EBF0C71DC2E> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x9b53d000 - 0x9b583ff7  libFontRegistry.dylib (127) <A0930DB2-A6C6-3C6E-B4A2-119E0D76FD7D> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x9b586000 - 0x9b58efff  libcopyfile.dylib (103.92.1) <9B62DDFE-FEFD-31CA-989F-9BE0AB606C49> /usr/lib/system/libcopyfile.dylib
0x9b58f000 - 0x9b592ff7  libdyld.dylib (239.4) <98B79E09-15EC-3ED8-86F1-1B0558060286> /usr/lib/system/libdyld.dylib
0x9b593000 - 0x9b5bafff  com.apple.CoreVideo (1.8 - 117.2) <A53FDD90-F200-3F7C-8A8E-5DE36D3DFBB0> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x9b610000 - 0x9b700ffb  libiconv.2.dylib (41) <848FEBA7-2E3E-3ECB-BD59-007F32468787> /usr/lib/libiconv.2.dylib
0x9b701000 - 0x9b70ffff  libxar.1.dylib (202) <B73748D4-F830-3C71-98B3-7A3ABF5136FD> /usr/lib/libxar.1.dylib
0x9b743000 - 0x9b747fff  libheimdal-asn1.dylib (323.92.1) <DD8BAEED-28AC-389E-9DC4-E32DA60CB05A> /usr/lib/libheimdal-asn1.dylib
0x9b748000 - 0x9b816ff7  com.apple.backup.framework (1.5.4 - 1.5.4) <C09AF796-385F-34DB-B551-68967989E9CB> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x9b86d000 - 0x9b8e4ffb  com.apple.framework.IOKit (2.0.1 - 907.100.13) <D1308EE0-96AA-3442-A27B-264F58AE12B4> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x9b8e9000 - 0x9b90dff3  libc++abi.dylib (49.1) <43A04ACF-97A5-35ED-B454-6B5C0CF0F99D> /usr/lib/libc++abi.dylib
0x9b910000 - 0x9b911fff  libDiagnosticMessagesClient.dylib (100) <B936B1D4-90BB-395D-8EA9-E1237608E7D0> /usr/lib/libDiagnosticMessagesClient.dylib
0x9b9db000 - 0x9ba2bff7  libcorecrypto.dylib (161.1) <135FD99E-2211-3DF4-825C-C9F816107F0C> /usr/lib/system/libcorecrypto.dylib
0x9bdb6000 - 0x9bdbefff  libsystem_dnssd.dylib (522.92.1) <51965446-5C40-3172-9766-C5AE7FD4D62E> /usr/lib/system/libsystem_dnssd.dylib
0x9c03c000 - 0x9c03effb  libRadiance.dylib (1044) <6713977E-A33A-395A-9933-719F72DF1A98> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x9c0c5000 - 0x9c252ffb  com.apple.CFNetwork (673.3 - 673.3) <2C900A5F-9E29-3636-846D-68B24774E82A> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x9c253000 - 0x9c25affe  com.apple.agl (3.2.3 - AGL-3.2.3) <4E5074D1-FE90-3F06-BB35-039E2873594D> /System/Library/Frameworks/AGL.framework/Versions/A/AGL

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 1
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 2601
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=133.8M resident=34.7M(26%) swapped_out_or_unallocated=99.2M(74%)
Writable regions: Total=46.5M written=1312K(3%) resident=1676K(4%) swapped_out=0K(0%) unallocated=44.9M(96%)
 
REGION TYPE                      VIRTUAL
===========                      =======
CG shared images                    140K
CoreServices                          8K
Kernel Alloc Once                     4K
MALLOC                             20.7M
MALLOC (admin)                       48K
Memory Tag 242                       12K
Stack                              65.6M
VM_ALLOCATE                        16.4M
__DATA                             14.2M
__IMAGE                             528K
__LINKEDIT                         44.4M
__OBJC                             1776K
__PAGEZERO                            4K
__TEXT                             89.4M
__UNICODE                           544K
mapped file                       139.9M
shared memory                         4K
===========                      =======
TOTAL                             393.6M



When running this code (debug+threaded) and stepping through Regfilter deallocation?


Import Bah.Regex

DirNameFilter("Hello my name is",0)

Function DirNameFilter:String(InputText:String, StripSpaces:Int)
	Local Text:String = InputText
	Local MyRegfilter:TRegEx = New TRegEx.Create("&(amp;|)")
	Local MyRegfilter2:TRegEx = New TRegEx.Create("[^0-9a-zA-Z\.\- _]")
	Local MyRegfilter3:TRegEx = New TRegEx.Create(" ")
			
	Text = MyRegfilter.ReplaceAll(Text, "and")
	Text = MyRegfilter2.ReplaceAll(Text, "")
	If StripSpaces = True Then
		Text = MyRegfilter3.ReplaceAll(Text, "_")
	EndIf
	
	DebugStop()	
	
	MyRegfilter = Null 
	MyRegfilter2 = Null
	MyRegfilter3 = Null	

	Return Text
End Function



PhotonTom(Posted 2015) [#4]
-


PhotonTom(Posted 2015) [#5]
It seems MemFree(offsets) is what is causing the error. (Regex Delete method)


Brucey(Posted 2015) [#6]
Nice find. Thanks!
The pointer that was being freed used to be owned by max, but with the later pcre, we only have a copy of it, and shouldn't try to free it :-)

(fixed on github)


You may find it better to post issues directly on github : https://github.com/maxmods/bah.mod/issues

I get emails, and everything is tracked :-)


PhotonTom(Posted 2015) [#7]
I would do but half the time I'm unsure whether it is my fecked up installation/setup.

Just very odd that only Mac complained(crashed) about it, it worked fine on Windows :S