comp.lang.ada
 help / color / mirror / Atom feed
From: "andrew.carroll@okstate.edu" <andrew.carroll@okstate.edu>
Subject: Re: STORAGE_ERROR : EXCEPTION_STACK_OVERFLOW
Date: 3 Apr 2007 17:32:32 -0700
Date: 2007-04-03T17:32:32-07:00	[thread overview]
Message-ID: <1175646752.232264.37870@p77g2000hsh.googlegroups.com> (raw)
In-Reply-To: <1175647759.5751.25.camel@localhost.localdomain>

Ahhhhh, it's like a cool breeze on a hot day.  Finally, someone else
gets the results I do.
I've tried several different configurations of from_disc.  I always
seem to get the results you did.  Also, I moved table declarations
around in the tables.txt file to see if I could narrow it down to one
attribute type.  Doing so gives me the same error on different
attribute types.

At first I thought it might be the to_disc function was writing "bad
bytes" to the table file but I have not thought of a way to tell.
This would cause from_disc to fail.  I also tried moving table
declarations around in the tables.txt file and it gives mixed
results.  The date type you mentioned, if you move the declaration to
a different spot in the file, it will read it in fine.  One of the
other attribute types will then be broken.

Hence, I think there are several problems:
1.  somewhere I have a a pointer pointing to something it shouldn't.
It's possibly sharing an attribute in the schema.attributes array.
2.  Maybe?  It could be that the file stream is not an in out
parameter.
3.  It is not dispatching properly.

My goal is to get comp.lang.ada's thoughts.


Thanks.



On Apr 3, 7:49 pm, Georg Bauhaus <bauh...@futureapps.de> wrote:
> On Tue, 2007-04-03 at 20:43 +0100, Simon Wright wrote:
> >               ---------------------------------------------------
> >               Type one of the following at the prompt:
>
> >               ~  QUIT
> >               1  INSERT DATA
> >               2  UPDATE DATA
> >               3  DELETE DATA
> >               4  SHOW RECORDS
> >               For help type 'help'
> >               ---------------------------------------------------
> >               >>1
>
> Erh, got there, finally.
>
> Here is one observation, and a total lack of explanation: In function
> from_disc(...dateattribute), variable "temp", to be used as a
> pointer to the result value, is assigned a pointer to a
> newly allocated dateattribute. On my computer, this pointer isn't
> quite as I would have expected. In GDB, I get STORAGE_ERROR each time
> I try to print a field of the object (temp has an address), even
> though the contents at the address seem plausible by what (gdb) x/60c
> is showing me... It takes a few seconds until gdb dumps core after
> a seg fault in this case.
>
> (A temperature drop of some 15°C rel to yesterday is probably not be
> the only thing that is affecting me, so I'll stop being confused for
> today.)





  reply	other threads:[~2007-04-04  0:32 UTC|newest]

Thread overview: 46+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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] <20050709100024.322314C41FD@lovelace.ada-france.org>
2005-07-09 12:29 ` Robert C. Leif
     [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