Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461606 - sys-process/procps-3.3.4: top: incompatible rcfile with de_DE.UTF-8 locale
Summary: sys-process/procps-3.3.4: top: incompatible rcfile with de_DE.UTF-8 locale
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 08:02 UTC by Massimo Burcheri
Modified: 2014-05-16 10:48 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
.toprc (.toprc,618 bytes, text/plain)
2013-03-13 08:43 UTC, Massimo Burcheri
Details
old .toprc I used for a long time (.old_toprc,617 bytes, text/plain)
2013-03-17 03:07 UTC, Denis Misiurca
Details
.toprc written by running LC_ALL=en_US.UTF-8 top and pressing W (.toprc,749 bytes, text/plain)
2013-03-17 03:08 UTC, Denis Misiurca
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2013-03-13 08:02:01 UTC
I had this very useful toprc since years now on most different archs and operating systems. But since this last update it doesn't work anymore:

     Wed Mar  6 19:10:49 2013 <<< sys-process/procps-3.2.8_p11
     Wed Mar  6 19:10:54 2013 >>> sys-process/procps-3.3.4

Because of this quite unusual config syntax in toprc I can't see what's incompatible today and can't find something from the Changelog.

In the forums [1] we found out that this is caused by my specific locales.

[1] https://forums.gentoo.org/viewtopic-t-953800.html

Reproducible: Always

Steps to Reproduce:
$ top || echo false
   top: incompatible rcfile, you should delete '/root/.toprc'
false

$ cat /root/.toprc
RCfile for "top with windows"      # shameless braggin'
Id:a, Mode_altscr=1, Mode_irixps=0, Delay_time=3.000, Curwin=0
Def   fieldscur=AEFHItKNOQPMbcdgjlrsuvyzWX
   winflags=64313, sortindx=10, maxtasks=0
   summclr=1, msgsclr=1, headclr=3, taskclr=1
Job   fieldscur=ABcefgjlrstuvyzMKNHIWOPQDX
   winflags=64817, sortindx=0, maxtasks=0
   summclr=6, msgsclr=6, headclr=7, taskclr=6
Mem   fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
   winflags=64817, sortindx=13, maxtasks=0
   summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr   fieldscur=bdAEFHIKNOQPMcstgjlruvyzWX
   winflags=64313, sortindx=13, maxtasks=0
   summclr=3, msgsclr=3, headclr=2, taskclr=3

$ locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=

$ LC_ALL=C top && echo true
...
true
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-03-13 08:20:17 UTC
Please use the "Add an attachment" button for the toprc file, much easier to get it with correct syntax for testing then.
Comment 2 Massimo Burcheri 2013-03-13 08:43:10 UTC
Created attachment 341866 [details]
.toprc
Comment 3 Denis Misiurca 2013-03-17 03:05:26 UTC
the same is for ru_RU.UTF-8
Comment 4 Denis Misiurca 2013-03-17 03:07:12 UTC
Created attachment 342318 [details]
old .toprc I used for a long time
Comment 5 Denis Misiurca 2013-03-17 03:08:48 UTC
Created attachment 342320 [details]
.toprc written by running LC_ALL=en_US.UTF-8 top and pressing W

top still doesn't run with this toprc in ru_RU.UTF-8
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2014-05-14 14:34:27 UTC
Still valid bug for 3.3.9?
Comment 7 Massimo Burcheri 2014-05-15 11:52:44 UTC
With my current sys-process/procps-3.3.9-r1, I don't see that issue amyore.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2014-05-16 10:48:52 UTC
(In reply to Massimo Burcheri from comment #7)
> With my current sys-process/procps-3.3.9-r1, I don't see that issue amyore.

cool, and 3.3.9 is going stable re: bug 510316

nothing left to do here then, closing :)