Jump to content

Solutions for a corrupted hip file


Recommended Posts

I had a somewhat crash-y .hip file, and now houdini hard crashes every time I open it, the error I'm getting on the console is 2724: fatal error: segmentation fault. running windows 7 pro

I read through the forums and someone suggested backing up all your prefs and trashing the houdini15.xx folder in the $HOME directory, in users\USER\documents\ which worked;  then I copied all my nodes over to a fresh scene (thats what I usually do in maya to fix this type of issue) and that has worked in the past but now it is crashing again. So it is something in the prefs

The issue is that I am not nearly as familiar with the prefs in houdini as maya and I have an uncountable amount of presets, permanant defaults for almost every node, tons of hotkeys, custom shelves, galleries, toolsets, custom HDA's, custom python menus you name it.  I know a lot of this is stored in the houdini install directory but does anyone have any insight as to what preferences might be the most likely culprit and how to restore the ones I need? I'm not really sure what each file does

I can't go back versions either, they are all now corrupted, so it makes sense that it would be something buried in the preferences I just have way too much stuff to just trash them all

Thanks guys

Link to comment
Share on other sites

To add to this I opened the scene on another computer with a different local install setup, still crashed, but trashing the preferences worked. However doing that exact same process on my main workstation does not work, still a hard crash even with fresh preferences

Also I installed the latest daily build and my graphics card drivers are up to date

Edited by Neon Junkyard
Link to comment
Share on other sites

Thanks for the tip about manual update, I will definitely keep that in my back pocket

I was able to get the scene stable by watching what the command line was doing when it crashed, and as I was able to open it on another computer with a fresh houdini install I locked a file cache node downstream from the problematic nodes and now it is relatively stable

Unfortunately I can't post the file as it contains copyrighted material and whatnot, plus knowing life it probably wouldnt be reproducible on the other end hah.  I was just wondering if anyone know for instance, like don't alter the build it HDA's and save them over the original or something.  I know so many ways to fix a maya scene like optimize scene size, python node clean scripts, flush bad geo through zbrush etc. To me it seems houdini doesn't have any tricks like this, just the preferences get corrupted and you have to start over, which is annoying

Link to comment
Share on other sites

10 hours ago, Neon Junkyard said:

 (...)I know so many ways to fix a maya scene like optimize scene size, python node clean scripts, flush bad geo through zbrush etc. To me it seems houdini doesn't have any tricks like this, just the preferences get corrupted and you have to start over, which is annoying

This is perhaps because corruption of maya's scenes happens so often...?  

Houdini hip file is as a cpio archive which can be opened with hexpand  command or any other archviser like 7-zip. You can edit it with text editor and collapse it again into hip file. It happened to me maybe twice in 12 years that I had to do this. 

  • Like 3
Link to comment
Share on other sites

  • 2 years later...

Symek I don't know if you'll ever read this but I saw your message at 3AM after spending all day trying to fix a corrupted hip file (probably because of octane). Was able to expand the scene, identify the corrupted parts, replace them with healthy ones and collapse it back to a hip file. Saved my life working like a charm so THANKS MATE :) 

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...