git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (ARROW-3016) [C++] Add ability to enable call stack logging for each memory allocation


Wes McKinney created ARROW-3016:
-----------------------------------

             Summary: [C++] Add ability to enable call stack logging for each memory allocation
                 Key: ARROW-3016
                 URL: https://issues.apache.org/jira/browse/ARROW-3016
             Project: Apache Arrow
          Issue Type: New Feature
          Components: C++
            Reporter: Wes McKinney
             Fix For: 0.11.0


It is possible to gain programmatic access to the call stack in C/C++, e.g.

https://eli.thegreenplace.net/2015/programmatic-access-to-the-call-stack-in-c/

It would be valuable to have a debugging option to log the sizes of memory allocations as well as showing the call stack where that allocation is performed. In complex programs, this could help determine the origin of a memory leak



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-arrow-development/msg05413.html on line 93
Call Stack
#TimeMemoryFunctionLocation
10.0001363608{main}( ).../msg05413.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-arrow-development/msg05413.html on line 93
Call Stack
#TimeMemoryFunctionLocation
10.0001363608{main}( ).../msg05413.html:0