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

 
 

bug #15325: crash server crashing

Submitter:  Samuel Thibault <sthibaul>
Submitted:  Thu 29 Dec 2005 09:57:19 PM UTC
   
 
Category:  Hurd Servers Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Reproducibility:  Every Time
Size (loc):  None Planned Release:  None
Effort:  0.00
Wiki-like text discussion box: 


* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
Thu 29 Dec 2005 09:57:19 PM UTC, original submission:  

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

From: -email is unavailable- (Neal H. Walfield)
To: -email is 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: -email is unavailable- (Neal H. Walfield), -email is unavailable-
Cc: -email is 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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-11-08 sthibaul Open/ClosedOpen Closed
    2005-12-31 ams StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code