You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2022/08/04 20:59:00 UTC

[jira] [Created] (ARROW-17311) [C++] Vendor backward for better stack traces

Ben Kietzman created ARROW-17311:
------------------------------------

             Summary: [C++] Vendor backward for better stack traces
                 Key: ARROW-17311
                 URL: https://issues.apache.org/jira/browse/ARROW-17311
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
            Reporter: Ben Kietzman


[https://github.com/bombela/backward-cpp] is a neat single-header library which allows capture of very expressive stack traces. It is compatible with c++11 and is cross platform, I think it would greatly improve error reporting in arrow. In particular, the stack traces provided by a failed DCHECK are much less expressive than they could be and don't include file/line information, while the traces added to statuses by {{ARROW_EXTRA_ERROR_CONTEXT}} don't include the frame in which the status was constructed- which is frequently the frame which we most need information from.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)