comp.lang.ada
 help / color / mirror / Atom feed
From: "Robert C. Leif" <rleif@rleif.com>
To: <comp.lang.ada@ada-france.org>
Subject: RE:  STORAGE_ERROR : EXCEPTION_STACK_OVERFLOW
Date: Sat, 9 Jul 2005 05:29:09 -0700
Date: 2005-07-09T05:29:09-07:00	[thread overview]
Message-ID: <mailman.133.1120912262.17633.comp.lang.ada@ada-france.org> (raw)
In-Reply-To: <20050709100024.322314C41FD@lovelace.ada-france.org>

   Marius Amado Alves wrote, "isn't it possible that your program has a
logic fault that is exhausting that stack?"
   Since the original version with 16 bit pixels works and a new version
with 16 bit pixels and an access type for the two dimensional array works,
the existence of a logic fault that exhausts the stack is highly unlikely.
The access type version with 32 bit pixels executes.  However, there appears
to be a problem with the creation of the normalized images, which have 8 bit
pixels.  These 8 bit pixel images are critical because the dynamic range of
the human eye while looking at an image is of the order of 8 bits.
   The real problem is that I can not use a standard, simple data-type (a
two dimensional array) for my program, which could be eventually used in a
medical device.  I am presently forced to increase the complexity of my
program by the use of access types and consequently have decreased its
safety. 
   Hypothetically, if I find a sponsor with adequate funding to
commercialize this research technology, the next step would be to use SPARK,
which does not include access types.  I suspect that there is a reasonable
consensus amongst the readers of Comp.Lang.Ada that Ada and SPARK are
excellent choices for medical imaging.  Therefore, it would be very useful
to either create large objects on the stack or have the compiler put them on
the heap while maintaining the relatively simple syntax of a two dimensional
array type.  In short, the compiler should permit me to maintain the
abstraction.  Obviously under these circumstances, the use of a pragma would
be acceptable. Is there anything to be learned from Java technology where it
appears that simple data-types are put on the heap?
   Bob Leif
   
   ------------------------------------------------------------------
   Date: Sat, 9 Jul 2005 10:27:55 +0100
   From: Marius Amado Alves <amado.alves@netcabo.pt>
   Subject: Re: STORAGE_ERROR : EXCEPTION_STACK_OVERFLOW
   To: Robert C.Leif <rleif@rleif.com>
   Cc: "Comp. Lang. Ada" <comp.lang.ada@ada-france.org>
   Message-ID: <0374b45e755cd2faa7be393083f5d669@netcabo.pt>
   Content-Type: text/plain; charset=US-ASCII; format=flowed
   
   What does this message mean EXCEPTION_STACK_OVERFLOW?
   
   If it means overflow of a stack of exceptions, then isn't it possible 
   that your program has a logic fault that is exhausting that stack?
   
   ------------------------------
   




       reply	other threads:[~2005-07-09 12:29 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050709100024.322314C41FD@lovelace.ada-france.org>
2005-07-09 12:29 ` Robert C. Leif [this message]
2007-04-02  6:13 STORAGE_ERROR : EXCEPTION_STACK_OVERFLOW andrew.carroll
2007-04-02 10:10 ` Stephen Leake
2007-04-02 14:11   ` andrew.carroll
2007-04-02 18:43     ` andrew.carroll
2007-04-02 21:48       ` Georg Bauhaus
2007-04-02 21:40         ` andrew.carroll
2007-04-03 10:25           ` Georg Bauhaus
2007-04-03 17:07             ` andrew.carroll
2007-04-03 19:43             ` Simon Wright
2007-04-03 21:32               ` andrew.carroll
2007-04-04  0:49               ` Georg Bauhaus
2007-04-04  0:32                 ` andrew.carroll
2007-04-05 18:28                   ` Georg Bauhaus
2007-04-09 13:12                     ` andrew.carroll
2007-04-09 18:19                       ` Georg Bauhaus
2007-04-10 13:22                         ` andrew.carroll
2007-04-10 15:07                           ` Ludovic Brenta
2007-04-10 20:55                             ` andrew.carroll
2007-04-10 22:17                               ` Georg Bauhaus
2007-04-10 21:43                                 ` andrew.carroll
2007-04-12  8:32                                   ` Ludovic Brenta
2007-04-11  1:55                               ` Jeffrey R. Carter
2007-04-11  2:34                                 ` andrew.carroll
2007-04-05  0:56                 ` andrew.carroll
2007-04-02 20:45     ` Simon Wright
2007-04-02 21:47       ` andrew.carroll
2007-04-02 22:05 ` andrew.carroll
2007-04-03  0:09   ` Randy Brukardt
2007-04-11  2:49 ` andrew.carroll
2007-04-11  8:07   ` Georg Bauhaus
2007-04-11 21:31   ` Simon Wright
2007-04-12 16:00     ` andrew.carroll
2007-04-12 19:08       ` Simon Wright
2007-04-12 13:48 ` andrew.carroll
2007-04-12 15:49   ` Georg Bauhaus
  -- strict thread matches above, loose matches on Subject: below --
2005-08-05  0:55 Adaddict
2005-08-05  1:21 ` Adaddict
     [not found] <200507082148.j68LmXhG002695@mail733.megamailservers.com>
2005-07-09  9:27 ` Marius Amado Alves
2005-07-09 19:14 ` Duncan Sands
2005-07-08 21:48 Robert C. Leif
2005-07-09  3:52 ` John B. Matthews
2005-07-12  0:29   ` jim hopper
2005-07-09 22:55 ` Björn Persson
2005-07-11 10:15 ` Alex R. Mosteo
2005-07-11 20:07 ` Keith Thompson
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox