Date: Wed, 26 Mar 2003 00:14:54 -0500 From: "Mezz bsdforums.org" <reigncracks@hotmail.com> To: gnome@freebsd.org Subject: Re: Patch to fix hang in mplayer-skins Message-ID: <F44BU98l7jOxJ5pqn9i00008225@hotmail.com>
next in thread | raw e-mail | index | archive | help
>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. =========================== (gdb) bt #0 0x28c5d903 in write () from /usr/lib/libc.so.5 #1 0x288c9a6f in _write () from /usr/lib/libc_r.so.5 #2 0x288c9bb5 in write () from /usr/lib/libc_r.so.5 #3 0x28120a00 in _X11TransSocketWrite () from /usr/X11R6/lib/libX11.so.6 #4 0x2812161f in _X11TransWrite () from /usr/X11R6/lib/libX11.so.6 #5 0x28100fc4 in _XFlushInt () from /usr/X11R6/lib/libX11.so.6 #6 0x281024c9 in _XReply () from /usr/X11R6/lib/libX11.so.6 #7 0x280fdb92 in XSync () from /usr/X11R6/lib/libX11.so.6 #8 0x286924a5 in gdk_flush () from /usr/X11R6/lib/libgdk-x11-2.0.so.200 #9 0x28681a88 in gdk_window_process_all_updates () from /usr/X11R6/lib/libgdk-x11-2.0.so.200 #10 0x28681ad5 in gdk_window_process_all_updates () from /usr/X11R6/lib/libgdk-x11-2.0.so.200 #11 0x289bdc1a in g_idle_dispatch () from /usr/local/lib/libglib-2.0.so.200 #12 0x289bb1cc in g_main_dispatch () from /usr/local/lib/libglib-2.0.so.200 #13 0x289bbfda in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.200 #14 0x289bc39d in g_main_context_iterate () from /usr/local/lib/libglib-2.0.so.200 #15 0x289bcb41 in g_main_loop_run () from /usr/local/lib/libglib-2.0.so.200 #16 0x284d5a27 in gtk_main () from /usr/X11R6/lib/libgtk-x11-2.0.so.200 #17 0x0805e9b2 in main () #18 0x080576e5 in _start () =========================== I would like to learn how to do the better way to debug? Any good website or your advice? :-) Cheers, Mezz _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus 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?F44BU98l7jOxJ5pqn9i00008225>