The direct trigger of the crash is a peculiar character in a bug report
for sound-juicer (bug #717391.)
Take a look in the report from Ben Finney (message 1.)
It could be a lack of input sanitizing in bugs.debian.org ?
Still, this together with localization shouldn't cause a crash in
ruby's localization module (if the weakness is there.)
The older report (725496) regarding this had another trigger:
for some reason the reporter's desktop environment saved a value of
"de_DE.utf8". He destroyed the setting in
"var/lib/AccountsServices/users" and did a reselect of his environment
(dpkg-reconfigure -plow locales) and re-login with the proper LANG
selected.
That cured the symptom in that case.
For me this crashes:
---
[stefan@LOKELDARN@compaq:~]$ echo $LANG
en_GB.UTF-8
[stefan@LOKELDARN@compaq:~]$ LC_MESSAGES=sv_SE.UTF-8 apt-listbugs list
sound-juicer
Hämtar felrapporter... Klar
Tolkar hittad/tillrättad information... Klar
grave bugs of sound-juicer (→ ) <Resolved in some Version>
/usr/share/apt-listbugs/apt-listbugs/logic.rb:611:in `block (4 levels)
in display_bugs': incompatible character encodings: ASCII-8BIT and UTF-8
(Encoding::CompatibilityError)
from /usr/share/apt-listbugs/debian/bug.rb:66:in `block in
each_by_category'
from /usr/share/apt-listbugs/debian/bug.rb:65:in `each'
from /usr/share/apt-listbugs/debian/bug.rb:65:in
`each_by_category'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:594:in `block
(3 levels) in display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:590:in `each'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:590:in `block
(2 levels) in display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:589:in `each'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:589:in `block
in display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:588:in `each'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:588:in
`display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:375:in `view'
from /usr/sbin/apt-listbugs:513:in `<main>'
---
But this works:
---
[stefan@LOKELDARN@compaq:~]$ LANG=sv_SE.UTF-8 LC_MESSAGES=en_GB.UTF-8
apt-listbugs list sound-juicer
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
grave bugs of sound-juicer (→ ) <Resolved in some Version>
#717391 - sound-juicer: Refuses to start: “The plugin necessary for
file access was not found” (Fixed: 3.8.0-2 sound-juicer/3.11.90-1)
Summary:
sound-juicer(1 bug)
---
Ruby isn't sensitive to 'utf-8' or 'UTF-8' but 'utf8' or 'UTF8' was once
sensitive.
This crashes:
---
[stefan@LOKELDARN@compaq:~]$ LANG=sv_SE.UTF-8 LC_MESSAGES=de_DE.UTF-8
apt-listbugs list sound-juicer
Laden der Fehlerberichte ... Erledigt
»Found/Fixed«-Informationen werden ausgewertet ... Erledigt
grave Fehler von sound-juicer (→ ) <Resolved in some Version>
/usr/share/apt-listbugs/apt-listbugs/logic.rb:611:in `block (4 levels)
in display_bugs': incompatible character encodings: ASCII-8BIT and UTF-8
(Encoding::CompatibilityError)
from /usr/share/apt-listbugs/debian/bug.rb:66:in `block in
each_by_category'
from /usr/share/apt-listbugs/debian/bug.rb:65:in `each'
from /usr/share/apt-listbugs/debian/bug.rb:65:in
`each_by_category'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:594:in `block
(3 levels) in display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:590:in `each'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:590:in `block
(2 levels) in display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:589:in `each'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:589:in `block
in display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:588:in `each'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:588:in
`display_bugs'
from /usr/share/apt-listbugs/apt-listbugs/logic.rb:375:in `view'
from /usr/sbin/apt-listbugs:513:in `<main>'
[stefan@LOKELDARN@compaq:~]$
---
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]