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

Re: Reproducible random python crash.



On Fri, Aug 21, 2009 at 07:36:47PM +0200, Frans Pop wrote:
...
> John David Anglin wrote:
> > Do you have Grant's last patch installed?  Although it's early yet
> > to say for sure, I think it may have fixed the random segv problem
> > on gsyprf11 with 2.6.30.5.
> 
> What patch is that? Link?

here --> http://article.gmane.org/gmane.linux.ports.parisc/2047

But appended below again for convenience.

Apologies for the late reply. B0rkage in debian grub2 update process
rendered my x86 laptop unbootable. I've ended up re-installing the root
partition and slowly restoring misc config (sound/video/firewall/etc)
and ignoring email until that was done.

thanks,
grant


diff --git a/arch/parisc/kernel/traps.c b/arch/parisc/kernel/traps.c
index 528f0ff..8b58bf0 100644
--- a/arch/parisc/kernel/traps.c
+++ b/arch/parisc/kernel/traps.c
@@ -532,7 +532,7 @@ void notrace handle_interruption(int code, struct pt_regs *regs)
 	  	/* Kill the user process later */
 	  	regs->iaoq[0] = 0 | 3;
 		regs->iaoq[1] = regs->iaoq[0] + 4;
-	 	regs->iasq[0] = regs->iasq[0] = regs->sr[7];
+	 	regs->iasq[0] = regs->iasq[1] = regs->sr[7];
 		regs->gr[0] &= ~PSW_B;
 		return;
 	}


Reply to: