LuxRender crash with Cloud volume region

Please use this forum for general user support and related questions.

Moderator: coordinators

Forum rules
Please include your operating system type/version, LuxRender version and Exporter version used when submitting a support post.

Make sure you have read the Release forum thread for Release and RC (Release Candidates) builds as these threads contain information on known problems and workarounds: Test Builds Forum

LuxRender crash with Cloud volume region

Postby cwichura » Fri Jun 01, 2012 9:24 am

I am using the most current weekly build on Windows 7 64-bit. I am attempting to add a cloud volume region to a scene file, and it is causing LuxRender to crash during scene file parse. The crash is a heap corruption exception. If I comment out the cloud volume, Lux starts without issue.

I am using path with maxdepth 32. The cloud is specified using the values found in the original Cloud discussion thread:
Code: Select all
AttributeBegin
Transform [
22.500000   0.000000  0.000000  0.0 
0   -10  0  0.0
0.000000  0.000000 5.000000 0.0
-5.580076 68.551733 13.693242 1.0]
Volume "cloud"
   "point p0" [-0.5 -0.5 -0.5] "point p1" [0.5 0.5 0.5]
   "color sigma_a" [0 0 0]
   "color sigma_s" [0.345 0.345 0.345]
   "color Le" [0.000000 0.000000 0.000000]
   "float g" [0.7]
   "float radius" [.5]
   "float noisescale" [.7612]
   "float turbulence" [.55]
   "float sharpness" [10]
   "float noiseoffset" [721.1]
   "integer numspheres" [3000]
   "integer octaves" [6]
   "float omega" [.55]
   "float variability" [1]
   "float baseflatness" [.8]
   "float spheresize" [.15]
AttributeEnd


Stack trace:
Code: Select all
>   ntdll.dll!RtlReportCriticalFailure()  + 0x62 bytes   
   ntdll.dll!RtlpReportHeapFailure()  + 0x26 bytes   
   ntdll.dll!RtlpHeapHandleError()  + 0x12 bytes   
   ntdll.dll!RtlpLogHeapFailure()  + 0xa4 bytes   
   ntdll.dll!string "Enabling heap debug options\n"()  - 0x19d49 bytes   
   kernel32.dll!HeapFree()  + 0xa bytes   
   msvcr90.dll!free()  + 0x1c bytes   
   luxrender.exe!lux::Cloud::CreateVolumeRegion(const lux::Transform & volume2world, const lux::ParamSet & params)  Line 56 + 0x3c5 bytes   C++
   luxrender.exe!lux::MakeVolumeRegion(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & name, const lux::Transform & volume2world, const lux::ParamSet & paramSet)  Line 152 + 0x18 bytes   C++
   luxrender.exe!lux::Context::Volume(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & n, const lux::ParamSet & params)  Line 742 + 0x20 bytes   C++
   luxrender.exe!yyparse()  Line 540 + 0x32 bytes   C++
   luxrender.exe!parseFile(const char * filename)  Line 532 + 0x5 bytes   C++
   luxrender.exe!luxParse(const char * filename)  Line 548 + 0xc bytes   C++
   luxrender.exe!MainWindow::engineThread(QString * filename)  Line 1236 + 0x39 bytes   C++
   luxrender.exe!boost::_bi::bind_t<void,boost::_mfi::mf1<void,MainWindow,QString>,boost::_bi::list2<boost::_bi::value<MainWindow * __ptr64>,boost::_bi::value<QString> > >::operator()()  Line 20 + 0x35 bytes   C++
   luxrender.exe!boost::`anonymous namespace'::thread_start_function()  + 0x21 bytes   C++
   msvcr90.dll!_endthreadex()  + 0x47 bytes   
   msvcr90.dll!_endthreadex()  + 0xe8 bytes   
   kernel32.dll!BaseThreadInitThunk()  + 0xd bytes   
   ntdll.dll!RtlUserThreadStart()  + 0x21 bytes   


I realize this is an old volume, but I'm hoping it is still supported. At the very least, it shouldn't cause LuxRender to crash. :)

Thanks
cwichura
 
Posts: 350
Joined: Sun Feb 12, 2012 11:31 pm

Return to LuxRender User Support

Who is online

Users browsing this forum: Lord Crc, zeealpal and 2 guests