Download

Linux server windows client problem...

Hello! I have this problem: I have create a linux Server for my game and 1 windows client… if I run windows client when linux server is up, i have a assertion error in isValid() method of SharedPointer.h class… If I run a windows Server, all works fine… What is the problem? Thanks all in advance!

This is my log



[2015.09.19-21.51.09:946][334]LogNet: NotifyAcceptingConnection: Server TestMap accept
[2015.09.19-21.51.09:947][334]LogNet:Verbose: UNetConnection::SetClientLoginState: State changing from Invalid to LoggingIn
[2015.09.19-21.51.09:947][334]LogNet:Verbose: UNetConnection::SetExpectedClientLoginMsgType: Type same: 0
[2015.09.19-21.51.09:947][334]LogNet: Open TestMap 09/19/15 23:51:09 93.50.116.186
[2015.09.19-21.51.09:947][334]LogNet: Added client connection.  Remote address = 93.50.116.186:62460
[2015.09.19-21.51.09:947][334]LogNet: NotifyAcceptingChannel Control 0 server World /Game/ThirdPerson/Maps/TestMap.TestMap: Accepted
[2015.09.19-21.51.09:947][334]LogNet: Remote platform little endian=1
[2015.09.19-21.51.09:947][334]LogNet: This platform little endian=1
[2015.09.19-21.51.09:947][334]LogNet:Verbose: Level server received: Hello
[2015.09.19-21.51.09:947][334]LogNet: GetLocalNetworkVersion: GEngineNetVersion: 0, ProjectName: neverendingnightmare, ProjectVersion: 1.0.0.0, InternalProtocolVersion: 9, LocalNetworkVersion: 437387952
[2015.09.19-21.51.09:947][334]LogNet:Verbose: UNetConnection::SetExpectedClientLoginMsgType: Type changing from 0 to 5
[2015.09.19-21.51.10:047][337]LogNet:Verbose: Level server received: Login
[2015.09.19-21.51.10:047][337]LogNet: Login request: /Game/ThirdPerson/Maps/TestMap userId: Invalid
[2015.09.19-21.51.10:047][337]LogNet:Verbose: UNetConnection::SetClientLoginState: State changing from LoggingIn to Welcomed
[2015.09.19-21.51.10:147][340]LogNet:Verbose: Level server received: Netspeed
[2015.09.19-21.51.10:147][340]LogNet: Client netspeed is 10000
[2015.09.19-21.51.10:314][345]LogNet:Verbose: Level server received: Join
[2015.09.19-21.51.10:314][345]LogNet: Join request: /Game/ThirdPerson/Maps/TestMap?SplitscreenCount=1
[2015.09.19-21.51.10:315][345]LogSkinnedMeshComp:Warning: GetSocketByName(): No SkeletalMesh for CharacterMesh0
[2015.09.19-21.51.10:316][345]LogOutputDevice:Warning:

Script Stack:
GameMode.SpawnDefaultPawnFor

[2015.09.19-21.51.10:317][345]LogLinux:Error: appError called: Assertion failed: Assertion failed: IsValid() [File:Runtime/Core/Public/Templates\SharedPointer.h] [Line: 697]


[2015.09.19-21.51.22:034][345]LogLinux: === Critical error: ===
Unhandled Exception: SIGSEGV: invalid attempt to access memory at address 0x00000003

[2015.09.19-21.51.22:034][345]LogLinux: Assertion failed: Assertion failed: IsValid() [File:Runtime/Core/Public/Templates\SharedPointer.h] [Line: 697]



