{"action":"created","issue":{"url":"https://api.github.com/repos/appleseedhq/appleseed-max/issues/156","repository_url":"https://api.github.com/repos/appleseedhq/appleseed-max","labels_url":"https://api.github.com/repos/appleseedhq/appleseed-max/issues/156/labels{/name}","comments_url":"https://api.github.com/repos/appleseedhq/appleseed-max/issues/156/comments","events_url":"https://api.github.com/repos/appleseedhq/appleseed-max/issues/156/events","html_url":"https://github.com/appleseedhq/appleseed-max/issues/156","id":312735190,"number":156,"title":"Random crash during interactive rendering","user":{"login":"usakhelo","id":1850877,"avatar_url":"https://avatars3.githubusercontent.com/u/1850877?v=4","gravatar_id":"","url":"https://api.github.com/users/usakhelo","html_url":"https://github.com/usakhelo","followers_url":"https://api.github.com/users/usakhelo/followers","following_url":"https://api.github.com/users/usakhelo/following{/other_user}","gists_url":"https://api.github.com/users/usakhelo/gists{/gist_id}","starred_url":"https://api.github.com/users/usakhelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usakhelo/subscriptions","organizations_url":"https://api.github.com/users/usakhelo/orgs","repos_url":"https://api.github.com/users/usakhelo/repos","events_url":"https://api.github.com/users/usakhelo/events{/privacy}","received_events_url":"https://api.github.com/users/usakhelo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-10T00:44:15Z","updated_at":"2018-04-10T08:59:21Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I started to get strange crashes during interactive rendering.\r\nThis is the callstack:\r\n```\r\n \tmsvcr110d.dll!_wassert(const wchar_t * expr, const wchar_t * filename, unsigned int lineno) Line 344\tC\r\n>\tappleseed.dll!foundation::normalize<float,3>(const foundation::Vector<float,3> & v) Line 772\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::DisneyDiffuseComponent::evaluate(const renderer::DisneyBRDFInputValues * values, const foundation::Basis3<float> & shading_basis, const foundation::Vector<float,3> & outgoing, const foundation::Vector<float,3> & incoming, renderer::DynamicSpectrum<float,31> & value) Line 207\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::DisneyBRDFImpl::sample(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const void * data, const bool adjoint, const bool cosine_mult, const int modes, renderer::BSDFSample & sample) Line 488\tC++\r\n \tappleseed.dll!renderer::BSDFWrapper<renderer::`anonymous namespace'::DisneyBRDFImpl,1>::sample(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const void * data, const bool adjoint, const bool cosine_mult, const int modes, renderer::BSDFSample & sample) Line 136\tC++\r\n \tappleseed.dll!renderer::DisneyLayeredBRDF::sample(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const void * data, const bool adjoint, const bool cosine_mult, const int modes, renderer::BSDFSample & sample) Line 161\tC++\r\n \tappleseed.dll!renderer::PathTracer<renderer::`anonymous namespace'::PTLightingEngine::PathVisitorNextEventEstimation,renderer::A0xdd0e4bd1::PTLightingEngine::VolumeVisitorDistanceSampling,0>::process_bounce(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, renderer::PathVertex & vertex, renderer::BSDFSample & sample, renderer::ShadingRay & next_ray) Line 676\tC++\r\n \tappleseed.dll!renderer::PathTracer<renderer::`anonymous namespace'::PTLightingEngine::PathVisitorNextEventEstimation,renderer::A0xdd0e4bd1::PTLightingEngine::VolumeVisitorDistanceSampling,0>::trace(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::ShadingContext & shading_context, const renderer::ShadingPoint & shading_point) Line 512\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::PTLightingEngine::do_compute_lighting<renderer::`anonymous namespace'::PTLightingEngine::PathVisitorNextEventEstimation,renderer::A0xdd0e4bd1::PTLightingEngine::VolumeVisitorDistanceSampling>(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::ShadingContext & shading_context, const renderer::ShadingPoint & shading_point, renderer::ShadingComponents & radiance) Line 231\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::PTLightingEngine::compute_lighting(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::PixelContext & pixel_context, const renderer::ShadingContext & shading_context, const renderer::ShadingPoint & shading_point, renderer::ShadingComponents & radiance) Line 178\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::PhysicalSurfaceShader::evaluate(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::PixelContext & pixel_context, const renderer::ShadingContext & shading_context, const renderer::ShadingPoint & shading_point, renderer::AOVAccumulatorContainer & aov_accumulators, renderer::ShadingResult & shading_result) Line 119\tC++\r\n \tappleseed.dll!renderer::ShadingEngine::shade_hit_point(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::PixelContext & pixel_context, const renderer::ShadingContext & shading_context, const renderer::ShadingPoint & shading_point, renderer::AOVAccumulatorContainer & aov_accumulators, renderer::ShadingResult & shading_result) Line 155\tC++\r\n \tappleseed.dll!renderer::ShadingEngine::shade(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::PixelContext & pixel_context, const renderer::ShadingContext & shading_context, const renderer::ShadingPoint & shading_point, renderer::AOVAccumulatorContainer & aov_accumulators, renderer::ShadingResult & shading_result) Line 126\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::GenericSampleRenderer::render_sample(foundation::QMCSamplingContext<foundation::Xoroshiro128plus> & sampling_context, const renderer::PixelContext & pixel_context, const foundation::Vector<double,2> & image_point, renderer::AOVAccumulatorContainer & aov_accumulators, renderer::ShadingResult & shading_result) Line 231\tC++\r\n \tappleseed.dll!renderer::`anonymous namespace'::GenericSampleGenerator::generate_samples(const unsigned __int64 sequence_index, std::vector<renderer::Sample,std::allocator<renderer::Sample> > & samples) Line 197\tC++\r\n \tappleseed.dll!renderer::SampleGeneratorBase::generate_samples(const unsigned __int64 sample_count, renderer::SampleAccumulationBuffer & buffer, foundation::IAbortSwitch & abort_switch) Line 87\tC++\r\n \tappleseed.dll!renderer::SampleGeneratorJob::execute(const unsigned __int64 thread_index) Line 155\tC++\r\n \tappleseed.dll!foundation::WorkerThread::execute_job(foundation::IJob & job) Line 188\tC++\r\n \tappleseed.dll!foundation::WorkerThread::run() Line 170\tC++\r\n \tappleseed.dll!foundation::WorkerThread::ThreadFunc::operator()() Line 98\tC++\r\n \tappleseed.dll!boost::detail::thread_data<foundation::WorkerThread::ThreadFunc>::run() Line 118\tC++\r\n \tappleseed.dll!boost::`anonymous namespace'::thread_start_function(void * param) Line 215\tC++\r\n \t[External Code]\t\r\n```"},"comment":{"url":"https://api.github.com/repos/appleseedhq/appleseed-max/issues/comments/380026693","html_url":"https://github.com/appleseedhq/appleseed-max/issues/156#issuecomment-380026693","issue_url":"https://api.github.com/repos/appleseedhq/appleseed-max/issues/156","id":380026693,"user":{"login":"dictoon","id":321290,"avatar_url":"https://avatars1.githubusercontent.com/u/321290?v=4","gravatar_id":"","url":"https://api.github.com/users/dictoon","html_url":"https://github.com/dictoon","followers_url":"https://api.github.com/users/dictoon/followers","following_url":"https://api.github.com/users/dictoon/following{/other_user}","gists_url":"https://api.github.com/users/dictoon/gists{/gist_id}","starred_url":"https://api.github.com/users/dictoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dictoon/subscriptions","organizations_url":"https://api.github.com/users/dictoon/orgs","repos_url":"https://api.github.com/users/dictoon/repos","events_url":"https://api.github.com/users/dictoon/events{/privacy}","received_events_url":"https://api.github.com/users/dictoon/received_events","type":"User","site_admin":false},"created_at":"2018-04-10T08:59:21Z","updated_at":"2018-04-10T08:59:21Z","author_association":"OWNER","body":"This isn't a crash but an assertion that fails. More specifically, a vector does not appear to be normalized: it could either be a regression or a numerical precision issue (our test is too strict).\r\n\r\nCould you provide a small test scene to repro the problem?"}}
{"actor":{"display_login":"dictoon"}}