{"action":"created","issue":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/1552","repository_url":"https://api.github.com/repos/emacs-helm/helm","labels_url":"https://api.github.com/repos/emacs-helm/helm/issues/1552/labels{/name}","comments_url":"https://api.github.com/repos/emacs-helm/helm/issues/1552/comments","events_url":"https://api.github.com/repos/emacs-helm/helm/issues/1552/events","html_url":"https://github.com/emacs-helm/helm/issues/1552","id":162718458,"number":1552,"title":"Error: wrong type of argument integer or marker when executing helm-imenu","user":{"login":"emacsuser123","id":16015875,"avatar_url":"https://avatars.githubusercontent.com/u/16015875?v=3","gravatar_id":"","url":"https://api.github.com/users/emacsuser123","html_url":"https://github.com/emacsuser123","followers_url":"https://api.github.com/users/emacsuser123/followers","following_url":"https://api.github.com/users/emacsuser123/following{/other_user}","gists_url":"https://api.github.com/users/emacsuser123/gists{/gist_id}","starred_url":"https://api.github.com/users/emacsuser123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emacsuser123/subscriptions","organizations_url":"https://api.github.com/users/emacsuser123/orgs","repos_url":"https://api.github.com/users/emacsuser123/repos","events_url":"https://api.github.com/users/emacsuser123/events{/privacy}","received_events_url":"https://api.github.com/users/emacsuser123/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-06-28T15:41:56Z","updated_at":"2016-06-30T03:37:26Z","closed_at":null,"body":"Hi.\r\n\r\nWhenever I execute helm-imenu on my c file, I get the following error:\r\n\r\n> In `Imenu' source: `helm-imenu-candidates' \r\n>  (wrong-type-argument integer-or-marker-p #<overlay from 1446 to 1500 in queue.c>)\r\n> \r\n\r\nHowever, if I run helm-imenu-anywhere, it executes ok, without any problem.\r\n\r\nBelow you can find the associated backtrace.\r\n\r\nthanks,\r\n-Bob\r\n\r\n\r\n> Debugger\r\n\r\n>  entered--Lisp error: (wrong-type-argument integer-or-marker-p #<overlay from 1446 to 1500 in queue.c>)\r\n>   copy-marker(#<overlay from 1446 to 1500 in queue.c>)\r\n>   helm-imenu--candidates-1(((#(\"getQr=\" 0 6 (helm-imenu-type \"Variables\")) . #<overlay from 1446 to 1500 in queue.c>) (#(\"getResponseCode=\" 0 16 (helm-imenu-type \"Variables\")) . #<overlay from 1623 to 1944 in queue.c>) (#(\"getRedisReplyCode=\" 0 18 (helm-imenu-type \"Variables\")) . #<overlay from 1946 to 2265 in queue.c>) (#(\"getRedisErrorCode=\" 0 18 (helm-imenu-type \"Variables\")) . #<overlay from 2267 to 2570 in queue.c>)))\r\n>   helm-imenu--candidates-1(((\"Variables\" (\"getQr=\" . #<overlay from 1446 to 1500 in queue.c>) (\"getResponseCode=\" . #<overlay from 1623 to 1944 in queue.c>) (\"getRedisReplyCode=\" . #<overlay from 1946 to 2265 in queue.c>) (\"getRedisErrorCode=\" . #<overlay from 2267 to 2570 in queue.c>)) (\"Functions\" (\"printHexMemory()\" . #<overlay from 513 to 746 in queue.c>) (\"printUserIpList()\" . #<overlay from 748 to 924 in queue.c>) (\"printEvents()\" . #<overlay from 926 to 1268 in queue.c>) (\"getIpProto()\" . #<overlay from 1316 to 1444 in queue.c>) (\"getOneQuerySectionLength()\" . #<overlay from 2572 to 3191 in queue.c>) (\"getTotalQuerySectionLength()\" . #<overlay from 3193 to 3558 in queue.c>) (\"getOneAnswerSectionDomain()\" . #<overlay from 3560 to 5037 in queue.c>) (\"release()\" . #<overlay from 5039 to 5641 in queue.c>) (\"processPkt()\" . #<overlay from 7959 to 20093 in queue.c>) (\"cb()\" . #<overlay from 20095 to 20293 in queue.c>) (\"initRestarts()\" . #<overlay from 20295 to 21430 in queue.c>) (\"init()\" . #<overlay from 21432 to 27330 in queue.c>) (\"main()\" . #<overlay from 27332 to 32714 in queue.c>)) (\"Includes\" (\"stdio.h<>\" . #<overlay from 1 to 19 in queue.c>) (\"stdlib.h<>\" . #<overlay from 20 to 39 in queue.c>) (\"errno.h<>\" . #<overlay from 40 to 58 in queue.c>) (\"unistd.h<>\" . #<overlay from 59 to 78 in queue.c>) (\"string.h<>\" . #<overlay from 79 to 98 in queue.c>) (\"sys/param.h<>\" . #<overlay from 99 to 121 in queue.c>) (\"netinet/in.h<>\" . #<overlay from 122 to 145 in queue.c>) (\"linux/types.h<>\" . #<overlay from 146 to 170 in queue.c>) (\"linux/netfilter.h<>\" . #<overlay from 171 to 199 in queue.c>) (\"arpa/inet.h<>\" . #<overlay from 229 to 251 in queue.c>) (\"time.h<>\" . #<overlay from 252 to 269 in queue.c>) (\"pthread.h<>\" . #<overlay from 270 to 290 in queue.c>) (\"libnetfilter_queue/libnetfilter_queue.h<>\" . #<overlay from 292 to 342 in queue.c>) (\"hiredis/hiredis.h<>\" . #<overlay from 343 to 371 in queue.c>) (\"libconfig.h<>\" . #<overlay from 372 to 394 in queue.c>) (\"queue.h<>\" . #<overlay from 396 to 414 in queue.c>))))\r\n>   helm-imenu-candidates()\r\n>   apply(helm-imenu-candidates nil)\r\n>   helm-funcall-with-source(((name . \"Imenu\") (candidates . helm-imenu-candidates) (keymap keymap (right . helm-execute-persistent-action) (left . helm-maybe-exit-minibuffer) (M-up . helm-imenu-previous-section) (M-down . helm-imenu-next-section) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth 9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth 8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth 7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth 6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth 5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth 4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth 3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth 2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth 1)) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth -9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth -8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth -7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth -6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth -5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth -4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth -3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth -2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth -1)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) ...) (action . helm-imenu-action) (persistent-action . helm-imenu-persistent-action) (persistent-help . \"Show this entry\") (help-message . helm-imenu-help-message) (candidate-transformer . helm-imenu-transformer) (filtered-candidate-transformer helm-flx-fuzzy-matching-sort helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match helm-fuzzy-match) (fuzzy-match) (header-line . \"C-j: Show this entry (keeping session)\") (dont-plug helm-compile-source--multi-match helm-compile-source--persistent-help helm-compile-source--migemo) (matchplugin)) helm-imenu-candidates)\r\n>   helm-interpret-value(helm-imenu-candidates ((name . \"Imenu\") (candidates . helm-imenu-candidates) (keymap keymap (right . helm-execute-persistent-action) (left . helm-maybe-exit-minibuffer) (M-up . helm-imenu-previous-section) (M-down . helm-imenu-next-section) keymap (f13 lambda nil (interactive) (helm-select-nth-action 12)) (f12 lambda nil (interactive) (helm-select-nth-action 11)) (f11 lambda nil (interactive) (helm-select-nth-action 10)) (f10 lambda nil (interactive) (helm-select-nth-action 9)) (f9 lambda nil (interactive) (helm-select-nth-action 8)) (f8 lambda nil (interactive) (helm-select-nth-action 7)) (f7 lambda nil (interactive) (helm-select-nth-action 6)) (f6 lambda nil (interactive) (helm-select-nth-action 5)) (f5 lambda nil (interactive) (helm-select-nth-action 4)) (f4 lambda nil (interactive) (helm-select-nth-action 3)) (f3 lambda nil (interactive) (helm-select-nth-action 2)) (f2 lambda nil (interactive) (helm-select-nth-action 1)) (menu-bar keymap (help-menu keymap (describe keymap (describe-mode . helm-help)))) (help keymap (109 . helm-help)) (f1 lambda nil (interactive) (helm-select-nth-action 0)) (8 keymap (109 . helm-help) (104 . undefined) (8 . undefined) (4 . helm-enable-or-switch-to-debug)) (20 . helm-toggle-resplit-and-swap-windows) (C-tab . undefined) (67108897 . helm-toggle-suspend-update) (3 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth 9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth 8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth 7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth 6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth 5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth 4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth 3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth 2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth 1)) (63 . helm-help) (62 . helm-toggle-truncate-line) (21 . helm-refresh) (6 . helm-follow-mode) (9 . helm-copy-to-buffer) (11 . helm-kill-selection-and-quit) (25 . helm-yank-selection) (45 . helm-swap-windows)) (67108987 . helm-enlarge-window) (67108989 . helm-narrow-window) (19 . undefined) (18 . undefined) (23 . helm-yank-text-at-point) (24 keymap (57 lambda nil (interactive) (helm-execute-selection-action-at-nth -9)) (56 lambda nil (interactive) (helm-execute-selection-action-at-nth -8)) (55 lambda nil (interactive) (helm-execute-selection-action-at-nth -7)) (54 lambda nil (interactive) (helm-execute-selection-action-at-nth -6)) (53 lambda nil (interactive) (helm-execute-selection-action-at-nth -5)) (52 lambda nil (interactive) (helm-execute-selection-action-at-nth -4)) (51 lambda nil (interactive) (helm-execute-selection-action-at-nth -3)) (50 lambda nil (interactive) (helm-execute-selection-action-at-nth -2)) (49 lambda nil (interactive) (helm-execute-selection-action-at-nth -1)) (2 . helm-resume-list-buffers-after-quit) (98 . helm-resume-previous-session-after-quit) (6 . helm-quit-and-find-file)) (11 . helm-delete-minibuffer-contents) (67108896 . helm-toggle-visible-mark) (0 . helm-toggle-visible-mark) (C-M-up . helm-scroll-other-window-down) (C-M-down . helm-scroll-other-window) (M-prior . helm-scroll-other-window-down) (M-next . helm-scroll-other-window) (12 . helm-recenter-top-bottom-other-window) (15 . helm-next-source) (10 . helm-execute-persistent-action) (26 . helm-execute-persistent-action) (9 . helm-select-action) (13 . helm-maybe-exit-minibuffer) (left . helm-previous-source) (right . helm-next-source) (7 . helm-keyboard-quit) (22 . helm-next-page) ...) (action . helm-imenu-action) (persistent-action . helm-imenu-persistent-action) (persistent-help . \"Show this entry\") (help-message . helm-imenu-help-message) (candidate-transformer . helm-imenu-transformer) (filtered-candidate-transformer helm-flx-fuzzy-matching-sort helm-fuzzy-highlight-matches) (match helm-mm-exact-match helm-mm-match helm-fuzzy-match) (fuzzy-match) (header-line . \"C-j: Show this entry (keeping session)\") (dont-plug helm-compile-source--multi-match helm-compile-source--persistent-help helm-compile-source--migemo) (matchplugin)))\r\n>   #[0 \"\\302\\203 \r\n> "},"comment":{"url":"https://api.github.com/repos/emacs-helm/helm/issues/comments/229551565","html_url":"https://github.com/emacs-helm/helm/issues/1552#issuecomment-229551565","issue_url":"https://api.github.com/repos/emacs-helm/helm/issues/1552","id":229551565,"user":{"login":"thierryvolpiatto","id":1533939,"avatar_url":"https://avatars.githubusercontent.com/u/1533939?v=3","gravatar_id":"","url":"https://api.github.com/users/thierryvolpiatto","html_url":"https://github.com/thierryvolpiatto","followers_url":"https://api.github.com/users/thierryvolpiatto/followers","following_url":"https://api.github.com/users/thierryvolpiatto/following{/other_user}","gists_url":"https://api.github.com/users/thierryvolpiatto/gists{/gist_id}","starred_url":"https://api.github.com/users/thierryvolpiatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thierryvolpiatto/subscriptions","organizations_url":"https://api.github.com/users/thierryvolpiatto/orgs","repos_url":"https://api.github.com/users/thierryvolpiatto/repos","events_url":"https://api.github.com/users/thierryvolpiatto/events{/privacy}","received_events_url":"https://api.github.com/users/thierryvolpiatto/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T03:37:26Z","updated_at":"2016-06-30T03:37:26Z","body":"\nemacsuser123 <notifications@github.com> writes:\n\n> Thanks.\n>\n> Using the minimal installation (emacs-helm.sh), both helm-imenu and\n> helm-imenu-in-all-buffers work perfectly.\n\nGood, now we know it is not an helm bug.\n\n> In regards to my current deployment (not minimal):\n> I have found a reproducible workflow that could shed some light:\n>\n>   * I do: rm -rf helm and helm-core package directories.\n>   * I open emacs: helm and helm-core packages get installed again.\n\nI guess because of :ensure t in your use-package snippet.\n\n>   * Now, helm-imenu and helm-imenu-in-all-buffers work OK.\n\nWith :ensure use-package install and load your packages.\n\n>   * I exit emacs.\n>   * When I restart emacs, now neither helm-imenu nor\n>   helm-imenu-in-all-buffers do not work.\n\nAnd not only these ones I think.\nDo you have `(package-initialize)` on top of your .emacs ?\n\nIf you don't have this emacs will not be aware of all packages inside\nelpa directory.\n\nSo depending on what you have in your config, some library are loaded\nand others not (not sure but I guess it is helm-core in your case).\n\n-- \nThierry\n"}}
{"actor":{"display_login":"thierryvolpiatto"}}