From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26071 invoked by alias); 11 Jun 2008 01:33:22 -0000 Received: (qmail 26054 invoked by uid 22791); 11 Jun 2008 01:33:22 -0000 X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_54 X-Spam-Check-By: sourceware.org Received: from fm200.sybase.com (HELO fm200.sybase.com) (192.138.151.122) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 11 Jun 2008 01:32:53 +0000 Received: from smtp2.sybase.com (sybgate2.sybase.com [10.22.97.85]) by fm200.sybase.com with ESMTP id m5B1WQY22869; Tue, 10 Jun 2008 18:32:26 -0700 (PDT) Received: from gwwest.sybase.com (localhost [127.0.0.1]) by smtp2.sybase.com with ESMTP id m5B1WOe15969; Tue, 10 Jun 2008 18:32:24 -0700 (PDT) Received: from [192.168.1.100] ([10.22.242.134]) by waterloomail1.sybase.com (Lotus Domino Release 6.5.4) with ESMTP id 2008061021322140-3245 ; Tue, 10 Jun 2008 21:32:21 -0400 Cc: frysk@sourceware.org Message-Id: From: Ray Ruvinskiy To: Phil Muldoon In-Reply-To: <484E2B37.3010309@redhat.com> Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: Debugging a NullPointerException in fstack Date: Wed, 11 Jun 2008 02:17:00 -0000 References: <484E2B37.3010309@redhat.com> 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/10/2008 09:32:21 PM, Serialize by Router on gwwest/SYBASE(Release 6.5.5|November 30, 2005) at 06/10/2008 06:32:24 PM, Serialize complete at 06/10/2008 06:32:24 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/msg00094.txt.bz2 Phil, Thank you very much for the tips. I have filed a bug with the debug logging output. In general, I was wondering what the best way to debug gcj problems is. Is it possible to make it so that when a program compiled with gcj throws an exception, the stack trace is displayed, like it would be if a jar file is run with Sun's jre? Is there any hope in getting gdb to meaningfully debug gcj-compiled binaries? Thanks, Ray On 10-Jun-08, at 3:20 AM, Phil Muldoon wrote: > Ray Ruvinskiy wrote: >> Hello, > > Hi Ray, > > Thanks for the report. The first thing I would do is to file a bug at: > > http://sourceware.org/bugzilla/enter_bug.cgi?product=frysk > > To track the issue. I would not worry too much about semantics of > the bug reports, or whether it is a duplicate. The report itself is > valuable even if it does already exist. Typically when I file a > report I'll put in whether I run Frysk from RPM, or built from > source. And what OS you are running it on. And just include all the > output of the tool. If fstack is failing with an NPE on some > processes not others, it is most certainly a programming error > somewhere. > > From a more in depth perspective, if you build from source, you can > test the sanity of your environment particular to your system by > running the Frysk testsuite. I normally cd into frysk-core/ and > run ./TestRunner. You can do this from each sub-component, or if you > like, run make check instead. > > Lastly if you want to jump straight in, fix the problem yourself, > and submit a patch, try turning debug logging on with something like: > > ./frysk/bindir/fstack -debug frysk=FINE 1234 > > But even if you do try to hack on it yourself, please do file a bug > and assign it to yourself. We know who is hacking on what then. > > Best of luck and hope to see you on IRC! > > Regards > > Phil Muldoon > >> > >