urban%moose@rand.org (Michael Urban) (07/26/90)
One reason that Andrew has not taken over the world is that it a bit too much to deal with on a casual basis. You either are very comfortable with the world of `class' and `runapp', or else you are all at sea. A case in point: I am trying to build Andrew and (especially) AMS/Messages on a SPARC machine running SunOS 4.1. The results are not encouraging. `messages' coredumps during initialization (~Initializing Internal Message Server..."). A core dump from runapp is a mysterious thing, and I have no idea to find out just where it died. VUI also coredumps with a segmentation violation when I select the "Folder" option. Here is the stack backtrace from adb: _BuildPrivateSubscriptionMap(0x0,0xb6218,0x0,0x1d,0xf7ffc89d,0x0) + c8 _MS_NameSubscriptionMapFile(0xb6204,0xb6218,0x0,0x0,0xd61b0,0x2f) + 408 _GenMapFileName(0x0,0x1,0xf7ffea04,0xf7ffee0c,0x0,0xc22c8) + 1f8 _LoadOneDirPage(0x0,0x0,0xffffffff,0x0,0xd9dd0,0xf7ffee70) + f0 _InitDirData(0xf7fff230,0xf7fff227,0x1,0x0,0x1,0x0) + 184 _InitDirPanel(0xf7fff230,0xf7fff227,0x1,0x0,0x1,0x0) + 18 _Dir_Panel(0x0,0x0,0x1,0x0,0x0,0xf7fff230) + 84 _vuimain(0x1,0x0,0x0,0x0,0x0,0x0) + 238 Our sources are patched to level 5. I would be grateful for any help. Mike
Craig_Everhart@TRANSARC.COM (07/26/90)
Try to do the same type of action with CUI ($DESTDIR/bin/cui). Use some CUI command like ``sublist'' or ``update'' to get it to do something comparable. CUI's advantage here is that neither the screen actions of VUI nor the runapp stuff in Messages will get in your way. Once you can get the thing to repeatably core-dump, set the debug flags in CUI and make the core dump happen again. Then send me the trace. (Don't send the whole thing to info-andrew.) Thus: % cui CUI> set level wizard CUI> set debug -1 0 0 -1 0 0 CUI> set term 0 500 CUI> sublist ....lots of debugging output... mail it to me. You can even do something like: % cui set lev wizard \; set debug -1 0 0 -1 0 0 \; set term 0 500 \; sublist >& /tmp/dumfile and get it all conveniently in one file, ready for perusal and/or mailing. Craig