Hi
nder Windows Vista, latest r4485 build of LuaTeX.
I'm trying to use tex.hashtokens(), following the example in the manual
I placed the
following code into a file called hash.tex
=== hash.tex ====
\directlua{
for i,v in pairs (tex.hashtokens()) do
print(i)
end
}
===============
Running hash.tex under Plain TeX (with the following additions to the
Plain format = "lplain")
\input plain
\directlua {tex.enableprimitives('', tex.extraprimitives())}
\pdfoutput=1
I experience a "crash" in LuaTeX. Note: I rebuilt lplain.fmt before
running the code
Here's the gdb session info:
c:\MinGW\bin\gdb.exe g:\luatexlatest\build\texk\web2c\luatex.exe
GNU gdb (GDB) 7.1
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "mingw32".
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from g:\luatexlatest\build\texk\web2c\luatex.exe...done.
(gdb) run --fmt=lplain $TEXMF/hash.tex
Starting program: g:\luatexlatest\build\texk\web2c\luatex.exe
--fmt=lplain $TEXMF/hash.tex
[New Thread 7208.0x1fbc]
warning: Can not parse XML library list; XML support was disabled at
compile time
This is LuaTeX, Version beta-0.71.0-2012111214
(c:/msys/1.0/trunk/build/texk/hash.tex
Program received signal SIGSEGV, Segmentation fault.
0x0047e7b8 in tex_hashpairs ()
(gdb)
I also have a question about the size of the latest luatex.exe when
using --nostrip
Under Windows Vista
===================
On 12 August I built a debug (--nostrip) version of LuaTeX Version
beta-0.71.0-2012081213 and
the luatex.exe file size is 22,224,617 bytes
I built r4485 as a debug Version beta-0.71.0-2012111214 and the
luatex.exe file size is 17,049,084 bytes
The latest debug luatex.exe file is some 5 MB smaller than prior versions?
Using gdb, if I run rbreak, gdb reports huge numbers of functions with
On 11/17/2012 03:23 PM, Graham Douglas wrote:
Hi
nder Windows Vista, latest r4485 build of LuaTeX.
Tried to do the same thing you did, with r4485 under 64-bit ubuntu. No crash, works fine. No valgrind warnings, either.
I also have a question about the size of the latest luatex.exe when using --nostrip
Under Windows Vista =================== On 12 August I built a debug (--nostrip) version of LuaTeX Version beta-0.71.0-2012081213 and the luatex.exe file size is 22,224,617 bytes
I built r4485 as a debug Version beta-0.71.0-2012111214 and the luatex.exe file size is 17,049,084 bytes
The latest debug luatex.exe file is some 5 MB smaller than prior versions?
Using gdb, if I run rbreak, gdb reports huge numbers of functions with
I think I get all of them *with* break info, but can you post a few without? Perhaps it is a single library without info?
Has there been a change to the build process which is resulting in debug info not being included for many hundreds of functions?
Not that I know of. Best wishes, Taco
A little more information on the SIGSEGV ================================== (gdb) run --fmt=lplain $TEXMF/hash.tex Starting program: c:\msys\1.0\trunk\build\texk\web2c\luatexdebug.exe --fmt=lplain $TEXMF/hash.tex [New Thread 8068.0x11c0] This is LuaTeX, Version beta-0.71.0-2012081213 (c:/msys/1.0/trunk/build/texk/hash.tex Program received signal SIGSEGV, Segmentation fault. 0x00462845 in tex_hashpairs (L=0x2f5de8) at ../../../source/texk/web2c/luatexdir/lua/ltexlib.c:1926 1926 s = hash_text(cs); (gdb) p s $1 = 34799648 (gdb) p cs $2 = 71164
Hi,
I would to have your texmf.cnf (s), to look at the memory settings. The number for cs is not outlandish, but it could be just little too much, like an off by one error.
Best wishes,
Taco
Op 17 nov. 2012 om 19:45 heeft Graham Douglas
A little more information on the SIGSEGV ==================================
(gdb) run --fmt=lplain $TEXMF/hash.tex Starting program: c:\msys\1.0\trunk\build\texk\web2c\luatexdebug.exe --fmt=lplain $TEXMF/hash.tex [New Thread 8068.0x11c0]
This is LuaTeX, Version beta-0.71.0-2012081213 (c:/msys/1.0/trunk/build/texk/hash.tex
Program received signal SIGSEGV, Segmentation fault. 0x00462845 in tex_hashpairs (L=0x2f5de8) at ../../../source/texk/web2c/luatexdir/lua/ltexlib.c:1926 1926 s = hash_text(cs); (gdb) p s $1 = 34799648 (gdb) p cs $2 = 71164 _______________________________________________ dev-luatex mailing list dev-luatex@ntg.nl http://www.ntg.nl/mailman/listinfo/dev-luatex
participants (3)
-
Graham Douglas
-
Taco hoekwater
-
Taco Hoekwater