From: Jeff C <jcreem@yahoo.com>
Subject: Re: GNAT.Sockets Segfault in a task
Date: Sun, 03 Apr 2005 08:28:56 -0400
Date: 2005-04-03T08:28:56-04:00 [thread overview]
Message-ID: <EbCdnVQRI7HvfNLfRVn-tg@comcast.com> (raw)
In-Reply-To: <pan.2005.04.03.09.16.38.236949@nospam.a2lf.org>
Jean-Baptiste CAMPESATO wrote:
> re-Hello :)
> To begin my code is here : http://www.a2lf.org/chttpd/.
> At httpd.adb, line 81, I've "Message:String := String'Input(Channel);" In
> a procedure called by a task. And i get a Segfault sometimes when I
> receive a text from the Socket.
> I already tested to make a task type reather than a task, and I've always
> this problem.
> Somebody know what's the problem ?
> Thanks a lot.
Perhaps you are blowing the stack for the task? GNAT does not enable
storage error for stack errors be default (you must build with
-fstack-check).
When you made it a task type did you try setting a large stack for the
task type?
next prev parent reply other threads:[~2005-04-03 12:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-03 9:16 GNAT.Sockets Segfault in a task Jean-Baptiste CAMPESATO
2005-04-03 12:28 ` Jeff C [this message]
2005-04-03 12:34 ` Jean-Baptiste CAMPESATO
2005-04-03 13:28 ` Pascal Obry
2005-04-03 13:35 ` Jean-Baptiste CAMPESATO
2005-04-03 15:17 ` Jean-Baptiste CAMPESATO
2005-04-03 18:08 ` tmoran
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox