NetBSD Problem Report #8400
Received: (qmail 7599 invoked from network); 13 Sep 1999 19:08:33 -0000
Message-Id: <199909131907.EAA05026@dixie.nag.notwork.org>
Date: Tue, 14 Sep 1999 04:07:26 +0900 (JST)
From: nagae@tk.airnet.ne.jp
Reply-To: nagae@tk.airnet.ne.jp
To: gnats-bugs@gnats.netbsd.org
Subject: xcopilot exits immediately with saying `shmat: Invalid argument'
X-Send-Pr-Version: 3.95
>Number: 8400
>Category: pkg
>Synopsis: xcopilot exits immediately with saying `shmat: Invalid argument'
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 13 12:20:01 +0000 1999
>Closed-Date: Mon Sep 13 21:32:37 +0000 1999
>Last-Modified: Mon Sep 13 21:33:08 +0000 1999
>Originator: Nagae Hidetake
>Release: Sep 8, 1999 (xcopilot-0.6.6)
>Organization:
>Environment:
System: NetBSD dixie.nag.notwork.org 1.4J NetBSD 1.4J (DIXIE) #27: Mon Aug 16 00:12:25 JST 1999 nagae@dixie.nag.notwork.org:/usr/src/sys/arch/i386/compile/DIXIE i386
>Description:
xcopilot-0.6.6 exits immediately with the message:
`shmat: Invalid argument'.
>How-To-Repeat:
Build it and run `xcopilot'.
No input is needed.
>Fix:
The variable `pilot.threads' isn't initialized.
The following patch will fix this problem.
(I've already send this to xcopilot@cuspy.com)
*** xcopilot.c.orig Tue Aug 25 13:53:31 1998
--- xcopilot.c Thu Sep 9 21:03:25 1999
***************
*** 115,120 ****
--- 115,121 ----
if (pilot.DoublePixels)
pilot.MagFactor = 2;
+ pilot.threads = 0;
init(&pilot);
return 0;
}
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: tron
State-Changed-When: Mon Sep 13 14:32:37 PDT 1999
State-Changed-Why:
Patch committed, thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.