#7232: fix tachyon segfault introduced by #6542
----------------------------+-----------------------------------------------
       Reporter:  was       |         Owner:  was     
           Type:  defect    |        Status:  new     
       Priority:  major     |     Milestone:  sage-5.8
      Component:  graphics  |    Resolution:          
       Keywords:            |   Work issues:          
Report Upstream:  N/A       |     Reviewers:          
        Authors:            |     Merged in:          
   Dependencies:            |      Stopgaps:          
----------------------------+-----------------------------------------------

Comment (by leif):

 Interestingly, it segfaults ''after'' having read the whole input file
 (and also with just one thread):
 {{{
 #!sh

 (sage-sh) $ tachyon tachyon-example.dat +V -numthreads 1 -format PNG -o
 tachyon-example.png
 Tachyon Parallel/Multiprocessor Ray Tracer   Version 0.98.9
 Copyright 1994-2010,    John E. Stone <[email protected]>
 ------------------------------------------------------------
 Scene Parsing Time:     0.0052 seconds
 CPU Information:
   Node    0:  2 CPUs, CPU Speed 1.00, Node Speed   2.00 Name: sleepless
   Total CPUs: 2
   Total Speed: 2.000000

 Scene contains 514 objects.
 Global bounds: -0.1 -1.1 -1.1 -> 0.1 1.1 1.1
 Creating top level grid: X:12 Y:12 Z:12
 Grid:  X: 12  Y: 12  Z: 12  Cells:     1728  Obj:      513  Obj/Cell:
 0.297
 Scene contains 1 non-gridded objects

 Allocating Image Buffer.
 Preprocessing Time:     0.0088 seconds
 Segmentation fault:         0% complete
 }}}

 (But the segfault actually completes. ;-) )

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7232#comment:4>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to