Crashes when sees strange symbols

Bug #1076882 reported by Ivan Melnikov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
command-not-found
New
Undecided
Unassigned

Bug Description

When I hit some keyboard shortcuts in my terminal emulator window in wrong locale and then press enter, I see command-not-found crush. I managed to reduce the error to the following example:

$ `echo 85 | xxd -r -ps`
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44

Revision history for this message
Andres (more-andres) wrote :

Also happening with a copyright symbol I had copy from a PDF file.

$ export | grep LANG
declare -x LANG="en_US.UTF-8"
$ ®
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:

command-not-found version: 0.2.44

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.