From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26779 invoked by alias); 26 Jul 2013 17:08:03 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 26730 invoked by uid 89); 26 Jul 2013 17:08:02 -0000 X-Spam-SWARE-Status: No, score=-4.7 required=5.0 tests=AWL,BAYES_40,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.1 Received: from Unknown (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Fri, 26 Jul 2013 17:08:02 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r6QH7st6000508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 26 Jul 2013 13:07:54 -0400 Received: from fche.csb (vpn-49-4.rdu2.redhat.com [10.10.49.4]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r6QH7si6023438; Fri, 26 Jul 2013 13:07:54 -0400 Received: by fche.csb (Postfix, from userid 2569) id 980A05816C; Fri, 26 Jul 2013 13:07:53 -0400 (EDT) To: Eric Wong Cc: Systemtap List Subject: Re: copy faults from user_string* functions References: <20130726063634.GA32443@dcvr.yhbt.net> From: fche@redhat.com (Frank Ch. Eigler) Date: Fri, 26 Jul 2013 17:08:00 -0000 In-Reply-To: <20130726063634.GA32443@dcvr.yhbt.net> (Eric Wong's message of "Fri, 26 Jul 2013 06:36:34 +0000") Message-ID: User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2013-q3/txt/msg00068.txt.bz2 Hi, Eric - normalperson wrote: > Hi all, just to clarify, not all of these faults are user errors, right? > I get these sometimes with some strings (constants, I think): > ERROR: user string copy fault -14 at 000000000042f16c near identifier 'user_string_n' at $prefix/share/systemtap/tapset/uconversions.stp:120:10 > [...] It can simply mean having some not-yet-paged-in data, which in the spirit of non-interference, stap will not trigger a page fault for. Please try error-catching constructs such as try{}catch{}, or --skip-badvars to tolerate them. > This is for cmogstored, if anybody is interested in reproducing this, > I've pushed my work-in-progress to the "st-wip-broken" branch of > git://bogomips.org/cmogstored.git The HACKING doc in the top-level > should document all the build-dependencies if you want to try to > reproduce it. Neat. - FChE