x

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"

Linux Ubuntu 14.04 Qt Creator Hanging when Debugging

Hello Everyone,

First of all I am new here so I may not inform my question in the most proper way, please excuse any faults I may make. If there is any additional information that must be provided, please let me know and I will provide it.


Context:

Unreal Engine: 4.11

OS: Ubuntu 14.04

Qt Creator: 3.6.0

Qt: 5.5.1

Unreal Engine has been successfully built on Linux, following the wiki guide (https://wiki.unrealengine.com/Building_On_Linux)

Qt Creator plugin has been built (https://github.com/fire/QtCreatorSourceCodeAccess) and "Salamander Rake's" video guide has been followed (https://www.youtube.com/watch?v=RnINgMbJx5Q).


Problem

When executing the debugging step in Qt Creator, it sometimes executes sometimes correctly and is able to open the unreal project but sometimes the debugging hangs and the Qt Creator uses up around 7.2 GB of Ram. I have left the IDE in this state for over 30 min, and nothing changes and no output information appears in the IDE, so I do not understand what it is hanging and why it consumes so much ram.

The strangest part is that this is not constant, sometimes the problem occurs and stop at this point and sometimes it is able to execute the debugging process entirely and open the Unreal project in the Unreal Editor normally. It is also inconsistent in the fact that it may execute correctly with a project once or twice but then when executed again, with the same project, this problem may occur.


Temporary Solution

When Qt Creator hangs in this state I must kill the Qt Creator process and try again and hope that next time it will build successfully.


Thank you very much for your inputs.

Ivan

Product Version: UE 4.11
Tags:
more ▼

asked Apr 11 '16 at 01:50 PM in Linux

avatar image

Ivan_aa
101 4 8 19

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

1 answer: sort voted first

Resolved

I have figured out the problem and possible solutions (though they are not the ideal solutions).


Occurrence

The problem occurs when the Clean Project Step is executed in Qt Creator. Doing this will delete around 4600 files from the Unreal Engine directory, specifically around 260 files from the Binaries/Linux folder, including the UE4Editor file.

I believe what happens is that when executing a qmake or build step after performing the clean, the Qt Creator would not be able to access certain files and, therefore, go into a loop state.


Solution

  1. Disable the Clean Step in Qt Creator.

  2. Do not execute the Clean Project Step in Qt Creator.

  3. If the Clean Step was executed, then the Unreal Engine must be built again ( make SlateViewer ; make UE4Editor UE4Game UnrealPak CrashReportClient ShaderCompileWorker UnrealLightmass). After it is built again, the Qt Creator can be used normally (qmake, build and debugging).


Observation

This is not the ideal solution. It would be better to be able to use the Clean Step in a more clever way than I have. If anyone has any suggestions, I would be glad to hear them.

The argument I used in the Clean Step was (Make arguments: Project_NameEditor ARGS="-clean")

p.s. How do I mark this question as resolved?

more ▼

answered Apr 12 '16 at 07:37 AM

avatar image

Ivan_aa
101 4 8 19

avatar image RCL STAFF Apr 20 '16 at 07:31 PM

Glad you got to the bottom of this. I marked the question as resolved for you.

(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