Bug#633768: texlive-binaries: fatal: memory exhausted (xmalloc of 2171483664 bytes).
Package: texlive-binaries
Version: 2009-8
Severity: important
Hello,
While trying to build GNU GDB on experimental, some architectures (amd64, s390
and armel) fail to build from source due to:
TEXINPUTS=/build/buildd-gdb_7.3.50~cvs20110627-2-amd64-gF8ZJR/gdb-7.3.50~cvs20110627/gdb/doc/../../texinfo:.:/build/buildd-gdb_7.3.50~cvs20110627-2-amd64-gF8ZJR/gdb-7.3.50~cvs20110627/gdb/doc:/build/buildd-gdb_7.3.50~cvs20110627-2-amd64-gF8ZJR/gdb-7.3.50~cvs20110627/gdb/doc/../../readline/doc:/build/buildd-gdb_7.3.50~cvs20110627-2-amd64-gF8ZJR/gdb-7.3.50~cvs20110627/gdb/doc/../mi:$TEXINPUTS tex sedref.tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
make[1]: *** [refcard.dvi] Segmentation fault
or
TEXINPUTS=/build/buildd-gdb_7.3.50~cvs20110627-2-armel-8krUQG/gdb-7.3.50~cvs20110627/gdb/doc/../../texinfo:.:/build/buildd-gdb_7.3.50~cvs20110627-2-armel-8krUQG/gdb-7.3.50~cvs20110627/gdb/doc:/build/buildd-gdb_7.3.50~cvs20110627-2-armel-8krUQG/gdb-7.3.50~cvs20110627/gdb/doc/../../readline/doc:/build/buildd-gdb_7.3.50~cvs20110627-2-armel-8krUQG/gdb-7.3.50~cvs20110627/gdb/doc/../mi:$TEXINPUTS tex sedref.tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
fatal: memory exhausted (xmalloc of 2171483664 bytes).
On amd64/sid I got this information:
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/tex sedref.tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2 () at ../sysdeps/x86_64/multiarch/../memcpy.S:162
162 ../sysdeps/x86_64/multiarch/../memcpy.S: No such file or directory.
in ../sysdeps/x86_64/multiarch/../memcpy.S
(gdb) bt
#0 __memcpy_sse2 () at ../sysdeps/x86_64/multiarch/../memcpy.S:162
#1 0x00007ffff762c263 in _IO_file_xsgetn (fp=0x8aa950, data=0x7ffef5e41018, n=176) at fileops.c:1414
#2 0x00007ffff7622442 in _IO_fread (buf=0x7ffef5e41018, size=8, count=22, fp=0xfffffff9) at iofread.c:44
#3 0x000000000043887d in ?? ()
#4 0x00000000004084c3 in ?? ()
#5 0x000000000040c56d in ?? ()
#6 0x0000000000401d4e in ?? ()
#7 0x00007ffff75dcead in __libc_start_main (main=<value optimized out>, argc=<value optimized out>,
ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>,
rtld_fini=<value optimized out>, stack_end=0x7fffffffe6a8) at libc-start.c:228
#8 0x0000000000401d81 in ?? ()
#9 0x00007fffffffe6a8 in ?? ()
#10 0x000000000000001c in ?? ()
#11 0x0000000000000002 in ?? ()
#12 0x00007fffffffe8c7 in ?? ()
#13 0x00000000006d2120 in ?? ()
#14 0x0000000000000000 in ?? ()
On amd64/wheezy, it passes fine:
(wheezy_amd64)zumbi@pergolesi:~/gdb-7.2/build/objdir/gdb/doc$ TEXINPUTS=/home/zumbi/gdb-7.2/gdb/doc/../../texinfo:.:/home/zumbi/gdb-7.2/gdb/doc:/home/zumbi/gdb-7.2/gdb/doc/../../readline/doc:/home/zumbi/gdb-7.2/gdb/doc/../mi:$TEXINPUTS tex sedref.tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
(./sedref.tex [1]
Underfull \hbox (badness 1297) in paragraph at lines 571--571
[]\rm octal, dec-i-mal, or hex num-ber
[2] )
(see the transcript file for additional information)
Output written on sedref.dvi (2 pages, 21844 bytes).
Transcript written on sedref.log.
On armel/s390, it tries to allocate 2GB, and those machines do not have such
memory. I have tested on armel/wheezy chroot and I got it to run fine.
(wheezy)zumbi@abel:~/gdb-7.3.50~cvs20110627/build/objdir/gdb/doc$ TEXINPUTS=/home/zumbi/gdb-7.3.50~cvs20110627/gdb/doc/../../texinfo:.:/home/zumbi/gdb-7.3.50~cvs20110627/gdb/doc:/home/zumbi/gdb-7.3.50~cvs20110627/gdb/doc/../../readline/doc:/home/zumbi/gdb-7.3.50~cvs20110627/gdb/doc/../mi:$TEXINPUTS tex sedref.tex
This is TeX, Version 3.1415926 (TeX Live 2009/Debian)
(./sedref.tex [1]
Underfull \hbox (badness 1297) in paragraph at lines 571--571
[]\rm octal, dec-i-mal, or hex num-ber
[2] )
(see the transcript file for additional information)
Output written on sedref.dvi (2 pages, 21844 bytes).
Transcript written on sedref.log.
Note on wheezy I am using:
texlive-binaries 2009-8
libc6 2.13-7
On sid:
texlive-binaries 2009-8+b1
libc6 2.13-10
Best regards
-- Hector Oron
Reply to: