When using the 'less' command in Mageia 4, I usually get an error message saying: Ran into unknown state (hex char: 29) at /usr/bin/code2color line 50. Sometimes it would even lock up (Ctrl-C not working) and need a kill (-9) to get the terminal window usable again, even on simple text files containing just a few numbers. Lines 49-51 of at /usr/bin/code2color read: my $pt = new Proc::ProcessTable; for (@{$pt->table}) { next unless $_->pid eq $PPID; and searching the internet for 'Ran into unknown state' also points to the corresponding perl module. As a test, I installed (with --nodeps) the Cauldron package perl-Proc-ProcessTable-0.500.0-1.mga5.x86_64.rpm and all problems were solved. It does not look like a problem of 'less' but of the Proc::ProcessTable perl module. Packages and versions used: less-458-2.mga4 perl-Proc-ProcessTable-0.480.0-2.mga4 Reproducible: Steps to Reproduce:
Keywords: (none) => TriagedAssignee: bugsquad => jquelin
Confirmed the problem here mga4 32 eg. # less -M /bin/code2color Ran into unknown state (hex char: 29) at /bin/code2color line 50.
CC: (none) => eeeemail
CC: (none) => laidlaws
perl-Proc-ProcessTable-0.500.0-1.mga4 now available in core/updates_testing. Given https://metacpan.org/diff/file?target=JWB/Proc-ProcessTable-0.50/&source=JWB/Proc-ProcessTable-0.48/, it seems there are no new dependencies. Proposed advisory: ===================== code2color may break or even lock screen in some cases, thus causing common tools such as less to also break. This update prevents code2color to break and thus restores full functionality. ===================== Please test & validate.
CC: (none) => jquelinAssignee: jquelin => qa-bugs
Tested mga4_32, Testing complete for perl-Proc-ProcessTable-0.500.0-1.mga4, bug seems now to be fixed with this update. Before: $ less -M /bin/code2color Ran into unknown state (hex char: 29) at /usr/bin/code2color line 50. ----------------------------------------------------------------------- After: # LC_ALL=C urpmi perl-Proc-ProcessTable $MIRRORLIST: media/core/updates_testing/perl-Proc-ProcessTable-0.500.0-1.mga4.i586.rpm installing perl-Proc-ProcessTable-0.500.0-1.mga4.i586.rpm from /var/cache/urpmi/rpms Preparing... ####################################################### 1/1: perl-Proc-ProcessTable ####################################################### 1/1: removing perl-Proc-ProcessTable-0.480.0-2.mga4.i586 ####################################################### [david@localhost ~]$ less -M /bin/code2color [david@localhost ~]$
CC: (none) => geiger.david68210Whiteboard: (none) => MGA4-32-OK
Glad to hear it. It was only a niggle, but it was getting me frustrated.
Doug: The update candidate still needs to be tested on x86_64. So if you happen to be using Mageia 4 on this architecture you can install the update candidate and see if it fixes the problem for you (plus watch out for any obvious regressions) and report back here to speed up the testing process. Your help would be greatly appreciated and we could push this fix faster to all users. If you want to help out but are unsure about how to do it, you can find detailed instructions here: https://wiki.mageia.org/en/QA_process_for_validating_updates#Test_the_update_candidate (although in this case it really just comes down to installing the update candidate and running the same test David did in Comment 3 )
CC: (none) => wassi
I am running Mageia4 on x86_64. As you can see, I am experiencing the bug. I am quite happpy to test this one, but I didn't want to be a regular member of the QA team. My health makes me too unreliable, and inclined not to finish tasks.
Installed and tested. Tried David's "less" command, and "less" a file of my own. Bug gone. I can't think of any regressions to look for.
Thanks for your test Doug, adding the corresponding keyword.
CC: (none) => remiWhiteboard: MGA4-32-OK => MGA4-32-OK MGA4-64-OK
Validating update, advisory uploaded. Please push perl-Proc-ProcessTable to 4 core/updates.
Keywords: (none) => validated_updateWhiteboard: MGA4-32-OK MGA4-64-OK => MGA4-32-OK MGA4-64-OK advisoryCC: (none) => sysadmin-bugs
(In reply to Rémi Verschelde from comment #8) > Thanks for your test Doug, adding the corresponding keyword. I left that in case you wanted more results.
Update pushed: http://advisories.mageia.org/MGAA-2014-0132.html
Status: NEW => RESOLVEDCC: (none) => tmbResolution: (none) => FIXED
Doug: Thanks for your help! You don't have to be a member of the QA team to help out, I am quite an unregular tester myself - but every help is apreciated and as you can see, it does make a difference. :)