Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chatty crashes after prolonged use #231

Closed
Jademalo opened this issue Mar 28, 2016 · 10 comments
Closed

Chatty crashes after prolonged use #231

Jademalo opened this issue Mar 28, 2016 · 10 comments

Comments

@Jademalo
Copy link

This has been happening for a while now, so there's no start date I can really think of.
I have Chatty set to launch through LTGUI, and essentially, after a few hours of use, Chatty will hang. I've sent the Chatty logs to it's developer, but he can't see anything specifically causing the problem. After looking at it further, I've noticed that chatty will come back to life if I close LTGUI, so I believe the issue is related to this.

It's a full on traditional hang. It doesn't crash, but it becomes entirely unresponsive in every way. It happens no matter the chat, no matter the message frequency, and at a random time.

If there's any logs that are needed, I'll get them and add them.

Thanks

@bastimeyer
Copy link
Member

Could you please try opening chatty via the shell and see if it freezes as well?
These are the used parameters... Don't forget to replace the {variables}.

Linux, OSX:
java -jar "/path/to/chatty.jar" -connect -single -user "{user}" -token "{token}" -channel "{channel}"

Windows:
javaw -jar "C:\path\to\chatty.jar" -connect -single -user "{user}" -token "{token}" -channel "{channel}"

@Jademalo
Copy link
Author

Ok, that's running now. I'll reply again if it freezes, although I don't expect it to. Mainly because of the whole closing LTGUI fixing it thing.

@Jademalo
Copy link
Author

Been running it for 6 1/2 hours through the command, it's still fine.

@bastimeyer
Copy link
Member

I've changed some child process spawn params in the ChatService.
Would you please be so kind and test the latest commit from the master branch?
5fd41f5

Build instructions can be found here.

There's nothing I can do at this point. If the issue persists, you should check your system's memory consumption, etc...

@Jademalo
Copy link
Author

Alright, I'll build it and try.
I don't know what to say about it being my system since I recently did a fresh win10 install with fresh config and the issue persisted.

I'll reply in a few hours, or if it crashes.

@Jademalo
Copy link
Author

Having build issues, got node.js and git installed fine, installed grunt fine, did npm install fine, then did grunt release and it completed fine. However, I can't actually find the build. There are temp files getting modified, but the binary isn't anywhere.

@bastimeyer
Copy link
Member

Check the build/releases/livestreamer-twitch-gui/ directory...

As an alternative to building the application, you can also simply run grunt metadata less:source run:src

@Jademalo
Copy link
Author

It's not making a /releases/ directory. build only has resources, tasks and tmp. Weird.

That second method gives me a warning: No platform to build! error, which I'm assuming is the problem. I'm trying to build on windows for windows.

EDIT: Reinstalled node.js, this time it built correctly. Weird. I'll report back in a few hours if this is fine, or if it breaks. Thanks!

@Jademalo
Copy link
Author

Good news!
After leaving a stream open for 7 hours, it's still absolutely fine. That seems to have fixed it!

I'll let you know if it happens again, but I'm reasonably confident this has sorted it.
Thanks!

@bastimeyer
Copy link
Member

Thanks for taking the time!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants