Hanging with LOADING screen

Author: evanbattagliaCreated Jul 10, 2024Updated Jul 10, 2024

I am getting the LOADING screen with no additional info.

Note than I'm having to use the https://github.com/ceandreasen/slack-term branch because I need the cookie support, so it's possible (doesn't seem likely to me) the hang is due to this code (commits https://github.com/jpbruinsslot/slack-term/commit/f23b6384400111c75da5d5f923cd041273283ec7 and https://github.com/jpbruinsslot/slack-term/commit/21ddbfc56064dc53745dd7f416f8dabe6f25862c, so feel free to close this if this is not appropriate. I hoped I could at least get some pointers on how to debug by posting here.

  • When I do not have a valid token or invalid cookie (xoxd) token, I get the 'invalid token' message right away.
  • When I have valid tokens, the screen hangs with LOADING, and I have to kill the process.
  • adding -debug didn't seem to produce any output or a log file anywhere that I could tell.
  • running strace -p <iid> shows it hanging on futex(0xab66c8, FUTEX_WAIT_PRIVATE, 0, NULL
  • running gdb slack-term shows it starting 5 new threads. I don't seem to be able to interrupt to get any more info (not a gdb expert)
  • The workspace I'm trying to access may be fairly large.

If anyone has any ideas or debugging tips, let me know, and again I apologize if this is not the right place to ask for help. Thanks!


Version: latest https://github.com/ceandreasen/slack-term Installation method: build from source