Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!lll-crg!mordor!sri-spam!ames!ll-xn!mit-eddie!genrad!panda!husc6!necntc!encore!linus!philabs!micomvax!musocs!mcgill-vision!mouse From: mouse@mcgill-vision.UUCP (der Mouse) Newsgroups: comp.unix.wizards,comp.lang.modula2 Subject: Re: panic:munhash message from 4.2bsd Message-ID: <575@mcgill-vision.UUCP> Date: Sat, 13-Dec-86 03:47:38 EST Article-I.D.: mcgill-v.575 Posted: Sat Dec 13 03:47:38 1986 Date-Received: Tue, 16-Dec-86 01:50:22 EST References: <424@usfvax2.UUCP> Organization: McGill University, Montreal Lines: 35 Xref: mnetor comp.unix.wizards:359 comp.lang.modula2:61 In article <424@usfvax2.UUCP>, hall@usfvax2.UUCP (Dr. Larry Hall) writes: > We have encountered the following system problem and wonder if any > one out there knows about it. We are running 4.2bsd on a VAX 11/750. > When we get in dbx and read in the symbolic information and > executable code and then type run the operating system crashes with > the message "panic:munhash". > This does not occur when we try to run the program outside of dbx. > Does anyone know what the error panic:munhash means? Our 4.2 system would crash reliably with panic: munhash whenever anyone attempted to set a breakpoint with any debugger. Poking around, it turned out that it crashed whenever anyone attempted to use ptrace() to write to the child's text segment (which setting a breakpoint does). There were two casts in the kernel which, though perfectly correct, produced incorrect code because there was something wrong with the compiler. You could comment out the casts in the source, or even just adb the kernel and change two instructions (extv to extzv, I think). I forget further details, but someone posted the fix to net.unix-wizards at the time (this was some time ago, it was still called net.unix-wizards). If nobody comes forward with this, I can go to the backup tapes and resurrect our 4.2 kernel source long enough to dig out these changes (we aren't running 4.2 any more). der Mouse USA: {ihnp4,decvax,akgua,utzoo,etc}!utcsri!mcgill-vision!mouse think!mosart!mcgill-vision!mouse Europe: mcvax!decvax!utcsri!mcgill-vision!mouse ARPAnet: think!mosart!mcgill-vision!mouse@harvard.harvard.edu [USA NSA food: terrorist, cryptography, DES, drugs, CIA, secret, decode]