gallium
gallium copied to clipboard
Run Quickstart Error
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
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.