Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
v8 pauses forever at 100% CPU during Context::New and mksnapshot
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
v8@chilon.net  
View profile  
 More options Dec 30 2010, 9:54 am
From: "v...@chilon.net" <you.dont.know.je...@gmail.com>
Date: Thu, 30 Dec 2010 06:54:09 -0800 (PST)
Local: Thurs, Dec 30 2010 9:54 am
Subject: v8 pauses forever at 100% CPU during Context::New and mksnapshot
Hi,

Building v8 on centos 5 using:

scons arch=x64

Any code I link against libv8 now pauses forever at 100% CPU usage
when I call v8::Context::New()

I tried building with:

scons arch=x64 snapshot=on

This caused the build system to pause forever at 100% CPU running a
script called "mksnapshot".

Tried this using tags: 2.3.8, 2.5.9.6, branch 2.5 and trunk.

Is there a known issue with libv8 not working on Centos 5/Redhat 5?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vyacheslav Egorov  
View profile  
 More options Dec 30 2010, 9:57 am
From: Vyacheslav Egorov <vego...@chromium.org>
Date: Thu, 30 Dec 2010 15:57:41 +0100
Local: Thurs, Dec 30 2010 9:57 am
Subject: Re: [v8-users] v8 pauses forever at 100% CPU during Context::New and mksnapshot

What happens when you build debug version of v8?

scons arch=x64 shapshot=on mode=debug

Which version of GCC you are using?

--
Vyacheslav Egorov

On Thu, Dec 30, 2010 at 3:54 PM, v...@chilon.net <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
v8@chilon.net  
View profile  
 More options Dec 30 2010, 10:06 am
From: "v...@chilon.net" <you.dont.know.je...@gmail.com>
Date: Thu, 30 Dec 2010 07:06:13 -0800 (PST)
Local: Thurs, Dec 30 2010 10:06 am
Subject: Re: v8 pauses forever at 100% CPU during Context::New and mksnapshot
Thanks for responding quickly.

I'm using gcc 4.5.1.

When I compile using "mode=debug" then mksnapshot works fine and my
code stops freezing.

mode=release causes the 100% CPU freeze from at least version 2.3.8
onwards. Bad code generation using gcc 4.5.1 and -O3 maybe?

On Dec 30, 2:57 pm, Vyacheslav Egorov <vego...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Vyacheslav Egorov  
View profile  
 More options Dec 30 2010, 10:27 am
From: Vyacheslav Egorov <vego...@chromium.org>
Date: Thu, 30 Dec 2010 16:27:52 +0100
Local: Thurs, Dec 30 2010 10:27 am
Subject: Re: [v8-users] Re: v8 pauses forever at 100% CPU during Context::New and mksnapshot

I think you have encountered the following issue:

http://code.google.com/p/v8/issues/detail?id=884

--
Vyacheslav Egorov

On Thu, Dec 30, 2010 at 4:06 PM, v...@chilon.net <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
v8@chilon.net  
View profile  
 More options Dec 30 2010, 10:45 am
From: "v...@chilon.net" <you.dont.know.je...@gmail.com>
Date: Thu, 30 Dec 2010 07:45:37 -0800 (PST)
Local: Thurs, Dec 30 2010 10:45 am
Subject: Re: v8 pauses forever at 100% CPU during Context::New and mksnapshot
Thank you,

That looks like the problem. I fixed it by adding the compiler flag "-
fno-builtin-memcpy"

Could someone with source access put a test in the scons script to set
this compiler option when the gcc version is 4.5.x? The gcc bugzilla
says this fix will be ready in gcc 4.6.

Cheers, James

On Dec 30, 3:27 pm, Vyacheslav Egorov <vego...@chromium.org> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »