Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / June 2004



Tip: Looking for answers? Try searching our database.

CodeWarrior 9.2 IDE crashed

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GrEnE - 24 Jun 2004 16:30 GMT
Dear all

The following code crashed my CodeWarrior 9.2 IDE. (Crash report in the end)
I surprised because this code compiler under MachO without crash. I compile
a "Shared Library" (Carbon) with 'Macintosh PowerPC' as Linker because I
developed on a CodeWarrior Plugin (Compiler) and this can't compile as
MachO.

--- CODE BEGIN ---
#include <string>
#include <map>

typedef std::map<std::string,std::string>  TMap1;
typedef std::map<std::string,TMap1>        TMap2;
typedef std::map<int,TMap2>                TMap3;
typedef std::map<int,TMap3>                TMap4;
typedef std::map<int,TMap4>                TMap5;

TMap5 map;
--- CODE END ---

I need this code and I need a workaround, can anyone help me?

Simple Method to reproduce this:
1. Start CodeWarrior and click on menu 'File:New...'
2. Choose 'Mac OS C++ Stationery' and give an name
3. Choose 'Mac OS Carbon' - 'Standard Console' - 'C++ Console Carbon'
4. Open "HelloWorld.cpp" and replace the code
5. Compile this file.

Result: CW IDE crashed!!!!

Thanks for helping
Rene

-------------------------------------
grenenewsgroup@yahoo.de is never read
I'm grenenewsgroup at web dot de

--- COMPILER SETTINGS (Panel: C/C++ Language) ---
<SETTING><NAME>MWFrontEnd_C_cplusplus</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_checkprotos</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_arm</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_trigraphs</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_onlystdkeywords</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_enumsalwaysint</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_ansistrict</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_wchar_type</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_enableexceptions</NAME><VALUE>1</VALUE></SETTING

<SETTING><NAME>MWFrontEnd_C_dontreusestrings</NAME><VALUE>0</VALUE></SETTING

<SETTING><NAME>MWFrontEnd_C_poolstrings</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_dontinline</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_useRTTI</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_unsignedchars</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_autoinline</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_booltruefalse</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_inlinelevel</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_ecplusplus</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_defer_codegen</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_templateparser</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_c99</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_bottomupinline</NAME><VALUE>1</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_gcc_extensions</NAME><VALUE>0</VALUE></SETTING>
<SETTING><NAME>MWFrontEnd_C_instance_manager</NAME><VALUE>1</VALUE></SETTING

--- CRASH REPORT ---
Date/Time:      2004-06-24 17:04:43 +0200
OS Version:     10.3.4 (Build 7H63)
Report Version: 2

Command: CodeWarrior IDE
Path:    /Applications/Metrowerks CodeWarrior 9.0/Metrowerks
CodeWarrior/CodeWarrior IDE
Version: ??? (???)
PID:     3634
Thread:  2

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x089e5000

Thread 0:
0   libSystem.B.dylib                  0x900074c8 mach_msg_trap + 0x8
1   libSystem.B.dylib                  0x90007018 mach_msg + 0x38
2   ...ple.CoreServices.CarbonCore     0x9029345c SwitchContexts + 0x60
3   ...ple.CoreServices.CarbonCore     0x90288c84 YieldToThread + 0x104
4   ...ple.CoreServices.CarbonCore     0x902910f4 YieldToAnyThread + 0x14
5   MWCore5_0pwpc                      0x02984324 0x29618e0 + 0x22a44
6   CodeWarrior IDE                    0x02032fc0 0x2008000 + 0x2afc0
7   CodeWarrior IDE                    0x02030fd8 0x2008000 + 0x28fd8
8   CodeWarrior IDE                    0x020386b0 0x2008000 + 0x306b0

