experimenting with texlive 2009 from launchpad ppa: trouble with dvipng and memory allocation

Paul Johnson pauljohn32 at gmail.com
Fri Jan 8 17:36:41 UTC 2010


I had trouble with unicode characters in bibliography files and
texlive 2007, so I decided to spend some time testing out texlive 2009
to see if there are improvements.  I installed the Ubuntu packages
from the ppa repository here:

https://launchpad.net/~aelmahmoudy/+archive/tl2009

(Thanks to Ahmed for doing that work).  The install with apt went
smoothly.  I ran into a few little hitches, including the fact that
some directories ~/.texmf-??? in my home partition were created with
the previous latex and caused processing to fail.  But, for the most
part, it works.  There is no "tlmgr" program, which surprised me a
bit, since I thought that was the big new TexLive thing. Oh, well.

In case you are interested in testing TexLive2009, I notice some
significant features.  It includes an up-to-date version of biblatex,
which saves you the trouble of installing it separately. It actually
does handle the unicode text problem I was trying to fix. It also has
tex4ht, which I just tested. I got very good performance from it.

Anyway, the problem I've run into on Ubuntu Karmic is that there is
some kind of trouble deep down in the guts of postscript processing.
evince crashes, and when I open LyX and try to view documents, I see
some spew as shown below.

Where do you think this problem starts?


