Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

UE4Editor crash when opening new project on Linux

After building the master branch on Linux Mint, I tried to create a brand new FPS project through the launcher using the FPS template project. The project was created successfully but the UE4Editor crashed trying to load it. I debugged the problem and traced it down to a bad line of code in the Runtime/Core/Private/Linux/LinuxPlatformFile.cpp MapCaseInsensitiveFile function. Apparently this function can get called with an empty string for the PossiblyWrongFilename argument and when this happens, the UE4Editor errors out(SEGV). The reason for the crash is the line of code that tries to get the first element of the PossiblyWrongFilename argument variable without first checking that the string is not empty.
if (PossiblyWrongFilename[0] != TEXT('/'))

My fix was to check for the empty string as well and also return false
if (PossiblyWrongFilename.IsEmpty() || (PossiblyWrongFilename[0] != TEXT('/')))

After making this change the new project loads without a problem

master revision is 42333de1d92909e5686b02fa07a666b7a2fbca1b

Product Version: Not Selected
fix.diff.zip (483 B)
more ▼

asked Mar 18 '15 at 06:45 AM in Bug Reports

avatar image

86 3 5 8

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey CodeTackler-

Thanks for lettings us know and I'm glad you were able to find a fix easily. The fix you suggest would actually make a great pull request to be added to the engine source. You can create a pull request on GitHub (www.github.com) and it will be reviewed for inclusion.


Doug Wilsoin

more ▼

answered Mar 18 '15 at 02:20 PM

avatar image CodeTackler Mar 19 '15 at 03:53 AM

Created a pull request with the same title as this bug.


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question