when i invoke su from a non-root user and then without typing any chars i press ^D it segfaults Reproducible: Always Steps to Reproduce: when i invoke su from a non-root user and then without typing any chars i press ^D it segfaults Expected Results: should not segfault Tested it on my both machines (amd64 and x86) and they both have it, it has to be a problem with my config somehow.
Created attachment 288117 [details] emerge --info
Created attachment 288119 [details] make.conf
it's also not the problem of clang, i tried it on both compilers gcc and clang, and both of them segfault.
Please do not CC arches on your own.
(In reply to comment #4) > Please do not CC arches on your own. Please make it impossible for normal users to use options that should have been enabled only for maintainers/admins.
*** Bug 384841 has been marked as a duplicate of this bug. ***
(In reply to comment #5) > (In reply to comment #4) > > Please do not CC arches on your own. > > Please make it impossible for normal users to use options that should have been > enabled only for maintainers/admins. The rule of the thumb is don't touch fields you don't *need* to. But as for the problem, I can see the crash too.
(In reply to comment #7) > (In reply to comment #5) > > (In reply to comment #4) > > > Please do not CC arches on your own. > > > > Please make it impossible for normal users to use options that should have been > > enabled only for maintainers/admins. > > The rule of the thumb is don't touch fields you don't *need* to. > > But as for the problem, I can see the crash too. Maybe it's polish locale related.
works fine for me reporter's emerge info says he's using en_US.UTF8 locale. what locale are you guys using exactly before you run `su` ? post the output of `locale`.
alistra@bialobrewy ~ % locale LANG=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=
Well, from me segfault happens both in pl_PL.utf8 locale and with 'LC_ALL=C su'.
this still a problem with shadow-4.1.5.1-r1 ?