[Callstack]  02  0x0000000001712247  ReportCrash(FLinuxCrashContext const&) [C:\UnrealEngine\Engine\Source\Runtime/Core/Public\Containers/ContainerAllocationPolicies.h, line 304]
[Callstack]  03  0x000000000165ec8b  EngineCrashHandler(FGenericCrashContext const&) [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\Linux/LaunchLinux.cpp, line 31]
[Callstack]  04  0x0000000001712d59  PlatformCrashHandler(int, siginfo*, void*) [C:\UnrealEngine\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformCrashContext.cpp, line 785]
[Callstack]  05  0x00007190f18a6130  /lib64/libpthread.so.0(+0xf130) [0x7190f18a6130]
[Callstack]  06  0x000000000168b91b  FGenericPlatformMisc::RaiseException(unsigned int)
[Callstack]  07  0x000000000175a7c0  FOutputDeviceLinuxError::Serialize(wchar_t const*, ELogVerbosity::Type, FName const&) [C:\UnrealEngine\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformOutputDevices.cpp
[Callstack]  08  0x00000000017a5aa4  FOutputDevice::Logf(wchar_t const*, ...) [C:\UnrealEngine\Engine\Source\Runtime/Core/Public/HAL/UnrealMemory.h, line 121]
[Callstack]  09  0x000000000179c8c6  FDebug::AssertFailed(char const*, char const*, int, wchar_t const*, ...) [C:\UnrealEngine\Engine\Source\Runtime/Core/Public\Containers/ContainerAllocationPolicies.h, line 327
[Callstack]  10  0x0000000001b30bbb  FSlateApplicationBase::Get() [Runtime/Core/Public/Templates/SharedPointer.h, line 698]
[Callstack]  11  0x0000000001aabf1d  SWidget::RegisterActiveTimer(float, TBaseDelegate<EActiveTimerReturnType, double, float>) [C:\UnrealEngine\Engine\Source\Runtime\SlateCore\Private\Widgets/SWidget.cpp, line 7
[Callstack]  12  0x0000000001d52f4c  SProgressBar::Construct(SProgressBar::FArguments const&) [Runtime/Core/Public/Templates/SharedPointer.h, line 939]
[Callstack]  13  0x00000000025cc172  UProgressBar::RebuildWidget() [Runtime/SlateCore/Public/Widgets/DeclarativeSyntaxSupport.h, line 1074]
[Callstack]  14  0x00000000025a6603  UWidget::TakeWidget() [Runtime/Core/Public/Templates/SharedPointer.h, line 558]
[Callstack]  15  0x00000000025b947f  UCanvasPanelSlot::BuildSlot(TSharedRef<SConstraintCanvas, (ESPMode)0>) [Runtime/Core/Public/Templates/SharedPointerInternals.h, line 340]
[Callstack]  16  0x00000000025b99b2  UCanvasPanel::RebuildWidget() [C:\UnrealEngine\Engine\Source\Runtime\UMG\Private\Components/CanvasPanel.cpp, line 62]
[Callstack]  17  0x00000000025a6603  UWidget::TakeWidget() [Runtime/Core/Public/Templates/SharedPointer.h, line 558]
[Callstack]  18  0x00000000025a643c  UUserWidget::RebuildWidget() [C:\UnrealEngine\Engine\Source\Runtime\UMG\Private/UserWidget.cpp, line 312]
[Callstack]  19  0x00000000025a6603  UWidget::TakeWidget() [Runtime/Core/Public/Templates/SharedPointer.h, line 558]
[Callstack]  20  0x00000000025a76e9  UUserWidget::MakeViewportWidget(TSharedPtr<SWidget, (ESPMode)0>&) [Runtime/Core/Public/Templates/SharedPointer.h, line 558]
[Callstack]  21  0x00000000025a8000  UUserWidget::AddToScreen(ULocalPlayer*, int) [Runtime/Core/Public/Templates/SharedPointer.h, line 939]
[Callstack]  22  0x00000000029ec729  AActor::PostActorConstruction() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/Actor.cpp, line 2670]
[Callstack]  23  0x00000000029eb947  AActor::FinishSpawning(FTransform const&, bool) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/Actor.cpp, line 2578]
[Callstack]  24  0x00000000029eb179  AActor::PostSpawnInitialize(FTransform const&, AActor*, APawn*, bool, bool, bool) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/Actor.cpp, line 2542]
[Callstack]  25  0x0000000002c0d6de  UWorld::SpawnActor(UClass*, FTransform const*, FActorSpawnParameters const&) [C:\UnrealEngine\Engine\Source\Runtime/CoreUObject/Public/UObject/UObjectBaseUtility.h, line 47]
[Callstack]  26  0x0000000002c0d7f1  UWorld::SpawnActor(UClass*, FVector const*, FRotator const*, FActorSpawnParameters const&)
[Callstack]  27  0x0000000002b145c8  AGameMode::SpawnDefaultPawnFor_Implementation(AController*, AActor*) [C:\UnrealEngine\Engine\Source\Runtime/Engine/Classes\Engine/World.h, line 2848]
[Callstack]  28  0x000000000359a46c  AGameMode::execSpawnDefaultPawnFor(FFrame&, void*) [Runtime/Engine\Classes/GameFramework/GameMode.h, line 67]
[Callstack]  29  0x00000000019758d2  UFunction::Invoke(UObject*, FFrame&, void*) [Runtime/Core/Public/Templates/UnrealTemplate.h, line 241]
[Callstack]  30  0x0000000001a3d5ab  UObject::ProcessEvent(UFunction*, void*) [Runtime/Core/Public/UObject/NameTypes.h, line 590]
\Engine/Engine.generated.1.cpp, line 4659]
[Callstack]  32  0x0000000002b10292  AGameMode::RestartPlayer(AController*) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/GameMode.cpp, line 461]
[Callstack]  33  0x0000000002b10643  AGameMode::HandleMatchHasStarted() [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/GameMode.cpp, line 594]
[Callstack]  34  0x0000000002b10d65  AGameMode::SetMatchState(FName) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/GameMode.cpp, line 721]
[Callstack]  35  0x0000000002b0f539  AGameMode::PostLogin(APlayerController*) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/GameMode.cpp, line 249]
nerAllocationPolicies.h, line 327]
[Callstack]  37  0x0000000002f40acb  UWorld::NotifyControlMessage(UNetConnection*, unsigned char, FInBunch&) [C:\UnrealEngine\Engine\Source\Runtime/Core/Public/Containers/UnrealString.h, line 46]
[Callstack]  38  0x0000000002a83668  UControlChannel::ReceivedBunch(FInBunch&) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/DataChannel.cpp, line 1201]
[Callstack]  39  0x0000000002a7fb13  UChannel::ReceivedSequencedBunch(FInBunch&) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/DataChannel.cpp, line 270]
[Callstack]  40  0x0000000002a80d3b  UChannel::ReceivedNextBunch(FInBunch&, bool&) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/DataChannel.cpp, line 614]
[Callstack]  41  0x0000000002a7fd85  UChannel::ReceivedRawBunch(FInBunch&, bool&) [C:\UnrealEngine\Engine\Source\Runtime/Core/Public/Serialization/ArchiveBase.h, line 615]
[Callstack]  42  0x0000000002c609e5  UNetConnection::ReceivedPacket(FBitReader&) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/NetConnection.cpp, line 1044]
[Callstack]  43  0x0000000002c5eced  UNetConnection::ReceivedRawPacket(void*, int) [C:\UnrealEngine\Engine\Source\Runtime/Core/Public/Serialization/Bitstreams.h, line 183]
[Callstack]  44  0x00000000029795ac  UIpNetDriver::TickDispatch(float) [C:\UnrealEngine\Engine\Source\Runtime\Online\OnlineSubsystemUtils\Private/IpNetDriver.cpp, line 302]
 161]
