Bug 428953

Summary: xcb_io.c:452: _XRead: Assertion `dpy->xcb->reply_data != 0' failed
Product: [Fedora] Fedora Reporter: Hana Skoumalová <hana.skoumalova>
Component: libxcbAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-01-18 10:52:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
strace on Machine 1 (Sun Java)
none
strace on Machine 2 (IcedTea Java, openoffice from the distribution) none

Description Hana Skoumalová 2008-01-16 12:55:07 UTC
Description of problem:

When I try to run OpenOffice I get the following error messages:

soffice.bin: xcb_io.c:452: _XRead: Assertion `dpy->xcb->reply_data != 0' failed.
soffice.bin: xcb_io.c:182: process_responses: Assertion `((int)
(((dpy->last_request_read)) - ((dpy->request))) <= 0)' failed.
/opt/openoffice.org2.3/program/soffice: line 251:  7805 Aborted                
"$sd_prog/$sd_binary" "$@"

This happens on two machines at work, though our home machines work.

Machine 1:
Fedora 8 with SRSS 3.1.1 and Sun Java - we had to apply certain non-standard
patched in order to make SRSS work, but this doesn't seem to be the problem.

Machine 2:
Standard installation of Fedora 8 with IcedTea Java.

On Machine 1, I tried to install OpenOffice package from openoffice.org, but the
result is the same.

How reproducible:
Always on the two machines

Steps to Reproduce:
1. run swriter (or oowriter) from the command-line
2.
3.
  
Actual results:

Machine 1:
soffice.bin: xcb_io.c:452: _XRead: Assertion `dpy->xcb->reply_data != 0' failed.
soffice.bin: xcb_io.c:182: process_responses: Assertion `((int)
(((dpy->last_request_read)) - ((dpy->request))) <= 0)' failed.
/opt/openoffice.org2.3/program/soffice: line 251:  7805 Aborted                
"$sd_prog/$sd_binary" "$@"

Machine 2:
swriter.bin: xcb_io.c:452: _XRead: Assertion `dpy->xcb->reply_data != 0' failed.
/usr/lib64/openoffice.org/program/soffice: line 147: 29552 Aborted             
   "$sd_prog/$sd_binary" "$@"

Expected results:

openoffice launches

Additional info:

I am adding the output of strace.

Comment 1 Hana Skoumalová 2008-01-16 12:55:07 UTC
Created attachment 291849 [details]
strace on Machine 1 (Sun Java)

Comment 2 Hana Skoumalová 2008-01-16 12:58:11 UTC
Created attachment 291850 [details]
strace on Machine 2 (IcedTea Java, openoffice from the distribution)

Comment 3 Hana Skoumalová 2008-01-18 10:52:00 UTC
I was pointed to another bug, which describes this problem. In fact, it is the
fault of SunRay Server. The simple workaround is:

env SAL_NOOPENGL=true ooffice

*** This bug has been marked as a duplicate of 417821 ***