[Pkg-haskell-maintainers] Bug#739448: pandoc: endless loop converting from html

Thomas Viehweger patchesThomas.Vie at web.de
Tue Feb 18 20:17:09 UTC 2014


Package: pandoc
Version: 1.12.2.1-1+b1

When trying to convert a html page to epub the CPU usage increases to
100 % but produces no result.

To reproduce try the following (as example):

pandoc -f html -t epub -o 131212.epub \
http://lwn.net/Articles/575838/bigpage?format=printable

strace shows an endless stream of the following messages:

...
...
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
clock_gettime(0x2 /* CLOCK_??? */, {2, 574828663}) = 0
clock_gettime(0x3 /* CLOCK_??? */, {2, 574833013}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0})         = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
clock_gettime(0x2 /* CLOCK_??? */, {2, 574978094}) = 0
clock_gettime(0x3 /* CLOCK_??? */, {2, 574982504}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0})         = 0 (Timeout)
...
...

-- 
Regards,
Thomas Viehweger



More information about the Pkg-haskell-maintainers mailing list