<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:Courier New,courier,monaco,monospace,sans-serif;font-size:12pt"><div style="font-family: Courier New,courier,monaco,monospace,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">>On 28 Jun 2009, at 07:35, Gunnar Strand wrote:<br>>> [debug] Rendering template "users/create_form.tt2"<br>>> [info] Request took 795.658106s (0.001/s)<br>>> .------------------------------------------------------------+-----------.<br>>> | Action | Time |<br>>> +------------------------------------------------------------+-----------+<br>>> | /users/create
| 0.005603s |<br>>> | /end | 795.6377s |<br>>> | -> Cupper::View::TT->process | 795.6356s |<br>>> '------------------------------------------------------------+-----------'<br>>> <br>>> As you can see, "end" has hanged in 795 seconds, and this output was not printed until AFTER I hit "Stop" in Firefox. Below is the code in users/create:<br>>> <br>><br>>This shows that the template processing is going into an infinite loop.<br>><br>>Something in users/create_form.tt2 is going mad. I'd
replace it with a blank template, check that fixes the issue, >then work backwards from there, re-adding chunks of code until you find the culprit.<br>><br><br>Thanks for th tip! I'll see if I can nail it down - the template structure isn't just that one file - I am using the "wrapper" support in TT.<br><br>Is there any way of running the server in a debugger or to turn tracing on? Can I send a signal to it to get it to dump a stack trace somehow? Any attempt I've made so far just results in nothing or segmentation faults.<br><br>KR,<br>Gunnar<br><br>_______________________________________________<br>List: <a ymailto="mailto:Catalyst@lists.scsys.co.uk" href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br><span>Listinfo: <a target="_blank" href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a></span><br><span>Searchable archive: <a target="_blank"
href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a></span><br><span>Dev site: <a target="_blank" href="http://dev.catalyst.perl.org/">http://dev.catalyst.perl.org/</a></span><br></div></div></div><br>
</body></html>