photoionization / cefode Goto Github PK
View Code? Open in Web Editor NEWCustom CEF build that has node.js API integration.
Custom CEF build that has node.js API integration.
rake download-cef-symbols
gives me the following output on the cefode branch:
Archive: /var/folders/7h/kq7lvpq95s77q5nmfrwzj7x00000gn/T/prebuilt-cef-download.XXXXXX.m5rgxP6v/symbols.zip
End-of-central-directory signature not found. Either this file is not
a zipfile, or it constitutes one disk of a multi-part archive. In the
latter case the central directory and zipfile comment will be found on
the last disk(s) of this archive.
There's a symbols.zip file there, but it looks like it's corrupted or something?
/cc @zcbenz
Crashed Thread: 0 CrRendererMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000053006568
VM Regions Near 0x53006568:
Memory tag=255 000000004eaff000-000000004eb00000 [ 4K] ---/rwx SM=NUL
-->
Memory tag=255 0000000055100000-0000000055119000 [ 100K] rw-/rwx SM=PRV
Thread 0 Crashed:: CrRendererMain Dispatch queue: com.apple.main-thread
0 libcef.dylib 0x01a0e360 0x164000 + 25863008
1 libcef.dylib 0x019ea3c2 0x164000 + 25715650
2 libcef.dylib 0x019ea9c7 0x164000 + 25717191
3 libcef.dylib 0x01c5923a 0x164000 + 28267066
4 libcef.dylib 0x01c5b6b6 0x164000 + 28276406
5 libcef.dylib 0x01c3b1fa 0x164000 + 28144122
6 libcef.dylib 0x01530325 0x164000 + 20759333
7 libcef.dylib 0x01576b2c 0x164000 + 21048108
8 libcef.dylib 0x01ad3826 0x164000 + 26671142
9 libcef.dylib 0x01ad3199 0x164000 + 26669465
10 libcef.dylib 0x01a165b5 0x164000 + 25896373
11 libcef.dylib 0x00ea8ace v8::internal::JSObject::SetPropertyWithInterceptor(v8::internal::String*, v8::internal::Object*, PropertyAttributes, v8::internal::StrictModeFlag) + 622
12 libcef.dylib 0x00f75eb3 v8::internal::StoreInterceptorProperty(v8::internal::Arguments, v8::internal::Isolate*) + 51
13 ??? 0x21e0a216 0 + 568369686
14 ??? 0x4d3df5ad 0 + 1295906221
15 ??? 0x21e0e581 0 + 568386945
16 ??? 0x384c2192 0 + 944513426
17 ??? 0x21e25665 0 + 568481381
18 ??? 0x384c0f04 0 + 944508676
19 ??? 0x384c0c2e 0 + 944507950
20 ??? 0x384c0a7d 0 + 944507517
21 ??? 0x21e0e581 0 + 568386945
22 ??? 0x384c1b7e 0 + 944511870
23 ??? 0x21e25665 0 + 568481381
24 ??? 0x384c0f04 0 + 944508676
25 ??? 0x384c0c2e 0 + 944507950
26 ??? 0x384c0a7d 0 + 944507517
27 ??? 0x21e0e581 0 + 568386945
28 ??? 0x384c1648 0 + 944510536
29 ??? 0x21e25665 0 + 568481381
30 ??? 0x384c0f04 0 + 944508676
31 ??? 0x384c0c2e 0 + 944507950
32 ??? 0x384c0a7d 0 + 944507517
33 ??? 0x384c09c3 0 + 944507331
34 ??? 0x384bcdeb 0 + 944492011
35 ??? 0x384c0864 0 + 944506980
36 ??? 0x384c0766 0 + 944506726
37 ??? 0x21e0e581 0 + 568386945
38 ??? 0x21e2565e 0 + 568481374
39 ??? 0x384a1fa0 0 + 944381856
40 ??? 0x21e0e581 0 + 568386945
41 ??? 0x384bf3f2 0 + 944501746
42 ??? 0x384bf25a 0 + 944501338
43 ??? 0x21e226b9 0 + 568469177
44 ??? 0x21e0af4a 0 + 568373066
45 libcef.dylib 0x00dae340 0x164000 + 12886848
46 libcef.dylib 0x00dadf4d v8::internal::Execution::Call(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, bool*, bool) + 349
47 libcef.dylib 0x00d522d6 v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) + 390
48 libcef.dylib 0x02424b36 0x164000 + 36440886
49 libcef.dylib 0x00d33e02 uv__run_check + 66
50 libcef.dylib 0x00d273d8 uv_run_once_nowait + 136
51 libcef.dylib 0x0058bbbf 0x164000 + 4357055
52 libcef.dylib 0x0058b47c 0x164000 + 4355196
53 libcef.dylib 0x005be2c1 0x164000 + 4563649
54 libcef.dylib 0x005d69de 0x164000 + 4663774
55 libcef.dylib 0x005bd9fa 0x164000 + 4561402
56 libcef.dylib 0x00548264 0x164000 + 4080228
57 libcef.dylib 0x001b2b43 0x164000 + 322371
58 libcef.dylib 0x001b3809 0x164000 + 325641
59 libcef.dylib 0x001b26d0 0x164000 + 321232
60 libcef.dylib 0x00c8890e 0x164000 + 11684110
61 libcef.dylib 0x00165a9f cef_execute_process + 239
The render thread seems to die if you throw an error from a node callback.
require('fs').stat('/', function() {throw new Error()})
Running the above code from the dev tools causes the entire window to stop rendering.
Got a random crash from a web worker when giving the window focus but the stack trace didn't have much detail.
Let me know if there is any other information that would be helpful to provide.
Crashed Thread: 7 WebCore: Worker
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000128
Thread 7 Crashed:: WebCore: Worker
0 libcef.dylib 0x00da1e72 uv_async_send + 34
1 libcef.dylib 0x01dde256 0x1df000 + 29356630
2 libcef.dylib 0x01de01ae 0x1df000 + 29364654
3 libcef.dylib 0x01de0131 0x1df000 + 29364529
4 libcef.dylib 0x0157723c 0x1df000 + 20546108
5 libcef.dylib 0x015774d0 0x1df000 + 20546768
6 libsystem_c.dylib 0x91983557 _pthread_start + 344
7 libsystem_c.dylib 0x9196dcee thread_start + 34
Thread 7 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x09a06078 ecx: 0xb0080e40 edx: 0xb0080e50
edi: 0x0285f1e8 esi: 0x09a06078 ebp: 0xb0080dd8 esp: 0xb0080dc0
ss: 0x00000023 efl: 0x00010286 eip: 0x00da1e72 cs: 0x0000001b
ds: 0x00000023 es: 0x00000023 fs: 0x00000023 gs: 0x0000000f
cr2: 0x00000128
Logical CPU: 2
Attempted to do a require on the time module and got this crash.
The module was compiled with npm 1.2.11 and the option npm_config_arch=x86_32
/cc @nathansobo @probablycorey
OS Version: Mac OS X 10.8.2 (12C3012)
Report Version: 10
Crashed Thread: 0 CrRendererMain Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Dyld Error Message:
Symbol not found: __ZN2v816FunctionTemplate3NewEPFNS_6HandleINS_5ValueEEERKNS_9ArgumentsEES3_NS1_INS_9SignatureEEE
Referenced from: /Users/USER/*/time.node
Expected in: dynamic lookup
Thread 0 Crashed:: CrRendererMain Dispatch queue: com.apple.main-thread
0 dyld 0x8fe470b5 dyld_fatal_error + 1
1 dyld 0x8fe49f36 dyld::bindLazySymbol(mach_header const*, unsigned long*) + 72
2 dyld 0x8fe5adbe stub_binding_helper_interface2 + 20
3 time.node 0x0656654e void node::SetMethod<v8::Handle<v8::Object> >(v8::Handle<v8::Object>, char const*, v8::Handle<v8::Value> (*)(v8::Arguments const&)) + 71 (node.h:115)
4 time.node 0x06566491 Time::Init(v8::Handle<v8::Object>) + 63 (time.cc:22)
5 time.node 0x0656644d init + 23 (time.cc:132)
6 libcef.dylib 0x024a2408 node::DLOpen(v8::Arguments const&) + 808
I'm trying to answer this question myself, by following the guide and bootstrap it.
But it failed some times due to network problem (even with VPN).
Since it looks like cefode hasn't been updated for a long time, may I ask: Is cefode still working?
Please tell me if not - that would save my bandwidth and my days.
It would be good to build off the fix for this issue.
In file included from :160:
:151:9: error: 'ENABLE_PRINTING' macro redefined [-Werror]
^
:24:9: note: previous definition is here
Crashed Thread: 9 WebCore: Worker
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Thread 9 Crashed:: WebCore: Worker
0 libcef.dylib 0x0055eca9 0xf0000 + 4648105
1 libsystem_c.dylib 0x9199dd51 free + 346
2 libcef.dylib 0x02486ce1 CRYPTO_free + 49
3 libcef.dylib 0x024896ad OBJ_NAME_add + 269
4 libcef.dylib 0x0247f534 EVP_add_cipher + 84
5 libcef.dylib 0x024785f2 OpenSSL_add_all_ciphers + 882
6 libcef.dylib 0x02478270 OPENSSL_add_all_algorithms_noconf + 16
7 libcef.dylib 0x023efcf7 node::crypto::InitCrypto(v8::Handle<v8::Object>) + 39
8 libcef.dylib 0x023b01d0 0xf0000 + 36438480
9 libcef.dylib 0x00d06dcf 0xf0000 + 12676559
10 ??? 0x33a0a216 0 + 866165270
11 ??? 0x33a33366 0 + 866333542
12 ??? 0x33a490e1 0 + 866423009
13 ??? 0x33a0e581 0 + 866182529
14 ??? 0x33a2a89c 0 + 866298012
15 ??? 0x33a2a314 0 + 866296596
16 ??? 0x33a45bed 0 + 866409453
17 ??? 0x33a0e581 0 + 866182529
18 ??? 0x33a45967 0 + 866408807
19 ??? 0x33a458c4 0 + 866408644
20 ??? 0x33a44ea6 0 + 866406054
21 ??? 0x33a4581f 0 + 866408479
22 ??? 0x33a226b9 0 + 866264761
23 ??? 0x33a0af4a 0 + 866168650
24 libcef.dylib 0x00d3a340 0xf0000 + 12886848
25 libcef.dylib 0x00d39f4d v8::internal::Execution::Call(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, bool*, bool) + 349
26 libcef.dylib 0x00cd02a8 v8::Script::Run() + 552
27 libcef.dylib 0x0198243a 0xf0000 + 25764922
28 libcef.dylib 0x0199edfd 0xf0000 + 25882109
29 libcef.dylib 0x0199f394 0xf0000 + 25883540
30 libcef.dylib 0x01ceac7a 0xf0000 + 29338746
31 libcef.dylib 0x01ce81d2 0xf0000 + 29327826
32 libcef.dylib 0x019c3b64 0xf0000 + 26032996
33 libcef.dylib 0x00d06dcf 0xf0000 + 12676559
34 ??? 0x33a0a216 0 + 866165270
35 ??? 0x33a4443d 0 + 866403389
36 ??? 0x33a25665 0 + 866276965
37 ??? 0x33a44183 0 + 866402691
38 ??? 0x33a226b9 0 + 866264761
39 ??? 0x33a0af4a 0 + 866168650
40 libcef.dylib 0x00d3a340 0xf0000 + 12886848
41 libcef.dylib 0x00d39f4d v8::internal::Execution::Call(v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, int, v8::internal::Handle<v8::internal::Object>*, bool*, bool) + 349
42 libcef.dylib 0x00cde2d6 v8::Function::Call(v8::Handle<v8::Object>, int, v8::Handle<v8::Value>*) + 390
43 libcef.dylib 0x0199dff6 0xf0000 + 25878518
44 libcef.dylib 0x0198ccdf 0xf0000 + 25808095
45 libcef.dylib 0x0199dd2b 0xf0000 + 25877803
46 libcef.dylib 0x014f4211 0xf0000 + 20988433
47 libcef.dylib 0x014f3e1e 0xf0000 + 20987422
48 libcef.dylib 0x014f3d29 0xf0000 + 20987177
49 libcef.dylib 0x01ceeb32 0xf0000 + 29354802
50 libcef.dylib 0x01cef566 0xf0000 + 29357414
51 libcef.dylib 0x01cef3d8 0xf0000 + 29357016
52 libcef.dylib 0x01cf11ae 0xf0000 + 29364654
53 libcef.dylib 0x01cf1131 0xf0000 + 29364529
54 libcef.dylib 0x0148823c 0xf0000 + 20546108
55 libcef.dylib 0x014884d0 0xf0000 + 20546768
56 libsystem_c.dylib 0x91983557 _pthread_start + 344
57 libsystem_c.dylib 0x9196dcee thread_start + 34
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.