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 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: 

Add a New Comment(Rich 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: -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>
Project Member

 

(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)
  •  

    Do you think this task is very important?
    If so, you can 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 UTC sthibaul Open/ClosedOpen => Closed
    Sat 31 Dec 2005 12:44:29 PM UTC ams StatusNone => Fixed

    Back to the top


    Powered by Savane 3.3