From owner-freebsd-questions@FreeBSD.ORG Fri May 21 13:47:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01CB616A4CE for ; Fri, 21 May 2004 13:47:18 -0700 (PDT) Received: from pr93.lublin.sdi.tpnet.pl (pr93.lublin.sdi.tpnet.pl [217.97.36.93]) by mx1.FreeBSD.org (Postfix) with SMTP id DC68843D5D for ; Fri, 21 May 2004 13:47:16 -0700 (PDT) (envelope-from michal@pasternak.w.lub.pl) Received: (qmail 84781 invoked by uid 1001); 21 May 2004 20:47:17 -0000 Date: Fri, 21 May 2004 22:47:17 +0200 From: Michal Pasternak To: Michal Pasternak Message-ID: <20040521204717.GA84771@pasternak.w.lub.pl> References: <20040521183841.GA83902@pasternak.w.lub.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20040521183841.GA83902@pasternak.w.lub.pl> cc: freebsd-questions@freebsd.org Subject: Re: Debugging a process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Michal Pasternak List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 May 2004 20:47:18 -0000 Michal Pasternak [Fri, May 21, 2004 at 08:38:41PM +0200]: > Hello, > > I've got an Epson printer I've set up with CUPS. Unfortunatley it came out, > that the program CUPS uses internally (rastertoprinter) gets some kind of > lockup right after ending the page - it starts to eat up 100% CPU; CUPS gets > the message "Page finished", but the job stays there - and the printer > device (lpt0) is in use. > > Well, so I did "gdb", attached to the PID, typed "bt"... nothing. Just a few > lines with addr no and question marks. Well, I'm answering myself: $ gdb nameOfExecutableWithDebugSymbols gdb> attach PID ... and, voila, that's all that it's needed. -- m