Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run Quickstart Error #57

Open
wpexia opened this issue Jul 19, 2017 · 1 comment
Open

Run Quickstart Error #57

wpexia opened this issue Jul 19, 2017 · 1 comment

Comments

@wpexia
Copy link

wpexia commented Jul 19, 2017

I try the Quickstart, But Failed.
Here's the error code from terminal.

# go run example.go
2017/07/19 14:21:40

=== gallium.Loop ===
in GalliumLoop
calling content::ContentMain...
MainDelegate::BasicStartupComplete
MainDelegate::PreSandboxStartup
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
at GalliumOpenWindow
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
at GalliumOpenWindowImpl
[warn] kq_init: detected broken kqueue; not using.: Undefined error: 0
V8 error: Entering the V8 API without proper locking in place (HandleScope::HandleScope).  Current memory usage: 77 MB
1   0x594a9f9 v8::HandleScope::Initialize(v8::Isolate*)
2   0x664fd4b blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
3   0x5e4fc74 blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
4   0x5e4fb98 blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
5   0x5f82735 blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
6   0x600d8cd blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
7   0x603311d blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
8   0x603100c blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
9   0x6009b7c blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
10  0x6008d18 blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
11  0x600939e blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
12  0x60004e6 blink::WebSubstringUtil::attributedSubstringInRange(blink::WebLocalFrame*, unsigned long, unsigned long)
13  0x588f692 WTF::callOnMainThread(WTF::Function<void ()> const&)
14  0x42dbd24 base::debug::TaskAnnotator::RunTask(char const*, char const*, base::PendingTask const&)
15  0x431b408 base::MessageLoop::RunTask(base::PendingTask const&)
16  0x431b5ef base::MessageLoop::DeferOrRunPendingTask(base::PendingTask const&)
17  0x431ba3c base::MessageLoop::DoWork()
18  0x42c2661 base::MessagePumpLibevent::OnWakeup(int, short, void*)
19  0x7fffc6c7b981 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__
20  0x7fffc6c5ca7d __CFRunLoopDoSources0
21  0x7fffc6c5bf76 __CFRunLoopRun
22  0x7fffc6c5b974 CFRunLoopRunSpecific
23  0x42c283f base::MessagePumpCFRunLoop::DoRun(base::MessagePump::Delegate*)
24  0x42c24cc base::MessagePumpLibevent::OnWakeup(int, short, void*)
25  0x43328f3 base::RunLoop::Run()
26  0x431abdd base::MessageLoop::Run()
27  0x435767f base::Thread::ThreadMain()
28  0x4350e0b base::PlatformThread::Join(base::PlatformThreadHandle)
29  0x7fffdc3c0aab _pthread_body
30  0x7fffdc3c09f7 _pthread_body
31  0x7fffdc3c01fd thread_start
signal: segmentation fault
@alexflint
Copy link
Owner

I have seen this happen before when LockOSThread was not called at the top of main, or where the chromium loop was not launched from the same goroutine that called LockOSThread. But both of those should be taken care of when running the quickstart demo, so I'm not sure what is causing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants