From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27832 invoked by alias); 9 Jun 2008 20:46:26 -0000 Received: (qmail 27824 invoked by uid 22791); 9 Jun 2008 20:46:25 -0000 X-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from inergen.sybase.com (HELO inergen.sybase.com) (192.138.151.43) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 09 Jun 2008 20:46:07 +0000 Received: from smtp2.sybase.com (sybgate2 [10.22.97.85]) by inergen.sybase.com with ESMTP id m59Kk5E06064 for ; Mon, 9 Jun 2008 13:46:06 -0700 (PDT) Received: from gwwest.sybase.com (localhost [127.0.0.1]) by smtp2.sybase.com with ESMTP id m59Kk5e18520 for ; Mon, 9 Jun 2008 13:46:05 -0700 (PDT) Received: from rruvinsk-osx.sybase.com ([10.25.107.13]) by waterloomail1.sybase.com (Lotus Domino Release 6.5.4) with ESMTP id 2008060916460268-1754 ; Mon, 9 Jun 2008 16:46:02 -0400 Message-Id: From: Ray Ruvinskiy To: frysk@sourceware.org Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Debugging a NullPointerException in fstack Date: Tue, 10 Jun 2008 07:20:00 -0000 X-Mailer: Apple Mail (2.919.2) X-MIMETrack: Itemize by SMTP Server on WaterlooMail1/SYBASE(Release 6.5.4|March 27, 2005) at 06/09/2008 04:46:02 PM, Serialize by Router on gwwest/SYBASE(Release 6.5.5|November 30, 2005) at 06/09/2008 01:46:05 PM, Serialize complete at 06/09/2008 01:46:05 PM Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q2/txt/msg00088.txt.bz2 Hello, I've compiled frysk on an i386 Fedora 8 system (thanks a lot to Rick Moseley for all his previous help on IRC), and I'm attempting to play with fstack. It seems to work on some processes (e.g., bash) but goes down with a NullPointerException on most others (gconf, gnome- screensaver, others). I was wondering whether this was a known issue and if not, what the best way to debug this would be. There is no stack trace displayed, so I'm not sure where the NPE is actually coming from. I was wondering if it was possible to compile frysk in a way that would make it more amenable to being debugged? Also, what is the recommended way to debug? gdb, printfs? Thanks, Ray