Subject: Re: Consistent crashes with linux emulation
To: None <current-users@netbsd.org>
From: Milos Urbanek <urbanek@openbsd.cz>
List: current-users
Date: 11/03/2003 10:18:02
On Sun, Nov 02, 2003 at 08:12:04PM -0500, Steve Rumble wrote:
There was probably a bug in procfs (PR: kern/23315)
with the following patch from Christos Zoulas
Index: procfs_linux.c
===================================================================
RCS file: /cvsroot/src/sys/miscfs/procfs/procfs_linux.c,v
retrieving revision 1.14
diff -u -u -r1.14 procfs_linux.c
--- procfs_linux.c 21 Aug 2003 23:00:07 -0000 1.14
+++ procfs_linux.c 30 Oct 2003 14:50:46 -0000
@@ -172,7 +172,7 @@
p->p_pgid,
p->p_session->s_sid,
tty ? tty->t_dev : 0,
- tty ? tty->t_pgrp->pg_id : 0,
+ (tty && tty->t_pgrp) ? tty->t_pgrp->pg_id : 0,
p->p_flag,
I can not crash my desktop with Openoffice 1.1 anymore.
Milos
> Ever since I sync'd back up to current a month or so ago (from
> ~1.6W), I've been able to crash my i386 laptop consistently with
> linux emulated applications. Opera causes a lock on extremely
> rare occasions, java will at times, especially when using a GUI
> application while running xmms, and Firebird will do so
> consistently and with very little effort.
>
> I don't see anything interesting in gnats nor on the lists. Have
> anybody else experienced similar stability problems? Each crash
> has occurred within X, so I can't get to ddb. I've tried booting
> over serial, but I couldn't access the debugger there either. I'm
> not even sure where to begin with this. I don't believe that this
> is due to any sort of flux as it's been happening for weeks
> across many re-syncs.
>
> Any insights or suggestions as to what I should do to begin
> tracking this down would be appreciated.
>
> Cheers,
> Steve
--