Thread 1:
0   libSystem.B.dylib                  0x900074c8 mach_msg_trap + 0x8
1   libSystem.B.dylib                  0x90007018 mach_msg + 0x38
2   ...ple.CoreServices.CarbonCore     0x9029345c SwitchContexts + 0x60
3   ...ple.CoreServices.CarbonCore     0x90288c84 YieldToThread + 0x104
4   ...ple.CoreServices.CarbonCore     0x90295fec SetThreadState + 0xc0
5   MWCore5_0pwpc                      0x029840e8 0x29618e0 + 0x22808
6   MWCore5_0pwpc                      0x029765b4 0x29618e0 + 0x14cd4
7   MWCore5_0pwpc                      0x02976618 0x29618e0 + 0x14d38
8   MWCore5_0pwpc                      0x029751e0 0x29618e0 + 0x13900
9   MWCore5_0pwpc                      0x02974f88 0x29618e0 + 0x136a8
10  ...ple.CoreServices.CarbonCore     0x902dc1f8 InvokeThreadEntryUPP +
0x18
11  ...ple.CoreServices.CarbonCore     0x902a6fdc CooperativeThread + 0xdc
12  libSystem.B.dylib                  0x900246e8 _pthread_body + 0x28

Thread 2 Crashed:
0   MW C-C++ PPC                       0x06dba3b0 0x6c05000 + 0x1b53b0
1   MW C-C++ PPC                       0x06cda598 0x6c05000 + 0xd5598
2   MW C-C++ PPC                       0x06d60e5c 0x6c05000 + 0x15be5c
3   MW C-C++ PPC                       0x06cb1bec 0x6c05000 + 0xacbec
4   MW C-C++ PPC                       0x06c869f0 CodeGen_Generator + 0x768
5   MW C-C++ PPC                       0x06c53410 0x6c05000 + 0x4e410
6   MW C-C++ PPC                       0x06c54600 0x6c05000 + 0x4f600
7   MW C-C++ PPC                       0x06c66438 0x6c05000 + 0x61438
8   MW C-C++ PPC                       0x06c672c4 0x6c05000 + 0x622c4
9   MW C-C++ PPC                       0x06c756bc C_Compiler + 0x248
10  MW C-C++ PPC                       0x06c13b88 main + 0x130
11  CodeWarrior IDE                    0x021b3da0 0x2008000 + 0x1abda0
12  CodeWarrior IDE                    0x021b9cac 0x2008000 + 0x1b1cac
13  CodeWarrior IDE                    0x021bad70 0x2008000 + 0x1b2d70
14  CodeWarrior IDE                    0x020551a8 0x2008000 + 0x4d1a8
15  CodeWarrior IDE                    0x020548dc 0x2008000 + 0x4c8dc
16  MWCore5_0pwpc                      0x02975124 0x29618e0 + 0x13844
17  MWCore5_0pwpc                      0x02974f88 0x29618e0 + 0x136a8
18  ...ple.CoreServices.CarbonCore     0x902dc1f8 InvokeThreadEntryUPP +
0x18
19  ...ple.CoreServices.CarbonCore     0x902a6fdc CooperativeThread + 0xdc
20  libSystem.B.dylib                  0x900246e8 _pthread_body + 0x28

Thread 3:
0   libSystem.B.dylib                  0x900074c8 mach_msg_trap + 0x8
1   libSystem.B.dylib                  0x90007018 mach_msg + 0x38
2   ...ple.CoreServices.CarbonCore     0x9029345c SwitchContexts + 0x60
3   ...ple.CoreServices.CarbonCore     0x90288c84 YieldToThread + 0x104
4   ...ple.CoreServices.CarbonCore     0x90295fec SetThreadState + 0xc0
5   MWCore5_0pwpc                      0x029840e8 0x29618e0 + 0x22808
6   MWCore5_0pwpc                      0x029765b4 0x29618e0 + 0x14cd4
7   MWCore5_0pwpc                      0x02976618 0x29618e0 + 0x14d38
8   MWCore5_0pwpc                      0x029751e0 0x29618e0 + 0x13900
9   MWCore5_0pwpc                      0x02974f88 0x29618e0 + 0x136a8
10  ...ple.CoreServices.CarbonCore     0x902dc1f8 InvokeThreadEntryUPP +
0x18
11  ...ple.CoreServices.CarbonCore     0x902a6fdc CooperativeThread + 0xdc
12  libSystem.B.dylib                  0x900246e8 _pthread_body + 0x28

Thread 4:
0   libSystem.B.dylib                  0x900074c8 mach_msg_trap + 0x8
1   libSystem.B.dylib                  0x90007018 mach_msg + 0x38
2   ...ple.CoreServices.CarbonCore     0x9029345c SwitchContexts + 0x60
3   ...ple.CoreServices.CarbonCore     0x90288c84 YieldToThread + 0x104
4   ...ple.CoreServices.CarbonCore     0x90295fec SetThreadState + 0xc0
5   MWCore5_0pwpc                      0x029840e8 0x29618e0 + 0x22808
6   MWCore5_0pwpc                      0x029765b4 0x29618e0 + 0x14cd4
7   MWCore5_0pwpc                      0x02976618 0x29618e0 + 0x14d38
8   MWCore5_0pwpc                      0x029750cc 0x29618e0 + 0x137ec
9   MWCore5_0pwpc                      0x02974f88 0x29618e0 + 0x136a8
10  ...ple.CoreServices.CarbonCore     0x902dc1f8 InvokeThreadEntryUPP +
0x18
11  ...ple.CoreServices.CarbonCore     0x902a6fdc CooperativeThread + 0xdc
12  libSystem.B.dylib                  0x900246e8 _pthread_body + 0x28

Thread 5:
0   libSystem.B.dylib                  0x900074c8 mach_msg_trap + 0x8
1   libSystem.B.dylib                  0x90007018 mach_msg + 0x38
2   ...ple.CoreServices.CarbonCore     0x9029345c SwitchContexts + 0x60
3   ...ple.CoreServices.CarbonCore     0x90288c84 YieldToThread + 0x104
4   ...ple.CoreServices.CarbonCore     0x90295fec SetThreadState + 0xc0
5   MWCore5_0pwpc                      0x029840e8 0x29618e0 + 0x22808
6   MWCore5_0pwpc                      0x029765b4 0x29618e0 + 0x14cd4
7   MWCore5_0pwpc                      0x02976618 0x29618e0 + 0x14d38
8   MWCore5_0pwpc                      0x0297557c 0x29618e0 + 0x13c9c
9   MWCore5_0pwpc                      0x0297550c 0x29618e0 + 0x13c2c
10  CodeWarrior IDE                    0x020d1958 0x2008000 + 0xc9958
11  CodeWarrior IDE                    0x020d12b0 0x2008000 + 0xc92b0
12  CodeWarrior IDE                    0x020d1d58 0x2008000 + 0xc9d58
13  CodeWarrior IDE                    0x020d2188 0x2008000 + 0xca188
14  MWCore5_0pwpc                      0x02975124 0x29618e0 + 0x13844
15  MWCore5_0pwpc                      0x02974f88 0x29618e0 + 0x136a8
16  ...ple.CoreServices.CarbonCore     0x902dc1f8 InvokeThreadEntryUPP +
0x18
17  ...ple.CoreServices.CarbonCore     0x902a6fdc CooperativeThread + 0xdc
18  libSystem.B.dylib                  0x900246e8 _pthread_body + 0x28

