On Thu, Dec 4, 2014 at 4:22 PM, Riccardo Mottola
<[email protected]> wrote:
> Christian Weisgerber wrote:
>>
>> Somewhere under the work directory.
>>
>> $ find /usr/ports/pobj/bzip2-1.0.6 -name \*.core
>
> $ find . -name \*.core
> ./fake-sparc/usr/local/man/man1/ln.core
>
> ln segfaulting? sounds bad!
>
> I tried to get a trace, but:
>
> (gdb) bt
> #0  0x0001b024 in ?? ()
> #1  0x0001afec in ?? ()
> Previous frame identical to this frame (corrupt stack?)

Build an ln binary with debugging:
  cd /usr/src/bin/ln
  make clean
  make obj
  make depend
  make PIPE='-ggdb'
  sudo make install NOMAN=1

then reproduce the problem in the bzip2 port to get a fresh core file
with that binary, then finally run gdb against the _uninstalled_
binary (/usr/src/bin/ln/obj/ln) but with the new core file and see
what the backtrace shows.


Philip Guenther

Reply via email to