From owner-freebsd-questions@freebsd.org Tue Jul 5 09:53:53 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EE628B2111A for ; Tue, 5 Jul 2016 09:53:53 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: from mail-lf0-x22d.google.com (mail-lf0-x22d.google.com [IPv6:2a00:1450:4010:c07::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6560E1603 for ; Tue, 5 Jul 2016 09:53:53 +0000 (UTC) (envelope-from olivier2553@gmail.com) Received: by mail-lf0-x22d.google.com with SMTP id f6so131134109lfg.0 for ; Tue, 05 Jul 2016 02:53:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=faA7xJOB7pJigBZ9E1vp6D7Gt6acjCXOA0Yn8P5TAgI=; b=SlQwxcGz+P0ks8/cfyXZnmSe2s8Kl3akNme4unmGT51Emg2YaVgSzaasbnVIiNpWC1 +V/zzGVp3+rQcmR1pbaZ/phlzIKxVrsX4YndvHrpCgmouWrigWCbdZbECn+jrmEpcAUq LBi2sNE39Wh4vWOGM/+r78JTYeRlN6PaqppD89KEuPhrcyRaSItMXq4rI4PAnwu2sBEt S52OJR/nYSdp7Ri4w1eXhKOK/caw8HPShjToCtQtDSCU0PZdO8GGG5NC3cH0bE0N9PBl ad0Pc/G4pyDh1EuTcZfx5Tlq+Dii4jol9jC0zpEK0B3e5g7usZE8JOYs9BbSMNSepaGz kWeA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=faA7xJOB7pJigBZ9E1vp6D7Gt6acjCXOA0Yn8P5TAgI=; b=WJG+GEdnOFUHJJ1/BkNvrlBImqpzi30NTZLudCIXtqCFzquKuWCuxmOKGw07Tl4glQ laKeEZ0LyOhOjS0ClDAOxoKulrOIYLlLWh6UDiSno5g3EXcetsKs8BWpkkmnOw4xh9DJ aOQ4BgShKlSD4rmZb0MpC90emVXIBXFh7npIz2ud5JsGFWJMQqYA6DEGPKIBiiyTlBST OU0MXi7HaQMCjRJc6ndceUeCivhB0hl/6re+fVxpAAi2yVekFg6kSGdh4VBeNSH6hllQ BRq85cz61gNv5uXWrhaKQk6mk58xtQbxzgFlGcKk8CAgRXOWThxmuxa2xndcuqllBi33 tklg== X-Gm-Message-State: ALyK8tLNZNdHNCFwirajX8UBciqIe0Z1ZV25GOlADii8QMCx3vrktxN9fQe7WcciLp7eyfomVGhuqq/x4DXJdQ== X-Received: by 10.25.166.2 with SMTP id p2mr4345898lfe.48.1467712431175; Tue, 05 Jul 2016 02:53:51 -0700 (PDT) MIME-Version: 1.0 Sender: olivier2553@gmail.com Received: by 10.25.90.67 with HTTP; Tue, 5 Jul 2016 02:53:50 -0700 (PDT) In-Reply-To: <8b3948f8-dc6a-af53-4ff5-b73be90884d5@fyrkat.no> References: <8b3948f8-dc6a-af53-4ff5-b73be90884d5@fyrkat.no> From: Olivier Nicole Date: Tue, 5 Jul 2016 16:53:50 +0700 X-Google-Sender-Auth: 2dalZgJWb_oSZQ2eGebl-t3v0rI Message-ID: Subject: Re: Found possible bug - how to report To: =?UTF-8?B?SsO4cm4gw4VuZQ==?= Cc: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2016 09:53:54 -0000 J=C3=B8rn =C3=85ne, > The problem occurs in csh or tcsh. When I run a program (not a shell > built-in command), the shell goes into a state that will cause it to > exit when I press ^C. So for example: A similar question pops up regularly, if this is the same problem, one solution is explained at. I know that the bug description is not very clear, but it solved my problem. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208132 If my memory serves me right, I had to edit /usr/src/bin/csh/config_p.h and replace on line 37: #define VFORK by /* #define VFORK */ #define vfork fork The make, make install. Best regards, Olivier On Tue, Jul 5, 2016 at 4:12 PM, J=C3=B8rn =C3=85ne wro= te: > Hi, i'm fairly new to FreeBSD and i've never submitted a bugreport > before. I think I found a bug but i'm not sure which component is to bla= me. > > My setup is as follows: > > I use winbind for user accounts, my /etc/nsswitch.conf has the following > modifications: > group: winbind files > passwd: winbind files > > The problem occurs in csh or tcsh. When I run a program (not a shell > built-in command), the shell goes into a state that will cause it to > exit when I press ^C. So for example: > > % ^C > % which which > which: shell built-in command. > % ^C > % which whoami > /usr/bin/whoami > % ^C > % whoami > jornane > % ^CConnection closed. > > (^C isn't actually printed, I've added it for clarity) > > This does not happen in sh-based shells, and it does not happen when I > change nsswitch back to dist. This problem could be related to > tcsh/csh, nsswitch or samba. I've tried ktrace, but i'm not that good > at reading the output of kdump, and i'm wary of posting the output here > since I don't understand what i'm actually sharing. > > Any tips on how I can make a good bug report out of this would be > greatly appreciated! > > -- > J=C3=B8rn =C3=85ne > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg"