|
|
CarbonLib 1.3.1 or 1.4 can use under Mac OS8.6 or later.
My Mac OS8.1J is setting CarbonLib 1.0.4 and StdClib 3.5d9(for MPW).
Y.Tanabe
Kobe,Japan
StdLog:
MacsBug 6.5.4a4, Copyright Apple Computer, Inc. 1981-98
PowerPC unmapped memory exception at 14A75080 strlen+00008
6-Sep-2001 12:12:45 PM (since boot = 13 minutes)
Current application is $B%a(BPOV-Ray Mac 3.5$B%b(B
Machine = 510 (PowerMacG3), System $0810, sysu = $01008000
ROM version $077D, $40F2, $0001 (ROMBase $FFC00000)
VM is on; paging is currently safe
NIL^ = $FFC10000
Stack space used = +329814962
Address 14A75080 is in VM file-mapped logical memory space
The address is in a CFM fragment $B%a(BPOV-Ray Mac 3.5$B%b(B [non-write exec]
It is 00091080 bytes from the start of the fragment
PowerPC 740/750 Registers
CR0 CR1 CR2 CR3 CR4 CR5 CR6 CR7
PC = 14A75080 CR 0010 0000 0000 0000 0000 0010 0010 1000
LR = 14A72488 <>=O XEVO
CTR = 14A70868
MSR = 00000000 SOC Compare Count
Int = 0 XER 000 00 00
R0 = 00000000 R8 = 00000010 R16 = 0B6ADDB8 R24 = 00000000
SP = 0B7EBBE0 R9 = 0B7EBA46 R17 = 00000000 R25 = 00000037
TOC = 0B6B4990 R10 = 0B7EBA6E R18 = 00000000 R26 = 00000005
R3 = 412DF94B R11 = 0B7EB940 R19 = 0B7EBE5C R27 = 0B7EC3B4
R4 = FFFFFFFF R12 = 0B6AF37C R20 = 0B7EBC4C R28 = 0B7EBF4C
R5 = 0B7EBE60 R13 = 0B6B1FBC R21 = 0B7EBC4C R29 = 0B6AF37C
R6 = 00000001 R14 = 0B6B1FBE R22 = 0B7EBC4C R30 = 412DF94C
R7 = 0E7D21F6 R15 = 43300000 R23 = 0B7EBE5D R31 = 0000000F
Disassembling PowerPC code from 14A75058
raise
+000A4 14A75058 lwz r30,-0x0008(SP) | 83C1FFF8
+000A8 14A7505C blr | 4E800020
strlen
+00000 14A75078 li r4,-0x0001 | 3880FFFF
+00004 14A7507C subi r3,r3,0x0001 | 3863FFFF
+00008 14A75080 *lbzu r0,0x0001(r3) | 8C030001
+0000C 14A75084 addi r4,r4,0x0001 | 38840001
+00010 14A75088 cmplwi r0,0x0000 | 28000000
+00014 14A7508C bne strlen+00008 ; 0x14A75080 | 4082FFF4
+00018 14A75090 mr r3,r4 | 7C832378
+0001C 14A75094 blr | 4E800020
strcpy
+00000 14A750B4 subi r4,r4,0x0001 | 3884FFFF
+00004 14A750B8 subi r5,r3,0x0001 | 38A3FFFF
+00008 14A750BC lbzu r0,0x0001(r4) | 8C040001
+0000C 14A750C0 cmplwi r0,0x0000 | 28000000
+00010 14A750C4 stbu r0,0x0001(r5) | 9C050001
+00014 14A750C8 bne strcpy+00008 ; 0x14A750BC | 4082FFF4
+00018 14A750CC blr | 4E800020
strcat
Heap zones
#1 Mod 8785K 00002800 to 00896E2F SysZone^
#2 Mod 6K 000184B0 to 00019FCF ROM read-only zone
#3 Mod 100K 0034BBC0 to 00364BBF
#4 Mod 312206K 00896E30 to 1397A84F Process Manager zone
#5 Mod 131015K 0B68E4A0 to 1368039F $B%a(BPOV-Ray Mac 3.5$B%b(B
ApplZone^ TheZone^ Targe
tZone
#6 Mod 896K 136AF220 to 1378F51F $B%a(BFinder$B%b(B
Checking all heaps
The System heap at 00002800 is ok
The ROM read-only heap at 000184B0 is ok
The heap at 0034BBC0 is ok
The Process Manager heap at 00896E30 is ok
The $B%a(BPOV-Ray Mac 3.5$B%b(B heap at 0B68E4A0 is ok
Totaling the $B%a(BPOV-Ray Mac 3.5$B%b(B heap at 0B68E4A0
Total Blocks Total of Block Sizes
Free 0078 #120 073D7E70 #121470576
Nonrelocatable 0349 #841 00B125CC #11609548
Relocatable 0567 #1383 00107A80 #1079936
Locked 0010 #16 00006890 #26768
Purgeable and not locked 0015 #21 00000770 #1904
Heap size 0928 #2344 07FF1EBC #134160060
The target heap is the System heap at 00002800
Totaling the System heap at 00002800
Total Blocks Total of Block Sizes
Free 0009 #9 00000350 #848
Nonrelocatable 0780 #1920 004C355C #4994396
Relocatable 0869 #2153 003D0D40 #4001088
Locked 0162 #354 002CBFE0 #2932704
Purgeable and not locked 008D #141 0001D320 #119584
Heap size 0FF2 #4082 008945EC #8996332
The target heap is the $B%a(BPOV-Ray Mac 3.5$B%b(B heap at 0B68E4A0
Displaying File Control Blocks
fRef File Vol Type Fl Fork LEof
0002 System MacOS 8 HD zsys dW rsrc #6074166
0060 **** EXTENTS B-TREE MacOS 8 HD $B!&!&!&!&(B dw data #4194304
00BE **** CATALOG B-TREE MacOS 8 HD $B!&!&!&!&(B dw data #16777216
011C **** VOLUME BITMAP MacOS 8 HD $B!&!&!&!&(B dw data #77824
017A VM Storage MacOS 8 HD ZSYS dW data #335544320
183E System MacOS 8 HD zsys dw data #966352
189C Open Tpt AppleTalk Li$B%N(B MacOS 8 HD libr dw rsrc #541709
18FA $B%U%)%s%H%-%c%C%7%e(B MacOS 8 HD ZSYS dW data #10312
1958 WorldScript II $B%j%=!<%N(B MacOS 8 HD pref dW rsrc #5662
19B6 WorldScript II MacOS 8 HD scri dw data #18176
1A14 Open Transport Library MacOS 8 HD libr dw rsrc #587423
1A72 OpenTransportLib MacOS 8 HD shlb dw data #563840
1AD0 Shared Library Manage$B%N(B MacOS 8 HD INIT dw rsrc #211705
1B2E Open Transport Library MacOS 8 HD libr dw rsrc #587423
1B8C Open Tpt AppleTalk Li$B%N(B MacOS 8 HD libr dw rsrc #541709
1BEA Open Tpt Internet Lib$B%N(B MacOS 8 HD libr dw rsrc #485144
1C48 OpenTpt Remote Access MacOS 8 HD libr dw rsrc #543029
1CA6 OpenTpt Modem MacOS 8 HD libr dw rsrc #85786
1D04 OpenTpt Remote Access MacOS 8 HD libr dw rsrc #543029
1D62 $B%j%b!<%H%"%/%;%9:'6H6K(B MacOS 8 HD lzlg dW data #2662400
1DC0 Serial (Built-in) MacOS 8 HD libr dw rsrc #63264
1E1E Open Transport Library MacOS 8 HD libr dw rsrc #587423
1E7C OpenTptAppleTalkLib MacOS 8 HD shlb dw data #54706
1EDA OpenTpt Serial Arbitr$B%N(B MacOS 8 HD libr dw rsrc #7658
1F38 OpenTpt Serial Arbitr$B%N(B MacOS 8 HD libr dw rsrc #7658
1F96 Appearance $B5!G=3HD%(B MacOS 8 HD INIT dw rsrc #633354
1FF4 $B!&(B $B4'4A%5%]!<%H(B MacOS 8 HD INIT dw data #26320
2052 $B%U%)%s%H5!G=3HD%(B 1 MacOS 8 HD fdef dw data #11760
20B0 $B%-!<%\!<%I5!G=3HD%(B MacOS 8 HD INIT dw data #12772
210E $B%-!<%\!<%I5!G=3HD%(B MacOS 8 HD INIT dw rsrc #14486
216C Appearance $B5!G=3HD%(B MacOS 8 HD INIT dw data #121624
21CA Appearance $B5!G=3HD%(B MacOS 8 HD INIT dw rsrc #633354
2228 POV-Ray Mac 3.5 develop ba$B%N(B APPL dW rsrc #421808
2286 ColorSync$B!&(B MacOS 8 HD INIT dw data #110576
22E4 $B%3%s%F%/%9%H%a%K%e!<6K(B MacOS 8 HD INIT dw data #66103
2342 $B%U%)%s%H5!G=3HD%(B 2 MacOS 8 HD INIT dw data #5584
23A0 Multiprocessing API L$B%N(B MacOS 8 HD shlb dw data #62163
23FE QuickTime$B!&(B MacOS 8 HD INIT dw data #298076
245C File Buddy CP 1.2J MacOS 8 HD APPC dw data #8365
24BA Desktop DB MacOS 8 HD BTFL dW data #245760
2518 Finder MacOS 8 HD FNDR dW rsrc #531726
2576 Finder MacOS 8 HD FNDR dw data #3631000
25D4 StdCLib MacOS 8 HD shlb dw data #97178
2632 Color Picker MacOS 8 HD INIT dw data #6400
2690 PrintingLib MacOS 8 HD shlb dw data #609104
26EE Finder $B@'D'(B MacOS 8 HD pref dW rsrc #870
274C Desktop DF MacOS 8 HD DTFL dW data #1406528
27AA **** EXTENTS B-TREE MacOS 9 HD $B!&!&!&!&(B dw data #4194304
2808 **** CATALOG B-TREE MacOS 9 HD $B!&!&!&!&(B dw data #16777216
2866 **** VOLUME BITMAP MacOS 9 HD $B!&!&!&!&(B dw data #53248
28C4 **** EXTENTS B-TREE MacOS X HD $B!&!&!&!&(B dw data #3145728
2922 **** CATALOG B-TREE MacOS X HD $B!&!&!&!&(B dw data #50331648
2980 **** VOLUME BITMAP MacOS X HD $B!&!&!&!&(B dw data #106496
29DE **** EXTENTS B-TREE develop ba$B%N(B $B!&!&!&!&(B dw data #4194304
2A3C **** CATALOG B-TREE develop ba$B%N(B $B!&!&!&!&(B dw data #16777216
2A9A **** VOLUME BITMAP develop ba$B%N(B $B!&!&!&!&(B dw data #77824
2AF8 **** EXTENTS B-TREE mpw backup $B!&!&!&!&(B dw data #4194304
2B56 **** CATALOG B-TREE mpw backup $B!&!&!&!&(B dw data #16777216
2BB4 **** VOLUME BITMAP mpw backup $B!&!&!&!&(B dw data #77824
2C12 **** EXTENTS B-TREE zip backup $B!&!&!&!&(B dw data #4194304
2C70 **** CATALOG B-TREE zip backup $B!&!&!&!&(B dw data #8388608
2CCE **** VOLUME BITMAP zip backup $B!&!&!&!&(B dw data #77824
2D2C Desktop DB MacOS 9 HD BTFL dW data #129024
2D8A Desktop DF MacOS 9 HD DTFL dW data #909810
2DE8 Desktop DB MacOS X HD BTFL dW data #106496
2E46 Desktop DF MacOS X HD DTFL dW data #143970
2EA4 Desktop DB develop ba$B%N(B BTFL dW data #81920
2F02 Desktop DF develop ba$B%N(B DTFL dW data #132272
2F60 Desktop DB mpw backup BTFL dW data #163840
2FBE Desktop DF mpw backup DTFL dW data #369504
301C Desktop DB zip backup BTFL dW data #81920
307A Desktop DF zip backup DTFL dW data #272
30D8 POV-Ray Mac 3.5 develop ba$B%N(B APPL dw data #807619
3136 CarbonLib MacOS 8 HD INIT dw data #1002200
3194 AppleScriptLib MacOS 8 HD shlb dw data #22636
31F2 Text Encoding Convert$B%N(B MacOS 8 HD shlb dw data #155168
3250 Navigation MacOS 8 HD shlb dw data #471429
32AE QuickTime$B!&(B MPEG $B5!G=4K(B MacOS 8 HD INIT dw data #3166
330C QuickTime$B!&(B PowerPlug MacOS 8 HD INIT dw data #170185
336A POVMSLib develop ba$B%N(B shlb dw data #21304
33C8 CarbonLib MacOS 8 HD INIT dw rsrc #30128
3426 log.txt develop ba$B%N(B TEXT dW data #2410
3484 Chinese Encodings MacOS 8 HD ecpg dw data #14872
34E2 Japanese Encodings MacOS 8 HD ecpg dw data #14952
3540 Korean Encodings MacOS 8 HD ecpg dw data #10488
359E Unicode Encodings MacOS 8 HD ecpg dw data #16872
35FC POV-Ray Lib develop ba$B%N(B POVR dw data #1627750
365A Navigation MacOS 8 HD shlb dw rsrc #44950
36B8 colors.inc develop ba$B%N(B TEXT dw data #9801
3716 functions.inc develop ba$B%N(B TEXT dw data #25085
3774 abyss.pov MacOS 8 HD IBuf dW data #172032
37D2 StdLog MacOS 8 HD TEXT dW data #10696
#221 FCBs, #153 in use (including #61 fonts not listed), #68 free
Displaying resource information:
> Map $0B68E628, flags $FF80, file $2228 = POV-Ray Mac 3.5
Map $0B68E610, flags $0000, file $33C8 = CarbonLib
+ Map $003929CC, flags $001E, file $1F96 = Appearance $B5!G=3HD%(B
+ Map $00003294, flags $801E, file $0003 = $B!&(BROM resources that override
System$B!&(B
S Map $000032FC, flags $000D, file $0002 = System
Map $00485474, flags $001C, file $210E = $B%-!<%\!<%I5!G=3HD%(B
Map $000028AC, flags $001C, file $1958 = WorldScript II $B%j%=!<%9(B
[Skipped $003D maps belonging to font files]
(CurStackBase does not seem to apply...dumping 4K.)
Calling chain using A6/R1 links
Back chain ISA Caller
0B7ECAA0 PPC 1414EAB0 DoCleanupThreads+00AFC
0B7ECA50 PPC 14BE4384 Mac__ThreadProc+00044
0B7EC9F0 PPC 14C832C8 povray_cooperate()+000C8
0B7EC9B0 PPC 14C8347C FrameLoop()+000FC
0B7EC930 PPC 14BE4590 Mac__Shellout__Fi+000C0
0B7EC880 PPC 14CBA2EC Debug_Info(char*, ...)+000BC
0B7EC430 PPC 14C83E78 Do_Cooperate(int)+00038
0B7EC3F0 PPC 14BCD4F4 POVMS_ProcessMessages+00308
0B7EC370 PPC 14BCDA34 POVMS_Receive(POVMSData*, POVMSData*, int)+00178
0B7EC310 PPC 14BE4470 Mac__ReceiveHandler__FP9POVMSDataP9POVMSDatai+00030
0B7EC2D0 PPC 14A3E414 Mac_ReceiveHandler+00794
0B7EC110 PPC 14A15D4C MessageWindow::AddStatisticsMessage(POVMSData*)+00AEC
0B7EC000 PPC 14A150EC MessageWindow::PrintToHandle(char**, char*, ...)+0009C
0B7EBFB0 PPC 14A72AF0 vsprintf+00018
0B7EBF70 PPC 14A72A7C vsnprintf+00038
Return addresses on the stack
Stack Addr Frame Addr ISA Caller
0B7EBFC8 PPC 14BCF320 POVMSAttr_Delete+0007C
0B7EBFB8 PPC 14A150EC MessageWindow::PrintToHandle(char**, char*,
...)+00
09C
0B7EBFA8 PPC 14BD0BA0 POVMSUtil_GetLong+00078
0B7EBF88 0B7EBF80 PPC 14BCFA04 POVMSAttrList_Delete+0007C
0B7EBF78 0B7EBF70 PPC 14A72AF0 vsprintf+00018
0B7EBF58 PPC 14BCF5FC POVMSAttr_Get+000D8
0B7EBF38 0B7EBF30 PPC FFE4D168 __HLock+00020
0B7EBF18 0B7EBF10 PPC 14A72A7C vsnprintf+00038
0B7EBEA8 0B7EBEA0 PPC FFE4E100 __HSetStateQ+00444
0B7EBE64 68K 0073302E 'WDEF 0043 1F96'+014EE
0B7EBE60 PPC 00FFFFFC
0B7EBE34 68K FFC62EA4 _GetControlVariant+00012
0B7EBE08 PPC 002BD368 EmToNatEndMoveParams+00014
0B7EBDCC 68K 000034B2
0B7EBDC8 0B7EBDC0 PPC FFE4D0C0 __DisposePtr+00020
0B7EBDB8 68K 00348426
0B7EBDAC 68K 000034B2
0B7EBDA0 68K FFC62EA4 _GetControlVariant+00012
0B7EBD88 0B7EBD80 PPC FFE4D0C0 __DisposePtr+00020
0B7EBD78 0B7EBD70 PPC FFE4FD2C __HSetStateQ+02070
0B7EBD64 68K FFC62EA4 _GetControlVariant+00012
0B7EBD5C 68K 000034B2
0B7EBD48 PPC 002BD368 EmToNatEndMoveParams+00014
0B7EBD34 0B7EBD30 68K FFC62EA4 _GetControlVariant+00012
0B7EBD08 0B7EBD00 PPC FFE4CDF0 __NewPtr+0002C
0B7EBCF8 68K 003486F6
0B7EBCE4 68K FFC62EA4 _GetControlVariant+00012
0B7EBCCC 68K 000034B2
0B7EBCC8 0B7EBCC0 PPC FFE4D0C0 __DisposePtr+00020
0B7EBCB8 0B7EBCB0 PPC FFE4FD2C __HSetStateQ+02070
0B7EBCA8 0B7EBCA0 PPC FFE4FABC __HSetStateQ+01E00
0B7EBC88 0B7EBC80 PPC 002BD368 EmToNatEndMoveParams+00014
0B7EBC78 0B7EBC70 PPC FFE4FD2C __HSetStateQ+02070
0B7EBC68 0B7EBC60 PPC FFE54618 __HSetStateQ+0695C
0B7EBBF8 68K 003486F6
0B7EBBE8 0B7EBBE0 PPC 14A71B80 __pformatter+000D4
Displaying memory from 0
00000000 FFC1 0000 FFC1 0000 005C 6876 005C 6878
$B!&%A!&!&!&%A!&!&!&(B\hv$B!&(B\hx
Closing log
Post a reply to this message
|
|