Found possible bug - how to report

Olivier Nicole olivier.nicole at cs.ait.ac.th
Tue Jul 5 09:53:54 UTC 2016


Jørn Åne,

> 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=208132

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ørn Åne <freebsd at jornane.me> wrote:
> 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 blame.
>
> 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ørn Åne
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list