From owner-freebsd-emulation@FreeBSD.ORG Sun Sep 7 20:36:56 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9DAE1065675; Sun, 7 Sep 2008 20:36:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from mail.ipt.ru (mail.ipt.ru [194.62.233.102]) by mx1.freebsd.org (Postfix) with ESMTP id 920D78FC1C; Sun, 7 Sep 2008 20:36:56 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from sp34.ipt.ru ([194.62.233.107] helo=bs1.sp34.ru) by mail.ipt.ru with esmtp (Exim 4.62 (FreeBSD)) (envelope-from ) id 1KcQZ7-000E5i-Ba; Mon, 08 Sep 2008 00:08:57 +0400 Received: from bsam by bs1.sp34.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KcQZc-0002NG-FM; Mon, 08 Sep 2008 00:09:28 +0400 To: MITA Yoshio References: <7ozlmjag2w.wl%mita@ee.t.u-tokyo.ac.jp> From: Boris Samorodov Date: Mon, 08 Sep 2008 00:09:28 +0400 In-Reply-To: <7ozlmjag2w.wl%mita@ee.t.u-tokyo.ac.jp> (MITA Yoshio's message of "Sun\, 07 Sep 2008 21\:52\:55 +0200") Message-ID: <83313575@bs1.sp34.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org Subject: Re: Skype core dumps as normal user X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Sep 2008 20:36:56 -0000 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