Description

The editor crashes when the user attempts to reopen the Platform asset after setting the media file to the Windows platform. The editor also crashes when opening another asset (adding in a Media Player and opening that).

The crash is occurring from an infinite loop calling the platform media source.

This crash does not occur in //UE4/Release-4.15 @ CL 8259876.

Steps to Reproduce

Setup:
Create a new Blank project with no Starter Content

Repro:

  1. Create a new Platform Media Source
  2. Assign a media file to the Windows platform
  3. Close the Platform Media Source
  4. Reopen the Platform Media Source asset

Expected Result: Able to assign the media file to the Windows platform and reopen the asset
Actual Result: The editor crashes when trying to reopen the asset or open another asset after assigning the media file to the Windows platform.

Callstack

UE4Editor_Core!rml::internal::ExtMemoryPool::initTLS()
UE4Editor_Core!scalable_realloc()
UE4Editor_Core!FMallocTBB::Realloc() malloctbb.cpp:88
UE4Editor_MediaAssets!TArray<wchar_t,FDefaultAllocator>::ResizeGrow() array.h:2249
UE4Editor_MediaAssets!UPlatformMediaSource::GetMediaSource() platformmediasource.cpp:81
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17
UE4Editor_MediaAssets!UPlatformMediaSource::GetUrl() platformmediasource.cpp:17

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-40779 in the post.

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.15
Target Fix4.15
Fix Commit3278173
Main Commit3389599
Release Commit3280249
CreatedJan 18, 2017
ResolvedJan 30, 2017
UpdatedApr 27, 2018
View Jira Issue