[comp.sys.mac.programmer] CTB configuration problem

dorner@pequod.cso.uiuc.edu (Steve Dorner) (09/10/90)

My communications toolbox application really likes to die with line 1111
errors (unimplemented instruction, id=10) on Mac Pluses and 512KE's, when
I try to configure the CTB (somewhere between InitCRM and CMChoose,
inclusive). 

I'm a bit vague, because the only one I can actually get my hands on
refuses to exhibit the behavior.  And a working disk (system, CTB, & app)
from that system crashes at least one other (this disk WORKS 100%
reliably on my system, but crashes 100% reliably on the other).

Before I put on my travelling shoes and visit the offending macs (which is
going to be a hassle), I thought I'd ask if anyone here has experienced
this problem?  If so, what fixed it?
--
Steve Dorner, U of Illinois Computing Services Office
Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner

han@Apple.COM (Byron Han, scapegoat) (09/11/90)

In article <1990Sep10.134250.18745@ux1.cso.uiuc.edu> dorner@pequod.cso.uiuc.edu (Steve Dorner) writes:
>
>My communications toolbox application really likes to die with line 1111
>errors (unimplemented instruction, id=10) on Mac Pluses and 512KE's, when
>I try to configure the CTB (somewhere between InitCRM and CMChoose,
>inclusive). 
>

A couple of questions...

What is your system (i.e. the one that it works on)?  Would be good
to know RAM size, MultiFinder active/inactive, system version, etc...

What is the system that it is crashing on?  RAM size, MultiFinder on/off,
system version, etc...

What are you calling in your CTB initialization?
 InitCRM();   // required
 InitCTBUtilities();    // also required
 InitCM();  // if using connection manager
 InitTM(); // if using terminal manager
 InitFT();// if using file transfer manager

Byron Han

dorner@pequod.cso.uiuc.edu (Steve Dorner) (09/13/90)

I wrote:
>My communications toolbox application really likes to die with line 1111
>errors (unimplemented instruction, id=10) on Mac Pluses and 512KE's, when
>I try to configure the CTB (somewhere between InitCRM and CMChoose,
>inclusive).

Byron Han and Tom Dowdy were nice enough to waste their time with me.
I've learned a few things, and solved my problem.

Thing One-The Communications Toolbox acts differently on machines with only
1MB of RAM; it waits to install patches and the like until it's actually used.

Thing Two-If you call CMChoose without the proper initialization, 1MB
macs will crash, whereas larger macs seem to survive (refer to Thing One).

Thing Three-Know ALL the paths your code can take to get somewhere, not
just ONE of them.  (I guess I get the golden dunce cap for this one;
I wasn't doing the initialization I thought I was, at least in one case.)

Maybe this will help some other stupid person.

--
Steve Dorner, U of Illinois Computing Services Office
Internet: s-dorner@uiuc.edu  UUCP: uunet!uiucuxc!uiuc.edu!s-dorner