Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 144493 Details for
Bug 220921
invalid arguments to setitimer causes kernel to crash (soft lockup)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
Crash test case
crash.c (text/plain), 551 bytes, created by
Ahmon Dancy
on 2006-12-28 22:11:10 UTC
(
hide
)
Description:
Crash test case
Filename:
MIME Type:
Creator:
Ahmon Dancy
Created:
2006-12-28 22:11:10 UTC
Size:
551 bytes
patch
obsolete
>#include <stdio.h> >#include <sys/time.h> >#include <signal.h> >#include <string.h> >#include <stdlib.h> > >void handler(int sig) { > printf("Got alarm\n"); >} > >int main() { > struct itimerval it; > > signal(SIGALRM, handler); > > memset(&it, 0, sizeof(it)); > it.it_interval.tv_sec=2; > > if(setitimer(ITIMER_REAL, &it, NULL)) { > perror("setitimer"); > exit(1); > } > > > it.it_value.tv_sec=-1; > if(setitimer(ITIMER_REAL, &it, NULL)) { > perror("setitimer"); > exit(1); > } > > > while(1) { > printf("sleeping\n"); > sleep(60); > } > > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 220921
: 144493