Page MenuHomePhabricator

texvc hangs while rendering
Closed, ResolvedPublic

Description

Author: jelsas

Description:
when rendering math in an article, the browser window hangs indefinitely, waiting on a response from the server. While
this is happening, the following processes are owned by apache (in addition to the httpd processes):

./math/texvc /home/jelsas/public_html/wiki/images/tmp /home/jelsas/public_html/wiki/images/math C_r utf-8

sh -c convert -quality 100 -density 120 /home/jelsas/

public_html/wiki/images/tmp/30492_8e0e87530ca474ad4fe02b49f27a0e33.ps /home/jelsas/public_html/wiki/images/
math/8e0e87530ca474ad4fe02b49f27a0e33.png >/dev/null 2>/dev/null

convert -quality 100 -density 120 /home/jelsas/

public_html/wiki/images/tmp/30492_8e0e87530ca474ad4fe02b49f27a0e33.ps /home/jelsas/public_html/wiki/images/
math/8e0e87530ca474ad4fe02b49f27a0e33.png

Running texvc from the command line gives the following output until it hangs:

$ ./texvc ~/public_html/testing/ ~/public_html/testing/ 'a^x=b' iso-8859-1
This is dvips(k) 5.86 Copyright 1999 Radical Eye Software (www.radicaleye.com)
' TeX output 2005.02.09:1226' ->
<texc.pro>. [1]

at this time the same processes are hanging (texvc, sh, and convert). Several temp files are generated, ending with .dvi,
.aux, .log, .ps and .tex. The .ps file does look like the correct rendering of the formula, so I'm guessing the TeX/LaTeX
piece is completing successfully.

I'm using ImageMagick version 5.5.6 and MediaWiki version 1.3.9.


Version: unspecified
Severity: normal
OS: Linux
Platform: PC

Details

Reference
bz1501
TitleReferenceAuthorSource BranchDest Branch
Move envelope generation to executor classes.repos/abstract-wiki/wikifunctions/function-evaluator!156apineapine-metadatamain
envvars-api: bump to 0.0.34-20231113143549-be1944farepos/cloud/toolforge/toolforge-deploy!129raymond-ndibebump_envvars-apimain
[envvars-api] avoid invalidating go mod download cache on each code changerepos/cloud/toolforge/envvars-api!18raymond-ndibestop_invalidating_go_mod_download_cachemain
Customize query in GitLab

Revisions and Commits

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 8:13 PM
bzimport added a project: Math.
bzimport set Reference to bz1501.
bzimport added a subscriber: Unknown Object (MLST).

jelsas wrote:

update: upgrading to the latest version of ImageMagick (6.1.9) seems to fix the problem.

epriestley added a commit: Unknown Object (Diffusion Commit).Mar 4 2015, 8:22 AM