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 572331 Details for
Bug 806413
Please make Xorg server to exit with correct exitcode on SEGV (patch included)
[?]
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.
[patch]
Proposed patch
xorg-server-1.12.0.patch (text/plain), 1.60 KB, created by
Denys Vlasenko
on 2012-03-23 16:37:24 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Denys Vlasenko
Created:
2012-03-23 16:37:24 UTC
Size:
1.60 KB
patch
obsolete
>diff -urp xorg-server-1.12.0/include/opaque.h xorg-server-1.12.0.new/include/opaque.h >--- xorg-server-1.12.0/include/opaque.h 2010-11-30 22:37:56.000000000 +0100 >+++ xorg-server-1.12.0.new/include/opaque.h 2012-03-23 17:19:37.029655396 +0100 >@@ -72,6 +72,7 @@ extern _X_EXPORT Bool whiteRoot; > extern _X_EXPORT Bool bgNoneRoot; > > extern _X_EXPORT Bool CoreDump; >+extern _X_EXPORT int FatalSignal; > > > #endif /* OPAQUE_H */ >diff -urp xorg-server-1.12.0/os/log.c xorg-server-1.12.0.new/os/log.c >--- xorg-server-1.12.0/os/log.c 2012-01-17 00:51:54.000000000 +0100 >+++ xorg-server-1.12.0.new/os/log.c 2012-03-23 17:23:07.612949741 +0100 >@@ -481,7 +481,11 @@ AbortServer(void) > fflush(stderr); > if (CoreDump) > OsAbort(); >- exit (1); >+ if (!FatalSignal) >+ exit(1); >+ signal(FatalSignal, SIG_DFL); >+ raise(FatalSignal); >+ exit(FatalSignal + 128); > } > > #define AUDIT_PREFIX "AUDIT: %s: %ld: " >diff -urp xorg-server-1.12.0/os/osinit.c xorg-server-1.12.0.new/os/osinit.c >--- xorg-server-1.12.0/os/osinit.c 2011-12-14 20:33:55.000000000 +0100 >+++ xorg-server-1.12.0.new/os/osinit.c 2012-03-23 17:21:30.966817117 +0100 >@@ -130,7 +130,7 @@ OsSigHandler(int signo) > > #ifdef SA_SIGINFO > if (sip->si_code == SI_USER) { >- ErrorF("Recieved signal %d sent by process %ld, uid %ld\n", >+ ErrorF("Received signal %d sent by process %ld, uid %ld\n", > signo, (long) sip->si_pid, (long) sip->si_uid); > } else { > switch (signo) { >@@ -143,6 +143,7 @@ OsSigHandler(int signo) > } > #endif > >+ FatalSignal = signo; > FatalError("Caught signal %d (%s). Server aborting\n", > signo, strsignal(signo)); > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 806413
: 572331