![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Bugs item #600, was opened at 2006-08-23 23:51 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=600&group_id=106 Category: None Group: v1.40.0
Status: Closed Resolution: Fixed Priority: 5 Submitted By: Robert (schlcht) Assigned to: Martin Schröder (oneiros) Summary: \pdfdraftmode: results in segfault + can be tricked
Initial Comment: The following gives a segfault here (under cygwin): \pdfdraftmode=1 \immediate\pdfobj{x} %\pdfoutline goto name{x}{y} % with this, too \pdfcompresslevel=9 A \bye
From the terminal:
This is pdfTeXk, Version 3.141592-1.40.0-beta-20060822 (Web2C 7.5.5) %&-line parsing enabled. entering extended mode (./bugs.tex [1{/cygdrive/c/Programme/TeXLive/texmf-var/fonts/map/pdftex/updmap/ pdftex.map} 133 [main] pdftex 1780 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped) Also, the following will create a pdf file, although it shouldn't (or at least issue a warning about \pdfdraftmode being issued too late): \immediate\pdfobj{x} \pdfdraftmode=1 A \bye ---------------------------------------------------------------------- Comment By: Martin Schröder (oneiros) Date: 2006-08-29 23:02 Message: Logged In: YES user_id=421 Updated patch that also gives an error in the case of a late \pdfdraftmode=1 ---------------------------------------------------------------------- Comment By: Martin Schröder (oneiros) Date: 2006-08-29 22:43 Message: Logged In: YES user_id=421 Thanks. The attached patch fixes at least the crash. ---------------------------------------------------------------------- You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=600&group_id=106