*** glibc detected *** dvipng: free(): invalid pointer: 0x08c14171 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0x3f1ff1]
/lib/tls/i686/cmov/libc.so.6[0x3f36f2]
/lib/tls/i686/cmov/libc.so.6(cfree+0x6d)[0x3f679d]
/usr/lib/libkpathsea.so.4[0x37bd96]
/usr/lib/libkpathsea.so.4(kpse_fontmap_lookup+0xf8)[0x37c0f8]
/usr/lib/libkpathsea.so.4(kpse_find_file+0x2f7)[0x3782c7]
dvipng[0x8050ef3]
dvipng[0x804f346]
dvipng[0x804f4d9]
dvipng[0x8049f60]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x39db56]
dvipng[0x8049e01]
======= Memory map: ========
00110000-00132000 r-xp 00000000 08:05 534910     /usr/lib/libjpeg.so.62.0.0
00132000-00133000 r--p 00021000 08:05 534910     /usr/lib/libjpeg.so.62.0.0
00133000-00134000 rw-p 00022000 08:05 534910     /usr/lib/libjpeg.so.62.0.0
00134000-0015f000 r-xp 00000000 08:05 532641     /usr/lib/libfontconfig.so.1.3.0
0015f000-00160000 r--p 0002a000 08:05 532641     /usr/lib/libfontconfig.so.1.3.0
00160000-00161000 rw-p 0002b000 08:05 532641     /usr/lib/libfontconfig.so.1.3.0
00161000-00185000 r-xp 00000000 08:05 1161138    /lib/libexpat.so.1.5.2
00185000-00187000 r--p 00024000 08:05 1161138    /lib/libexpat.so.1.5.2
00187000-00188000 rw-p 00026000 08:05 1161138    /lib/libexpat.so.1.5.2
00206000-00222000 r-xp 00000000 08:05 532395     /usr/lib/libxcb.so.1.1.0
00222000-00223000 r--p 0001c000 08:05 532395     /usr/lib/libxcb.so.1.1.0
00223000-00224000 rw-p 0001d000 08:05 532395     /usr/lib/libxcb.so.1.1.0
00237000-0024b000 r-xp 00000000 08:05 1161047    /lib/libz.so.1.2.3.3
0024b000-0024c000 r--p 00013000 08:05 1161047    /lib/libz.so.1.2.3.3
0024c000-0024d000 rw-p 00014000 08:05 1161047    /lib/libz.so.1.2.3.3
00373000-00383000 r-xp 00000000 08:05 532018     /usr/lib/libkpathsea.so.4.0.0
00383000-00384000 r--p 0000f000 08:05 532018     /usr/lib/libkpathsea.so.4.0.0
00384000-00385000 rw-p 00010000 08:05 532018     /usr/lib/libkpathsea.so.4.0.0
00385000-00387000 rw-p 00000000 00:00 0
00387000-004c5000 r-xp 00000000 08:05 1177411
/lib/tls/i686/cmov/libc-2.10.1.so
004c5000-004c7000 r--p 0013e000 08:05 1177411
/lib/tls/i686/cmov/libc-2.10.1.so
004c7000-004c8000 rw-p 00140000 08:05 1177411
/lib/tls/i686/cmov/libc-2.10.1.so
004c8000-004cb000 rw-p 00000000 00:00 0
004e0000-0051e000 r-xp 00000000 08:05 536977     /usr/lib/libt1.so.5.1.2
0051e000-0051f000 r--p 0003d000 08:05 536977     /usr/lib/libt1.so.5.1.2
0051f000-00522000 rw-p 0003e000 08:05 536977     /usr/lib/libt1.so.5.1.2
00522000-00537000 rw-p 00000000 00:00 0
00795000-007a5000 r-xp 00000000 08:05 531665     /usr/lib/libXpm.so.4.11.0
007a5000-007a6000 r--p 0000f000 08:05 531665     /usr/lib/libXpm.so.4.11.0
007a6000-007a7000 rw-p 00010000 08:05 531665     /usr/lib/libXpm.so.4.11.0
007e8000-007e9000 r-xp 00000000 00:00 0          [vdso]
0085b000-00876000 r-xp 00000000 08:05 1161200    /lib/ld-2.10.1.so
00876000-00877000 r--p 0001a000 08:05 1161200    /lib/ld-2.10.1.so
00877000-00878000 rw-p 0001b000 08:05 1161200    /lib/ld-2.10.1.so
0088a000-008b0000 r-xp 00000000 08:05 533228     /usr/lib/libpng12.so.0.37.0
008b0000-008b1000 r--p 00025000 08:05 533228     /usr/lib/libpng12.so.0.37.0
008b1000-008b2000 rw-p 00026000 08:05 533228     /usr/lib/libpng12.so.0.37.0
0090f000-00933000 r-xp 00000000 08:05 1177419
/lib/tls/i686/cmov/libm-2.10.1.so
00933000-00934000 r--p 00023000 08:05 1177419
/lib/tls/i686/cmov/libm-2.10.1.so
00934000-00935000 rw-p 00024000 08:05 1177419
/lib/tls/i686/cmov/libm-2.10.1.so
00938000-0093a000 r-xp 00000000 08:05 1177417
/lib/tls/i686/cmov/libdl-2.10.1.so
0093a000-0093b000 r--p 00001000 08:05 1177417
/lib/tls/i686/cmov/libdl-2.10.1.so
0093b000-0093c000 rw-p 00002000 08:05 1177417
/lib/tls/i686/cmov/libdl-2.10.1.so
00978000-0097c000 r-xp 00000000 08:05 533042     /usr/lib/libXdmcp.so.6.0.0
0097c000-0097d000 rw-p 00003000 08:05 533042     /usr/lib/libXdmcp.so.6.0.0
009f1000-00a0d000 r-xp 00000000 08:05 1161198    /lib/libgcc_s.so.1
00a0d000-00a0e000 r--p 0001b000 08:05 1161198    /lib/libgcc_s.so.1
00a0e000-00a0f000 rw-p 0001c000 08:05 1161198    /lib/libgcc_s.so.1
00cfd000-00cff000 r-xp 00000000 08:05 532297     /usr/lib/libXau.so.6.0.0
00cff000-00d00000 r--p 00001000 08:05 532297     /usr/lib/libXau.so.6.0.0
00d00000-00d01000 rw-p 00002000 08:05 532297     /usr/lib/libXau.so.6.0.0
00d1d000-00e47000 r-xp 00000000 08:05 533538     /usr/lib/libX11.so.6.2.0
00e47000-00e48000 ---p 0012a000 08:05 533538     /usr/lib/libX11.so.6.2.0
00e48000-00e49000 r--p 0012a000 08:05 533538     /usr/lib/libX11.so.6.2.0
00e49000-00e4b000 rw-p 0012b000 08:05 533538     /usr/lib/libX11.so.6.2.0
00e4b000-00e4c000 rw-p 00000000 00:00 0
00e6c000-00ee6000 r-xp 00000000 08:05 531465     /usr/lib/libfreetype.so.6.3.20
00ee6000-00eea000 r--p 00079000 08:05 531465     /usr/lib/libfreetype.so.6.3.20
00eea000-00eeb000 rw-p 0007d000 08:05 531465     /usr/lib/libfreetype.so.6.3.20
00ef7000-00f15000 r-xp 00000000 08:05 532188     /usr/lib/libgd.so.2.0.0
00f15000-00f16000 r--p 0001d000 08:05 532188     /usr/lib/libgd.so.2.0.0
00f16000-00f35000 rw-p 0001e000 08:05 532188     /usr/lib/libgd.so.2.0.0
00f35000-00f39000 rw-p 00000000 00:00 0
00f68000-00f7d000 r-xp 00000000 08:05 1177439
/lib/tls/i686/cmov/libpthread-2.10.1.so
00f7d000-00f7e000 r--p 00014000 08:05 1177439
/lib/tls/i686/cmov/libpthread-2.10.1.so
00f7e000-00f7f000 rw-p 00015000 08:05 1177439
/lib/tls/i686/cmov/libpthread-2.10.1.so
00f7f000-00f81000 rw-p 00000000 00:00 0
08048000-08060000 r-xp 00000000 08:05 533382     /usr/bin/dvipng
08060000-08061000 r--p 00017000 08:05 533382     /usr/bin/dvipng
08061000-08062000 rw-p 00018000 08:05 533382     /usr/bin/dvipng
08062000-08063000 rw-p 00000000 00:00 0
089ba000-08c2f000 rw-p 00000000 00:00 0          [heap]
b7600000-b7621000 rw-p 00000000 00:00 0
b7621000-b7700000 ---p 00000000 00:00 0
b77ee000-b7867000 r--s 00000000 08:05 1087426
/var/lib/texmf/fonts/map/dvips/updmap/ps2pk.map
b7867000-b786c000 rw-p 00000000 00:00 0
b7886000-b7887000 rw-p 00000000 00:00 0
b7887000-b7888000 r--s 00000000 08:05 1205374
/etc/texmf/map/ttf2pk/ttfonts/ttfonts.map
b7888000-b788c000 rw-p 00000000 00:00 0
bf985000-bf99a000 rw-p 00000000 00:00 0          [stack]
Aborted
dvipng failed to generate images from 0lyxpreview.dvi ... looking for PDF
This is dvips(k) 5.98 Copyright 2009 Radical Eye Software (www.radicaleye.com)
' TeX output 2010.01.08:1109' -> 0lyxpreview.ps
</usr/share/texmf-texlive/dvips/base/tex.pro>
</usr/share/texmf/fonts/enc/dvips/lm/lm-mathit.enc>
</usr/share/texmf-texlive/dvips/base/texps.pro>
</usr/share/texmf-texlive/dvips/base/special.pro>.
</usr/share/texmf/fonts/type1/public/lm/lmmi12.pfb>[1] [2] [3]


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas




More information about the ubuntu-users mailing list