Solution for Chromium hangs on WinXP, Replace blocking sockets with non-blocking

"David L. Page" <[email protected]> Wed, 4 Feb 2009 11:02:21 -0500
Newsgroups gmane.comp.graphics.chromium.devel
Message-ID <[email protected]>
--===============0440047799877104520==
Content-Type: multipart/alternative; boundary=0016e6434612b9866a046219e9f9

--0016e6434612b9866a046219e9f9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

I am running six crservers and a crappfaker on a single multi-core machine
under WinXP. From time to time, the rendering windows hang. The longest run
I've had is about 45 minutes. The typical time up is about 10 minutes with
variation among the four different applications that I run.

I read through the Chromimum dev archives and located a series of 2006 posts
by Michael Durig where he includes a patch for non-blocking sockets instead
of blocking. Here's the archive.

http://sourceforge.net/mailarchive/forum.php?thread_name=45360EC9.4040108%40bfh.ch&forum_name=chromium-dev

This patch (with some slight modifications and #ifdef bracketing) seems to
do the trick at least for XP. I have now been running an app through
Chromium for 18+ hours with no hangs yet.

Couple quick questions:

(1) Does anyone have thoughts or words of warning as to whether a
non-blocking approach will cause other problems?

(2) Anyone else seeing the hang behavior on WinXP?

Best regards,

--Dave

-- 
David L. Page
Third Dimension Technologies LLC
Knoxville, Tennessee
[email protected]
865.607.8192

--0016e6434612b9866a046219e9f9
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div>I am running&nbsp;six crservers and a crappfaker on a single multi-cor=
e machine under WinXP. From time to time, the rendering windows hang. The l=
ongest run I&#39;ve had is about 45 minutes. The typical time up is about 1=
0 minutes with variation among the four different applications that I run.<=
/div>

<div>&nbsp;</div>
<div>I read through the Chromimum dev&nbsp;archives and located a series of=
 2006 posts by Michael Durig where he includes a patch for non-blocking soc=
kets instead of blocking.&nbsp;Here&#39;s the archive.</div>
<div>&nbsp;</div>
<div><a href=3D"http://sourceforge.net/mailarchive/forum.php?thread_name=3D=
45360EC9.4040108%40bfh.ch&amp;forum_name=3Dchromium-dev">http://sourceforge=
.net/mailarchive/forum.php?thread_name=3D45360EC9.4040108%40bfh.ch&amp;foru=
m_name=3Dchromium-dev</a></div>

<div>&nbsp;</div>
<div>This patch (with some slight modifications and #ifdef bracketing) seem=
s to do the trick at least for XP. I have now been running an app through C=
hromium for 18+ hours with no hangs yet.</div>
<div>&nbsp;</div>
<div>Couple quick questions:</div>
<div>&nbsp;</div>
<div>(1) Does anyone have thoughts or words of warning as to whether a non-=
blocking approach will cause other problems?</div>
<div>&nbsp;</div>
<div>(2) Anyone else seeing the hang behavior on WinXP?</div>
<div>&nbsp;</div>
<div>Best regards,</div>
<div>&nbsp;</div>
<div>--Dave<br clear=3D"all"></div>
<div><br>-- <br>David L. Page<br>Third Dimension Technologies LLC<br>Knoxvi=
lle, Tennessee<br><a href=3D"mailto:[email protected]">[email protected]<=
/a><br>865.607.8192<br><br></div>

--0016e6434612b9866a046219e9f9--


--===============0440047799877104520==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
--===============0440047799877104520==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Chromium-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chromium-dev

--===============0440047799877104520==--