Skype core dumps as normal user

Boris Samorodov bsam at ipt.ru
Sun Sep 7 20:36:56 UTC 2008


On Sun, 07 Sep 2008 21:52:55 +0200 MITA Yoshio wrote:
> > On Sun, 16 Mar 2008 23:11:21 -0800 Beech Rintoul wrote:
> > 
> > > I've run into a problem starting skype as a normal user:
> > 
> > > $ skype --resources=/usr/local/share/skype
> > > *** glibc detected *** skype: double free or corruption (!prev): 
> > > 0x092ad7f0 ***
> > > ======= Backtrace: =========
> > > /lib/libc.so.6[0x295c3f64]
> > > /lib/libc.so.6(cfree+0x90)[0x295c7630]
> > > /lib/libc.so.6(closedir+0x28)[0x295e8308]
> > > /usr/lib/libfontconfig.so.1(FcDirScan+0x1f2)[0x2931321d]
> > > /usr/lib/libfontconfig.so.1(FcConfigBuildFonts+0x94)[0x2930dd51]
> > > /usr/lib/libfontconfig.so.1(FcInitLoadConfigAndFonts+0x26)[0x293150b3]
> > > /usr/lib/libfontconfig.so.1(FcInit+0x2e)[0x293152b0]
> > 
> > [skip]
> > 
> > > Does anyone have any ideas on where to go with this, or should I kick 
> > > it upstream?
> > 
> > Looks like http://www.freebsd.org/cgi/query-pr.cgi?pr=117010 .

> Yes it appears to be the same problem reported at pr=117010.  By
> applying the patch posted as a followup to that PR, my skype begun
> to work correctly.

It will be great if you can write a follow-up to the PR so this
information won't get lost.

> The strange thing is that, using the identical packages and on the
> same 7.0-RELEASE, skype on one computer works, but another
> doesn't.  Maybe it depends on font path configuration? as skype
> seems to crash on font configuration.

AFAIK directoriea are read by a program by blocks, say 1024 bytes
long. If it so happens that current portion of directory entries
equals to that length, than that error occures.

> All the best,

> Tested Environment: 
> FreeBSD 7.0-RELEASE
> linux_base-fc6-6_5

Seems that there were reports that the patch you had used is not
needed with linux_base-f8 port.

> linux-glib2-2.6.6
> skype-2.0.0.68,1 

> /etc/sysctl.conf:
> compat.linux.osrelease=2.6.16

> /etc/make.conf:
> OVERRIDE_LINUX_BASE_PORT=fc6 

WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve


More information about the freebsd-emulation mailing list