Port-evbmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: all userland dies with SIGSEGV on LOONGSON (Lemote YEELOONG)



On Tue, 17 Dec 2013, David Holland wrote:

On Sun, Dec 15, 2013 at 03:13:34PM -0600, John D. Baker wrote:
> Core was generated by '<progname>'.
> Program terminated with signal 11, Segmentation fault.
> #0  0x00000000 in ?? ()
> (gdb) bt
> #0  0x00000000 in ?? ()
> #1  0xqqqqqqqq in _ftext ()
> #2  0xrrrrrrrr in ?? ()
> warning: GDB can't find the start of the function at 0xssssssss.
> [...]
>
> where "0xssssssss" is exactly 2 less than "0xrrrrrrrr".

as in it's 0x33333333 and 0x55555555? Or e.g. 0x01234000 and 0x01234002?

The second case, a better example:

  [...]
  #2  0x0000FAEC in ?? ()
  warning: GDB can't find the start of the function at 0x0000FAEA
  [...]

Something's very weird if gdb is looking for non-word-aligned
functions.

I should say so.  The pattern is the same for every core file I've
investigated so far ('ls', 'rm', 'cat', 'which', 'cp', 'mv', 'gdb',
etc.).  The specific addresses are different for each, of course.

--
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index