Re: Impala minidump dump_breakpad_symbols

2017-11-27 Thread Lars Volker
Thanks, Sandish,

All the way at the bottom of the resolved minidump you should find a list
of modules that breakpad tried to access when resolving the symbols. If you
don't have the symbols for the right binary, you'll find a line like this:

0x0040 - 0x02759fff  impalad  ???  (main)  (WARNING: No symbols,
impalad, 80F4346224A2670E0C8632FE78B405510)

If your symbols match, the (WARNING...) part will not be there. That hash
in the warning identifies the binary, and your syms/impalad folder needs to
have symbols for that hash:

$ find syms/impalad
syms/impalad
syms/impalad/1975CC59C4F6B26C3BDDF2B51A9694500
syms/impalad/1975CC59C4F6B26C3BDDF2B51A9694500/impalad.sym
syms/impalad/80F4346224A2670E0C8632FE78B405510
syms/impalad/80F4346224A2670E0C8632FE78B405510/impalad.sym

Can you double check that you have matching symbols for your minidump? If
that doesn't get you anywhere, can you please describe step-by-step what
you did?

Cheers, Lars

On Nov 27, 2017 22:44, "sanysand...@gmail.com" 
wrote:

>
>
> On 2017-11-28 12:01, Lars Volker  wrote:
> > Can you post the output of dump_breakpad_symbols.py and stderr of
> > minidump_stackwalk?
> >
> > Cheers, Lars
> >
> > On Mon, Nov 27, 2017 at 10:24 PM, sanysand...@gmail.com <
> > sanysand...@gmail.com> wrote:
> >
> > >
> > >
> > > On 2017-11-28 10:03, Sailesh Mukil  wrote:
> > > > Hi Sandish,
> > > >
> > > > Have you tried the steps outlined here?
> > > > https://cwiki.apache.org/confluence/display/IMPALA/
> > > Debugging+Impala+Minidumps
> > > >
> > > > If it still doesn't work, as Brock mentioned, please paste portions
> of
> > > > errors or any other helpful output that you see.
> > > >
> > > > - Sailesh
> > > >
> > > >
> > > >
> > > > On Mon, Nov 27, 2017 at 8:23 PM, Brock Noland 
> wrote:
> > > >
> > > > > Hi Sandish,
> > > > >
> > > > > I don't know how to help you, but I think it'd be useful if you
> shared
> > > a
> > > > > portion of the results file for folks to look at. Note that
> attachments
> > > > > don't work well so I'd just paste a portion of it inline.
> > > > >
> > > > > On Mon, Nov 27, 2017 at 9:15 PM, sanysand...@gmail.com <
> > > > > sanysand...@gmail.com> wrote:
> > > > >
> > > > > > Hi Team,
> > > > > >
> > > > > > I'm trying to get minidump_stackwalk results with dump breakpad
> > > symbols,
> > > > > > but symbols are not showing in results file, below are the steps
> > > which I
> > > > > > followed. Can someone verify or give me steps to get symbols in
> > > > > > minidump_stackwalk results ??
> > > > > >
> > > > > >
> > > > > > Steps:
> > > > > > dump_breakpad_symbols.py -b be/build/ --dump_syms
> > > > > > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e
> > > > > 55f1aecb60-p3/bin/dump_syms
> > > > > > -d /tmp/syms
> > > > > >
> > > > > > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e61345
> > > > > > 7e55f1aecb60-p3/bin/minidump_stackwalk .dmp
> > > /tmp/syms
> > > > > > > /tmp/resolved.txt
> > > > > >
> > > > >
> > > >
> > >
> > > Brock, here is the content of /tmp/resolved.txt file
> > > -
> > > Operating system: Linux
> > >   0.0.0 Linux 3.10.0-514.21.1.el7.x86_64 #1 SMP Sat
> Apr 22
> > > 02:41:35 EDT 2017 x86_64
> > > CPU: amd64
> > >  family 6 model 63 stepping 2
> > >  36 CPUs
> > >
> > > GPU: UNKNOWN
> > >
> > > Crash reason:  SIGSEGV
> > > Crash address: 0x10
> > > Process uptime: not available
> > >
> > > Thread 72 (crashed)
> > >  0  0x7fdb5e2fdbd0
> > > rax = 0x1e17e560   rdx = 0x17382a10
> > > rcx = 0x   rbx = 0x
> > > rsi = 0x044520c0   rdi = 0x
> > > rbp = 0x7fd914150880   rsp = 0x7fdaef212a78
> > >  r8 = 0x7fdb5df7b938r9 = 0x0020
> > > r10 = 0x0019   r11 = 0x
> > > r12 = 0x7fdaef212c04   r13 = 0x0001
> > > r14 = 0x7fd913584800   r15 = 0x0049
> > > rip = 0x7fdb5e2fdbd0
> > > Found by: given as instruction pointer in context
> > >
> > > Thread 0
> > >  0  0x7fdb5e2ff6d5
> > > rax = 0xfe00   rdx = 0x0001
> > > rcx = 0x   rbx = 0x
> > > rsi = 0x0080   rdi = 0x0c505a84
> > > rbp = 0x0c505a58   rsp = 0x7fff3d583880
> > >  r8 = 0x0c505a00r9 = 0x
> > > r10 = 0x   r11 = 0x0246
> > > r12 = 0x0c505a80   r13 = 0x
> > > r14 = 0x7fff3d583950   r15 = 0x
> > > rip = 0x7fdb5e2ff6d5
> > > Found by: given as instruction pointer in context
> > >
> > > Thread 1
> > >  0  0xbaa07c
> > > rax = 0x   rdx = 0x
> > > rcx = 0x02734990   rbx = 0x7fd9d5b190c0
> > > rsi = 

Re: Impala minidump dump_breakpad_symbols

2017-11-27 Thread sanysand...@gmail.com


On 2017-11-28 12:01, Lars Volker  wrote: 
> Can you post the output of dump_breakpad_symbols.py and stderr of
> minidump_stackwalk?
> 
> Cheers, Lars
> 
> On Mon, Nov 27, 2017 at 10:24 PM, sanysand...@gmail.com <
> sanysand...@gmail.com> wrote:
> 
> >
> >
> > On 2017-11-28 10:03, Sailesh Mukil  wrote:
> > > Hi Sandish,
> > >
> > > Have you tried the steps outlined here?
> > > https://cwiki.apache.org/confluence/display/IMPALA/
> > Debugging+Impala+Minidumps
> > >
> > > If it still doesn't work, as Brock mentioned, please paste portions of
> > > errors or any other helpful output that you see.
> > >
> > > - Sailesh
> > >
> > >
> > >
> > > On Mon, Nov 27, 2017 at 8:23 PM, Brock Noland  wrote:
> > >
> > > > Hi Sandish,
> > > >
> > > > I don't know how to help you, but I think it'd be useful if you shared
> > a
> > > > portion of the results file for folks to look at. Note that attachments
> > > > don't work well so I'd just paste a portion of it inline.
> > > >
> > > > On Mon, Nov 27, 2017 at 9:15 PM, sanysand...@gmail.com <
> > > > sanysand...@gmail.com> wrote:
> > > >
> > > > > Hi Team,
> > > > >
> > > > > I'm trying to get minidump_stackwalk results with dump breakpad
> > symbols,
> > > > > but symbols are not showing in results file, below are the steps
> > which I
> > > > > followed. Can someone verify or give me steps to get symbols in
> > > > > minidump_stackwalk results ??
> > > > >
> > > > >
> > > > > Steps:
> > > > > dump_breakpad_symbols.py -b be/build/ --dump_syms
> > > > > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e
> > > > 55f1aecb60-p3/bin/dump_syms
> > > > > -d /tmp/syms
> > > > >
> > > > > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e61345
> > > > > 7e55f1aecb60-p3/bin/minidump_stackwalk .dmp
> > /tmp/syms
> > > > > > /tmp/resolved.txt
> > > > >
> > > >
> > >
> >
> > Brock, here is the content of /tmp/resolved.txt file
> > -
> > Operating system: Linux
> >   0.0.0 Linux 3.10.0-514.21.1.el7.x86_64 #1 SMP Sat Apr 22
> > 02:41:35 EDT 2017 x86_64
> > CPU: amd64
> >  family 6 model 63 stepping 2
> >  36 CPUs
> >
> > GPU: UNKNOWN
> >
> > Crash reason:  SIGSEGV
> > Crash address: 0x10
> > Process uptime: not available
> >
> > Thread 72 (crashed)
> >  0  0x7fdb5e2fdbd0
> > rax = 0x1e17e560   rdx = 0x17382a10
> > rcx = 0x   rbx = 0x
> > rsi = 0x044520c0   rdi = 0x
> > rbp = 0x7fd914150880   rsp = 0x7fdaef212a78
> >  r8 = 0x7fdb5df7b938r9 = 0x0020
> > r10 = 0x0019   r11 = 0x
> > r12 = 0x7fdaef212c04   r13 = 0x0001
> > r14 = 0x7fd913584800   r15 = 0x0049
> > rip = 0x7fdb5e2fdbd0
> > Found by: given as instruction pointer in context
> >
> > Thread 0
> >  0  0x7fdb5e2ff6d5
> > rax = 0xfe00   rdx = 0x0001
> > rcx = 0x   rbx = 0x
> > rsi = 0x0080   rdi = 0x0c505a84
> > rbp = 0x0c505a58   rsp = 0x7fff3d583880
> >  r8 = 0x0c505a00r9 = 0x
> > r10 = 0x   r11 = 0x0246
> > r12 = 0x0c505a80   r13 = 0x
> > r14 = 0x7fff3d583950   r15 = 0x
> > rip = 0x7fdb5e2ff6d5
> > Found by: given as instruction pointer in context
> >
> > Thread 1
> >  0  0xbaa07c
> > rax = 0x   rdx = 0x
> > rcx = 0x02734990   rbx = 0x7fd9d5b190c0
> > rsi = 0x   rdi = 0x71494d40
> > rbp = 0x01f6   rsp = 0x7fdb5c4c1bd0
> >  r8 = 0x7ffer9 = 0x7fff
> > r10 = 0x0008   r11 = 0x0008
> > r12 = 0x   r13 = 0x0c7dd6b0
> > r14 = 0x01f6   r15 = 0x0001
> > rip = 0x00baa07c
> > Found by: given as instruction pointer in context
> >
> > Thread 2
> >  0  0x7fdb5e302bdd
> > rax = 0xfdfc   rdx = 0x00336ff8
> > rcx = 0x   rbx = 0x0062
> > rsi = 0x   rdi = 0x7fdb5aee1b90
> > rbp = 0x7fdb5aee3a60   rsp = 0x7fdb5aee1b80
> >  r8 = 0x00336ff8r9 = 0x7fdb5aee15f0
> > r10 = 0x   r11 = 0x0293
> > r12 = 0x04b92990   r13 = 0x
> > r14 = 0x7fdb5aee1c50   r15 = 0x7fdb5ed326a0
> > rip = 0x7fdb5e302bdd
> > Found by: given as instruction pointer in context
> >  1  0xbdd2d9
> > rbp = 0x7fdb5aee3cc0   rsp = 0x7fdb5aee3a70
> > rip = 0x00bdd2d9
> > Found by: previous frame's frame pointer
> >  2  0xbddcb4
> > rbp = 0x7fdb5aee3ce0   rsp = 

