Package Hangs computer

One one of our dev machines trying to package a windows build hangs the entire machine. Power off sort of hang.

This occurs for 32 bit/shipping and 64 bit/development and is 100% reproducable on this machine. Other machines can package both of those targets from identical source code. This dev machine is Windows 7 as is one of the other machines that works. The specs are similar - nothing that strikes me as majorly different.

I grabbed the last few lines of the log - nothing special…

[2015.04.01-18.44.29:106][432]MainFrameActions: Packaging (Windows (32-bit)): s/Matinee_StephsLevel

[2015.04.01-18.44.29:106][432]MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2015.04.01-18.44.29:039][  0]LogCookCommandlet:Display: Adding package to manifest /Engine/EngineSky/M_Sky_Panning_Clouds2, D:/SVNRepositories/DeathTractor2Trunk/Saved/Cooked/[Platform]/Engine/Content/EngineSky/M_Sky_Panning_Clouds2.uasset, /Game/FirstPerson/Maps/Matinee_StephsLevel

[2015.04.01-18.44.29:106][432]MainFrameActions: Packaging (Windows (32-bit)): UE4Editor-Cmd: [2015.04.01-18.44.29:040][  0]LogCookCommandlet:Display: Adding package to manifest /Engine/EngineSky/C_Sky_Zenith_Color, D:/SVNRepositories/DeathTractor2Trunk/Saved/Cooked/[Platform]/Engine/Content/EngineSky/C_Sky_Zenith_Color.uasset, /Game/FirstPerson/Maps/Matinee_StephsLevel

[2015.04.01-18.44.29:106][432]

Yes it just stops there middle of the line…

Any other way to try to help debug this for you?

Howdy TheZMan,

Thank you for reporting this issue. I am going to need a bit of additional information before I begin looking into this issue. Would you be able to attach the Dxdiag of the machine that this issue is occurring on? Also, Would you be able to provide a couple of repro steps so that I may attempt to reproduce this issue internally?

What version of UE4 would you be using and is that version a Binary or Source build?

Any additional information would be greatly appreciated.

Thanks and have a great day!

4.7.3 and 4.7.4 binary from launcher

Repro Steps

  1. Open game project
  2. Choose package project/windows/windows 32 bit [Though 64 bit also fails if I switch Build configuration to ‘development’]
  3. Packaging animation happens… several minutes later animation stops and whole computer hangs. ctrl-alt-del does nothing. Power off is the only solution

Package settings in screen shots below - I think they are the default.

Log file and DXDiag also below

If there’s anything else I can do to help track this down let me know.

37077-buildconfig.png

37079-winpacksettings.png

[UE4 log file][4]
[DXDiag][5]

Are you able to replicate this issue on a blank project? I attempted a quick repro and was unable to see any freeze occur.

Thanks!

  • Empty project
  • Empty project + starter Content
  • First Person sample
  • ShooterGame
  • VehicleGame

All package with no hangs - so clearly just something to do with our project

I appreciate its hard to repro this… it only happens on 1 out of 3 machines in our office. So anything else I can try to help you find the issue?

I had one more idea - all the samples were from 100% clean builds. So I deleted the binaries, intermediate and saved folders and tried again with our project

Still failed - I am out of ideas for now.

The only thing I can suggest is to run in the debugger, and put some breakpoints at a point you know it gets to (based on output from the log or similar - most likely the log is not flushed completely before it dies), and then step through the debugger until it locks up.

Sucky, I know, but since it only happens on one machine, I can’t imagine we would be able to reproduce it with your project over here.

Josh

I figured as much. But at least we have it on record if anyone else hits this.

I’m not really expert enough on your source to start to work out where I should even look… but if I find some spare time I will give it a shot.

I have the hanging problem and I have to CNTL/ALT/DEL and close it via the task manager. There are a couple things that I haven’t tried yet ( haven’t had time to deal with it yet. , so sorry Sean! My husband still hasn’t downloaded VS on his computer :frowning: )

check this post out :

and this is my post :

Basically I was/am going to try to package the project on another computer but the first post fixed his issue(though different than ours) by migrating his project to a new build.

If the other computer doesn’t work, I’m going to just have to migrate my project :frowning:

I have the same issue but haven tried anything out yet*(husband still hasn’t downloaded VS…so sorry Sean!), but I’m going to try to package on another computer as someone suggested as that worked for him,

this is my post: Cooking / packaging Project Freezes - Platform & Builds - Epic Developer Community Forums

and this guy solved his packaging project : Packaging Failed! Can't package (4.7.3) - Platform & Builds - Epic Developer Community Forums by migrating his stuff to a blank project

hope one of these 2 suggestions help you!

One new ‘clue’

We’re on 4.8.1 now and this still happens. But I also discovered that if I use ‘launch’ and choose 'Project Launcher/WIndowsNoEditor/Advanced/DataBuild = “by the book” ’ then the same hang occurs. Using DataBuild ‘on the fly’ works perfectly.

Hi TheZMan,

Do you get the same problem when you package for Windows through the editor and not Project Launcher/Unreal FrontEnd?

If I understand you right that was the original problem I posted about. Package hangs the computer.

Do the machines on which you’re not seeing this issue have similar/identical specs to the problem machine? Looking at your dxdiag I don’t see anything that would be an immediate problem, you could try upgrading the GPU’s driver perhaps, but if the other machines have vastly different specs we might have more of a starting point for the issue.

Were you ever able to follow the debugger steps that Josh Adams posted below?

No we have a wide range of cobbled together machines here and this is the only one with the problem so I’m 100% sure its machine specific.

Driver and windows (W7) are all fully up to date and there’s no unusual software. Its a hard hang… takes out the whole machine and I have to power cycle it to recover.

The debugging is a little outside my skill set I’m afraid. I wouldn’t know where in the source to even start adding breakpoints.

Its not a show stopper for us and it doesn’t seem like a common issue with others so I just figured I would keep it updated for reference.

Unfortunately I don’t think we’re going to be able to do much to help, as this seems to be something that is going to be nigh impossible to reproduce here.

If it helps, here’s the current documentation on how to debug for blueprints. Good luck!

Its been a while since I tried this and for reasons unknown we can now use this computer to package.

Either this was fixed in 4.9(.1) or installing the occulus driver for Radeon - there’s been no other significant changes to the computer.