From: Henning Hraban Ramm <texml@fiee.net>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: luatex crashes
Date: Tue, 21 Jan 2014 23:29:00 +0600 [thread overview]
Message-ID: <1DA24762-6549-46EC-B189-8EA94CE037BF@fiee.net> (raw)
In-Reply-To: <0D6ED8C2-0494-4338-B2F8-B268FA00220F@fiee.net>
Am 2014-01-21 um 22:49 schrieb Henning Hraban Ramm <texml@fiee.net>:
> 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)
___________________________________________________________________________________
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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-01-21 17:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-21 15:40 Henning Hraban Ramm
2014-01-21 16:49 ` Henning Hraban Ramm
2014-01-21 17:02 ` Mojca Miklavec
2014-01-21 17:05 ` Hans Hagen
2014-01-21 17:29 ` Henning Hraban Ramm [this message]
2014-10-08 22:14 LuaTeX Crashes Thangalin
2014-10-09 6:41 ` luigi scarso
2014-10-09 6:51 ` Hans Hagen
2014-10-09 22:36 ` Thangalin
2014-10-09 22:56 ` luigi scarso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1DA24762-6549-46EC-B189-8EA94CE037BF@fiee.net \
--to=texml@fiee.net \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).