Search Issue Tracker

Fixed in 2017.2.X

Votes

0

Found in

5.5.0f3

Issue ID

900276

Regression

No

[macOS] Crash in __pthread_kill when starting a new thread

Scripting

-

Steps to reproduce:
1. Open the project attached
2. Attach ThreadTest.cs to Main Camera gameObject
3. Enter play mode
4. Left-click anywhere in the game window

Result: crash in __pthread_kill

Expected result: thread created successfully, or an "Thread creation failed" error thrown.

Reproduced with: 5.4.5p1, 5.5.3p1, 5.6.0p1, 2017.1.0b1 (on macOS 10.12)
Did not reproduce with: 5.6.0f3 (Windows 8.1)
Reproduced on builds: OSX Standalone
Did not reproduce on builds: WebGL, iOS, Windows standalone

Notes: * WebGL throws an exception:
SystemException: Thread creation failed.
(Filename: currently not available on il2cpp Line: -1)

* Full stack trace attached in the note

Comments (1)

  1. VoidStick

    Apr 18, 2017 15:18

    For anyone viewing just this issue, ThreadTest.cs consists of nothing more than, if Input.GetMouseButtonDown(0), create a new Thread with a body of "return immediately" and start that Thread.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.