From lou@neutron.lbl.gov Thu Jan 5 03:41:06 2012 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F819106564A for ; Thu, 5 Jan 2012 03:41:06 +0000 (UTC) (envelope-from lou@neutron.lbl.gov) Received: from neutron.lbl.gov (neutron.lbl.gov [131.243.70.40]) by mx1.freebsd.org (Postfix) with ESMTP id 0CEA28FC08 for ; Thu, 5 Jan 2012 03:41:05 +0000 (UTC) Received: from neutron.lbl.gov (neutron [127.0.0.1]) by neutron.lbl.gov (8.14.5/8.14.5) with ESMTP id q0532mht096331 for ; Wed, 4 Jan 2012 19:02:53 -0800 (PST) (envelope-from lou@neutron.lbl.gov) Received: (from root@localhost) by neutron.lbl.gov (8.14.5/8.14.5/Submit) id q0532hKu096237; Wed, 4 Jan 2012 19:02:43 -0800 (PST) (envelope-from lou) Message-Id: <201201050302.q0532hKu096237@neutron.lbl.gov> Date: Wed, 4 Jan 2012 19:02:43 -0800 (PST) From: TPLou@LBL.gov Reply-To: To: FreeBSD-gnats-submit@freebsd.org Cc: Subject: AMSmath in jsMath-3.6.e will crash if enabled. X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 163824 >Category: ports >Synopsis: math/jsmath: AMSmath in jsMath-3.6.e will crash if enabled. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: nivit >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu Jan 05 03:50:09 UTC 2012 >Closed-Date: >Last-Modified: Sat Jan 7 23:30:09 UTC 2012 >Originator: & >Release: FreeBSD 9.0-RC3 amd64 >Organization: LBL >Environment: System: FreeBSD neutron.lbl.gov 9.0-RC3 FreeBSD 9.0-RC3 #1 r228873: Sun Dec 25 15:58:05 PST 2011 root@neutron.lbl.gov:/usr/obj/usr/src/sys/GENERIC amd64 >Description: When using AMSmath extension in jsMath-3.6.e from pkg_add -r, its javascript will take very long and crash. >How-To-Repeat: Enable AMSmath extension from the easy/load.js file and create a large number of latex math symbols. >Fix: Update it to the latest version on its CVS repository. >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-ports-bugs->nivit Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jan 5 05:09:52 UTC 2012 Responsible-Changed-Why: Fix synopsis and assign. http://www.freebsd.org/cgi/query-pr.cgi?pr=163824 From: Tak Pui Lou To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/163824: math/jsmath: AMSmath in jsMath-3.6.e will crash if enabled. Date: Sat, 7 Jan 2012 13:31:18 -0800 Sorry, I made a mistake about the workaround. I did not restart httpd in = some tests. So, both the latest from jsMath sourceforge repository and = the jsMath in the ports fail. Anyway, I narrowed down what is causing = the script to stop responding. When you use \begin{align} ... = \end{align} under Trac, it will stop responding. Depending on how you = start jsMath, the error messages are different. For jsMath started with = easy/load.js in the section, the script stops in autoload.js. = Otherwise, the script stops in jsMath.js just like what is reported at = . So, it may be a problem with Genshi or = Trac or jsMath itself. However, I tried to installed Trac from = easy_install instead of from pkg_add. I got the same result. But, the = same latex math code on the same trac repository with jsMath works fine = on my openindiana system. If you are interested in seeing an example on my webserver, please email = me in private and I will send you a link. Thanks.= From: Tak Pui Lou To: bug-followup@FreeBSD.org Cc: Subject: Re: ports/163824: math/jsmath: AMSmath in jsMath-3.6.e will crash if enabled. Date: Sat, 7 Jan 2012 15:21:50 -0800 I just noticed that LatexFormulaMacro from trac-hacks.org also fails = when \begin{align}...\end{align} is used. So, it should be a Trac/Genshi = problem not jsMath. Could someone change the subject and synopsis to = reflect this to trac? Thanks.= >Unformatted: