Skip to content

Mac: Native crash in CoreFoundation/CFArrayGetCount with any mc>=1.13 #3458

Open
@HenryLoenwind

Description

@HenryLoenwind

System Information

MultiMC version: 5.6.12-develop-1624 (also tried stable before)

Operating System: 10.15.6

Summary of the issue or suggestion:

Minecraft versions starting with 1.13, no matter if vanilla or modded, no matter the jvm, will crash when launched through multimc. When capturing the java command and the stdin sent to the onesix launcher and running the same command in a Terminal window, it works fine. (mc 1.12 works)

What should happen:

Java should not crash

Steps to reproduce the issue (Add more if needed):

  1. Install multimc
  2. Create a vanilla instance, any version 1.13 or higher
  3. Press launch

Suspected cause:

I get the same crash outside multimc when I run Minecraft on a new jvm the first time, but there it is accompanied by a security popup about java wanting to monitor keyboard input. When I go to security settings, I then see "java" listed there and can enabled keyboard monitoring. After that it runs fine.

However, it seems when run through multimc, this setting doesn't apply. I neither get a security popup, nor does java (or multimc) get listed in the security settings, nor does manually adding them have an effect.

Logs/Screenshots:

Running fine:

image

Same instance and jvm inside multimc:

image

Tested with multiple JVMs, doesn't make any difference:

image

Here's a crashlog: https://gist.github.com/HenryLoenwind/f2256af0a85bb705345ee296cdb90900

I can produce them for any combination of JVM and Minecraft version you like, these are just the ones I had in front of me just now.

Additional Info:

I've seen the other "crash on mac" tickets. Sadly I don't get as far as those lucky people... ;)

PS: Here is a workaround: https://gist.github.com/HenryLoenwind/134e78a0bfa99bec49c24781b6111bce

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-reprosystem: macOSIssues specific to macOS (Apple weirdness, UI glitches, broken SSL, etc.)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions