{"action":"created","issue":{"url":"https://api.github.com/repos/dvorka/hstr/issues/271","repository_url":"https://api.github.com/repos/dvorka/hstr","labels_url":"https://api.github.com/repos/dvorka/hstr/issues/271/labels{/name}","comments_url":"https://api.github.com/repos/dvorka/hstr/issues/271/comments","events_url":"https://api.github.com/repos/dvorka/hstr/issues/271/events","html_url":"https://github.com/dvorka/hstr/issues/271","id":325351510,"number":271,"title":"Searching for 'en' or 'ex' causes Segmentation Fault","user":{"login":"bdantas","id":5084088,"avatar_url":"https://avatars3.githubusercontent.com/u/5084088?v=4","gravatar_id":"","url":"https://api.github.com/users/bdantas","html_url":"https://github.com/bdantas","followers_url":"https://api.github.com/users/bdantas/followers","following_url":"https://api.github.com/users/bdantas/following{/other_user}","gists_url":"https://api.github.com/users/bdantas/gists{/gist_id}","starred_url":"https://api.github.com/users/bdantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdantas/subscriptions","organizations_url":"https://api.github.com/users/bdantas/orgs","repos_url":"https://api.github.com/users/bdantas/repos","events_url":"https://api.github.com/users/bdantas/events{/privacy}","received_events_url":"https://api.github.com/users/bdantas/received_events","type":"User","site_admin":false},"labels":[{"id":68759340,"url":"https://api.github.com/repos/dvorka/hstr/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"dvorka","id":2090143,"avatar_url":"https://avatars3.githubusercontent.com/u/2090143?v=4","gravatar_id":"","url":"https://api.github.com/users/dvorka","html_url":"https://github.com/dvorka","followers_url":"https://api.github.com/users/dvorka/followers","following_url":"https://api.github.com/users/dvorka/following{/other_user}","gists_url":"https://api.github.com/users/dvorka/gists{/gist_id}","starred_url":"https://api.github.com/users/dvorka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvorka/subscriptions","organizations_url":"https://api.github.com/users/dvorka/orgs","repos_url":"https://api.github.com/users/dvorka/repos","events_url":"https://api.github.com/users/dvorka/events{/privacy}","received_events_url":"https://api.github.com/users/dvorka/received_events","type":"User","site_admin":false},"assignees":[{"login":"dvorka","id":2090143,"avatar_url":"https://avatars3.githubusercontent.com/u/2090143?v=4","gravatar_id":"","url":"https://api.github.com/users/dvorka","html_url":"https://github.com/dvorka","followers_url":"https://api.github.com/users/dvorka/followers","following_url":"https://api.github.com/users/dvorka/following{/other_user}","gists_url":"https://api.github.com/users/dvorka/gists{/gist_id}","starred_url":"https://api.github.com/users/dvorka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dvorka/subscriptions","organizations_url":"https://api.github.com/users/dvorka/orgs","repos_url":"https://api.github.com/users/dvorka/repos","events_url":"https://api.github.com/users/dvorka/events{/privacy}","received_events_url":"https://api.github.com/users/dvorka/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-22T15:37:40Z","updated_at":"2018-05-22T17:08:18Z","closed_at":null,"author_association":"NONE","body":"I installed hh version 1.2-1 using the .deb from your repository, following the instructions [here](https://github.com/dvorka/hstr/blob/master/INSTALLATION.md#debianmint). My OS is Devuan ASCII (fork of Debian Stretch) in case it matters. The suggest box works great and is the biggest enhancement to my terminal emulator in many years. Thank you.\r\n\r\nAfter using the suggest box for a few months, today I found something very strange: If I bring up the suggest box with Control + r as usual then search for `en` (for example, when looking for commands containing the string \"english\"), the suggest box crashes with a segmentation fault. Searching for `ex` (for example, when looking for commands containing the string \"exim\"), `En`, `EN`, `Ex`, or `EX` also causes a segmentation fault. All the other letter combinations I've tried work fine.\r\n\r\nCan anyone else reproduce this problem? Is there a fix?"},"comment":{"url":"https://api.github.com/repos/dvorka/hstr/issues/comments/391068239","html_url":"https://github.com/dvorka/hstr/issues/271#issuecomment-391068239","issue_url":"https://api.github.com/repos/dvorka/hstr/issues/271","id":391068239,"user":{"login":"bdantas","id":5084088,"avatar_url":"https://avatars3.githubusercontent.com/u/5084088?v=4","gravatar_id":"","url":"https://api.github.com/users/bdantas","html_url":"https://github.com/bdantas","followers_url":"https://api.github.com/users/bdantas/followers","following_url":"https://api.github.com/users/bdantas/following{/other_user}","gists_url":"https://api.github.com/users/bdantas/gists{/gist_id}","starred_url":"https://api.github.com/users/bdantas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bdantas/subscriptions","organizations_url":"https://api.github.com/users/bdantas/orgs","repos_url":"https://api.github.com/users/bdantas/repos","events_url":"https://api.github.com/users/bdantas/events{/privacy}","received_events_url":"https://api.github.com/users/bdantas/received_events","type":"User","site_admin":false},"created_at":"2018-05-22T17:08:18Z","updated_at":"2018-05-22T17:08:18Z","author_association":"NONE","body":"Thanks for the insights, dvorka. I narrowed down the cause for the crashes to having this command in my history: `date +%s -r expenses.txt`\r\nNo crashes after I delete that from my bash history.\r\n\r\n`hh --version` just brings up the suggest box, hope this helps instead:\r\n```\r\n$ apt list --installed | grep hh\r\nhh/now 1.2-1 amd64 [installed,local]\r\n```\r\n```\r\n$ uname -a\r\nLinux thinkpad 4.16.2-gnu #1 SMP Thu Apr 12 13:27:37 UTC 2018 x86_64 GNU/Linux\r\n```\r\n\r\nstrace of a crash is [here](https://pastebin.com/KmhqvR1j)"}}
{"actor":{"display_login":"bdantas"}}