Opened 13 years ago

Last modified 8 years ago

## #7232 closed defect

# fix tachyon segfault introduced by #6542 — at Version 1

Reported by: | William Stein | Owned by: | William Stein |
---|---|---|---|

Priority: | major | Milestone: | sage-6.4 |

Component: | graphics | Keywords: | tachyon |

Cc: | mhampton, Niles Johnson | Merged in: | |

Authors: | Reviewers: | ||

Report Upstream: | N/A | Work issues: | |

Branch: | Commit: | ||

Dependencies: | Stopgaps: |

### Description (last modified by )

This pretty much says it all:

sage: a = 1 sage: b = 0 sage: c = 0 sage: sage: f = lambda t: ((a*c*cos(t) - b*sin(t))/sqrt(a^2+b^2), (b*c*cos(t) + ....: a*sin(t))/sqrt(a^2+b^2), cos(t)*sqrt(a^2+b^2)) sage: t = Tachyon(camera_center=(0,0,0)) sage: t.texture('t') sage: t.light((-20,-20,40), 0.2, (1,1,1)) sage: t.parametric_plot(f,0,2*pi,'t',min_depth=6) sage: sage: t.show() sh: line 1: 2214 Segmentation fault tachyon /Users/wstein/.sage//temp/flat.local/2161//tmp_2.dat -format PNG -o /Users/wstein/.sage//temp/flat.local/2161//tmp_1.png > /dev/null

Note, that this was I think caused by #6542.

**Note:**See TracTickets for help on using tickets.