comp.lang.ada
 help / color / mirror / Atom feed
From: "Alejandro R. Mosteo" <alejandro@mosteo.com>
Subject: Storage_Error: mine's or gnat's fault?
Date: Fri, 3 Jun 2016 23:01:22 +0200
Date: 2016-06-03T23:01:22+02:00	[thread overview]
Message-ID: <nisr73$2ac$1@dont-email.me> (raw)

I'm seeing this (sanitized) stack trace when using the 
*Ada.Containers.Holders* package (both 2015/2016 version):

--8<--
raised STORAGE_ERROR : stack overflow or erroneous memory access

Ada.Tags.Displace at s-stoele.adb:97
Rx.Producers.Holders.Definites.Reference at a-coinho.adb:379
Rx.Examples.Strings.Subscribe at rx-observable.adb:33
Rx.Examples.Strings."&" at rx-observable.adb:81
Rx.Examples.Basic at rx-examples-basic.adb:14
Main at b__rx-examples-basic.adb:345
--8<--

Since my code has not a single pointer, "new", unchecked operation or 
access I feel the responsibility might not be mine... Also the offending 
line is a bit of unfathomable (to me) Address arithmetic. I'd post a 
sample but the code is spread among several files right now. I could try 
to synthesize a self-contained example if it seems a legit bug in the 
sages' opinion.

In the meantime I'm going to try with an indefinite list as container.

Álex.


             reply	other threads:[~2016-06-03 21:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-03 21:01 Alejandro R. Mosteo [this message]
2016-06-03 21:43 ` Storage_Error: mine's or gnat's fault? Alejandro R. Mosteo
2016-06-03 22:45   ` Jeffrey R. Carter
2016-06-03 22:48     ` Jeffrey R. Carter
2016-06-04 18:50   ` Simon Wright
2016-06-05 14:05     ` Alejandro R. Mosteo
replies disabled

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