crash with \attributedbox
Hi, I updated my binaries today (minimals) and got some crashes using luatex v0.22. No probs with the prior version. I was able to make a minimal example by simplifying my original code. The attached log output is taken from my eshell buffer inside emacs, as the original log file is empty due to the crash. Best wishes, Peter % engine=luatex \newbox\Testbox \starttext \long\def\FOO#1% {\setupframed[align={top,right}]% no crash without \setupframed \setbox\Testbox\vbox{\framed[width=10cm]{#1}}% \attributedbox\Testbox} % blank line causes the crash \FOO{\crlf } \stoptext TeXExec | processing document 'attributedbox.tex' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file attributedbox.top TeXExec | using randomseed 1185 TeXExec | tex engine: luatex TeXExec | tex format: cont-en (./attributedbox.tex ConTeXt ver: 2008.02.13 23:49 MKIV fmt: 2008.2.20 int: english/english language : language en is active system : cont-new loaded (r:/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (r:/tex/texmf-context/tex/context/base/cont-new.mkiv lua : used config path - r:/tex/texmf-local/web2c/texmf.cnf;r:/tex/texmf-context/web2c/texmf.cnf;r:/tex/texmf/web2c/texmf.cnf lua : used cache path - r:/tex/luatex-cache/context/be74c9ce1715b7e02ccf1b16a39c2fc2 ) (r:/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-old loaded (r:/tex/texmf-context/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (r:/tex/texmf-context/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (r:/tex/texmf-context/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded specials : tex,postscript,rokicki loaded system : attributedbox.top loaded (./attributedbox.top specials : loading definition file tpd (r:/tex/texmf-context/tex/context/base/spec-tpd.tex specials : loading definition file fdf (r:/tex/texmf-context/tex/context/base/spec-fdf.tex (r:/tex/texmf-context/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded ) specials : fdf,tpd loaded ) (./attributedbox.tuo) (./attributedbox.tuoAssertion failed: q!=null, file tex/postlinebreak.c, line 503 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. LuaTools | running command: luatex --fmt="r:/tex/luatex-cache/context/be74c9ce1715b7e02ccf1b16a39c2fc2/formats/cont-en" --lua="r:/tex/luatex-cache/context/be74c9ce1715b7e02ccf1b16a39c2fc2/formats/cont-en.luc" "attributedbox.tex" "" LuaTools | LuaTools | runtime: 1.953 secondsTeXUtil | parsing file attributedbox.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | renaming attributedbox.tua into attributedbox.tuc TeXExec | TeX run 2 TeXExec | writing option file attributedbox.top TeXExec | using randomseed 1185 TeXExec | tex engine: luatex TeXExec | tex format: cont-en (./attributedbox.tex ConTeXt ver: 2008.02.13 23:49 MKIV fmt: 2008.2.20 int: english/english language : language en is active system : cont-new loaded (r:/tex/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (r:/tex/texmf-context/tex/context/base/cont-new.mkiv lua : used config path - r:/tex/texmf-local/web2c/texmf.cnf;r:/tex/texmf-context/web2c/texmf.cnf;r:/tex/texmf/web2c/texmf.cnf lua : used cache path - r:/tex/luatex-cache/context/be74c9ce1715b7e02ccf1b16a39c2fc2 ) (r:/tex/texmf-context/tex/context/base/cont-mtx.tex)) system : cont-old loaded (r:/tex/texmf-context/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (r:/tex/texmf-context/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (r:/tex/texmf-context/tex/context/user/cont-sys.tex) bodyfont : 12pt rm is loaded specials : tex,postscript,rokicki loaded system : attributedbox.top loaded (./attributedbox.top specials : loading definition file tpd (r:/tex/texmf-context/tex/context/base/spec-tpd.tex specials : loading definition file fdf (r:/tex/texmf-context/tex/context/base/spec-fdf.tex (r:/tex/texmf-context/tex/context/base/spec-fdf.mkiv)) specials : fdf loaded ) specials : fdf,tpd loaded ) (./attributedbox.tuo) (./attributedbox.tuoAssertion failed: q!=null, file tex/postlinebreak.c, line 503 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. LuaTools | running command: luatex --fmt="r:/tex/luatex-cache/context/be74c9ce1715b7e02ccf1b16a39c2fc2/formats/cont-en" --lua="r:/tex/luatex-cache/context/be74c9ce1715b7e02ccf1b16a39c2fc2/formats/cont-en.luc" "attributedbox.tex" "" LuaTools | LuaTools | runtime: 1.828 secondsTeXUtil | parsing file attributedbox.tui TeXUtil | shortcuts : 0 TeXUtil | expansions: 0 TeXUtil | reductions: 0 TeXUtil | divisions : 0 TeXUtil | loaded files: 0 TeXUtil | temporary files: 0 TeXUtil | commands: 0 TeXUtil | programs: 0 TeXUtil | tuo file saved TeXExec | renaming attributedbox.tua into attributedbox.tuc TeXExec | runtime: 4.203
Peter Rolf wrote:
Hi,
I updated my binaries today (minimals) and got some crashes using luatex v0.22. No probs with the prior version. I was able to make a minimal example by simplifying my original code. The attached log output is taken from my eshell buffer inside emacs, as the original log file is empty due to the crash.
It's not related to attributed boxes % engine=luatex \starttext \vbox{\dontleavehmode \crlf \par } \stoptext is about the smallest example possible. But taco nailed down the cause before i could get this small -) Will be solved ... 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 -----------------------------------------------------------------
Hans Hagen schrieb:
Peter Rolf wrote:
Hi,
I updated my binaries today (minimals) and got some crashes using luatex v0.22. No probs with the prior version. I was able to make a minimal example by simplifying my original code. The attached log output is taken from my eshell buffer inside emacs, as the original log file is empty due to the crash.
It's not related to attributed boxes
% engine=luatex
\starttext \vbox{\dontleavehmode \crlf \par } \stoptext
is about the smallest example possible. But taco nailed down the cause before i could get this small -) Will be solved ...
what should i say. it took me more than two hours to make a breaking 'minimal' example and taco locates the bug in a few seconds. live is for sure unfair ;) anyhow, thanks to both of you for the fast fixing.
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 ----------------------------------------------------------------- ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Peter Rolf wrote:
Hi,
I updated my binaries today (minimals) and got some crashes using luatex v0.22. No probs with the prior version. I was able to make a minimal example by simplifying my original code. The attached log output is taken from my eshell buffer inside emacs, as the original log file is empty due to the crash.
There was a bug in the handling of removable items at the beginning of an empty line after line breaking. Found and fixed (in svn trunk), and will be included in beta 0.22.1 (to be released soon-ish) Best wishes, Taco
participants (3)
-
Hans Hagen
-
Peter Rolf
-
Taco Hoekwater