Editor fails loading new game

I ran Setup.sh, GenerateProjectFiles.sh, and make. All ran successfully. I bring up Unreal Editor (which takes 1:45 minutes to come up!!). I tell it to create a 3rd person game and click the button to create it. Right here it gets a little flaky. It started with a progress bar above the button, but didn’t move. I pressed the button again and a thinner and longer progress bar appeared in the middle of the screen. Editor terminated and started coming back up. It gets to around 96% and fails with a segmentation violation. Here’s the end of the log:

[2016.08.03-23.43.38:684][  0]LogHAL: Changed child's priority (nice value) to 10 (change from 0)
[2016.08.03-23.43.38:825][  0]LogRenderer: Reallocating scene render targets to support 256x256 (Frame:2).
Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655
Malloc Size=94208 LargeMemoryPoolOffset=290880
[2016.08.03-23.44.00:542][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
[2016.08.03-23.44.00:552][  0]LogExit: Preparing to exit.
[2016.08.03-23.44.00:560][  0]LogExit: Exiting.
Signal 11 caught.
[2016.08.03-23.44.01:044][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
[2016.08.03-23.44.01:054][  0]LogExit: Preparing to exit.
[2016.08.03-23.44.01:062][  0]LogExit: Exiting.
[2016.08.03-23.44.01:383][  0]LogGenericPlatformMisc: FPlatformMisc::RequestExit(0)
[2016.08.03-23.44.01:393][  0]LogExit: Preparing to exit.
[2016.08.03-23.44.01:401][  0]LogExit: Exiting.

My computer looks like this:

OS: Ubuntu 16.04 LTS (up to date!)

CPU product: AMD FX(tm)-8350 Eight-Core Processor 
  vendor: Advanced Micro Devices [AMD] 
  physical id: 1 bus info: cpu@0 size: 1400MHz 
  capacity: 4GHz width: 64 bits

MEMORY (16gb) 
  description: System memory 
  physical id: 0 
  size: 15GiB

GRAPHICS description: VGA compatible controller 
  product: GK107 [GeForce GTX 650] 
  vendor: NVIDIA Corporation 
  physical id: 0 
  bus info: pci@0000:01:00.0 version: a1 width: 64 bits clock: 33MHz      
  capabilities: vga_controller bus_master cap_list 
  rom configuration: driver=nvidia latency=0 resources: irq:37 memory:fc000000- 
    fcffffff memory:c0000000-cfffffff memory:fa000000-fbffffff ioport:e00 
    (size=128) memory:fd000000-fd07ffff 

I’m almost certain I downloaded the latest release candidate (4.12). I can’t prove it since I can’t find a release number anywhere…

How did you download the source?

From github. That was the release version but I tried building and running the promoted version too and it failed the same way. I also built the master version but it won’t even start, but not surprising. I also built the release version with the debug option and the only difference I saw was it put out a core dump in a file. Seems like not much to go on. I’ve given up on it. Maybe later it’ll be working for the latest version of Ubuntu. Not yet, though, evidently.

Could you run it under gdb and paste the callstack?

I have the same Error
used toolchain compiling a development server on windows for linux

[batcel@linux6 Linux]$ ./KoloyerServer -log

Using jemalloc.
Increasing per-process limit of core file size to infinity.
Signal 11 caught.
Malloc Size=131076 LargeMemoryPoolOffset=131092
CommonLinuxCrashHandler: Signal=11
Malloc Size=65535 LargeMemoryPoolOffset=196655
Malloc Size=77480 LargeMemoryPoolOffset=274152 ##

That is most likely different error. Make sure you copied the whole build and file permissions are appropriate. If yes, please run it under gdb and get the callstack, like this:

gdb ./KoloyerServer
run -log
[wait for the program to crash]
bt
[copy the output (whole callstack) and paste it here, please].

I know you weren’t asking me but I do have the call stack from my failure. However, when I run it with gdb it doesn’t get nearly as far before it fails. Usually it will come all the way up and then when it restarts it fails at about 96%. Anyway, here is the back trace and a little of the log before it. Oops, too big for here. I am attaching it. link text

[batcel@linux6 Linux]$ gdb ./KoloyerServer
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-redhat-linux-gnu”.
For bug reporting instructions, please see:

Reading symbols from /usr/games/LinuxNoEditor/Koloyer/Binaries/Linux/KoloyerServer…done.
(gdb) run -log
Starting program: /usr/games/LinuxNoEditor/Koloyer/Binaries/Linux/KoloyerServer -log
[Thread debugging using libthread_db enabled]
Using jemalloc.
Increasing per-process limit of core file size to infinity.
[New Thread 0x7ffff1568700 (LWP 15174)]
[New Thread 0x7ffff1527700 (LWP 15175)]
[New Thread 0x7ffff0bff700 (LWP 15176)]
[New Thread 0x7ffff0bbe700 (LWP 15177)]
[New Thread 0x7fffefbff700 (LWP 15178)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000001b5a574 in FLinuxFileMapper::MapFileRecursively (this=0x666dfb0, Filename=…, PathComponentToLookFor=1, MaxPathComponents=6, ConstructedPath=…) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:404
404 E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp: 没有那个文件或目录.
in E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6.x86_64 libgcc-4.4.7-4.el6.x86_64 libstdc+±4.4.7-4.el6.x86_64
(gdb) bt
#0 0x0000000001b5a574 in FLinuxFileMapper::MapFileRecursively (this=0x666dfb0, Filename=…, PathComponentToLookFor=1, MaxPathComponents=6, ConstructedPath=…) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:404
#1 0x0000000001b5b1d0 in FLinuxFileMapper::MapFileRecursively (this=0x666dfb0, Filename=…, PathComponentToLookFor=0, MaxPathComponents=6, ConstructedPath=…) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:443
#2 0x0000000001b5315d in FLinuxFileMapper::MapCaseInsensitiveFile (this=0x666dfb0, PossiblyWrongFilename=…, ExistingFilename=…) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:506
#3 0x0000000001b38a7a in FLinuxPlatformFile::DirectoryExists (this=0x6, Directory=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:874
#4 0x0000000001a46728 in IPlatformFile::CreateDirectoryTree (this=0x666e458, Directory=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\GenericPlatform/GenericPlatformFile.cpp:258
#5 0x0000000001a632d9 in FFileManagerGeneric::MakeDirectory (this=, Path=, Tree=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/FileManagerGeneric.cpp:355
#6 0x0000000001a623f1 in FFileManagerGeneric::CreateFileWriter (this=0x7ffff74d8058, Filename=0x7ffff75a7018 L"/usr/games/LinuxNoEditor/Koloyer/Saved/Logs/Koloyer.log", Flags=16)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/FileManagerGeneric.cpp:97
#7 0x0000000001a984d6 in FOutputDeviceFile::CreateWriter (this=0x7ffff75a7000, MaxAttempts=32) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1248
#8 0x0000000001a9903e in WriteByteOrderMarkToArchive (this=0x7ffff75a7000, Data=0x7fffeeb494e0 L"Using cached read wrapper", Verbosity=ELogVerbosity::Log, Category=…, Time=0.013783831993350759)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1233
#9 FOutputDeviceFile::Serialize (this=0x7ffff75a7000, Data=0x7fffeeb494e0 L"Using cached read wrapper", Verbosity=ELogVerbosity::Log, Category=…, Time=0.013783831993350759) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1340
#10 0x0000000001a97666 in FOutputDeviceRedirector::UnsynchronizedFlushThreadedLogs (this=0x664baa8, bUseAllDevices=true) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:786
#11 0x0000000001a97f4b in FOutputDeviceRedirector::Serialize (this=0x664baa8,
Data=0x7fffff404260 L"create dir(‘\x7273752f\x6d61672f\x4c2f7365\x78756e69\x64456f4e\x726f7469\x6c6f4b2f\x7265796f\x7661532f\x4c2f6465\x2f73676f\x6f6c6f4b\x2e726579\x676f6cÍ’) failed: errno=13 (Permission denied)“, Verbosity=ELogVerbosity::Warning, Category=…,
Time=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:907
#12 0x0000000001b5d08c in FFeedbackContextLinux::Serialize (this=,
V=0x7fffff404260 L"create dir(‘\x7273752f\x6d61672f\x4c2f7365\x78756e69\x64456f4e\x726f7469\x6c6f4b2f\x7265796f\x7661532f\x4c2f6465\x2f73676f\x6f6c6f4b\x2e726579\x676f6cÍ’) failed: errno=13 (Permission denied)”, Verbosity=Cannot access memory at address 0x2
)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFeedbackContextPrivate.h:72
#13 0x0000000001bc3cb4 in Log (File=, Line=, Category=…, Verbosity=ELogVerbosity::Warning, Fmt=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:113
#14 FMsg::Logf_Internal (File=, Line=, Category=…, Verbosity=ELogVerbosity::Warning, Fmt=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:635
#15 0x0000000001b389fb in FLinuxPlatformFile::CreateDirectoriesFromPath (this=, Path=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:1036
#16 0x0000000001b38280 in FLinuxPlatformFile::OpenWrite (this=0x666e458, Filename=0x7ffff75a7018 L"/usr/games/LinuxNoEditor/Koloyer/Saved/Logs/Koloyer.log", bAppend=false, bAllowRead=true)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:818
#17 0x0000000001adceab in FCachedReadPlatformFile::OpenWrite (this=, Filename=0x7fffff3ffce0 L"\xefd31140翿,L", bAppend=, bAllowRead=true) at Runtime/Core/Public/Internationalization../HAL/IPlatformFileCachedWrapper.h:313
#18 0x0000000001a62461 in FFileManagerGeneric::CreateFileWriter (this=, Filename=0x7ffff75a7018 L"/usr/games/LinuxNoEditor/Koloyer/Saved/Logs/Koloyer.log", Flags=16)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/FileManagerGeneric.cpp:104
#19 0x0000000001a984d6 in FOutputDeviceFile::CreateWriter (this=0x7ffff75a7000, MaxAttempts=32) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1248
#20 0x0000000001a9903e in WriteByteOrderMarkToArchive (this=0x7ffff75a7000, Data=0x7fffeeb49470 L"Using cached read wrapper", Verbosity=ELogVerbosity::Log, Category=…, Time=0.013783831993350759)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1233
#21 FOutputDeviceFile::Serialize (this=0x7ffff75a7000, Data=0x7fffeeb49470 L"Using cached read wrapper", Verbosity=ELogVerbosity::Log, Category=…, Time=0.013783831993350759) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1340
#22 0x0000000001a97666 in FOutputDeviceRedirector::UnsynchronizedFlushThreadedLogs (this=0x664baa8, bUseAllDevices=true) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:786
#23 0x0000000001a97f4b in FOutputDeviceRedirector::Serialize (this=0x664baa8,
Data=0x7fffff409280 L"create dir(‘\x7273752f\x6d61672f\x4c2f7365\x78756e69\x64456f4e\x726f7469\x6c6f4b2f\x7265796f\x7661532f\x4c2f6465\x2f73676f\x6f6c6f4b\x2e726579\x676f6cÍ’) failed: errno=13 (Permission denied)“, Verbosity=ELogVerbosity::Warning, Category=…,
Time=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:907
#24 0x0000000001b5d08c in FFeedbackContextLinux::Serialize (this=,
V=0x7fffff409280 L"create dir(‘\x7273752f\x6d61672f\x4c2f7365\x78756e69\x64456f4e\x726f7469\x6c6f4b2f\x7265796f\x7661532f\x4c2f6465\x2f73676f\x6f6c6f4b\x2e726579\x676f6cÍ’) failed: errno=13 (Permission denied)”, Verbosity=Cannot access memory at address 0x2
)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFeedbackContextPrivate.h:72
#25 0x0000000001bc3cb4 in Log (File=, Line=, Category=…, Verbosity=ELogVerbosity::Warning, Fmt=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:113
#26 FMsg::Logf_Internal (File=, Line=, Category=…, Verbosity=ELogVerbosity::Warning, Fmt=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Misc/OutputDevice.cpp:635
#27 0x0000000001b389fb in FLinuxPlatformFile::CreateDirectoriesFromPath (this=, Path=) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:1036
#28 0x0000000001b38280 in FLinuxPlatformFile::OpenWrite (this=0x666e458, Filename=0x7ffff75a7018 L"/usr/games/LinuxNoEditor/Koloyer/Saved/Logs/Koloyer.log", bAppend=false, bAllowRead=true)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\Linux/LinuxPlatformFile.cpp:818
#29 0x0000000001adceab in FCachedReadPlatformFile::OpenWrite (this=, Filename=0x7fffff3ffce0 L"\xefd31140翿,L", bAppend=, bAllowRead=true) at Runtime/Core/Public/Internationalization../HAL/IPlatformFileCachedWrapper.h:313
#30 0x0000000001a62461 in FFileManagerGeneric::CreateFileWriter (this=, Filename=0x7ffff75a7018 L"/usr/games/LinuxNoEditor/Koloyer/Saved/Logs/Koloyer.log", Flags=16)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/FileManagerGeneric.cpp:104
#31 0x0000000001a984d6 in FOutputDeviceFile::CreateWriter (this=0x7ffff75a7000, MaxAttempts=32) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1248
#32 0x0000000001a9903e in WriteByteOrderMarkToArchive (this=0x7ffff75a7000, Data=0x7fffeeb49400 L"Using cached read wrapper", Verbosity=ELogVerbosity::Log, Category=…, Time=0.013783831993350759)
at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1233
#33 FOutputDeviceFile::Serialize (this=0x7ffff75a7000, Data=0x7fffeeb49400 L"Using cached read wrapper", Verbosity=ELogVerbosity::Log, Category=…, Time=0.013783831993350759) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:1340
#34 0x0000000001a97666 in FOutputDeviceRedirector::UnsynchronizedFlushThreadedLogs (this=0x664baa8, bUseAllDevices=true) at E:\UnrealEngine-4.12.4\Engine\Source\Runtime\Core\Private\HAL/OutputDevices.cpp:786
#35 0x0000000001a97f4b in FOutputDeviceRedirector::Serialize (this=0x664baa8,
Data=0x7fffff40e2a0 L"create dir(‘\x7273752f\x6d61672f\x4c2f7365\x78756e69\x64456f4e\x726f7469\x6c6f4b2f\x7265796f\x7661532f\x4c2f6465\x2f73676f\x6f6c6f4b\x2e726579\x676f6cÍ’) failed: errno=13 (Permission denied)", Verbosity=ELogVerbosity::Warning, Category=…,
—Type to continue, or q to quit—

I try to run it in a Linux virtual machine,it success.

This is on the Linux machine running callstack
link text

It seems that you are running the engine under different user than one that has permissions to write under Saved/Logs. Please make sure that the user is the same or that permissions are sufficient. You can try it manually prior to starting the server (e.g. by touching the file or running mkdir).

I guess you’re speaking to batcel since I know I’m the user and group for my executable and I’m not running the server. I quit, and this is ludicrous. I’ll find something else or go back to my own engine. I wasted a lot of time with this, btw!! I was willing to help, though!

Well yeah, I commented on batcel’s post :wink: As for your crash, I don’t have any good leads for the reason of it, but try running -nosplash. And I appreciate your willingness to help! :slight_smile:

thanks for your fast response. I’m very frustrated and you would be too if you’d been through what I’ve done to try to get this working. But no, it still failed. I was impressed how fast the initial screen came up, though. It was a lot faster. But on the second one I never got a screen before the sig11… Sorry… It’s hard to debug something you know so little about. I wish I was more help.

it’s ok,thank you very much!!!

Disturb you, I am sorry

batcel, I think you are confusing the messages. There are two threads going on here. I started it and am discussing my problem and you are also talking about yours. RCL is responding to both of us, as he can. Don’t get frustrated. I think all of this will work itself out. If it weren’t for you, I would have given up!

I hate that this thing won’t work. I tried really hard. I was looking for 2 things. A 3D engine that did multi-threading and one that I could use C++ or C in. The multi-threading was the most important to me, though. It has to run on Linux too. I hate Windows!!! I spent a week trying to get Windows 10 to work on this computer (dual boot) and failed. The driver for Nvidia card would always give an error code 43, no matter what I did. I gave up. So, I began looking again. I discovered that Unity3D now works on Linux and they have an installation for Ubuntu. I installed it and it works perfectly! I don’t like having to use it but I can’t find anything else that works. Maybe, some time in the future, Unreal will work reliably on Ubuntu! The 2 U’s… Unreal Ubuntu!!