ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Mojca Miklavec <mojca.miklavec.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: luatex core dump
Date: Thu, 4 Jul 2013 10:05:09 +0200	[thread overview]
Message-ID: <CALBOmsaT9UstTQo7QReSz+xTP_JBrPHeZTL6GE2m+3N2unONDA@mail.gmail.com> (raw)
In-Reply-To: <CAG5iGsCCUf5XTcDBKJgzRk=Csz+guJk3Gw8bBWqhdkvG=WVLRA@mail.gmail.com>

On Thu, Jul 4, 2013 at 8:59 AM, luigi scarso wrote:
> On Wed, Jul 3, 2013 at 11:59 PM, FA - ML wrote:
>>
>> Good evening,
>>
>>     I recently reported a ^context bug in debian stable^ [1].
>>
>> The error is:
>>
>> > mtx-context     | fatal error: no return code, message: luatex:
>> > execution interrupted
>>
>> Since this is quite generic, the maintainer asked me wheter there were any
>> core files.
>>
>> Is there any option/way to see what steps luatex made before failing?

The first line says

mtx-context     | run 1: luatex
--fmt="/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en"
--lua="/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en.lui"
--backend="pdf" "./bug.tex" \stoptext

If you had the binary with debugging symbols built in, you could have tried

gdb luatex
r --fmt="/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en"
--lua="/var/lib/texmf/luatex-cache/context/f919750633122078d706dd10f1cfd39b/formats/cont-en.lui"
--backend="pdf" "./bug.tex" \stoptext

You can do the same now, I'm only not sure how much usable information
you would get out of it, hopefully more than just "sorry, program
crashed".

There were some problems that were known to only show up on certain
patforms (arm included; see for example
http://tracker.luatex.org/view.php?id=739). It's hard to tell whether
this was the same problem.

>> [1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=713993
>>
> it'sa mkiv of more than a year ago with luatex 0.70.1.20120524-3
> on armv7l --- could be a bug already fixed
> Can you try with the latest standalone ?

Probably not. We only have one set of arm binaries at the moment. I
would need to add those for armhf first (if there is a need, I can add
support for them, but I don't know how to distinguish between armel
and armhf).

I would rather suggest to test:
- original TeX Live 2013
- official Debian packages for TeX Live 2013 if you have a chance to
do that (I'm not sure if that is possible in your case or not)
- if you really want to help debugging TeX Live 2012 packages and the
above gdb doesn't tell you anything useful, you might need to compile
LuaTeX from sources with debugging turned on, but it would probably be
easier to test TL 2013

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


      reply	other threads:[~2013-07-04  8:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-03 21:59 FA - ML
2013-07-04  6:59 ` luigi scarso
2013-07-04  8:05   ` Mojca Miklavec [this message]

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=CALBOmsaT9UstTQo7QReSz+xTP_JBrPHeZTL6GE2m+3N2unONDA@mail.gmail.com \
    --to=mojca.miklavec.lists@gmail.com \
    --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).