mojira.dev
MC-65480

minecraft quit unexpectedly while using the libtwichsdk.dylib plug-in

Minecraft keeps crashing while in game.
It has something to do with the Twitch add-on.
See attached text file.
Also, the launcher screen reported this last time it crashed:
/Users/buildslave/workspace/release/build/twitchsdk/twitchchat/source/chatsockettransport.cpp:59: failed assertion `(( (err) <= TTV_EC_SUCCESS))'
ERR: Tue Aug 5 23:21:50 2014 - Socket - Failed in call to socket. Error = 60
ERR: Tue Aug 5 23:21:50 2014 - unknown - Assert "(( (err) <= TTV_EC_SUCCESS))" failed at /Users/buildslave/workspace/release/build/twitchsdk/twitchchat/source/chatsockettransport.cpp:59

Attachments

Comments 4

How is this a duplicate of an invalid issue due to optifine being installed when I don't have it installed?

I am getting the same crash, while just going through the options menus on 1.7.10, before even starting up the game.

Mac OS 10.7.5
Java 1.7.0_65

EDIT: Just to make sure you understand, I can duplicate this in vanilla, unmodified 1.7.10. Most recently happening was while letting it test the various twitch servers.

Alright, I just had this happen again tonight.

/Users/buildslave/workspace/release/build/twitchsdk/twitchchat/source/chatsockettransport.cpp:98: failed assertion `(( (err) <= TTV_EC_SUCCESS))'
ERR: Thu Jan 1 17:17:31 2015 - Socket - Error Sending from a socket. Error = 60
ERR: Thu Jan 1 17:17:31 2015 - unknown - Assert "(( (err) <= TTV_EC_SUCCESS))" failed at /Users/buildslave/workspace/release/build/twitchsdk/twitchchat/source/chatsockettransport.cpp:98

This is in 1.7.10. And, I have a useful additional piece of information: My network connection basically went dead for more than 30 seconds.

I was playing on a local server on my own machine. So I never lost connection to my minecraft game server.

  • HOWEVER, the twitch library lost connection to Twitch, and even though I was not streaming, and not doing anything, the game crashed for an assertation failure, and no game log.

Key points:

1. I have my chat setting set to show me the chat from twitch in-game,
2. My network died.

Twitch's library has a reason, with these settings, to try to contact twitch.com; but it still should not die / kill the game just because the connection goes down.

Again: This is NOT a duplicate of an optifine issue. This is a straight network failure, and the assumption of the twitch libraries that the network will NOT die.

Still happened tonight:

[20:03:27] [Sound Library Loader/INFO]: Sound engine started
/Users/buildslave/workspace/release/build/twitchsdk/twitchchat/source/chatsockettransport.cpp:98: failed assertion `(( (err) <= TTV_EC_SUCCESS))'
ERR: Tue Feb 17 20:03:27 2015 - Socket - Error Sending from a socket. Error = 54
ERR: Tue Feb 17 20:03:27 2015 - unknown - Assert "(( (err) <= TTV_EC_SUCCESS))" failed at /Users/buildslave/workspace/release/build/twitchsdk/twitchchat/source/chatsockettransport.cpp:98

Just because the twitch library has an error, it should not crash the game. It should have at least the equivalent of a try/catch. Not an "assert".

Please report this upstream to twitch, so they can give you a better library.

Timothy Swan

(Unassigned)

Unconfirmed

Minecraft 1.7.10

Retrieved