[Bug 576590] Re: Command not found consumes lots of memory and CPU for longer input

2017-09-01 Thread Dominique Ramaekers
*** This bug is a duplicate of bug 1643167 *** https://bugs.launchpad.net/bugs/1643167 ** This bug has been marked a duplicate of bug 1643167 command-not-found crash on inreasonably long input -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscrib

[Bug 576590] Re: Command not found consumes lots of memory and CPU for longer input

2017-08-29 Thread HÃ¥kon A . Hjortland
The bug still exists in Ubuntu 16.04. The examples below use a 1 GB memory limit. 3000-character input: 17 seconds, no crash. 4000-character input: 0.8 seconds, MemoryError crash. $ (ulimit -v 100; time /usr/lib/command-not-found -- "$(python -c 'print "x"*3000')") x

[Bug 576590] Re: Command not found consumes lots of memory and CPU for longer input

2013-09-12 Thread selva
** Changed in: command-not-found Status: Confirmed => Fix Released ** Changed in: command-not-found (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bu

[Bug 576590] Re: Command not found consumes lots of memory and CPU for longer input

2012-12-24 Thread Ricardo Cabral
I temporarily fixed my own installation of cnf by changing line 89 of /usr/lib/command-not-found from: if len(args) == 1: to if len(args) == 1 and len(args[0])<100: That means cnf will not do anything for commands longer than 100 characters. But seriously, can anyone tell me a command tha

[Bug 576590] Re: Command not found consumes lots of memory and CPU for longer input

2010-05-06 Thread T L R
** Changed in: command-not-found (Ubuntu) Status: New => Confirmed -- Command not found consumes lots of memory and CPU for longer input https://bugs.launchpad.net/bugs/576590 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ub