viki164
I am running on a tight deadline here at work. For security reasons cant attach any scene but any help regarding on not to make nparticle caching crash would be greatly appreciated !

I am trying to cache nparticle which has few simple expression on radiusPP. Its driving me MAD as I cant figure out whats going wrong. I searched few forums for nparticle caching crash ..the only thing I found out was one has to hide the outline attached to gui. I tried it ..even closed the gui but it doesnt solve the problem.
Its painful to work with nparticle in production.
the crash report generated doesnt say much about the error.. Maya just crashes by giving fatal error :

//version        = #1 SMP Wed Feb 8 13:48:22 GMT 2017
//machine name  = x86_64
//current scene  = unDisclosed
//directory      = /job/triboro/film/tm057/tm057_0120
//====================================================
//command history (most recent last):
//====================================================
//last tool: renderWindowSelectContextItem
//====================================================
//panel with focus: modelPanel4
//visible panels:
// modelPanel4
//====================================================
  /lib64/libpthread.so.0(+0x322680f7e0) [0x7fc951ff37e0]
  awCacheFileIffIO::writeDoubleArray(double const*, unsigned int)
  awCacheFileAccessor::writeArrayDataToFile(unsigned int, int, void*, unsigned int)
  awCacheFileAccessor::addArrayData(unsigned int, int, void*, unsigned int)
  TcacheFileAccessor::addVectorArrayData(Tstring const&, TanimTime const&, void*, unsigned int)
  TcacheFileCmd::writeChannelData(TcacheFileAccessor&, TdependNode*, Tstring const&, awCacheData::awCacheDataType, Tstring const&, TanimTime&)
  TcacheFileCmd::writeCacheableNodeData(TcacheFileAccessor&, TdependNode*, Tstring const&, TanimTime)
  TcacheFileCmd::runupAndWriteMultipleCaches(TDNarray const&, TstringArray&, TcacheFileAccessorArray&)
  TcacheFileCmd::createMultipleCaches(TDNarray const&)
  TcacheFileCmd::createCache(TDNarray const&)
  TcacheFileCmd::doIt(TargList&)
  TmetaCommand::doCommand(TargList&)
  Mel_Command_Dispatch(SphNode*)
  node_exec
  sophia_call_executable
  SophiaExecutable::evaluate(void*)
  TcommandEngine::executeCommand(SophiaExecutable*, void*)
  TelfEvalCmd::doCommand(TargList&)
  Mel_Command_Dispatch(SphNode*)
  f_assign
  node_exec
  fc_ifelse
  node_exec
  f_function_entry_node
  node_exec
  sophia_call_executable
  SophiaExecutable::evaluate(void*)
  TcommandEngine::executeCommand(SophiaExecutable*, void*)
  TevalEchoCmd::doCommand(TargList&)
  Mel_Command_Dispatch(SphNode*)
  node_exec
  f_icase
  f_iswitch
  node_exec
  f_function_entry_node
  node_exec
  sophia_call_executable
  SophiaExecutable::evaluate(void*)
  TcommandEngine::executeCommand(SophiaExecutable*, void*)
  TevalEchoCmd::doCommand(TargList&)
  Mel_Command_Dispatch(SphNode*)
  node_exec
  f_icase
  f_iswitch
  node_exec
  f_function_entry_node
  node_exec
  sophia_call_executable
  SophiaExecutable::evaluate(void*)
  TcommandEngine::executeCommand(Tstring const&, bool, bool, TmelCmdResult*, unsigned int)
  TidleScriptAction::doIdleAction(Tevent const&)


//====================================================
//Memory usage:
// 58236.072 Mb Free Memory
// 16869.487 Mb Free Swap
// 1120.477 Mb Heap
//    0.332 Mb Data Blocks
//  115.156 Mb MEL
//  184.105 Mb Arrays
//    0.135 Mb arguments
//  15.109 Mb POLY_DRAW_CACHE_DATA
//  16.000 Mb File Texture Mipmaps
//    0.281 Mb Pixel Map
//    0.125 Mb Transforms
//====================================================
Quote 0 0
pshipkov
Does it crash if you run the caching in mayapy or mayabatch ?

Quote 0 0
viki164
Hi Peter,
I am not using Python here ..Just simple Ncaching via the menu. ( Create Nparticle Cache option )
I dont know if there is a way to run any commandline operation for caching nparticle via commandline without opening any maya GUI.
Quote 0 0
pshipkov
Of course, that's haw it is usually done i think.
It all boils down to just one command (cacheFile) with bunch of arguments.
Quote 0 0

Add a Website Forum to your website.