FS#65981 - [pandoc-citeproc] Hangs in infinite loop

Attached to Project: Community Packages
Opened by Peter (p3732) - Wednesday, 25 March 2020, 22:57 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 30 June 2020, 16:29 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
With the recent update of the package to version 0.17-53 it stopped working for me, hanging in an infinite loop without any output.

I checked and the only major related haskell package version upgrade is haskell-network, but it's version bumped to 3.1.1.1 and all pandoc-citeproc build-dep requires is <3.2, so that should not be a problem. Maybe a simple rebuild will fix it? Manually compiling from the github repo produced a working version for me.

This task depends upon

Closed by  Felix Yan (felixonmars)
Tuesday, 30 June 2020, 16:29 GMT
Reason for closing:  Fixed
Comment by Peter (p3732) - Thursday, 26 March 2020, 17:00 GMT
Unfortunately the update to 0.17-54 did not fix it.
I tried reproducing this on another system, but was unable to do so and reinstalling all of pandoc did not help either. The only significant difference between the two systems that I can think of is, that the one it is not working on has only a single CPU.

Running `pandoc-cite -y test.bib`, where test.bib is the attached simple bibtex file, spawns 4 thread processes, of which only one runs occassionally (see the attached htop screenshot). Maybe it somehow locks itself up? Although I can't explain how the package changes introduced that, since pandoc-citeproc itself has not changed since mid-February.

Can anyone else with a single CPU reproduce?
Comment by Felix Yan (felixonmars) - Sunday, 28 June 2020, 19:25 GMT
I tried on my VPS with a single CPU but cannot reproduce:

# pandoc-citeproc -y test.bib
---
references:
- id: soyl
type: article-journal
author:
- family: Chiang
given: Ted
issued:
- year: 2002
title: Story of Your Life
container-title: <span class="nocase">Stories of Your Life and Others</span>
page: '76'
ISBN: 978-1-4472-8198-6
...
# pandoc-citeproc --version
pandoc-citeproc 0.17.0.1
Comment by Peter (p3732) - Tuesday, 30 June 2020, 16:19 GMT
Indeed it seems to be fixed with one of the updates. Sorry for not updating this, I was done with the project I used pandoc for.

Loading...