[Callstack]  46  0x0000000002b513de  TBaseMulticastDelegate<void, float>::Broadcast(float) const [C:\UnrealEngine\Engine\Source\Runtime/Core/Public/Delegates/DelegateSignatureImpl_Variadics.inl, line 809]
[Callstack]  47  0x0000000002c2629b  UWorld::Tick(ELevelTick, float) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/LevelTick.cpp, line 1062]
[Callstack]  48  0x0000000002af536d  UGameEngine::Tick(float, bool) [C:\UnrealEngine\Engine\Source\Runtime\Engine\Private/GameEngine.cpp, line 922]
[Callstack]  49  0x000000000165519c  FEngineLoop::Tick() [Runtime/Core/Public/Stats/Stats2.h, line 1653]
[Callstack]  50  0x000000000165845a  GuardedMain(wchar_t const*) [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private/Launch.cpp, line 142]
[Callstack]  51  0x000000000165f548  ./NeverEndingNightmareServer(main+0x868) [0x165f548] [C:\UnrealEngine\Engine\Source\Runtime\Launch\Private\Linux/LaunchLinux.cpp, line 193]
[Callstack]  52  0x00007190f08ccaf5  /lib64/libc.so.6(__libc_start_main+0xf5) [0x7190f08ccaf5]
[Callstack]  53  0x000000000164b7fc  ./NeverEndingNightmareServer() [0x164b7fc]