FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

LinkBack Thread Tools
Old 05-20-2010, 07:48 PM
Ludovic Brenta
Default Bug#582485: gnat-4.3: symbolic tracebacks broken; raise Storage_Error

Package: gnat-4.3
Version: 4.3.0-1
Severity: important

(from Björn Persson):

with Ada.Text_IO;
with GNAT.Traceback.Symbolic;

procedure Stack_Trace_Test is

Oopsie : Exception;

procedure Eledile is
raise Oopsie with "How unfortunate!";
end Eledile;

procedure Crocophant is
end Crocophant;

when E : others =>
Ada.Text_IO.Put_Line(GNAT.Traceback.Symbolic.Symbo lic_Traceback(E));
end Stack_Trace_Test;

$ gnatmake stack_trace_test.adb -g -bargs -E
gcc-4.3 -c -g stack_trace_test.adb
gnatbind -E -x stack_trace_test.ali
gnatlink stack_trace_test.ali -g
$ ./stack_trace_test

Execution terminated by unhandled exception
Exception name: STORAGE_ERROR
Message: stack overflow (or erroneous memory access)
Call stack traceback locations:
$ addr2line --functions --exe=stack_trace_test 0xb7e7c56b

To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 87hbm2bbii.fsf@ludovic-brenta.org">http://lists.debian.org/87hbm2bbii.fsf@ludovic-brenta.org

Thread Tools

All times are GMT. The time now is 07:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org