Date: Fri, 21 May 2004 16:03:43 -0600 From: Nathan Kinkade <nkinkade@ub.edu.bz> To: Michal Pasternak <michal@pasternak.w.lub.pl> Cc: freebsd-questions@freebsd.org Subject: Re: Debugging a process Message-ID: <20040521220343.GN21801@gentoo-npk.bmp.ub> In-Reply-To: <20040521204717.GA84771@pasternak.w.lub.pl> References: <20040521183841.GA83902@pasternak.w.lub.pl> <20040521204717.GA84771@pasternak.w.lub.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Fri, May 21, 2004 at 10:47:17PM +0200, Michal Pasternak wrote: > 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. You could also use ktrace(1). Nathan [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFArny/O0ZIEthSfkkRArnjAJoC6dm7tzy6GycqYDiWy81qorJ/ggCg6r+s tE8GQDVl/nhGJh0bVLlwsG4= =3tYa -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040521220343.GN21801>
