Description

Encountered this crash while going through the Dev-Build-Headers smoke pass. It appears that attempting to connect to perforce is crashing the editor. I tried to connect it Subversion and that allows me to edit the values.

I tried this in Main and it is not happening. Also not happening on Mac

This is a Regression.

Steps to Reproduce
  1. Open any project
  2. Click Source Control in the Tool Bar
  3. Select Connect to Source Control
  4. In the drop down for provider, select Perforce

Result: The editor crashes

Expected: Able to fill in the options and connect to Perforce

Callstack
LoginId:99734049456fbd53c9156f971cdccf71
EpicAccountId:d61c17c3cd5a45f58abdaf87b3c494b5

Access violation - code c0000005 (first/second chance not available)

VCRUNTIME140
UE4Editor_Core!FMallocTBB::Free() [d:\builds\dev-buildheaders\engine\source\runtime\core\private\hal\malloctbb.cpp:112]
UE4Editor_Core!FMemory::Free() [d:\builds\dev-buildheaders\engine\source\runtime\core\public\hal\fmemory.inl:52]
UE4Editor_PerforceSourceControl!FPerforceConnection::RunCommand() [d:\builds\dev-buildheaders\engine\plugins\developer\perforcesourcecontrol\source\perforcesourcecontrol\private\perforceconnection.cpp:658]
UE4Editor_PerforceSourceControl!FPerforceConnection::EstablishConnection() [d:\builds\dev-buildheaders\engine\plugins\developer\perforcesourcecontrol\source\perforcesourcecontrol\private\perforceconnection.cpp:751]
UE4Editor_PerforceSourceControl!FScopedPerforceConnection::Initialize() [d:\builds\dev-buildheaders\engine\plugins\developer\perforcesourcecontrol\source\perforcesourcecontrol\private\perforceconnection.cpp:827]
UE4Editor_PerforceSourceControl!FPerforceGetWorkspacesWorker::Execute() [d:\builds\dev-buildheaders\engine\plugins\developer\perforcesourcecontrol\source\perforcesourcecontrol\private\perforcesourcecontroloperations.cpp:1057]
UE4Editor_PerforceSourceControl!FPerforceSourceControlCommand::DoThreadedWork() [d:\builds\dev-buildheaders\engine\plugins\developer\perforcesourcecontrol\source\perforcesourcecontrol\private\perforcesourcecontrolcommand.cpp:42]
UE4Editor_Core!FQueuedThread::Run() [d:\builds\dev-buildheaders\engine\source\runtime\core\private\hal\threadingbase.cpp:444]
UE4Editor_Core!FRunnableThreadWin::Run() [d:\builds\dev-buildheaders\engine\source\runtime\core\private\windows\windowsrunnablethread.cpp:76]

Have Comments or More Details?

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

0
Login to Vote

Fixed
ComponentTools
Affects Versions4.15
Target Fix4.15
Fix Commit3207789
CreatedNov 22, 2016
ResolvedNov 22, 2016
UpdatedApr 27, 2018