pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: core dumps with TrueType fonts



Steven M. Bellovin --> pkgsrc-users (2007-01-21 12:32:34 -0500):
> On two -current machines, I rebuilt all of my packages, from up-to-date
> HEAD.  I use xorg.  Here's what the daily job showed on both this
> morning:
> 
>       Possible core dumps:
>       /usr/pkg/lib/X11/fonts/TTF/ttmkfdir.core
>       /usr/pkg/xorg/lib/X11/fonts/TTF/ttmkfdir.core

I see ttmkfdir dumping core quite reproducibly while running pkg_add
or pkg_delete on the ms-ttf package on a -current NetBSD/i386 system:

$ pkg_delete ms-ttf
===========================================================================
Updating font databases in the following directories:

        /usr/pkg/lib/X11/fonts/TTF (ttf)
[1]   Segmentation fault (core dumped) ${update_cmd} ${...
        /usr/pkg/lib/X11/fonts/TTF (x11)

===========================================================================
$ pkg_add .../All/ms-ttf-20020306nb5.tgz
pkg_add: Warning: package `/opt/packages/All/ms-ttf-20020306nb5.tgz' was built 
for a different version of the OS:
pkg_add: NetBSD/i386 4.99.8 (pkg) vs. NetBSD/i386 4.99.9 (this host)
===========================================================================
Updating font databases in the following directories:

        /usr/pkg/lib/X11/fonts/TTF (ttf)
[1]   Segmentation fault (core dumped) ${update_cmd} ${...
        /usr/pkg/lib/X11/fonts/TTF (x11)

===========================================================================
[...]

$ find /usr/pkg -name '*.core'
/usr/pkg/lib/X11/fonts/TTF/ttmkfdir.core

$ gdb /usr/pkg/bin/ttmkfdir /usr/pkg/lib/X11/fonts/TTF/ttmkfdir.core
GNU gdb 6.5
[...]
Core was generated by `ttmkfdir'.
Program terminated with signal 11, Segmentation fault.
#0  0x080547f8 in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > ()
(gdb) bt
#0  0x080547f8 in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > ()
#1  0x080534a8 in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > ()
#2  0x08053dd2 in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > ()
#3  0x080515bc in std::operator+<char, std::char_traits<char>, 
std::allocator<char> > ()
#4  0x0804ab5d in ?? ()
[...]


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~



Home | Main Index | Thread Index | Old Index