From owner-freebsd-gnome Tue Mar 25 21:45:28 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A38E37B401 for ; Tue, 25 Mar 2003 21:45:25 -0800 (PST) Received: from hotmail.com (f44.sea2.hotmail.com [207.68.165.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id D93E543F3F for ; Tue, 25 Mar 2003 21:45:24 -0800 (PST) (envelope-from reigncracks@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 25 Mar 2003 21:45:24 -0800 Received: from 68.103.32.11 by sea2fd.sea2.hotmail.msn.com with HTTP; Wed, 26 Mar 2003 05:45:24 GMT X-Originating-IP: [68.103.32.11] X-Originating-Email: [reigncracks@hotmail.com] From: "Mezz bsdforums.org" To: gnome@freebsd.org Subject: Re: Patch to fix hang in mplayer-skins Date: Wed, 26 Mar 2003 00:45:24 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 26 Mar 2003 05:45:24.0785 (UTC) FILETIME=[E5CD7A10:01C2F35A] X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,QUOTED_EMAIL_TEXT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >On Wed, 2003-03-26 at 00:14, Mezz bsdforums.org wrote: > > >On Tue, 2003-03-25 at 23:27, Mezz bsdforums.org wrote: > > > > >Can someone test the attached patch for the mplayer-skins choice > > > > >script? It fixes the hang when building (at least for me) inside > > > > >gnome-terminal on -CURRENT. Thanks. > > > > > > > > It looks a lot better, but sometime it will hang. I don't know, it's > > >pretty > > > > random. First time, when I patch this choice.diff, then it just >works > > >and > > > > looks perfect (better than without patch). Later, I try do it again >and > > >it > > > > just hangs. Later, it will just work fine. It's pretty weird. > > > > > > > > Right now, I am rebulding vte with the -g for debug, after rebuild > > >finish > > > > and I will do it to gnome-terminal with -g too. Then, open > > >gnome-terminal > > > > with gdb and go to multimedia/mplayer-skins. That's my plan right >now. > > > > Hopeful, it will come out something useful. > > > > > >Be careful. You can't debug gnome-terminal from withing > > >gnome-terminal. It's best to launch gdb from xterm. > > > > Yeah, I am aware of it.. Thanks for info.. :-) Anyway, I have added > > --enable-debugging and -g for vte.. -g for gnome-terminal, but gdb keeps >say > > no debug found. I decided to do "gdb `which gnome-terminal`" and it >works. I > > went to mplayer-skins and do the "make".. Whoa, I get the error msg, it >just > > keep loop like crazy! > > > > ** (gnome-terminal:63203): WARNING **: Error reading from child: Invalid > > argument. > > > > So, I did the kill -HUP and tried to do bt, but I don't get >anything > > that much. > > > > =========================== > > =========================== > > > > I would like to learn how to do the better way to debug? Any good >website or > > your advice? :-) > >You need to first build glib20, gtk20, XFree86, and libc with debugging >symbols (so to make this trace useful). Though you could probably get >away with just recompiling libc and libc_r. Hehe, ouch.... I will need to switch my personal server <-> desktop box, so I shouldn't notice the speed with the debug mode on and recompile a lot faster. On this 464Mhz machine, it's pretty noticeable. >I myself don't know of any good gdb tutorial websites. There's a good >kernel debugging section of the handbook that may still exist, though. Ok, thanks! I will check and search for it. Cheers, Mezz _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message