PPC Thread State:
 srr0: 0x06dba3b0 srr1: 0x0000f030                vrsave: 0x00000000
   cr: 0x42000222  xer: 0x20000004   lr: 0x06dba288  ctr: 0x06c5c7d4
   r0: 0xf76e3e30   r1: 0xf00ff8c0   r2: 0x06e1e000   r3: 0x07ff9806
   r4: 0x089e4fec   r5: 0xffff8f00   r6: 0x0891c1cf   r7: 0x00000000
   r8: 0x00000010   r9: 0xfffffff0  r10: 0x00000013  r11: 0x00000010
  r12: 0x00000001  r13: 0x08919dc8  r14: 0x06e42eb4  r15: 0x00000000
  r16: 0x08919e08  r17: 0x06e426fc  r18: 0x08919e18  r19: 0x06e4270c
  r20: 0x06e42714  r21: 0x00000088  r22: 0x08a56c92  r23: 0xf00ffa00
  r24: 0x0791cfd0  r25: 0xffff8eeb  r26: 0x0891c1d0  r27: 0xffff8f00
  r28: 0x06e42eac  r29: 0x06e400c0  r30: 0x06e43614  r31: 0x0891c1d0

Binary Images Description:
   0x1000 -     0x9fff CodeWarrior IDE     /Applications/Metrowerks
CodeWarrior 9.0/Metrowerks CodeWarrior/CodeWarrior IDE
  0xfd000 -    0xff875 LogPoint     PEF binary: LogPoint
 0x287000 -   0x2d29b1 CarbonLibpwpc     PEF binary: CarbonLibpwpc
 0x2d29c0 -   0x2eacad Apple;Carbon;Multimedia     PEF binary:
Apple;Carbon;Multimedia
 0x2ec1f0 -   0x2edf7b Apple;Carbon;Networking     PEF binary:
Apple;Carbon;Networking
 0x312690 -   0x312742 CFMPriv_CoreFoundation     PEF binary:
CFMPriv_CoreFoundation
 0x312930 -   0x3129e5 CFMPriv_DVComponentGlue     PEF binary:
CFMPriv_DVComponentGlue
 0x312d80 -   0x312e23 CFMPriv_QuickTime     PEF binary: CFMPriv_QuickTime
 0x312ea0 -   0x312f17 CFMPriv_System     PEF binary: CFMPriv_System
 0x3131c0 -   0x313290 CFMPriv_CarbonSound     PEF binary:
CFMPriv_CarbonSound
 0x313310 -   0x3133e3 CFMPriv_CommonPanels     PEF binary:
CFMPriv_CommonPanels
 0x3134c0 -   0x31357b CFMPriv_Help     PEF binary: CFMPriv_Help
 0x313580 -   0x31364a CFMPriv_HIToolbox     PEF binary: CFMPriv_HIToolbox
 0x3136d0 -   0x3137a6 CFMPriv_HTMLRendering     PEF binary:
CFMPriv_HTMLRendering
 0x313820 -   0x3138f3 CFMPriv_ImageCapture     PEF binary:
CFMPriv_ImageCapture
 0x313980 -   0x313a65 CFMPriv_NavigationServices     PEF binary:
CFMPriv_NavigationServices
 0x313ae0 -   0x313bb6 CFMPriv_OpenScripting•MacBLib     PEF binary:
CFMPriv_OpenScripting•MacBLib
 0x313c90 -   0x313d4e CFMPriv_Print     PEF binary: CFMPriv_Print
 0x313d70 -   0x313e3d CFMPriv_SecurityHI     PEF binary:
CFMPriv_SecurityHI
 0x313ec0 -   0x313fa2 CFMPriv_SpeechRecognition     PEF binary:
CFMPriv_SpeechRecognition
 0x314020 -   0x3140f3 CFMPriv_CarbonCore     PEF binary:
CFMPriv_CarbonCore
 0x314170 -   0x314243 CFMPriv_OSServices     PEF binary:
CFMPriv_OSServices
 0x314320 -   0x3143e2 CFMPriv_AE     PEF binary: CFMPriv_AE
 0x3143f0 -   0x3144b5 CFMPriv_ATS     PEF binary: CFMPriv_ATS
 0x314530 -   0x314607 CFMPriv_ColorSync     PEF binary: CFMPriv_ColorSync
 0x314690 -   0x314773 CFMPriv_FindByContent     PEF binary:
