comp.lang.ada
 help / color / mirror / Atom feed
* Storage_Error: mine's or gnat's fault?
@ 2016-06-03 21:01 Alejandro R. Mosteo
  2016-06-03 21:43 ` Alejandro R. Mosteo
  0 siblings, 1 reply; 6+ messages in thread
From: Alejandro R. Mosteo @ 2016-06-03 21:01 UTC (permalink / 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.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-06-05 14:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-03 21:01 Storage_Error: mine's or gnat's fault? Alejandro R. Mosteo
2016-06-03 21:43 ` 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

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