Hello! Sorry for wrong version, just started to figure out all this bunch of suckless software.
It is certainly dmenu Here is proper version: anton@pi:~/D/S/dmenu $ ./dmenu -v dmenu-4.5-tip, © 2006-2012 dmenu engineers, see LICENSE for details It is also certainly crashes: Without patch: anton@pi:~/D/S/dmenu $ dmenu_path | ./dmenu "$@" then type any word which has no matches in your $PATH and here it is: anton@pi:~/D/S/dmenu $ dmenu_path | ./dmenu "$@" asl;dkfja Segmentation fault gdb says it because "set" variable is "(Item*) 0x0" when typed word has no matches. Sorry for poor english. -- Sincerely, Anton On 07 Apr 2014 at 10:49:09AM, Chris Down <[email protected]> wrote: > Anton Ermolenko writes: > > I've tried to use dmenu to open URLs with surf and discovered that it > > crashes with segfault when you hit return on a word which hasn't matches. > > Is "it" dmenu or surf? Assuming I have understood your report correctly > (dmenu segfaults when you hit return on a word with no match), on Linux > x86_64 with dmenu 4.5: > > $ dmenu < /dev/null # enter 1 > 1 > $ dmenu < /dev/null # hit enter > > $ > > > Patch tested with dmenu 6.0 sources. > > There is no such thing as dmenu 6.0 yet (we are currently at 4.5). If > you mean dmenu 4.0, you're using a version that is about 5 years old. > > If you could clarify the steps to reproduce your problem, assuming they > are not what I did, it would be helpful. Thanks.
