comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Stumped: Seg Fault with System.Secondary_Stack.SS_Mark()
Date: Fri, 07 Sep 2012 16:35:42 +0100
Date: 2012-09-07T16:35:42+01:00	[thread overview]
Message-ID: <m2zk51ong1.fsf@pushface.org> (raw)
In-Reply-To: cdb623ff-341f-42e6-ae30-dd5236476de9@googlegroups.com

awdorrin <awdorrin@gmail.com> writes:

> I verified that each pthread is being provided with 8MB of space for
> their stack. (This program starts off from C and spawns threads, which
> are mixed Ada and C.)

Have you registered these threads with the Ada RTS? See
g-thread.ads. You need to do this before doing anything (such as
accessing the secondary stack) which requires Ada-specific setup in the
TCB or equivalent.



  parent reply	other threads:[~2012-09-14 17:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-06 19:34 Stumped: Seg Fault with System.Secondary_Stack.SS_Mark() awdorrin
2012-09-06 19:57 ` Ludovic Brenta
2012-09-06 20:53   ` awdorrin
2012-09-06 21:18     ` Ludovic Brenta
2012-09-06 22:13       ` awdorrin
2012-09-07 14:38         ` awdorrin
2012-09-07 14:55           ` Ludovic Brenta
2012-09-07 15:35           ` Simon Wright [this message]
2012-09-07 16:18             ` awdorrin
2012-09-07 16:31               ` awdorrin
2012-09-07 17:07                 ` Simon Wright
2012-09-07 17:50                   ` awdorrin
2012-09-08 13:23                     ` francois_fabien
2012-09-10 13:50                       ` awdorrin
replies disabled

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