bugThe GNU Hurd - Bugs: bug #15325, crash server crashing

 
 

bug #15325: crash server crashing

Submitted by:  Samuel Thibault <sthibaul>
Submitted on:  Thu 29 Dec 2005 09:57:19 PM UTC  
 
Category: Hurd ServersSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedReproducibility: Every Time
Size (loc): NonePlanned Release: None
Effort: 0.00
Wiki-like text discussion box: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 29 Dec 2005 09:58:45 PM UTC, comment #1:

The assertion itself works in the current cvs revision:

assert (sizeof (struct i386_thread_state) < sizeof (prgregset_t));

However, I would have put "<=" rather than "<" here...

Samuel Thibault <sthibaul>
Project Member
Thu 29 Dec 2005 09:57:19 PM UTC, original submission:

From http://bugs.debian.org/161231

From: -unavailable- (Neal H. Walfield)
To: -unavailable-
Subject: crash server crashing
Date: 17 Sep 2002 15:07:20 -0400

Package: Hurd
Version: 20020804-1

The crash server is crashing. I have seen the following assertion
triggered:

crash: ../../exec/elfcore.c:55: fetch_thread_regset: Assertion
`sizeof (struct i386_thread_state) == sizeof (prgrset_t)' failed.

That is, compile:

#include <assert.h>
int main (void) { assert (0 == 1); return 0; }

then run and watch the fun.

I have not examined the cause nor will I have time until Thursday at
the earliest.

Thanks.

From: Roland McGrath <roland@gnu.org>
To: -unavailable- (Neal H. Walfield), -unavailable-
Cc: -unavailable-
Subject: Re: Bug #161231: crash server crashing
Date: Tue, 17 Sep 2002 17:06:46 -0400 (EDT)

> The crash server is crashing. I have seen the following assertion
> triggered:
>
> crash: ../../exec/elfcore.c:55: fetch_thread_regset: Assertion
> `sizeof (struct i386_thread_state) == sizeof (prgrset_t)' failed.


D'oh. That's a compile-time constant crash. Clearly noone has tried this
code before at all. That's my bad for failing to notice the extra
trapno,err words in sys/ucontext.h. The fix is trivial enough.

Samuel Thibault <sthibaul>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by sthibaul (Updated the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 08 Nov 2014 07:59:52 PM UTCsthibaulOpen/ClosedOpen=>Closed
    Sat 31 Dec 2005 12:44:29 PM UTCamsStatusNone=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup