From owner-freebsd-amd64@FreeBSD.ORG Wed Oct 26 14:09:56 2005 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 83C7A16A41F for ; Wed, 26 Oct 2005 14:09:56 +0000 (GMT) (envelope-from kp@west-call.com) Received: from r3.mxs.WestCall.Ru (r3.mxs.WestCall.Ru [195.94.224.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEA8B43D6E for ; Wed, 26 Oct 2005 14:09:55 +0000 (GMT) (envelope-from kp@west-call.com) Received: from rumata.west-call.com (rumata.west-call.com [195.94.224.203]) (authenticated as kp bits=0) by r3.mxs.WestCall.Ru (8.12.7-V/8.12.5-V) with ESMTP id j9QE9rMu096346 for ; Wed, 26 Oct 2005 18:09:53 +0400 (MSD) Date: Wed, 26 Oct 2005 18:09:55 +0400 From: Pavel Kovalenko To: freebsd-amd64@freebsd.org Message-Id: <20051026180955.2cdda6f7.kp@west-call.com> Organization: west-call X-Mailer: Sylpheed version 1.0.5 (GTK+ 1.2.10; amd64-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Spinlock problem in 7.0-CURRENT amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 14:09:56 -0000 I cvsuped last week, and since then I've installed mplayer from the ports, I receive following error: >mplayer KVN_Vinni_puh.mp3 Fatal error 'Spinlock called when not threaded.' at line 87 in file /usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0) Abort (core dumped) >gdb mplayer -core=mplayer.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols found)... Core was generated by `mplayer'. Program terminated with signal 6, Aborted. #0 0x000000080412023c in kill () from /lib/libc.so.6 [New LWP 100163] (gdb) backtrace #0 0x000000080412023c in kill () from /lib/libc.so.6 #1 0x000000080389549d in raise () from /usr/lib/libpthread.so.2 #2 0x000000080411f10c in abort () from /lib/libc.so.6 #3 0x00000008038ac4d8 in pthread_testcancel () from /usr/lib/libpthread.so.2 #4 0x00000008038989e8 in _spinlock () from /usr/lib/libpthread.so.2 #5 0x0000000803898a39 in _spinlock_debug () from /usr/lib/libpthread.so.2 #6 0x00000008048d00ff in _thread_fd_table_init () from /usr/lib/libc_r.so.5 #7 0x00000008048ce6f1 in _thread_init () from /usr/lib/libc_r.so.5 #8 0x00000008048c4179 in _thread_init_hack () from /usr/lib/libc_r.so.5 #9 0x00000008048d13c2 in _find_thread () from /usr/lib/libc_r.so.5 #10 0x00000008048c092e in _init () from /usr/lib/libc_r.so.5 #11 0x0000000804f5be62 in _init () from /usr/local/lib/compat/pkg/libintl.so.5 #12 0x0000000800b0a8ca in find_symdef () from /libexec/ld-elf.so.1 #13 0x0000000800b09499 in _rtld () from /libexec/ld-elf.so.1 #14 0x0000000800b08789 in .rtld_start () from /libexec/ld-elf.so.1 #15 0x0000000000000000 in ?? () #16 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () ... etc. after googling the problem, I've try to add this in /etc/libmap.conf: libc_r.so.6 libpthread.so.2 libc_r.so.5 libpthread.so.1 libc_r.so libpthread.so and try again: >mplayer KVN_Vinni_puh.mp3 MPlayer 1.0pre7try2-3.4.4 (C) 2000-2005 MPlayer Team CPU: Advanced Micro Devices (Family: 8, Stepping: 0) Detected cache-line size is 64 bytes CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1 Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2 Playing KVN_Vinni_puh.mp3. XMMS: found plugin: libcdaudio.so (CD Audio Player 1.2.10) XMMS: found plugin: libmpg123.so (MPEG Layer 1/2/3 Player 1.2.10) XMMS: found plugin: libtonegen.so (Tone Generator 1.2.10) XMMS: found plugin: libwav.so (Wave Player 1.2.10) XMMS: found plugin: libmikmod.so (MikMod Player 1.2.10) XMMS: found plugin: libvorbis.so (Ogg Vorbis Player 1.2.10) Waiting for the XMMS plugin to start playback of 'KVN_Vinni_puh.mp3'... Audio file detected. ========================================================================== Opening audio decoder: [pcm] Uncompressed PCM audio decoder AUDIO: 44100 Hz, 2 ch, s16le, 1411.2 kbit/100.00% (ratio: 176400->176400) Selected audio codec: [pcm] afm:pcm (Uncompressed PCM) ========================================================================== Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... AF_pre: 44100Hz/2ch/s16le AO: [oss] 44100Hz 2ch s16le (2 bps) Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le... Video: no video Starting playback... A: 1.9 (01.8) 8.5% Fatal error 'kse_exit() failed for system scope thread' at line 1215 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 22) I've googled again, but hasn't found any suitable solution. Is there any way to solve this problem? mplayer for FreeBSD 5_4 i386 works fine. Any help greatly appreciated... -- Cheers, Pavel.