Bug 385151

Summary: xview clients crash under Fedora 8
Product: [Fedora] Fedora Reporter: Need Real Name <howarth>
Component: libX11Assignee: Søren Sandmann Pedersen <sandmann>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: kem, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
URL: http://www.physionet.org/physiotools/xview/
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-09 07:25:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Description Flags
xview srpm for Fedora 8 none

Description Need Real Name 2007-11-15 18:11:58 UTC
Description of problem: The NMRDraw program of NMRPipe crashes under Fedora 8
with the error...

nmrdraw: xcb_io.c:285: _XAllocID: Assertion `!(dpy->flags & (1L << 3))' failed.

This problem is also seen with the OpenSuse 10.3...


This problems sounds like the generic issue discussed here...


It would appear that these new XPROTO tests need to be disabled.
This problem doesn't exist under Fedora 7.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Install Fedora 8 i386
2. Install NMRPipe
3. execute nmrDraw
Actual results:
nmrDraw should open its windows as shown in the screenshot at

Expected results:
The nmrDraw program aborts with the error...

nmrdraw: xcb_io.c:285: _XAllocID: Assertion `!(dpy->flags & (1L << 3))' failed.

Additional info:

Comment 1 Need Real Name 2007-11-16 15:18:57 UTC
This problem can be hacked around by making sure that nmrdraw runs against a
copy of libX11.so.6.2.0 from Fedora 7 or OpenSuse 10.2 when executed under
Fedora 8 or OpenSuse 10.3. I suspect this indicates the problem is related to
the new linkage of libX11 with libxcb?

Comment 2 Need Real Name 2007-11-16 15:38:15 UTC
The newer libxcb-1.1-1.fc9.src.rpm when built under Fedora 8 against the package
built from xcb-proto-1.1-1.fc9.src.rpm under Fedora 8 doesn't solve the crash.
Only the libX11.so.6.2.0 from Fedora 7 eliminates the crash in nmrDraw.

Comment 3 Need Real Name 2007-11-16 17:44:46 UTC
Opps. This problem appears to be in xview rather than nmrdraw itself. The xview
clock and textedit clients both crash with the same error.

Comment 4 Need Real Name 2007-11-16 21:29:55 UTC
I have built a debug version of xview 3.1.2 under Fedora Core 8 and posted the
gdb backtrace for a crash in the openwin clock client....


Comment 5 Need Real Name 2007-11-16 21:31:12 UTC
Created attachment 261821 [details]
xview srpm for Fedora 8

Comment 6 Need Real Name 2007-11-17 00:47:42 UTC
A hack to work around this problem in xview has been available for awhile at...


I observe the same behavior under Fedora 8. Any one of the four XAllocID() calls
can succeed in server.c of libxview. However a second call to XAllocID() will always
fail. The workaround is to substitute a single call to XAllocIDs() to handle all four of
the XAllocID changes at once. This solves both the crashes in the openwin clients
like clock and the problems with nmrDraw. Although a workaround exists, it would 
be nice if the underlying bug in x.org were fixed.

Comment 7 Need Real Name 2007-11-19 15:15:59 UTC
Martin Buck of Debian believes that this is a latent bug in xview since the
documentation of the XAllocIDs() suggests that multiple calls are a problem...


It would be nice if upstream could make this problem more explicit.
Particularly, the appendix on XAllocID() doesn't mention multiple calls at all
and that is the one triggering the problem.

Comment 8 Bug Zapper 2008-11-26 08:27:40 UTC
This message is a reminder that Fedora 8 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 8.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '8'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 8's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 8 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 

Comment 9 Bug Zapper 2009-01-09 07:25:36 UTC
Fedora 8 changed to end-of-life (EOL) status on 2009-01-07. Fedora 8 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.