Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.38f1

2022.3.30f1

6000.0.3f1

Issue ID

UUM-72387

Regression

No

[macOS] Crash on __pthread_kill when Exporting a Package while another export is in progress

--

-

Reproduction steps:
1. Open the attached “ReproProj” project
2. Go to Assets > Export Package
3. Select all Assets
4. Press the Export button
5. Repeat 3-4 steps 2 times

Expected result: The user is prevented from starting another export process
Actual result: The Editor crashes

Reproducible with: 2021.3.38f1, 2022.3.30f1, 6000.0.3f1

Reproducible on: macOS 14.5 (M1 Max)
Not reproducible on: Windows 10

Note: Sometimes the Editor is blocked from doing any actions while assets are still packing, therefore the user cannot start the export process while another export is happening, therefore the Editor doesn’t crash

First few lines of the stack trace:
#0 0x00000188a9e0dc in __pthread_kill
Thread 0x2d5f6f000 may have been prematurely finalized
#1 0xc35d0001889e1a40 in abort
Thread 0x2d5f6f000 may have been prematurely finalized
#2 0x4f7d000188a8d070 in __cxxabiv1::__aligned_malloc_with_fallback(unsigned long)
Thread 0x2d5f6f000 may have been prematurely finalized
#3 0xdf6d800188a7d12c in demangling_terminate_handler()
Thread 0x2d5f6f000 may have been prematurely finalized
#4 0x132780018872398c in _objc_terminate()
Thread 0x2d5f6f000 may have been prematurely finalized
#5 0x2432000188a8c434 in std::__terminate(void (*)())
Thread 0x2d5f6f000 may have been prematurely finalized
#6 0xf763000188a8c3d8 in std::terminate()
Thread 0x2d5f6f000 may have been prematurely finalized
#7 0xab6f800188924924 in _dispatch_client_callout
Thread 0x2d5f6f000 may have been prematurely finalized
#8 0x37208001889363cc in _dispatch_root_queue_drain
Thread 0x2d5f6f000 may have been prematurely finalized
#9 0x2f7e800188936a04 in _dispatch_worker_thread2
Thread 0x2d5f6f000 may have been prematurely finalized
#10 0xc371000188ad20d8 in _pthread_wqthread

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.