anammari / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

Converting empty table cells to rst causes infinite loop with memory growth #308

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run pandoc -f html empty-table-cell.html -t rst, or run pandoc -f markdown 
empty-table-cell.markdown -t rst
2. Wait and observe the program growing arbitrarily large in memory usage
3. Kill it before it takes over your machine :)

What is the expected output? What do you see instead?
It should rather output a normal table, or at least terminate with an error

What version of the product are you using? On what operating system?
1.8.1.1 on Ubuntu 11.10

Please provide any additional information below.

Original issue reported on code.google.com by da...@frasergo.org on 7 Mar 2012 at 8:56

Attachments:

GoogleCodeExporter commented 8 years ago
This issue tracker is no longer used; if you could put this on pandoc's github 
tracker, it would be appreciated.
See http://johnmacfarlane.net/pandoc/bugs.html

Original comment by fiddloso...@gmail.com on 7 Mar 2012 at 5:21

GoogleCodeExporter commented 8 years ago
Further note:  I was unable to reproduce this on pandoc 1.9.1.1, the latest 
release:

% pandoc -t rst -f html
<table>
<tr><td>Test</td><td></td></tr>
</table>
^D
+--------+----+
| Test         |         |
+--------+----+

Original comment by fiddloso...@gmail.com on 7 Mar 2012 at 5:22

GoogleCodeExporter commented 8 years ago
I've run into the same problem on 1.8.1.1

Original comment by johntwil...@gmail.com on 19 Apr 2012 at 6:26

GoogleCodeExporter commented 8 years ago
1. This is fixed in recent versions of pandoc.  Please upgrade.

2. This is not the right bug tracker to use -- see comment 1 above.

Original comment by fiddloso...@gmail.com on 19 Apr 2012 at 7:24