ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* crash with \attributedbox
@ 2008-02-20 13:21 Peter Rolf
  2008-02-20 14:12 ` Hans Hagen
  2008-02-20 14:14 ` Taco Hoekwater
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Rolf @ 2008-02-20 13:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

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

[-- Attachment #2: attributedbox.tex --]
[-- Type: text/plain, Size: 277 bytes --]

% 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

[-- Attachment #3: attributedbox_(eshell).log --]
[-- Type: text/plain, Size: 5120 bytes --]

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

[-- Attachment #4: Type: text/plain, Size: 487 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: crash with \attributedbox
  2008-02-20 13:21 crash with \attributedbox Peter Rolf
@ 2008-02-20 14:12 ` Hans Hagen
  2008-02-20 14:47   ` Peter Rolf
  2008-02-20 14:14 ` Taco Hoekwater
  1 sibling, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2008-02-20 14:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: crash with \attributedbox
  2008-02-20 13:21 crash with \attributedbox Peter Rolf
  2008-02-20 14:12 ` Hans Hagen
@ 2008-02-20 14:14 ` Taco Hoekwater
  1 sibling, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2008-02-20 14:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users



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
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: crash with \attributedbox
  2008-02-20 14:12 ` Hans Hagen
@ 2008-02-20 14:47   ` Peter Rolf
  2008-02-20 14:58     ` Taco Hoekwater
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Rolf @ 2008-02-20 14:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: crash with \attributedbox
  2008-02-20 14:47   ` Peter Rolf
@ 2008-02-20 14:58     ` Taco Hoekwater
  0 siblings, 0 replies; 5+ messages in thread
From: Taco Hoekwater @ 2008-02-20 14:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users



Peter Rolf wrote:
> 
> 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 ;)

Bugs that result in assertion errors are usually the easiest ones.

Best wishes,
Taco

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-02-20 14:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-20 13:21 crash with \attributedbox Peter Rolf
2008-02-20 14:12 ` Hans Hagen
2008-02-20 14:47   ` Peter Rolf
2008-02-20 14:58     ` Taco Hoekwater
2008-02-20 14:14 ` Taco Hoekwater

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).