From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,51cac8d4f3a458ad X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Sun, 03 Apr 2005 07:28:34 -0500 Date: Sun, 03 Apr 2005 08:28:56 -0400 From: Jeff C User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT.Sockets Segfault in a task References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 24.147.74.171 X-Trace: sv3-Hs92VdojMCda2VBWf1IRNc1iPpsRlYRT1wOPp5odHr5IPZl0L8V8Ts4Q9ov3ASez8Y8QwjeNozDUFTt!m2e7S2ViXPoA0CvUMyZ5tN6TaOo+OqamiIWlh4jNd6RNAo0Q4IcQHJD9uj87vA== X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.32 Xref: g2news1.google.com comp.lang.ada:10248 Date: 2005-04-03T08:28:56-04:00 List-Id: 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?