Impala minidump dump_breakpad_symbols

2017-11-27 Thread Sandish Kumar
Hi Team,

I'm trying to get minidump_stackwalk results with dump breakpad symbols,
but symbols are not showing in results file, below are the steps which I
followed. Can someone verify or give me steps to get symbols in minidump_
stackwalk results ??


Steps:
dump_breakpad_symbols.py -b be/build/ --dump_syms
$IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e55f1aecb60-p3/bin/dump_syms
-d /tmp/syms

$IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e55f1aecb60-p3/bin/minidump_stackwalk
.dmp /tmp/syms > /tmp/resolved.txt

-- 
Thanks,
Sandish Kumar
phData Inc


Re: Impala minidump dump_breakpad_symbols

2017-11-27 Thread sanysand...@gmail.com


On 2017-11-28 10:03, Sailesh Mukil  wrote: 
> Hi Sandish,
> 
> Have you tried the steps outlined here?
> https://cwiki.apache.org/confluence/display/IMPALA/Debugging+Impala+Minidumps
> 
> If it still doesn't work, as Brock mentioned, please paste portions of
> errors or any other helpful output that you see.
> 
> - Sailesh
> 
> 
> 
> On Mon, Nov 27, 2017 at 8:23 PM, Brock Noland  wrote:
> 
> > Hi Sandish,
> >
> > I don't know how to help you, but I think it'd be useful if you shared a
> > portion of the results file for folks to look at. Note that attachments
> > don't work well so I'd just paste a portion of it inline.
> >
> > On Mon, Nov 27, 2017 at 9:15 PM, sanysand...@gmail.com <
> > sanysand...@gmail.com> wrote:
> >
> > > Hi Team,
> > >
> > > I'm trying to get minidump_stackwalk results with dump breakpad symbols,
> > > but symbols are not showing in results file, below are the steps which I
> > > followed. Can someone verify or give me steps to get symbols in
> > > minidump_stackwalk results ??
> > >
> > >
> > > Steps:
> > > dump_breakpad_symbols.py -b be/build/ --dump_syms
> > > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e
> > 55f1aecb60-p3/bin/dump_syms
> > > -d /tmp/syms
> > >
> > > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e61345
> > > 7e55f1aecb60-p3/bin/minidump_stackwalk .dmp /tmp/syms
> > > > /tmp/resolved.txt
> > >
> >
> 
Yes Sailesh, I have followed exact steps from this link 
https://cwiki.apache.org/confluence/display/IMPALA/Debugging+Impala+Minidumps 
and I tried from both private build and from .rpm getting similar results. 


