From owner-freebsd-current@FreeBSD.ORG Sat Dec 31 19:25:53 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 601C2106564A for ; Sat, 31 Dec 2011 19:25:53 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id E8B408FC13 for ; Sat, 31 Dec 2011 19:25:52 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so13993804wib.13 for ; Sat, 31 Dec 2011 11:25:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=A02mTfJ/Ccdz7VU0ICXwuOx6DYOhlMJF1cGiA22+zDk=; b=T6Oh97EFz9VFbgZZJVH4HesdTMpi/5qi7G3nfi9F/TOfE/N+s4SI/gAjC08QZuZ4iw q8Tj9+7hOy50kMY0gHoBacLUJJeVHo1XeDfu6R0krv5FtwlXJz89FJ3flQId3uwU9xQA vdVuBQrgBRPA18QsH8YIN6QsOtBdhGrHmSgS0= MIME-Version: 1.0 Received: by 10.216.209.99 with SMTP id r77mr23904306weo.25.1325359552012; Sat, 31 Dec 2011 11:25:52 -0800 (PST) Received: by 10.180.84.105 with HTTP; Sat, 31 Dec 2011 11:25:51 -0800 (PST) In-Reply-To: <201112292137.33189.olevole@olevole.ru> References: <201112292137.33189.olevole@olevole.ru> Date: Sat, 31 Dec 2011 14:25:51 -0500 Message-ID: From: Ryan Stone To: Oleg Ginzburg Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: segfault from php/freebsd/dtrace X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2011 19:25:53 -0000 On Thu, Dec 29, 2011 at 12:37 PM, Oleg Ginzburg wrote: > Hi maillist, > > I try to use dtrace + php/dtrace on the freebsd. In certain cases ive get > Segmentation fault and don't understand what of subsystem has a problem. Yes, Userland DTrace is unfortunately still very experimental at this point. I've got a list of at least 10 outstanding bugs that I hope to start addressing early in the new year. In your case, dtrace(1) and/or libproc does not clean up after itself properly in the case of an error. I'm not entirely sure what is causing the segfault in php, though. Which version are you running? The output of uname -a would be helpful.