Am 2014-01-21 um 22:49 schrieb Henning Hraban Ramm
ConTeXt ver: 2014.01.21 16:07 MKIV beta fmt: 2014.1.21 int: english/english
This is LuaTeX, Version beta-0.78.2 (TeX Live 2014/dev) (rev 4746)
This is LuajitTeX, Version beta-0.78.2 (TeX Live 2014/dev)
The problems seems to be in the index mechanism, specifically in \placeindex. If I use \completeindex[criterium=all], it runs through, then I can replace it with \placeindex (to get rid of the title), and it works, while I don’t change anything. If I remove the „good“ TUC file, I get the crash again, and no TUC file is created. If I put it back, it works again.
Rather minimal example: --- \setupregister[index][align=yes] \starttext \dorecurse{20}{% \expanded{\chapter{My chapter \recurselevel}} \expanded{\index{Index entry \recurselevel}} \expanded{\section{My Zapf \recurselevel}} \input zapf \expanded{\section{My Tufte \recurselevel}} \input tufte } \completeindex %\placeindex \stoptext --- Without the setup [align=yes] I get a different error, but no crash of the binary: structure > sectioning > chapter @ level 2 : 0.21 -> \headtext {index} ! Attempt to double-free glue_spec node 5028, ignored. system > tex > error on line 17 in file /Users/hraban/Documents/projekte/context-tests/indexcrash.tex: Attempt to double-free glue_spec node 5028, ignored ... 7 \expanded{\chapter{My chapter \recurselevel}} 8 \expanded{\index{Index entry \recurselevel}} 9 \expanded{\section{My Zapf \recurselevel}} 10 \input zapf 11 \expanded{\section{My Tufte \recurselevel}} 12 \input tufte 13 } 14 15 \completeindex 16 %\placeindex 17 >> 18 \stoptext \page_shipouts_normal ...box \shipoutscratchbox }} \else \page_shipouts_ignor... \page_boxes_shipout ... {\box \shipoutscratchbox } \fi \setnextrealpageno \th... \page_otr_construct_and_shipout ...cted_page #1#2} \page_otr_flush_pending_co... \page_sides_output_routine_nop ...de_float_output \global \d_page_sides_vsiz... \page_sides_output_routine ..._output_routine_nop \fi \page_otr_triggered_output_routine ...and_routine \fi ... l.17 Greetlings, Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer)