roadlabs / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Warnings on OS X: Internals of CFAllocator not known #175

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. run the wxpython.py example or any cefpython app on OS X 10.10 (Yosemite)

What is the expected output? What do you see instead?

There are memory errors when running cefpython apps:
Internals of CFAllocator not known; out-of-memory failures via CFAllocator will 
not result in termination. http://crbug.com/45650

This seems to be a known bug (fixed) in chromium, can it be fixed on cefpython?

What version of the product are you using? On what operating system?
OS X Yosemite 10.10.2 (14C1510)

Name: cefpython3
Version: 31.2

Please provide any additional information below.

Here is the full log:

$ python wxpython.py
[wxpython.py] architecture=64-bit
[wxpython.py] wx.version=3.0.2.0 osx-cocoa (classic)
[CEF Python] Initialize() called
[CEF Python] CefExecuteProcess(): exitCode = -1
[CEF Python] CefInitialize()
2015-03-20 12:07:03.817 Python[1311:52570] Internals of CFAllocator not known; 
out-of-memory failures via CFAllocator will not result in termination. 
http://crbug.com/45650
[CEF Python] App_OnBeforeCommandLineProcessing_BrowserProcess()
[CEF Python] Command line string for the browser process:  
--browser-subprocess-path=/usr/local/lib/python2.7/site-packages/cefpython3/subp
rocess --lang=en-US 
--log-file=/usr/local/lib/python2.7/site-packages/cefpython3/examples/debug.log 
--log-severity=info --enable-release-dcheck 
--resources-dir-path=/usr/local/lib/python2.7/site-packages/cefpython3/Resources
 --remote-debugging-port=52792 --no-sandbox 
--locale_pak=/usr/local/lib/python2.7/site-packages/cefpython3/Resources/en.lpro
j/locale.pak
[CEF Python] BrowserProcessHandler_OnBeforeChildProcessLaunch()
[CEF Python] Switch already set, ignoring: locale_pak
[CEF Python] BrowserProcessHandler_OnBeforeChildProcessLaunch()
2015-03-20 12:07:03.950 subprocess[1314:52633] Internals of CFAllocator not 
known; out-of-memory failures via CFAllocator will not result in termination. 
http://crbug.com/45650
[CEF Python] WindowUtils::IsWindowHandle() not implemented (always True)
[CEF Python] CreateBrowserSync() called
[CEF Python] navigateUrl: 
file:///usr/local/lib/python2.7/site-packages/cefpython3/examples/wxpython.html
[CEF Python] CefBrowser::CreateBrowserSync()
[CEF Python] GetPyBrowser(): creating new PyBrowser, browserId=1
[wxpython.py] LifespanHandler::_OnAfterCreated()
    browserId=1
[CEF Python] BrowserProcessHandler_OnBeforeChildProcessLaunch()
[CEF Python] CefBrowser::CreateBrowserSync() succeeded
2015-03-20 12:07:04.130 subprocess[1315:52660] Internals of CFAllocator not 
known; out-of-memory failures via CFAllocator will not result in termination. 
http://crbug.com/45650

The last cef client works fine on OS X:

http://www.magpcss.net/cef_downloads/index.php?file=cef_binary_3.2171.1979_macos
x64_client.7z&session=b88e8b7b099bb60cac322f0bac0b8df7&begin_download=1

Original issue reported on code.google.com by arthur...@gmail.com on 20 Mar 2015 at 11:18

GoogleCodeExporter commented 8 years ago
This is just a warning, not an error. The error message is quite clear - if 
there is an error, application will not result in termination. There is nothing 
that says that there is an actual error.

Issue 45650 in Chromium has status "Available". It seems that this is not yet 
fixed on all OS X versions.

Updating to the latest CEF may or may not fix it. Error level and the debug.log 
file should be checked.

Original comment by czarek.t...@gmail.com on 20 Mar 2015 at 3:07