Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jun 2013 10:35:23 +0100
From:      Peter Laurie <p.c.s.laurie.58@cantab.net>
To:        questions@FreeBSD.org
Subject:   stack overflow
Message-ID:  <51CEAA5B.7040908@cantab.net>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?51CEAA5B.7040908>