From owner-freebsd-hackers Sun Feb 22 09:59:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17017 for freebsd-hackers-outgoing; Sun, 22 Feb 1998 09:59:22 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from pluto.cpe.ku.ac.th (pluto.cpe.ku.ac.th [158.108.32.69]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA16999 for ; Sun, 22 Feb 1998 09:59:17 -0800 (PST) (envelope-from stt@pluto.cpe.ku.ac.th) Received: from localhost (stt@localhost) by pluto.cpe.ku.ac.th (8.8.7/8.8.7) with SMTP id AAA18471 for ; Mon, 23 Feb 1998 00:59:29 +0700 (ICT) (envelope-from stt@pluto.cpe.ku.ac.th) Date: Mon, 23 Feb 1998 00:59:29 +0700 (ICT) From: Sunthiti Patchararungruang To: hackers@FreeBSD.ORG Subject: Signal 11 problem Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Dear Everybody, I have written a C program which has a function that need 10 arguments. I cannot run this program because the signal-11 occured when I call this function. However, when I reduce the number of arguments the program can be executed without error. I tried to change eliminated arguments to check which one causes the error but the program still completely operate. Therefore, I conclude that the problem come from stack management in FreeBSD. What should I do? Sorry in some mis-syntax of english. I have an example to explain the problem Ex. [Error one] test (int, int, int, int, int, int, int, int, int, int, int) .... main () { // Error Signal 11 test (a, b, c, d, e, f, g, h, i, j, k); } [No Error] test (int, int, int, int, int) .... main ( { test (a, b, c, d, e); test (f, g, h, i, j); test (a, b, k, d, e); } Best Regards, Sunthiti Patchararungruang To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message