Bug 541 - Xorg Xprt may crash with "Freeing resource id=40200000 which isn't there"
Summary: Xorg Xprt may crash with "Freeing resource id=40200000 which isn't there"
Alias: None
Product: xprint
Classification: Unclassified
Component: Server: Other (show other bugs)
Version: unspecified
Hardware: All All
: high enhancement
Assignee: Roland Mainz
QA Contact:
Depends on:
Reported: 2004-04-23 16:49 UTC by Roland Mainz
Modified: 2004-04-24 22:42 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:

Patch for 2004-04-22-XORG-CURRENT (559 bytes, patch)
2004-04-25 05:01 UTC, Roland Mainz
no flags Details | Splinter Review
Patch for 2004-04-25-trunk (1.20 KB, patch)
2004-04-26 08:40 UTC, Roland Mainz
no flags Details | Splinter Review

Description Roland Mainz 2004-04-23 16:49:37 UTC
The Xorg version of Xprt can "crash" with the following message when a client
exists unexpectedly (e.g. client crash may take Xprt with it):
-- snip --
Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from
AUDIT: Fri Apr 23 08:44:30 2004: 11056 Xprt: client 1 connected from local host
AUDIT: Fri Apr 23 08:45:34 2004: 11056 Xprt: client 1 disconnected

Fatal server error:
Freeing resource id=40200000 which isn't there
-- snip --
Comment 1 Roland Mainz 2004-04-25 05:01:14 UTC
Created attachment 234 [details] [review]
Patch for 2004-04-22-XORG-CURRENT

The patch makes the issue non-fatal... just a warning will be printed.
I am not sure whether this is really correct... but it worked for the last two
years in the xprint.mozdev.org CVS without problems...
Comment 2 Roland Mainz 2004-04-26 08:40:42 UTC
Created attachment 240 [details] [review]
Patch for 2004-04-25-trunk
Comment 3 Roland Mainz 2004-04-26 08:42:50 UTC
Patch checked-in...

Checking in xc/ChangeLog;
/cvs/xorg/xc/ChangeLog,v  <--  ChangeLog
new revision: 1.4; previous revision: 1.3
Checking in xc/programs/Xserver/dix/resource.c;
/cvs/xorg/xc/programs/Xserver/dix/resource.c,v  <--  resource.c
new revision: 1.3; previous revision: 1.2
Mailing the commit message to xorg-commit@pdx.freedesktop.org...

... marking bug as FIXED.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.