[BUG] Sockets on 68k MacOS 8.1 standalone
O'NEEL Bruce
beoneel at mindspring.com
Fri Mar 26 13:40:51 UTC 1999
Hi,
First, the combo of Squeak, PWS, and Swiki produce one of the
coolest applications I've ever seen. Fantastic.
Alas, there is one glitch. On quitting Squeak I get a hard hang (no
mouse response, etc), or, in MacsBug I get an illegal instruction.
The config:
PowerBook 520, 33mhz LC040
MacOS 8.1
OpenTransport 1.3
Squeak 2.3 as released.
I set up the TCP/IP panel to connect via: AppleTak(MacIP), Configure:
Using MacIP Manually, with a hard coded IP address of 1.2.3.4. Then I
configure the AppleTalk to use RemoteOnly. RemoteOnly is from the
Apple OpenTransport SDK and is version 2.1. Why all this silliness?
So that I can run TCP/IP applications without a net connection, ie,
the server and client on the same system. This is documented a touch
clearer in http://developer.apple.com/qa/nw/nw59.html. Works great,
PWS serves pages to Scamper with no problem.
A PB540 with the Apple PPC upgrade, but otherwise identically
configured works fine in this same config and doesn't hang on exit.
To be honest this is a small problem and probably not worth much of
anyone's time. First, I'm probably one of the few people who this
bothers. Second because this is an bizzare config and because I can
just reboot the machine with macsbug when I want to exit :-). I guess
exiting Squeak is at some level evil, right? Finally, if I find it
really annoying I'll try to track it down myself.
I've attached the StdLog log below.
Thanks!
cheers
bruce
Content-type: text/plain; NAME=stdlog; CHARSET=US-ASCII
Content-description: StdLog from Macsbug
Content-disposition: inline; filename=stdlog
MacsBug 6.5.4a4, Copyright Apple Computer, Inc. 1981-98
Illegal Instruction at 014216B0
26-Mar-1999 2:25:54 PM (since boot = 3 minutes)
Current application is "Squeak VM 2.3 68K"
Machine = 72 (PowerBook500), System $0810, sysu = $01008000
ROM version $067C, $30F1, $0000 (ROMBase $40000000)
VM is off
NIL^ = $40010000
Stack space used = +628
Address 014216B0 is in the "Squeak VM 2.3 68K" heap at 013BFCC0
It is 00022ED0 bytes into this heap block:
Start Length Tag Mstr Ptr Lock Prg Type ID File Name
* 013FE7E0 000234DC+08 N
68040 Registers
D0 = 00000000 A0 = 014216B0 USP = 00000000
D1 = 00000000 A1 = 01F1EFAC MSP = 00000000
D2 = 00000000 A2 = 015192B1 ISP = 01FBA2F4
D3 = 00000000 A3 = 01846F64 VBR = 00000000
D4 = 00000018 A4 = 01846F34 CACR = 80008000 SFC = 0
D5 = 01438FC4 A5 = 01FBA568 DFC = 5
D6 = 000003BC A6 = 01FBA314 PC = 014216B0
D7 = 00000000 A7 = 01FBA2F4 SR = SmxnZvc Int = 0
Disassembling from 01421692
No procedure name
01421692 EOR.W D6,(A2)+ | BD5A
01421694 BCHG D0,D2 | 0142
01421696 MOVE.B $013E,-(A2) | 1538 013E
0142169A CMPA.W $0142(A4),A6 | BCEC 0142
0142169E MOVE.B $013E,-(A2) | 1538 013E
014216A2 CMP.L $0142,D6 | BCB8 0142
014216A6 MOVE.B $013E,-(A2) | 1538 013E
014216AA CMP.W #$0142,D6 | BC7C 0142
014216AE MOVE.B $013E,-(A2) | 1538 013E
014216B2 EOR.L D5,-(A0) | BBA0
014216B4 BCHG D0,D2 | 0142
014216B6 MOVE.B $013E,-(A2) | 1538 013E
014216BA CMP.L (A2)+,D2 | B49A
014216BC BCHG D0,D2 | 0142
014216BE MOVE.B $013E,-(A2) | 1538 013E
014216C2 SUB.W (A4),D6 | 9C54
014216C4 BCHG D0,D2 | 0142
014216C6 MOVE.B $013E,-(A2) | 1538 013E
014216CA DIVU.W $0142(A0),D7 | 8EE8 0142
014216CE MOVE.B $013E,-(A2) | 1538 013E
Heap zones
#1 32 3727K 00002000 to 003A5E2F SysZone^
#2 32 4K 00002800 to 00003813 !
#3 32 47K 000F43D0 to 001003C3
#4 32 31877K 003A5E30 to 022C73D3
#5 32 172K 01394750 to 013BF9F3
#6 32 12106K 013BFCC0 to 01F92563 "Squeak VM 2.3 68K" ApplZone^ TheZone^ Targ
etZone
#7 32 47K 01FCE020 to 01FD9EE3
#8 32 903K 021D9430 to 022BB2B3 "Finder"
WARNING: One or more heaps may be corrupt. Use HC ALL (Heap Check) for a thorough check.
Checking all heaps
The System heap at 00002000 is ok
The heap at 00002800 is bad
Nonrelocatable block: Pointer to zone is bad
Block header
00002854 4000 000C 0000 04D0 4007 EBC0 DB6D B6DB @******-@**¿*m*
The heap at 000F43D0 is ok
The Process Manager heap at 003A5E30 is ok
The heap at 01394750 is ok
The "Squeak VM 2.3 68K" heap at 013BFCC0 is ok
The heap at 01FCE020 is ok
The "Finder" heap at 021D9430 is ok
Totaling the "Squeak VM 2.3 68K" heap at 013BFCC0
Total Blocks Total of Block Sizes
Free 0013 #19 00079FC0 #499648
Nonrelocatable 0014 #20 00B57010 #11890704
Relocatable 0049 #73 00001890 #6288
Locked 0000 #0 00000000 #0
Purgeable and not locked 0000 #0 00000000 #0
Heap size 0070 #112 00BD2860 #12396640
The target heap is the System heap at 00002000
Totaling the System heap at 00002000
Total Blocks Total of Block Sizes
Free 0040 #64 0000534C #21324
Nonrelocatable 01AD #429 00187650 #1603152
Relocatable 04DB #1243 00217450 #2192464
Locked 00D3 #211 00187DB0 #1605040
Purgeable and not locked 0052 #82 00024F90 #151440
Heap size 06C8 #1736 003A3DEC #3816940
The target heap is the "Squeak VM 2.3 68K" heap at 013BFCC0
Displaying File Control Blocks
fRef File Vol Type Fl Fork LEof
0002 System Bruce 68k zsys dW rsrc #5956722
0060 Bruce 68k **** dw data #1047552
00BE Bruce 68k **** dw data #1047552
04C8 OpenTpt Serial Arbitr Bruce 68k libr dw rsrc #7638
0526 Open Transport Library Bruce 68k libr dw rsrc #587356
0584 Shared Library Manager Bruce 68k INIT dw rsrc #168325
05E2 Open Transport Library Bruce 68k libr dw rsrc #587356
0640 Open Tpt AppleTalk Li Bruce 68k libr dw rsrc #541758
069E Open Tpt Internet Lib Bruce 68k libr dw rsrc #485159
06FC OpenTpt Remote Access Bruce 68k libr dw rsrc #355731
075A OpenTpt Modem 68K Bruce 68k libr dw rsrc #56729
07B8 OpenTpt Remote Access Bruce 68k libr dw rsrc #355731
0816 Remote Access Log Bruce 68k lzlg dW data #12288
0874 OpenTpt Serial Arbitr Bruce 68k libr dw rsrc #7638
08D2 Appearance Extension Bruce 68k INIT dw rsrc #633281
0930 Appearance Extension Bruce 68k INIT dw rsrc #633281
098E Users & Groups Data F Bruce 68k BTFL dW data #12288
09EC Finder Bruce 68k FNDR dW rsrc #502012
0A4A Finder Preferences Bruce 68k pref dW rsrc #510
0AA8 Desktop DB Bruce 68k BTFL dW data #86016
0B06 Desktop DF Bruce 68k DTFL dW data #656082
0B64 Squeak VM 2.3 68K Bruce 68k APPL dW rsrc #1481
0BC2 StdLog Bruce 68k TEXT dW data #6427
#71 FCBs, #33 in use (including #10 fonts not listed), #38 free
Displaying resource information:
> Map $013BFDF8, flags $0000, file $0B64 = Squeak VM 2.3 68K
+ Map $00151EA4, flags $001E, file $08D2 = Appearance Extension
S Map $00002064, flags $000D, file $0002 = System
[Skipped $000A maps belonging to font files]
Calling chain using A6 links
A6 Frame Caller
01FBA560 01421CD8
01FBA440 001012D2 CallUniversalProc+00DD2
01FBA400 013F2B7C setInterpreter+0D600
01FBA3E0 013EF3AA setInterpreter+09E2E
01FBA3B4 013CE184 gePrimitiveSetOffset+02B48
01FBA368 013DE8D2 primitiveFloatArraySubScalar+031F2
01FBA344 013EE616 setInterpreter+0909A
01FBA330 002C8BA0 ExitToShell+00018
Return addresses on the stack
Stack Addr Frame Addr ISA Caller
01FBA54C 68K 002AEFEE 'scod BFAF 0002'+0F17E
01FBA548 01FBA544 68K 0029626A
01FBA540 68K 0029626A
01FBA53C 68K 01FBA4BE
01FBA528 68K 002961C6
01FBA524 68K 002961C6
01FBA506 68K 001239FE
01FBA4DC 68K 01FBA4EA
01FBA4D0 01FBA4CC 68K 00296968
01FBA4C0 01FBA4BC 68K 00296FC8
01FBA4AC 01FBA4A8 68K 002970F2
01FBA4A4 68K 00296DD0
01FBA490 68K 01FBA4BE
01FBA474 68K 00296DD0
01FBA448 68K 002A4932 'scod BFAF 0002'+04AC2
01FBA444 01FBA440 68K 01421CD8
01FBA404 01FBA400 68K 001012D2 CallUniversalProc+00DD2
01FBA3FC 68K 0029779E
01FBA3E4 01FBA3E0 68K 013F2B7C setInterpreter+0D600
01FBA3B8 01FBA3B4 68K 013EF3AA setInterpreter+09E2E
01FBA36C 01FBA368 68K 013CE184 gePrimitiveSetOffset+02B48
01FBA368 68K 01FBA3B2
01FBA35C 68K 013CE0C0 gePrimitiveSetOffset+02A84
01FBA34C 68K 013DF650 primitiveFloatArraySubScalar+03F70
01FBA348 01FBA344 68K 013DE8D2 primitiveFloatArraySubScalar+031F2
01FBA334 01FBA330 68K 013EE616 setInterpreter+0909A
01FBA318 01FBA314 68K 002C8BA0 ExitToShell+00018
01FBA314 68K 01FBA32E
01FBA310 01FBA30C 68K 013EB502 setInterpreter+05F86
01FBA2F4 68K 001006B2 CallUniversalProc+001B2
Displaying memory from 0
00000000 4001 0000 4001 0000 0029 FEC6 0029 FEC8 @***@****)**)*»
00000010 0029 FECA 0029 FECC 4000 26F8 4000 26FA *)* *)*Ã@*&*@*&*
Closing log
More information about the Squeak-dev
mailing list
|