Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 410658 Details for
Bug 587817
valgrind gets SIGSEGV on a failure of fork()
Home
New
Search
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.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
more reliable reproducer
valgrind-fork-sigsegv.c (text/plain), 581 bytes, created by
Kamil Dudka
on 2010-05-01 10:16:58 UTC
(
hide
)
Description:
more reliable reproducer
Filename:
MIME Type:
Creator:
Kamil Dudka
Created:
2010-05-01 10:16:58 UTC
Size:
581 bytes
patch
obsolete
>#if 0 >gcc -g -O0 valgrind-fork-sigsegv.c || exit $? >ulimit -u 128 >valgrind -q ./a.out >exit $? >#endif > >#include <stdio.h> >#include <stdlib.h> >#include <signal.h> >#include <unistd.h> > >int main() >{ > int i; > if (SIG_ERR == signal(SIGCHLD, SIG_IGN)) > return EXIT_FAILURE; > > for (i = 0; i < 0x100; i++) > { > pid_t pid = fork(); > if (pid == 0) { > sleep(4); > return EXIT_SUCCESS; > } > > if (0 < pid) > continue; > > fprintf(stderr, "%d\n", 0); > return EXIT_FAILURE; > } > > return EXIT_SUCCESS; >}
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 587817
:
410613
| 410658