Re: Impala minidump dump_breakpad_symbols

2017-11-27 Thread Sailesh Mukil
Hi Sandish,

Have you tried the steps outlined here?
https://cwiki.apache.org/confluence/display/IMPALA/Debugging+Impala+Minidumps

If it still doesn't work, as Brock mentioned, please paste portions of
errors or any other helpful output that you see.

- Sailesh



On Mon, Nov 27, 2017 at 8:23 PM, Brock Noland  wrote:

> Hi Sandish,
>
> I don't know how to help you, but I think it'd be useful if you shared a
> portion of the results file for folks to look at. Note that attachments
> don't work well so I'd just paste a portion of it inline.
>
> On Mon, Nov 27, 2017 at 9:15 PM, sanysand...@gmail.com <
> sanysand...@gmail.com> wrote:
>
> > Hi Team,
> >
> > I'm trying to get minidump_stackwalk results with dump breakpad symbols,
> > but symbols are not showing in results file, below are the steps which I
> > followed. Can someone verify or give me steps to get symbols in
> > minidump_stackwalk results ??
> >
> >
> > Steps:
> > dump_breakpad_symbols.py -b be/build/ --dump_syms
> > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e
> 55f1aecb60-p3/bin/dump_syms
> > -d /tmp/syms
> >
> > $IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e61345
> > 7e55f1aecb60-p3/bin/minidump_stackwalk .dmp /tmp/syms
> > > /tmp/resolved.txt
> >
>


Impala minidump dump_breakpad_symbols

2017-11-27 Thread sanysand...@gmail.com
Hi Team,

I'm trying to get minidump_stackwalk results with dump breakpad symbols, but 
symbols are not showing in results file, below are the steps which I followed. 
Can someone verify or give me steps to get symbols in minidump_stackwalk 
results ??


Steps:
dump_breakpad_symbols.py -b be/build/ --dump_syms 
$IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e55f1aecb60-p3/bin/dump_syms
 -d /tmp/syms

$IMPALA_HOME/toolchain/breakpad-1b704857f1e78a864e6942e613457e55f1aecb60-p3/bin/minidump_stackwalk
 .dmp /tmp/syms > /tmp/resolved.txt