Description

This JIRA is being entered as a result of it being one of the top crashes in 4.13 Preview 1

Error message:

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

Source Context:

219       {
  220       return;
  221       }
  222       
  223       // Process the change
  224       uint8* InfoBase = BackBuffer;
  225       do
  226       {
  227       FILE_NOTIFY_INFORMATION* NotifyInfo = (FILE_NOTIFY_INFORMATION*)InfoBase;
  228       
  229       // Copy the WCHAR out of the NotifyInfo so we can put a NULL terminator on it and convert it to a FString
  230       const int32 Len = NotifyInfo->FileNameLength / sizeof(WCHAR);
  231       WCHAR* RawFilename = new WCHAR[Len + 1];
  232       FMemory::Memcpy(RawFilename, NotifyInfo->FileName, NotifyInfo->FileNameLength);
  233 ***** RawFilename[Len] = 0;
  234       
  235       FFileChangeData::EFileChangeAction Action;
  236       switch(NotifyInfo->Action)
  237       {
  238       case FILE_ACTION_ADDED:
  239       case FILE_ACTION_RENAMED_NEW_NAME:
  240       Action = FFileChangeData::FCA_Added;
  241       break;
  242       
  243       case FILE_ACTION_REMOVED:
  244       case FILE_ACTION_RENAMED_OLD_NAME:
  245       Action = FFileChangeData::FCA_Removed;
  246       break;
  247       
  248       case FILE_ACTION_MODIFIED:

Most recent user affected CL: 3072953

Logs:
[Link Removed]
[Link Removed]
[Link Removed]


CrashReporter User Descriptions:

  • loading project in network drive
  • create blank project

This crash does not occur in 4.12.5. This is a regression.

Steps to Reproduce
  1. Open a project located on a network drive

Result: Editor crashes during the loading process

Callstack
VCRUNTIME140!<Unknown>
UE4Editor_DirectoryWatcher!FDirectoryWatchRequestWindows::ProcessChange() [directorywatchrequestwindows.cpp:234]
ntdll!<Unknown>
ntdll!<Unknown>
mswsock!<Unknown>
mswsock!<Unknown>
ws2_32!<Unknown>
UE4Editor_Sockets!FSocketBSD::Bind() [socketsbsd.cpp:33]
UE4Editor_UdpMessaging!FUdpSocketBuilder::Build()
UE4Editor_UdpMessaging!FUdpMessageTransport::StartTransport()
UE4Editor_Messaging!FMessageBridge::Enable() [messagebridge.cpp:75]
UE4Editor_UdpMessaging!FMessageBridgeBuilder::Build()
UE4Editor_UdpMessaging!FMessageBridgeBuilder::operator TSharedPtr<IMessageBridge,1>()
UE4Editor_UdpMessaging!FUdpMessagingModule::InitializeBridge()
UE4Editor_UdpMessaging!FUdpMessagingModule::RestartServices()
UE4Editor_UdpMessaging!FUdpMessagingModule::StartupModule()
UE4Editor_Core!FModuleManager::LoadModuleWithFailureReason() [modulemanager.cpp:480]
UE4Editor_Projects!FModuleDescriptor::LoadModulesForPhase() [moduledescriptor.cpp:398]
UE4Editor_Projects!FPluginManager::LoadModulesForEnabledPlugins() [pluginmanager.cpp:553]
UE4Editor!FEngineLoop::LoadStartupModules() [launchengineloop.cpp:2211]
UE4Editor!FEngineLoop::PreInit() [launchengineloop.cpp:1653]
UE4Editor!GuardedMain() [launch.cpp:117]
UE4Editor!GuardedMainWrapper() [launchwindows.cpp:126]
UE4Editor!WinMain() [launchwindows.cpp:202]
UE4Editor!__scrt_common_main_seh() [exe_common.inl:264]
kernel32!<Unknown>
ntdll!<Unknown>

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Networking
Affects Versions4.13
Target Fix4.13
Fix Commit3084471
Main Commit3092051
Release Commit3084471
CreatedAug 5, 2016
ResolvedAug 10, 2016
UpdatedApr 27, 2018