morningman commented on pull request #8544:
URL: https://github.com/apache/incubator-doris/pull/8544#issuecomment-1073257568
> If we strip debug info to another file, BE could not print stack trace
line number during Core. And if we use exception as error handling mechanism
the line number is also lost.
> Even though strip debug info to another file will reduce the binary size,
I think maybe we could implement it in the future because more debug info will
help us fix bugs more quickly.
> What about save debug info just in palo_be and move debug info from meta
tool?
It is ok that we can still see the error stack in `be.out`, just like before:
```
PC: @ 0x7fa8c35fe14e doris::OlapScanNode::get_next()
*** SIGSEGV (@0x0) received by PID 79516 (TID 0x7fa85e564700) from PID 0;
stack trace: ***
@ 0x7fa8c4bb7a92 (unknown)
@ 0x7fa8c08c0570 (unknown)
@ 0x7fa8c35fe14e doris::OlapScanNode::get_next()
@ 0x7fa8c36c2381 doris::PartitionedAggregationNode::open()
@ 0x7fa8c2fc14ad doris::PlanFragmentExecutor::open_internal()
@ 0x7fa8c2fc2a4d doris::PlanFragmentExecutor::open()
@ 0x7fa8c2f335e5 doris::FragmentExecState::execute()
@ 0x7fa8c2f37eaa doris::FragmentMgr::_exec_actual()
@ 0x7fa8c2f413bc std::_Function_handler<>::_M_invoke()
@ 0x7fa8c30e93b9 doris::ThreadPool::dispatch_thread()
@ 0x7fa8c30e29af doris::Thread::supervise_thread()
@ 0x7fa8c0678aa1 start_thread
@ 0x7fa8c0976c4d clone
@ 0x0 (unknown)
```
I am not sure about the exception mechanism. And because when we do binary
release, it is hard to push a large file to
Apache SVN.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]