You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/10/13 16:24:00 UTC

[jira] [Commented] (IMPALA-11226) Resolve symbols from shared libraries when processing minidumps

    [ https://issues.apache.org/jira/browse/IMPALA-11226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17617171#comment-17617171 ] 

ASF subversion and git services commented on IMPALA-11226:
----------------------------------------------------------

Commit c3d7f20a890ad6c142aaee574da51070dee5d44e in impala's branch refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c3d7f20a8 ]

IMPALA-11226: Add script to simplify resolving minidumps

This adds the resolve_minidumps.py script to
simplify resolving minidumps under ideal circumstances.
This is designed to handle cases where the binary
and libraries are in identical locations to when
the minidump was created. This is true for developer
environments and at the end of Jenkins jobs.

This uses Breakpad's minidump_dump utility to get a
list of the binaries/libraries that the minidump
references. It uses that list to dump all the
symbols to a temporary directory. Then it uses
the symbols to resolve the minidump.

Since it is dumping symbols for all referenced
libraries, it resolves symbols to the maximum
extent possible.

This adds a step to bin/jenkins/finalize.sh to use
this new script to resolve minidumps. The old method
can be removed in a subsequent change.

Testing:
 - Ran locally on a minidump generated by sending
   SIGUSR1 to local impalad
 - Tested with a Centos 7 job using Python 3.6
   and verified the minidump output
 - Tested resolving a minidump from a binary with
   compressed debug info

Change-Id: I0f8fdcb8ca89d0904dc8ec69337e3d5dfdd54adf
Reviewed-on: http://gerrit.cloudera.org:8080/18918
Reviewed-by: Wenzhe Zhou <wz...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Resolve symbols from shared libraries when processing minidumps
> ---------------------------------------------------------------
>
>                 Key: IMPALA-11226
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11226
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: Impala 4.1.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> When symbolizing a minidump, the most important pieces are the impalad code, but there are also a lot of symbols from libstdc++, libjvm, libpthread that could be resolved. When processing a minidump in a context where those libraries are accessible, we should dump those symbols and use them for processing the minidump.
> Specifically, bin/jenkins/finalize.sh should dump symbols for OS libraries, libstdc++, and Kudu client.
>  



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org