On 16/09/2014 at 18:34, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 16
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
Hi Forum,
While building the R16 SDK example project in xcode 5.1.1, it appears that I have a memory leak. Here is the console output.
Application start : 09/16/14 at 19:55:28
Executable : 64 Bit
Version / Build : 16.021 / RB111778
Debugger : available
Memory model : debug
Startup path : file:///Users/joebuck/MAXON_dev/CINEMA 4D R16
Application path : file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/CINEMA 4D.app
Application executable : file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/CINEMA 4D.app/Contents/MacOS/CINEMA 4D
Resource path : file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/resource
Module path(s) : file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules
Temporary path : file:///var/folders/mv/04zrldc16xxgmj0lp49dp1kr0000gn/T
Prefs path : file:///Users/joebuck/Library/Preferences/MAXON/CINEMA 4D R16_7B5EB4B8
Global Prefs path : file:///Users/joebuck/Library/Preferences/MAXON
OS version : OS X 10.9.4
Processor : 8x Intel Core i7-4850HQ CPU
Computer name : joebuck's MacBook Pro
Thread Count : 8
Cpu Speed (MHz) : 2300.000
Application Type : Modular
Command line arguments : "-g_alloc=debug" "-NSDocumentRevisionsDebugMode" "YES"
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/c4dplugin.xlib with module(s) net.maxon.c4d.c4dplugin
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/crashhandler.module.xlib with module(s) net.maxon.crashhandler
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/crypt.module.xlib with module(s) net.maxon.crypt
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/image.module.xlib with module(s) net.maxon.image
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/mesh.module.xlib with module(s) net.maxon.mesh
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/misc.module.xlib with module(s) net.maxon.misc
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/network.module.xlib with module(s) net.maxon.network
Loading file:///Users/joebuck/MAXON_dev/CINEMA 4D R16/modules/triangulation.module.xlib with module(s) net.maxon.triangulation
2014-09-16 19:55:28.484 CINEMA 4D[1589:303] setPresentationOptions called with NSApplicationPresentationFullScreen when there is no visible fullscreen window; this call will be ignored.
CrashHandler not installed
Bonjour found: 522.92
Memory Leaks Detected:
/perforce_buildsystem_osx/c4d_mx_buildsystem_osx/release/16.0/frameworks/kernel.framework/source/implementation/xstring_impl.cpp (1094) : Memory leak of 15 bytes () at 0x1099f60e0
1 blocks not freed
I do not understand this information. Is this something to be concerned about or perhaps I do not have xcode set up properly for R16?
Also, I cannot get the memory leak console window to appear in Visual Studio 2012 with the new R16 project settings. I have double checked my debug settings against the R15 projects where the console is working. Are there new setting that I am overlooking for Visual Studio 2012?
If I intentionally create a memory leak in the new R16 project using VS2012, C4D will generate an exception on exit when in debug mode. When I look at the Call Stack, I am presented with a page that states "application_Intel_64bit.pdb not loaded". This is not new. This also happened on R15 projects. I tried to look this up on google with no results. If I were to find this file and load it, would I be presented with better debug info? If so, where can I find this file?
Any suggestions or help would be appreciated.
Thank you,
Joe Buck