From owner-freebsd-questions@FreeBSD.ORG Sat Jun 29 09:35:32 2013 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CC7A4C29 for ; Sat, 29 Jun 2013 09:35:32 +0000 (UTC) (envelope-from p.c.s.laurie.58@cantab.net) Received: from queue01a.mail.zen.net.uk (queue01a.mail.zen.net.uk [212.23.3.234]) by mx1.freebsd.org (Postfix) with ESMTP id 985D81F72 for ; Sat, 29 Jun 2013 09:35:32 +0000 (UTC) Received: from [212.23.1.1] (helo=smarthost01.mail.zen.net.uk) by queue01a.mail.zen.net.uk with esmtp (Exim 4.72) (envelope-from ) id 1UsrYz-000110-IR for questions@FreeBSD.org; Sat, 29 Jun 2013 09:35:25 +0000 Received: from [82.71.37.163] by smarthost01.mail.zen.net.uk with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1UsrYt-0007UE-8C for questions@FreeBSD.org; Sat, 29 Jun 2013 09:35:19 +0000 Message-ID: <51CEAA5B.7040908@cantab.net> Date: Sat, 29 Jun 2013 10:35:23 +0100 From: Peter Laurie User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: questions@FreeBSD.org Subject: stack overflow Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-Smarthost01-IP: [82.71.37.163] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Jun 2013 09:35:32 -0000 Hi I'm working on a program using FreeBSD v 1.7. This project has been going for years and has a lot of functions calls some using far more arguments than these. I've never seen this error before. I have one funct8ion that has suddenly refused to run because on the call I get a 'stack overflow' message. I'm passing a pointer to a structure and then 5 ints. Everything is fine, but I need to pass a bit more data. If I pass a sixth int I get the overflow message. I've increased the stack from the default 4096 to 20 * 1024 * 1024 without effect. Yours Peter Laurie -- Peter Laurie Office (44) 01305 871131 Home (44) 01305 871532 Voice messaging on both lines, but I don't often check it. Email is more reliable. Interested in Roman roads? Have a look at http://alsystems.algroup.co.uk/archaeology Beneath the City Streets is on Google Books at http://books.google.com/books?id=zAf-uwRCdXwC