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 149113 Details for
Bug 230634
PVFB backend fails to terminate when frontend vanishes early
[?]
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 fix
nofe.diff (text/plain), 1.20 KB, created by
Markus Armbruster
on 2007-03-02 14:09:21 UTC
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Markus Armbruster
Created:
2007-03-02 14:09:21 UTC
Size:
1.20 KB
patch
obsolete
>--- a/tools/xenfb/xenfb.c 2007-02-27 18:39:54.000000000 +0100 >+++ b/tools/xenfb/xenfb.c 2007-03-02 15:06:07.000000000 +0100 >@@ -243,6 +243,8 @@ static int xenfb_wait_for_state(struct x > unsigned state, dummy; > char **vec; > >+ awaited |= 1 << XenbusStateUnknown; >+ > for (;;) { > state = xenfb_read_state(xsh, dir); > if (state < 0) >@@ -317,6 +319,10 @@ static int xenfb_using_old_protocol(stru > > for (;;) { > state = xenfb_read_state(xsh, xenfb->fb.otherend); >+ if (state == XenbusStateUnknown) { >+ ret = -1; >+ break; >+ } > if (state > XenbusStateInitialising) { > ret = 0; /* frontend talks xenbus protocol */ > break; >@@ -534,7 +540,7 @@ int xenfb_attach_dom(struct xenfb *xenfb > { > struct xenfb_private *xenfb = (struct xenfb_private *)xenfb_pub; > struct xs_handle *xsh = xenfb->xsh; >- int val, serrno; >+ int ret, val, serrno; > struct xenfb_page *fb_page; > > xenfb_detach_dom(xenfb); >@@ -564,8 +570,9 @@ int xenfb_attach_dom(struct xenfb *xenfb > if (!xs_watch(xsh, xenfb->kbd.otherend, "")) > goto error; > >- if (xenfb_using_old_protocol(xenfb)) >- return 1; >+ ret = xenfb_using_old_protocol(xenfb); >+ if (ret) >+ return ret; > > if (xenfb_wait_for_frontend_initialised(&xenfb->fb) < 0) > goto error;
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 230634
: 149113