Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Oct 2012 18:40:08 -0700
From:      Tim Kientzle <kientzle@freebsd.org>
To:        arm@freebsd.org
Subject:   Trashed registers returning from kernel?
Message-ID:  <2B1CF099-50F0-46BE-8B02-61309DF93D5F@freebsd.org>

index | next in thread | raw e-mail

On the BeagleBone, I'm seeing a similar crash in several different user land programs.  I suspect it's a kernel bug.

Symptom: program is killed with SIGSEGV.  Most of the registers contain values above 0xc0000000 (pointing into kernel space).

Theory:
 * Registers are not always getting correctly restored on a kernel->user transition.
 * SEGV is a consequence.

I can reproduce it semi-consistently by running "emacs existing-file" just after a reboot.  (But I'm pretty sure this is the same symptoms I've seen with several other programs, so I don't think it's a bug in emacs.)

Has anyone else seen this on an armv6 system?

Does anyone have suggestions for how to go about debugging this?

Suggestions appreciated.

Cheers,

Tim



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2B1CF099-50F0-46BE-8B02-61309DF93D5F>