Date: Wed, 26 Mar 2003 00:45:24 -0500 From: "Mezz bsdforums.org" <reigncracks@hotmail.com> To: gnome@freebsd.org Subject: Re: Patch to fix hang in mplayer-skins Message-ID: <F44oO1VQ1DuTrNksglY00008334@hotmail.com>
next in thread | raw e-mail | index | archive | help
>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 <pid> and tried to do bt, but I don't get >anything > > that much. > > > > =========================== <snip> > > =========================== > > > > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F44oO1VQ1DuTrNksglY00008334>