Subject: Re: bug#14679: 24.3.50; emacs_bactrace.txt

From: Dani Moncayo <[email-masked]>
Date: Fri, 21 Jun 2013 22:41:22 +0200

> Are you using addr2line from MinGW gcc 4.7.2?

Yes:
  $ gcc --version
  gcc.exe (GCC) 4.7.2

  $ addr2line --version
  GNU addr2line (GNU Binutils) 2.23.1

> If so, try with the one from 4.7.0.

Ok, I've downloaded the package "binutils-2.22" from the MinGW site,
and with that version it seems to work.

But then, it is broken the 2.23.1 version or what?

Anyway, this is the translation I get with version 2.22:

  $ ./addr2line -e /path/to/emacs.exe < /path/to/backtrace
  c:/msys/home/dani/emacs/trunk/src/w32fns.c:7741
  c:/msys/home/dani/emacs/trunk/src/w32fns.c:7773
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:7121
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:7132
  c:/msys/home/dani/emacs/trunk/src/w32term.c:5926
  c:/msys/home/dani/emacs/trunk/src/w32term.c:5948
  c:/msys/home/dani/emacs/trunk/src/frame.c:1777
  c:/msys/home/dani/emacs/trunk/src/xdisp.c:10180
  c:/msys/home/dani/emacs/trunk/src/print.c:472
  c:/msys/home/dani/emacs/trunk/src/print.c:852
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:1116
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:1052
  c:/msys/home/dani/emacs/trunk/src/eval.c:1279
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:1164
  c:/msys/home/dani/emacs/trunk/src/eval.c:1063
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:1143
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:776
  c:/msys/home/dani/emacs/trunk/src/keyboard.c:840
  c:/msys/home/dani/emacs/trunk/src/emacs.c:1550
  crt1.c:0
  ??:0
  ??:0
  ??:0

--
Dani Moncayo