mojira.dev
MC-78048

sigsegv (segmentation violation) in libtwitchsdk.dylib

I got this while doing a test of twitch servers, from the main menu, before loading a world.

-XX:CMSInitiatingOccupancyFraction=80 -XX:+ExplicitGCInvokesConcurrentAndUnloadsClasses -XX:InitialHeapSize=503316480 -XX:MaxHeapFreeRatio=25 -XX:MaxHeapSize=1677721600 -XX:MaxNewSize=419430400 -XX:MaxPermSize=262144000 -XX:MaxTenuringThreshold=4 -XX:MinHeapFreeRatio=22 -XX:NewSize=419430400 -XX:OldPLABSize=16 -XX:+PrintCommandLineFlags -XX:+PrintGC -XX:+PrintGCDateStamps -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintTenuringDistribution -XX:SoftRefLRUPolicyMSPerMB=1 -XX:SurvivorRatio=10 -XX:TargetSurvivorRatio=80 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+UseParNewGC
[18:46:44] [Client thread/INFO]: Setting user: Keybounce
[18:46:44] [Client thread/INFO]: (Session ID is token:2a02e59605544b0b93c72f5b1165c2ae:dd246b71d2cf496c9fc7f968795fbea1)
[18:46:46] [Client thread/INFO]: LWJGL Version: 2.9.2
[18:46:47] [Client thread/INFO]: Reloading ResourceManager: Default
[18:46:47] [Sound Library Loader/INFO]: Starting up SoundSystem...
[18:46:47] [Thread-6/INFO]: Initializing LWJGL OpenAL
[18:46:47] [Thread-6/INFO]: (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org)
[18:46:47] [Thread-6/INFO]: OpenAL initialized.
[18:46:47] [Sound Library Loader/INFO]: Sound engine started
[18:46:49] [Client thread/INFO]: Created: 512x512 textures-atlas
#

  1. A fatal error has been detected by the Java Runtime Environment:
    #

  2. SIGSEGV (0xb) at pc=0x00000001193e4073, pid=99089, tid=2823
    #

  3. JRE version: Java(TM) SE Runtime Environment (7.0_72-b14) (build 1.7.0_72-b14)

  4. Java VM: Java HotSpot(TM) 64-Bit Server VM (24.72-b04 mixed mode bsd-amd64 compressed oops)

  5. Problematic frame:

  6. C [libtwitchsdk.dylib+0x1b073] ttv::Streamer::GetStreamInfoCallback(TTV_ErrorCode, void*)+0x73
    #

  7. Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
    #

  8. An error report file with more information is saved as:

  9. /Volumes/UserData/Users/michael/Documents/Games/Minecraft/Playing/Client/Vanilla/hs_err_pid99089.log
    #

  10. If you would like to submit a bug report, please visit:

  11. http://bugreport.sun.com/bugreport/crash.jsp

  12. The crash happened outside the Java Virtual Machine in native code.

  13. See problematic frame for where to report the bug.
    #
    /SourceCache/AppleGVA/AppleGVA-7.1.18/Sources/Slices/Driver/AVD_loader.cpp: failed to get a service for display 2
    ERR: Mon Feb 23 18:48:25 2015 - Socket - Error Sending from a socket. Error = 54
    ERR: Mon Feb 23 18:48:25 2015 - rtmp - RTMP Entered error state with error 44
    ERR: Mon Feb 23 18:48:25 2015 - Streamer - Inside Streamer::Start - Call to mFlvMuxer->Start(params) failed

Attachments

Comments 8

Not a bug in Minecraft.
Either turn off Twitch chat or update your Java.

Updating Java won't do a thing. This is a bug in the twitch library, and it is not the only one (there is a game-killing assert error, that will trigger any time you lose your network connection after connecting to twitch).

The resolution is for Mojang to pass this bug report (and https://bugs.mojang.com/browse/MC-65480) upstream; they are the consumers of a product from twitch, that is broken, and causing issues with Mojang's game.

The problem may not be in Mojang-written code; the problem does exist in a product distributed by Mojang.

Well, what does a SIGSEV on libtwitchsdk.dylib have to do with Minecraft? Nothing.

A SIGSEV is caused by a crash in the Java platform.

Please attach this file: /Volumes/UserData/Users/michael/Documents/Games/Minecraft/Playing/Client/Vanilla/hs_err_pid99089.log

Attached.

Sonic: "SIGSEGV" – segment violation – means that the code did something it was not supposed to do. It did not happen in the java platform, or the java VM. It happened in a library, supplied by twitch, for the purpose of minecraft being able to contact twitch.

Updating java won't help. It's a flaw in the twitch library. It's a user-visible flaw in a Mojang-shipped product. The user's recourse is to complain to Mojang; Mojang's recourse is to complain to twitch.

Keybounce, this comment appears to invalidate both of your arguments regarding a SIGSEGV

A crash in libX11.so (MC-146) is different to a crash in libtwitchsdk.dylib. The former is OS stuff, the latter is shipped by Mojang.

Closed as Twitch integration will be removed from release 1.9.

Keybounce

(Unassigned)

Unconfirmed

Minecraft 1.8.3

Retrieved