Hello,

I ran into a segfault:

(gdb) bt
#0  0x1a710bd7 in proc_command (interp=0x83592c20, ctx=0x0, argc=4, 
    argv=0x802ba400, argl=0x802ba410) at ./src/th_lang.c:500
#1  0x1a70f295 in thEvalLocal (interp=0x83592c20, zProgram=Variable "zProgram" 
is not available.
) at ./src/th.c:917
#2  0x1a70f485 in Th_Eval (interp=0x83592c20, iFrame=0, 
    zProgram=0x7c3c141c "\n  proc getTclVersion {} {\n    if {[catch {tclEval 
info patchlevel} tclVersion] == 0} {\n      return \"<a 
href=\\\"http://www.tcl.tk/\\\";>Tcl</a> version $tclVersion\"\n    }\n    
return \"\"\n  }\n  proc getVers"..., nProgram=531) at ./src/th.c:1012
#3  0x1a62b591 in Th_Render (
    z=0x7c3c162f "</th1>\n  This page was generated in about\n  <th1>puts [expr 
{([utime]+[stime]+1000)/1000*0.001}]</th1>s by\n  <a 
href=\"$fossilUrl/\">Fossil</a>\n  version $release_version $tclVersion\n  <a 
href=\"$fossilU"...)
    at th_main.c:2261
#4  0x1a624df6 in style_footer () at style.c:633
#5  0x1a5e99eb in ci_page () at info.c:759
#6  0x1a5ea1aa in info_page () at info.c:2119
#7  0x1a5f1003 in process_one_web_page (zNotFound=0x0, pFileGlob=0x0, 
    allowRepoList=1) at main.c:1844
#8  0x1a5f41f9 in main (argc=2, argv=0xcfbf1c74) at main.c:804

This appears to correct the problem:

http://www.fossil-scm.org/index.html/info/7c3cb470e65bf792

I don't  think more is required  than this, but I  haven't really looked
into the TH1 code before so I could be wrong.

Thanks,

Andy
-- 
TAI64 timestamp: 400000005650af41


_______________________________________________
fossil-dev mailing list
fossil-dev@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/fossil-dev

Reply via email to