Bug 8597 - Netscape lacks poll() wrapper.
Summary: Netscape lacks poll() wrapper.
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: netscape
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2000-01-19 09:38 UTC by David Woodhouse
Modified: 2014-03-17 02:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-02-02 03:11:00 UTC
Embargoed:


Attachments (Terms of Use)

Description David Woodhouse 2000-01-19 09:38:47 UTC
Netscape uses its own threading model, and provides an override for the
select() function call to prevent a rogue thread from blocking the whole
process.

Unfortunately, it fails to provide a similar wrapper for the poll()
function call, with the disastrous effect that any library or plugin using
poll() will cause netscape to lock up.

The category of 'library or plugin using poll()' happens to include the
latest version of the XFree86 libXt. This is, to say the least,
unfortunate.

It's fairly likely that there's already a netscape wrapper for poll(), used
on some other *nix platform, and that it just needs to be enabled for
compilation on the Linux build. Even if not, it should be trivial for
someone with access to the Netscape source to provide one, and possibly
distribute it as an LD_PRELOADable library, if not an updated binary.

I'm not sure if Red Hat has access to the Netscape source tree in order to
maintain the "linux2.2" (actually more accurately named "glibc2.1") version
of the browser, but even if not, it might be possible for Red Hat to ask
Netscape to produce this modification/library.

If Red Hat doesn't have Netscape source access - then perhaps it could be
arranged. I'm fairly sure that Netscape do provide source to platform
vendors in order for them to maintain specific versions of the browser. Red
Hat could do the same.

Comment 1 Bill Nottingham 2000-02-02 03:11:59 UTC
It's known about and reported to netscape; no fix yet aside from
compiling the latest Xt without poll() support.


Note You need to log in before you can comment on or make changes to this bug.