Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!gatech!akgua!lcuxlm!whuxl!whuxm!hutch From: hutch@whuxm.UUCP (HUTCHISON) Newsgroups: net.unix-wizards Subject: segmentation violation Message-ID: <150@whuxm.UUCP> Date: Wed, 10-Sep-86 09:30:34 EDT Article-I.D.: whuxm.150 Posted: Wed Sep 10 09:30:34 1986 Date-Received: Wed, 10-Sep-86 23:58:54 EDT Distribution: net Organization: AT&T Bell Laboratories Lines: 14 On our 3B20 (although the problem is probably generic), it seems that when I exceed the maximum space allowed for the stack, my process gets sent a segmentation violation signal. I would like to catch (and handle) it but I have no room left on the stack for the signal catching routine. I can try to do a setjmp() at the beginning of the series of calls that cause the problem and then try to do a longjmp() in the catching routine, but I really need to hold my breath and hope that there is enough room for this (small) catching routine to execute. (long sentence, eh?) Any other suggestions (besides "use a machine with demand paging/virtual memory") ? Robert Hutchison ihnp4!whuxm!hutch