Date: Thu, 20 Jul 2000 21:35:29 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Bill Huey <billh@gnuppy.monkey.org> Cc: freebsd-stable@freebsd.org Subject: Re: xmms 1.2.2 doesn'n work anymore with FreeBSD 4.1-RC Message-ID: <20000720213529.A19436@parish> In-Reply-To: <200007151057.DAA02548@gnuppy.monkey.org>; from billh@gnuppy.monkey.org on Sat, Jul 15, 2000 at 03:57:40AM -0700 References: <200007151057.DAA02548@gnuppy.monkey.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 15, 2000 at 03:57:40AM -0700, Bill Huey wrote:
>
>
> This problem is persistent across reboots.
>
> And I've had report after I've done a kill -9 on the child process
> in GDB that it's doing some sleep in nanosleep().
>
> I don't know if there's a kernel threading deadlock or what.
>
> Looks like it might be a problem with LinuxThreads ?
>
Whatever it was it's fixed now (cvsup'd 20/7 @ 18:30 BST).
> bill
>
> ===============================================
>
> (gdb) run
> Starting program: /usr/local/bin/xmms
>
> Gdk-WARNING **: locale not supported by Xlib, locale set to C
>
> Program received signal SIGKILL, Killed.
> 0x283e2578 in _thread_sys_poll () from /usr/lib/libc_r.so.4
> (gdb) list
> 3160 }
> 3161
> 3162 #endif
> 3163
> 3164
> 3165 int main(int argc, char **argv)
> 3166 {
> 3167 gchar *filename;
> 3168 gint i;
> 3169 gboolean have_display = FALSE;
> (gdb) bt
> #0 0x283e2578 in _thread_sys_poll () from /usr/lib/libc_r.so.4
> #1 0x283dafc3 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4
> #2 0x283da6ae in _thread_kern_sched () from /usr/lib/libc_r.so.4
> #3 0x283daad2 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
> #4 0x283d80e5 in _read () from /usr/lib/libc_r.so.4
> #5 0x283d815e in read () from /usr/lib/libc_r.so.4
> #6 0x28455b95 in remote_read_packet (fd=10, pkt_hdr=0xbfbff2fc)
> at xmmsctrl.c:38
> #7 0x28455bee in remote_read_ack (fd=10) at xmmsctrl.c:54
> #8 0x28455e17 in remote_cmd (session=0, cmd=31) at xmmsctrl.c:123
> #9 0x28456c04 in xmms_remote_is_running () at xmmsctrl.c:190
> #10 0x8066847 in setup_ctrlsocket () at controlsocket.c:63
> #11 0x8057361 in _start ()
> (gdb) up
> #1 0x283dafc3 in _thread_kern_sched_state_unlock () from /usr/lib/libc_r.so.4
> (gdb) list
> 3170 #ifdef HAVE_SCHED_SETSCHEDULER
> 3171 struct sched_param sparam;
> 3172
> 3173 #endif
> 3174
> 3175 #ifdef ENABLE_NLS
> 3176 setlocale(LC_ALL,"");
> 3177 bindtextdomain(PACKAGE, LOCALEDIR);
> 3178 textdomain(PACKAGE);
> 3179 #endif
> (gdb) up
> #2 0x283da6ae in _thread_kern_sched () from /usr/lib/libc_r.so.4
> (gdb) list
> 3180
> 3181 signal(SIGSEGV, segfault_handler);
> 3182 g_thread_init(NULL);
> 3183 if (!g_thread_supported())
> 3184 {
> 3185 printf(_("Sorry, threads isn't supported on your platfor
> m.\n\n"
> 3186 "If you're on a libc5 based linux system and inst
> alled GLIB & GTK+ before you\n"
> 3187 "installed LinuxThreads you need to recompile GLI
> B & GTK+\n"));
> 3188 exit(1);
> 3189 }
> (gdb) up
> #3 0x283daad2 in _thread_kern_sched_state () from /usr/lib/libc_r.so.4
> (gdb) list
> 3190
> 3191 srand(time(NULL));
> 3192
> 3193 read_config();
> 3194
> 3195 /* This stuff just got rather messy */
> 3196 if(getenv("DISPLAY") && strlen(getenv("DISPLAY")) != 0)
> 3197 have_display = TRUE;
> 3198 for(i = 1; i < argc; i++)
> 3199 {
> (gdb) up
> #4 0x283d80e5 in _read () from /usr/lib/libc_r.so.4
> (gdb) list
> 3200 if(!strcmp(argv[i], "--display"))
> 3201 have_display = TRUE;
> 3202 }
> 3203 if(!have_display)
> 3204 {
> 3205 setreuid(getuid(), getuid());
> 3206 parse_cmd_line(argc, argv, TRUE);
> 3207 exit(0);
> 3208 }
> 3209
>
> ==================================================
>
> bill
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-stable" in the body of the message
--
If I buy a copy of WinDelete, and it doesn't delete Windows,
am I entitled to my money back?
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:marko@freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000720213529.A19436>
