From owner-freebsd-stable Fri Jul 21 18:32:51 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mta02-svc.ntlworld.com (mta02-svc.ntlworld.com [62.253.162.42]) by hub.freebsd.org (Postfix) with ESMTP id 45FE437B629 for ; Fri, 21 Jul 2000 18:32:45 -0700 (PDT) (envelope-from mark@ukug.uk.freebsd.org) Received: from parish.my.domain ([62.253.84.3]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20000721235117.MTFZ26680.mta01-svc.ntlworld.com@parish.my.domain>; Sat, 22 Jul 2000 00:51:17 +0100 Received: (from mark@localhost) by parish.my.domain (8.9.3/8.9.3) id TAA01678; Fri, 21 Jul 2000 19:37:26 +0100 (BST) (envelope-from mark) Date: Fri, 21 Jul 2000 19:37:26 +0100 From: Mark Ovens To: Maxime Henrion Cc: freebsd-stable@freebsd.org Subject: Re: xmms 1.2.2 doesn'n work anymore with FreeBSD 4.1-RC Message-ID: <20000721193726.A241@parish> References: <200007151057.DAA02548@gnuppy.monkey.org> <20000720213529.A19436@parish> <3977F3C9.9EA397AF@cybercable.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <3977F3C9.9EA397AF@cybercable.fr>; from mhenrion@cybercable.fr on Fri, Jul 21, 2000 at 08:55:05AM +0200 Organization: Total lack of Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jul 21, 2000 at 08:55:05AM +0200, Maxime Henrion wrote: > I realized that the problem occured only when esd was running. After > killing esd, xmms works fine ! > Glad you got it working, but I don't (knowingly) run esd. Hmm... > Maxime Henrion > > Mark Ovens wrote: > > > 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 > > > > 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