[luatex] Segmentation fault in 1.09.2

Henri Menke henrimenke at gmail.com
Wed Jan 16 23:04:13 CET 2019


The fix is pretty easy, there was only an uninitialized string
somewhere.  Patch is attached.

On 16/01/19 10:51 PM, luigi scarso wrote:
> On Wed, Jan 16, 2019 at 10:45 AM Henri Menke <henrimenke at gmail.com> wrote:
> 
>> I have prepared a plain example (attached) which can be run with
>>
>>     mtxrun --script plain --run test.tex
>>
>> and also segfaults.
>>
>> On 1/16/19 10:14 PM, Henri Menke wrote:
>>> Dear list,
>>>
>>> To answer a question on TeX.SX I wanted to compare glyph sidebearings
>>> using kerns.  However, when trying to insert a kern before the head of
>>> the last line I first get an error followed by segmentation fault:
>>>
>>> warning  (node filter): error: [\directlua]:12: Attempt to
>>> node.insert_before() a non-existing node
>>>
>>> Segmentation fault
>>>
>>> The example is attached because it's a bit larger.  I marked the
>>> offending line with “BOOM”.
>>>
>>> Cheers, Henri
>>>
>>
>>
> Thank you very much for the report, we will see it asap.
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: segfault.patch
Type: text/x-patch
Size: 530 bytes
Desc: not available
URL: <https://tug.org/pipermail/luatex/attachments/20190117/d43a5bd3/attachment.bin>


More information about the luatex mailing list