comp.lang.ada
 help / color / mirror / Atom feed
From: hreba <f_hreba@yahoo.com.br>
Subject: Re: storage error: stack overflow
Date: Fri, 14 Aug 2015 10:53:49 -0300
Date: 2015-08-14T10:53:49-03:00	[thread overview]
Message-ID: <d36a7fFhdhU1@mid.individual.net> (raw)
In-Reply-To: <lyr3n7pt0z.fsf@pushface.org>

On 08/13/2015 04:05 AM, Simon Wright wrote:
> hreba <f_hreba@yahoo.com.br> writes:
>
>> ==4823==    at 0x66FF1A0: ada__strings__unbounded__reference (in
>> /usr/lib/x86_64-linux-gnu/libgnat-4.6.so.1)
>> ==4823==    by 0x6703851: ada__strings__unbounded___assign__2 (in
>> /usr/lib/x86_64-linux-gnu/libgnat-4.6.so.1)
>> ==4823==    by 0x425FE5: surfaces__deep_copy_base (surfaces.adb:12)
>
> If you built your program with -g it should have linked with the static
> version of the libraries rather than the dynamic one, which would
> probably have been able to provide line number information within
> libgnat. Is it possible you don't have libgnat.a installed? Is there
> some -dev version of the libraries that you don't have? (I don't know
> Debian-based systems well).
>

All project files have "-g" as Compiler switch. One imported project 
file has it additionally as builder and linker switch. Makes it a 
difference?

The installed files from libgnat are
/usr
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/libgnarl-4.6.so.1
/usr/lib/x86_64-linux-gnu/libgnat-4.6.so.1
/usr/share
/usr/share/doc
/usr/share/doc/libgnat-4.6
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/libgnat-4.6

So there are only dynamic libraries. 'find /usr -name libgnat.a' found
/usr/lib/gcc/x86_64-linux-gnu/4.6/rts-native/adalib/libgnat.a
but I don't know where this comes from (perhaps I tried AdaCore earlier, 
I don't remember) and if this directory is being searched.
-- 
Frank Hrebabetzky		+55 / 48 / 3235 1106
Florianopolis, Brazil

  reply	other threads:[~2015-08-14 13:53 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-11 21:53 storage error: stack overflow hreba
2015-08-11 22:19 ` Jeffrey R. Carter
2015-08-12 15:01   ` hreba
2015-08-12 16:00     ` AdaMagica
2015-08-12 17:51     ` Jeffrey R. Carter
2015-08-13  2:17       ` hreba
2015-08-12  8:27 ` briot.emmanuel
2015-08-13  1:34   ` hreba
2015-08-13  2:53     ` Jeffrey R. Carter
2015-08-13  7:05     ` Simon Wright
2015-08-14 13:53       ` hreba [this message]
2015-08-14 16:01         ` Simon Wright
2015-08-14 17:00         ` Simon Wright
2015-08-13  7:19     ` Simon Wright
2015-08-14 13:20       ` hreba
2015-08-12 10:31 ` Markus Schöpflin
2015-08-13  1:36   ` hreba
2015-08-12 10:57 ` Simon Wright
2015-08-13  0:55   ` hreba
2015-08-13  6:58     ` Simon Wright
2015-08-18  2:16 ` hreba
2015-08-18  5:49   ` Jeffrey R. Carter
2015-08-18  7:24   ` Egil H H
2015-08-18 12:23     ` hreba
2015-08-18 12:37       ` Jacob Sparre Andersen
2015-08-18 14:02         ` hreba
2015-08-18 14:11           ` Dmitry A. Kazakov
2015-08-18 14:16           ` Jeffrey R. Carter
2015-08-18 20:56             ` Randy Brukardt
2015-08-19  1:48             ` hreba
2015-08-19  5:10               ` Jeffrey R. Carter
2015-08-19  8:44               ` Georg Bauhaus
2015-08-19 11:56                 ` hreba
2015-08-19 20:53               ` Bob Duff
2015-08-18 14:15       ` Egil H H
2015-08-19 13:07         ` hreba
2015-08-18 14:16       ` Jeffrey R. Carter
2015-08-19 13:12         ` hreba
2015-08-19 20:47         ` Bob Duff
2015-08-19 21:47           ` Jeffrey R. Carter
2015-08-20  7:18             ` Dmitry A. Kazakov
2015-08-20 20:48           ` Randy Brukardt
replies disabled

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