CFMPriv_FindByContent
 0x3147f0 -   0x3148ca CFMPriv_HIServices     PEF binary:
CFMPriv_HIServices
 0x314940 -   0x314a20 CFMPriv_LangAnalysis     PEF binary:
CFMPriv_LangAnalysis
 0x314ab0 -   0x314b96 CFMPriv_LaunchServices     PEF binary:
CFMPriv_LaunchServices
 0x314c70 -   0x314d47 CFMPriv_PrintCore     PEF binary: CFMPriv_PrintCore
 0x314d50 -   0x314e12 CFMPriv_QD     PEF binary: CFMPriv_QD
 0x314f10 -   0x314ff9 CFMPriv_SpeechSynthesis     PEF binary:
CFMPriv_SpeechSynthesis
 0x7f0000 -   0x7f10fc PausePoint     PEF binary: PausePoint
 0x7f2000 -   0x7f5ec9 ScriptPoint     PEF binary: ScriptPoint
 0x7f6000 -   0x7f7255 SkipPoint     PEF binary: SkipPoint
 0x7f8000 -   0x7fba7d SoundPoint     PEF binary: SoundPoint
0x1620000 -  0x1723fff com.metrowerks.CWMacOSXUtils CWMacOSXUtils version
1.0 (1.0)    /Applications/Metrowerks CodeWarrior 9.0/Metrowerks
CodeWarrior/CWMacOSXUtils.bundle/Contents/MacOS/CWMacOSXUtils
0x174e000 -  0x17f7d9c CPPCodeCompletionompletion     PEF binary:
CPPCodeCompletionompletion
0x17f8000 -  0x17fcc9b VariableFormatterFormatter     PEF binary:
VariableFormatterFormatter
0x2008000 -  0x294d318 CodeWarrior IDE     PEF binary: CodeWarrior IDE
0x294d320 -  0x29618d6 PluginLib6     PEF binary: PluginLib6
0x29618e0 -  0x29aeb4d MWCore5_0pwpc     PEF binary: MWCore5_0pwpc
0x29aeb50 -  0x29d8415 MWRADUtils     PEF binary: MWRADUtils
0x29d8420 -  0x29e0042 MWMacOSCOM     PEF binary: MWMacOSCOM
0x29e0050 -  0x2a10e89 IDE_MSL     PEF binary: IDE_MSL
0x4b01000 -  0x4b41404 DataViewerÞÄ     PEF binary: DataViewerÞÄ
0x4b53000 -  0x4bd590d MWRADModel     PEF binary: MWRADModel
0x4be8000 -  0x4c6a454 ObjectInspectorp     PEF binary: ObjectInspectorp
0x4c80000 -  0x4ca6b00 TraceDataStorageú     PEF binary:
TraceDataStorageú
0x4ca7000 -  0x4cc77a7 Verify Environmentvironment     PEF binary: Verify
Environmentvironment
0x4d11000 -  0x4d2cfff com.metrowerks.PerlTool PerlTool version 1.0 (1.0)
/Applications/Metrowerks CodeWarrior 9.0/Metrowerks CodeWarrior/CodeWarrior
Plugins/Compilers/PerlTool.bundle/Contents/MacOS/PerlTool
0x4d57000 -  0x4d71fff com.metrowerks.ShellTool ShellTool version 1.0 (1.0)
/Applications/Metrowerks CodeWarrior 9.0/Metrowerks CodeWarrior/CodeWarrior
Plugins/Compilers/ShellTool.bundle/Contents/MacOS/ShellTool
0x4d9c000 -  0x4db6fff com.metrowerks.ShellToolLinker ShellTool_Link
version 1.0 (1.0)    /Applications/Metrowerks CodeWarrior 9.0/Metrowerks
CodeWarrior/CodeWarrior
Plugins/Linkers/ShellTool_Link.bundle/Contents/MacOS/ShellTool_Link
0x4dbf000 -  0x4e408e0 CPlusSourceGend MWComHelpers     PEF binary:
CPlusSourceGend MWComHelpers
0x4e57000 -  0x4e884ef MWComHelpers     PEF binary: MWComHelpers
0x4fce000 -  0x4fea3d8 CVSymbolics     PEF binary: CVSymbolics
0x4feb000 -  0x5003634 Disassemble68K     PEF binary: Disassemble68K
0x5020000 -  0x5022fff com.apple.textencoding.unicode 1.6.4
/System/Library/TextEncodings/Unicode
Encodings.bundle/Contents/MacOS/Unicode Encodings
0x513e000 -  0x514d226 DisassemblePPC     PEF binary: DisassemblePPC
0x5158000 -  0x515f13c Disassemblex86     PEF binary: Disassemblex86
0x5160000 -  0x51adab8 MetroNub Plugin     PEF binary: MetroNub Plugin
0x5de2000 -  0x5dfe08d StabSymbolics     PEF binary: StabSymbolics
0x5e03000 -  0x5e1a203 SymSymbolics     PEF binary: SymSymbolics
0x5e1b000 -  0x5e39d26 Win32DebuggerWin32Debugger     PEF binary:
Win32DebuggerWin32Debugger
0x66e1000 -  0x6726829 MacOS PPC Linker     PEF binary: MacOS PPC Linker
0x6c05000 -  0x6e00c02 MW C-C++ PPC     PEF binary: MW C-C++ PPC
0x6e01000 -  0x6e156be PluginLib5     PEF binary: PluginLib5
0x8be90000 - 0x8be91fff DVComponentGlue
/System/Library/Frameworks/DVComponentGlue.framework/Versions/A/DVComponentG
lue
0x8fe00000 - 0x8fe4ffff dyld     /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib     /usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.4 (299.31)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundatio
n
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.4
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Carb
onCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905defff com.apple.framework.IOKit 1.3.2 (???)
/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSSe
rvices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???)
/System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2
/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.3
/System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskA
rbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Applicat
ionServices
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.2
/System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/D
esktopServicesPriv
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???)
/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemCo
nfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x910b0000 - 0x910fffff com.apple.bom 1.2.4 (63)
/System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x912a0000 - 0x912bdfff com.apple.audio.SoundManager 3.8
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSoun
d.framework/Versions/A/CarbonSound
0x912e0000 - 0x912f7fff com.apple.LangAnalysis 1.5.4
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/LangAnalysis.framework/Versions/A/LangAnalysis
0x91320000 - 0x913defff ColorSync
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ColorSync.framework/Versions/A/ColorSync
0x91460000 - 0x91473fff com.apple.speech.synthesis.framework 3.2
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x914a0000 - 0x91509fff com.apple.htmlrendering 1.1.2
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRender
ing.framework/Versions/A/HTMLRendering
0x91560000 - 0x91619fff com.apple.QD 3.4.64 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/QD.framework/Versions/A/QD
0x91670000 - 0x916a8fff com.apple.AE 1.3.2
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/AE.framework/Versions/A/AE
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/PrintCore.framework/Versions/A/PrintCore
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechReco
gnition.framework/Versions/A/SpeechRecognition
0x91810000 - 0x9182afff com.apple.openscripting 1.2.1 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScript
ing.framework/Versions/A/OpenScripting
0x91850000 - 0x91860fff com.apple.ImageCapture 2.1.0
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCaptu
re.framework/Versions/A/ImageCapture
0x91890000 - 0x9189cfff com.apple.help 1.0.1
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.frame
work/Versions/A/Help
0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1 (1.0)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPane
ls.framework/Versions/A/CommonPanels
0x918f0000 - 0x9193efff com.apple.print.framework.Print 3.3
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.fram
ework/Versions/A/Print
0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI
.framework/Versions/A/SecurityHI
0x919c0000 - 0x91a33fff com.apple.NavigationServices 3.3.1
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Navigation
Services.framework/Versions/A/NavigationServices
0x91ab0000 - 0x91ac4fff libCGATS.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91ae0000 - 0x91aebfff libCSync.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91bb0000 - 0x91d3cfff com.apple.QuickTime 6.4.0
/System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.3 (176)
/System/Library/Frameworks/Security.framework/Versions/A/Security
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.4 (98.2)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/LaunchServices.framework/Versions/A/LaunchServices
0x92740000 - 0x92777fff com.apple.CFNetwork 1.2.1 (7)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNe
twork.framework/Versions/A/CFNetwork
0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.3 (???)
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.
framework/Versions/A/HIToolbox
0x92d30000 - 0x92d80fff com.apple.HIServices 1.4.1 (0.0.1d1)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/HIServices.framework/Versions/A/HIServices
0x935d0000 - 0x938a8fff com.apple.CoreGraphics 1.203.20 (???)
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/CoreGraphics.framework/Versions/A/CoreGraphics
0x939a0000 - 0x939b4fff libcups.2.dylib     /usr/lib/libcups.2.dylib
0x939d0000 - 0x939d4fff libmathCommon.A.dylib
/usr/lib/system/libmathCommon.A.dylib
0x94060000 - 0x94078fff com.apple.WebServices 1.1.1 (1.1.0)
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebS
ervicesCore.framework/Versions/A/WebServicesCore
0x945b0000 - 0x945b9fff libz.1.dylib     /usr/lib/libz.1.dylib
0x94610000 - 0x9462afff libresolv.9.dylib     /usr/lib/libresolv.9.dylib
0x94650000 - 0x946affff com.apple.SearchKit 1.0.2
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Sear
chKit.framework/Versions/A/SearchKit
0x94b20000 - 0x94badfff com.apple.ink.framework 55.8
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framew
ork/Versions/A/Ink
0x968d0000 - 0x969b2fff libicucore.A.dylib     /usr/lib/libicucore.A.dylib
0x96a20000 - 0x96ae2fff libcrypto.0.9.7.dylib
/usr/lib/libcrypto.0.9.7.dylib
0x96b40000 - 0x96b6efff libssl.0.9.7.dylib     /usr/lib/libssl.0.9.7.dylib
0x96bf0000 - 0x96c7ffff ATS
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Framewor
ks/ATS.framework/Versions/A/ATS
0x97510000 - 0x97518fff libbsm.dylib     /usr/lib/libbsm.dylib
Howard Hinnant - 24 Jun 2004 20:29 GMT
> The following code crashed my CodeWarrior 9.2 IDE. (Crash report in the end)
> I surprised because this code compiler under MachO without crash. I compile
[quoted text clipped - 16 lines]
>
> I need this code and I need a workaround, can anyone help me?

Thanks for pointing out the bug.  The identifier name on the type is
probably getting incredibly long (try writing the type without defaulted
template parameters and typedefs).

A workaround might look like:

template <class Key, class T>
struct my_map
   : public std::map<Key, T> {};

typedef my_map<std::string,std::string>  TMap1;
typedef my_map<std::string,TMap1>        TMap2;
typedef my_map<int,TMap2>                TMap3;
typedef my_map<int,TMap3>                TMap4;
typedef my_map<int,TMap4>                TMap5;

TMap5 map;

You'll have to supply whatever my_map constructors you need.  But the
above formulation takes the defaulted comparisons and allocators out of
the type name, greatly shortening the real name of TMap5.

-Howard
GrEnE - 25 Jun 2004 10:49 GMT
>> The following code crashed my CodeWarrior 9.2 IDE. (Crash report in the end)
>> I surprised because this code compiler under MachO without crash. I compile
[quoted text clipped - 38 lines]
> above formulation takes the defaulted comparisons and allocators out of
> the type name, greatly shortening the real name of TMap5.

Thank you very much for the workaround - this works fine.

Rene

> -Howard
           
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.