Debug trace using

anyone if used, please help me out to understand what is path/to/executables here:

I am trying to debug backtrace,

 python3 --symbolizer-path=/home/aayushi/mongodb-linux-x86_64-ubuntu1804-4.2.8/mongod.debug  mongod < stacktrace.json
Traceback (most recent call last):
  File "", line 250, in <module>
  File "", line 245, in main
    frames = symbolize_frames(trace_doc, resolver, **vars(options))
  File "", line 84, in symbolize_frames
  File "/usr/lib/python3.6/", line 729, in __init__
    restore_signals, start_new_session)
  File "/usr/lib/python3.6/", line 1364, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/home/aayushi/mongodb-linux-x86_64-ubuntu1804-4.2.8/mongod.debug'

Hi @Aayushi_Mangal ,

I’m not familiar with this script, but it looks like --symbolizer-path is meant to be the path for the llvm-symbolizer binary, and the mongod.debug executable should be the next parameter to the script (replacing mongod in your example).

If llvm-symbolizer can be found in your PATH environment, you do not need to provide the --symbolizer-path location.


Hi @Stennie

Yes it is resolved now, thank you. that path is required as not installed.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.