From owner-freebsd-questions@FreeBSD.ORG Thu Sep 18 18:20:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BDA8106567B for ; Thu, 18 Sep 2008 18:20:41 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id 150858FC0C for ; Thu, 18 Sep 2008 18:20:35 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 5A9E6EE210AE; Thu, 18 Sep 2008 20:20:34 +0200 (CEST) Received: from [88.134.86.17] (helo=sushi.pseudo.local) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.109 #226) id 1KgO7E-0006AR-00; Thu, 18 Sep 2008 20:20:32 +0200 Received: from sushi.pseudo.local (localhost [127.0.0.1]) by sushi.pseudo.local (8.14.3/8.14.3) with ESMTP id m8IIKOqP003291; Thu, 18 Sep 2008 20:20:24 +0200 (CEST) (envelope-from tobi@sushi.pseudo.local) Received: (from tobi@localhost) by sushi.pseudo.local (8.14.3/8.14.3/Submit) id m8IIKNtp003290; Thu, 18 Sep 2008 20:20:23 +0200 (CEST) (envelope-from tobi) Date: Thu, 18 Sep 2008 20:20:23 +0200 From: Tobias Rehbein To: Boris Samorodov Message-ID: <20080918182023.GA2827@sushi.pseudo.local> Mail-Followup-To: Boris Samorodov , freebsd-questions@freebsd.org References: <20080911174721.GA10261@sushi.pseudo.local> <20080913173102.GA84554@sushi.pseudo.local> <61786698@bs1.sp34.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <61786698@bs1.sp34.ru> User-Agent: Mutt/1.4.2.3i Sender: tobias.rehbein@web.de X-Sender: tobias.rehbein@web.de X-Provags-ID: V01U2FsdGVkX1+lOToUpxHGPt9Vn5moPBffsjLAwLbsZNIwgp4l qw0p75qvP2asnPDyRlaUhsNIRsAXlNX9GbreNxS6N8hGNyNqPf yDh8ukIRx50CnsvOOt3w== Cc: freebsd-questions@freebsd.org Subject: Re: Jailing net/skype X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 18:20:41 -0000 Am Sun, Sep 14, 2008 at 11:26:45PM +0400 schrieb Boris Samorodov: > Tobias Rehbein writes: > > > #kdump -f ktrace.out | head > > 84180 skype CALL access(0x292b2b61,R_OK) > > 84180 skype NAMI "/compat/linux/etc/ld.so.preload" > > 84180 skype NAMI "/etc/ld.so.preload" > > 84180 skype RET access JUSTRETURN > > 84180 skype CALL open(0x292b2d49,O_RDONLY,0) > > 84180 skype NAMI "/compat/linux/etc/ld.so.cache" > > 84180 skype NAMI "/compat/linux" > > 84180 skype NAMI "/compat/linux/etc/ld.so.cache" > > 84180 skype RET open 3 > > 84180 skype CALL freebsd6_mmap(0x3,0xbfbfe324,690704336,MAP_SHARED|MAP_PRIVATE|MAP_RENAME|MAP_NORESERVE|MAP_HASSEMAPHORE|MAP_STACK|MAP_NOSYNC,0x2e6f732e,0x68636163,0x646165,0,0,0,0,0,0,0,0,0,... (lots of '0,'s) > > > > The funny thing is kdump itself coredumps when dumping the whole thing out (I > > guess that has something todo with this endless '...0,0,0,0,0...' sequence). > > You should use devel/linux_kdump here instead of the native one. > Thank you for the hint. I wasn't aware of this tool. Now the output looks better: #linux_kdump -f ktrace.out | tail 84180 skype RET gettimeofday 0 84180 skype CALL gettimeofday(0xbfbfd810,0) 84180 skype RET gettimeofday 0 84180 skype PSIG SIGSEGV caught handler=0x82db000 mask=0x0 code=0x0 84180 skype CALL linux_rt_sigprocmask(0x1,0xbfbfd3d8,0,0x8) 84180 skype RET linux_rt_sigprocmask 0 84180 skype CALL linux_tgkill(0x148d4,0x148d4,0x6) 84180 skype RET linux_tgkill 0 84180 skype PSIG SIGIOT SIG_DFL 84180 skype NAMI "skype.core" Nonetheless I have no clue why it coredumps. Could someone help me interpret this trace? If needed I can provide the full trace or the core dump. The problem can't be gettimeofday() I guess? Thanks in advance Tobias -- Tobias Rehbein PGP key: 4F2AE314 server: keys.gnupg.net fingerprint: ECDA F300 1B6E 9B87 8524 8663 E8B6 3138 4F2A E314