Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001093LuxRenderCorepublic2011-06-08 08:222012-09-11 06:10
ReporterJ the Ninja 
Assigned Tojeanphi 
PrioritylowSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
Platformx86_64OSMac OS XOS Version10.6.7
Product Version0.8 
Target Version1.0Fixed in Version1.0RC4 
Summary0001093: Exphotonmap crashes with 0 direct photons
DescriptionIf exphotonmap is set with directphotons = 0, it will crash as photon shooting finishes. This is a pretty rare case, it would likely only be used when all light sources are behind non-architecural glass and thus all lighting would be caustics. Still, the renderer should probably throw an error instead of just crashing.
Steps To Reproduce1. Set direct photons = 0

2. Run the render. Photon shooting will progress fine, until all maps have filled. At this point, Lux will crash.
Additional InformationCrash report info:

Process: luxrender [2579]
Path: /Users/Jason/Developer/Lux/Core/lux/Release/LuxRender.app/Contents/MacOS/luxrender
Identifier: org.luxrender.luxrender
Version: 0.8.dev (0.8.dev)
Code Type: X86-64 (Native)
Parent Process: blender [2575]

Date/Time: 2011-06-08 08:16:51.596 -0700
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6

Interval Since Last Report: 305494 sec
Crashes Since Last Report: 2
Per-App Interval Since Last Report: 176166 sec
Per-App Crashes Since Last Report: 2
Anonymous UUID: 5318C25E-FA12-43CB-BC02-148EAA9926EF

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 2

Thread 2 Crashed:
0 liblux.dylib 0x000000010029492c lux::KdTree<lux::LightPhoton, lux::NearSetPhotonProcess<lux::LightPhoton> >::recursiveBuild(unsigned int, unsigned int, unsigned int, std::vector<lux::LightPhoton const*, std::allocator<lux::LightPhoton const*> >&) + 460

Thread 2 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
  rdi: 0x0000000102105cb0 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x000000012707d0a0
   r8: 0x000000012707d0e8 r9: 0x0000000010214855 r10: 0x0000000000000001 r11: 0x000000010305d800
  r12: 0x0000000102105cb0 r13: 0x0000000000000002 r14: 0x000000012707d0e8 r15: 0x0000000000000000
  rip: 0x000000010029492c rfl: 0x0000000000010246 cr2: 0x0000000000000000
TagsNo tags attached.
Mercurial Changeset #
Requires Documentation UpdateNo
Requires Exporter Update
Attached Files

- Relationships

-  Notes
(0003178)
jeanphi (administrator)
2011-09-04 12:51

I added a check to prevent the crash.

- Issue History
Date Modified Username Field Change
2011-06-08 08:22 J the Ninja New Issue
2011-08-31 05:17 jeanphi Target Version => 1.0
2011-08-31 05:37 jeanphi Assigned To => jeanphi
2011-08-31 05:37 jeanphi Status new => assigned
2011-09-04 12:51 jeanphi Note Added: 0003178
2011-09-04 12:51 jeanphi Status assigned => resolved
2011-09-04 12:51 jeanphi Fixed in Version => 1.0
2011-09-04 12:51 jeanphi Resolution open => fixed
2012-08-21 06:54 jeanphi Fixed in Version 1.0 => 1.0RC4
2012-09-11 06:10 jeanphi Status resolved => closed


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker