Re: [NTG-pdftex] [Fwd: [NTG-context] crash with pdftex-1.40]
I can reproduce the problem, but have no idea how to fix it. pdftex crashes when a pclose is called in aclose(), file openclose.c. But I don't know anything about pipes in pdftex -- it was done by other people. Thanh On Thu, Jan 04, 2007 at 11:08:50PM +0100, Martin Schroeder wrote:
2007/1/4, Hans Hagen
: While playing around with the new shell escaping in pdftex-1.40, I got the following crash:
I can't reproduce this.
Best Martin _______________________________________________ ntg-pdftex mailing list ntg-pdftex@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-pdftex
Thanh Han The wrote:
I can reproduce the problem, but have no idea how to fix it. pdftex crashes when a pclose is called in aclose(), file openclose.c. But I don't know anything about pipes in pdftex
I'll check it out. Taco
Thanh Han The wrote:
I can reproduce the problem, but have no idea how to fix it. pdftex crashes when a pclose is called in aclose(), file openclose.c. But I don't know anything about pipes in pdftex -- it was done by other people.
it's ok on windows, so it must be a unix lib problem (not sure where the differences between platforms are in code) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
Hi, Hans Hagen wrote:
Thanh Han The wrote:
I can reproduce the problem, but have no idea how to fix it. pdftex crashes when a pclose is called in aclose(), file openclose.c. But I don't know anything about pipes in pdftex -- it was done by other people.
it's ok on windows, so it must be a unix lib problem (not sure where the differences between platforms are in code)
Found it, my bad. I malloced() one byte short in the version of the patch that is used now, Windows apparently doesn't care about that, but it breaks on Unix (most of the time). It used to work OK, I am quite sure of that, so it looks like there was a mixup somewhere along the line. I have a two-line change for texmfmp.c, attached. Martin, should I commit this to TL or do you have other pending patches? Best, Taco
Martin Schröder wrote:
2007/1/5, Taco Hoekwater
: Martin, should I commit this to TL or do you have other pending patches?
Please commit; this is web2c and not really pdftex.
OK, done, TL is updated. I assume you will pick this fix up for the (eventual) 1.40.1 release. Best, Taco
participants (4)
-
Hans Hagen
-
Martin Schröder
-
Taco Hoekwater
-
Thanh Han The