To: djgpp AT sun DOT soe DOT clarkson DOT edu From: "Nick van der Merwe" Date: 28 Jul 93 16:47:43 SAST-2 Subject: Exception 14 error I have an image processing program that is crashing at a specific point with the error message : " Segmentation violation in pointer 0x00000000 at 40:465c Exception 14 (0xe) at eip=465c" Previously I had 3 2D arrays define straight i.e image[512][512] etc , and my program worked fine. The total data space needed was far less than the 8M I have on board. When I changed my 2D arrays to **image etc. and dynamically allocated and freed the arrays as needed , my program crashed with the error message. Note that the 2D arrays were working as I did convolutions etc. on them before the crash. The program crashed right at the end of a search through one of these 2D arrays. Can anyone make any sense out of this?Why is it crashing with dynamic allocation but not with straight allocation of 2D arrays?How can I find out exactly what is causing the problem? Thanks ---------------------------------------------------------------------- Nick van der Merwe Department of Surveying and Geodetic Engineering University of Cape Town | " I have a cunning plan...." South Africa | - Baldrick (Black Adder) Internet: neek AT cerecam DOT uct DOT ac DOT za or nickvdm AT eleceng DOT uct DOT ac DOT za