spajak / cef-pdf

cef-pdf HTML to PDF utility
MIT License
76 stars 33 forks source link

Running Apache Benchmark raises Mach port errors. #10

Open beckyconning opened 6 years ago

beckyconning commented 6 years ago

[0818/155022.479392:ERROR:node_controller.cc(1258)] Error on receiving Mach ports 9A3CE724EE0F1F50.8B6639709E110ED7. Dropping message. [0818/155022.480067:ERROR:node_controller.cc(1258)] Error on receiving Mach ports 9A3CE724EE0F1F50.8B6639709E110ED7. Dropping message. [0818/155022.482067:ERROR:node_controller.cc(1258)] Error on receiving Mach ports 9A3CE724EE0F1F50.8B6639709E110ED7. Dropping message. [0818/155022.495248:ERROR:node_controller.cc(1258)] Error on receiving Mach ports D7544DA778CC245.E7F190FF8AEC0953. Dropping message. [0818/155023.489002:ERROR:node_controller.cc(1258)] Error on receiving Mach ports F6E274AE0B134AD3.784323643B9E5F17. Dropping message.
[0818/155023.489103:ERROR:node_controller.cc(1258)] Error on receiving Mach ports F6E274AE0B134AD3.784323643B9E5F17. Dropping message.
[0818/155023.489145:ERROR:node_controller.cc(1258)] Error on receiving Mach ports F6E274AE0B134AD3.784323643B9E5F17. Dropping message.
[0818/155023.489191:ERROR:node_controller.cc(1258)] Error on receiving Mach ports 9CEE88C2FC00399B.6E7EE136C68DE6D5. Dropping message.
[0818/155023.489227:ERROR:node_controller.cc(1258)] Error on receiving Mach ports 9CEE88C2FC00399B.6E7EE136C68DE6D5. Dropping message.

Not sure if this actually has any negative effects?

beckyconning commented 6 years ago

This happens on devel branch and on v0.3.1

spajak commented 6 years ago

What OS?

beckyconning commented 6 years ago

MacOS

beckyconning commented 6 years ago

Might be that it needs to be codesigned? Thats just a guess based on that mach ports don't work in gdb without code signing.

beckyconning commented 6 years ago

Yeah codesigning fixes this. E.g. codesign --deep -s cef-pdf-cert ./src/Release/cef-pdf.app/Contents/MacOS/cef-pdf

spajak commented 6 years ago

Couldn't reproduce it on devel branch

spajak commented 6 years ago

Never heard about codesign

beckyconning commented 6 years ago

what version of macos are you using? have you disabled the gatekeeper?

spajak commented 6 years ago

El Capitan, never heard about gatekeeper :) If it's something required maybe I should include it in cef-pdf releases

beckyconning commented 6 years ago

Its worth doing but you will need a verified certificate.

beckyconning commented 6 years ago

https://developer.apple.com/support/certificates/

beckyconning commented 6 years ago

If you need help with money for the certificate just let me know and I’ll PayPal you some.