From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jan 18 11:10:04 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D04B316A41F for ; Wed, 18 Jan 2006 11:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 50FC543F57 for ; Wed, 18 Jan 2006 11:10:04 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0IBA4j1091818 for ; Wed, 18 Jan 2006 11:10:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0IBA4PJ091817; Wed, 18 Jan 2006 11:10:04 GMT (envelope-from gnats) Resent-Date: Wed, 18 Jan 2006 11:10:04 GMT Resent-Message-Id: <200601181110.k0IBA4PJ091817@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Adi Pircalabu Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14F8516A41F for ; Wed, 18 Jan 2006 11:07:30 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D0A3243F4C for ; Wed, 18 Jan 2006 11:07:29 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k0IB7TkS085399 for ; Wed, 18 Jan 2006 11:07:29 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k0IB7T3P085398; Wed, 18 Jan 2006 11:07:29 GMT (envelope-from nobody) Message-Id: <200601181107.k0IB7T3P085398@www.freebsd.org> Date: Wed, 18 Jan 2006 11:07:29 GMT From: Adi Pircalabu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/91952: www/mplayer-plugin - 3.17 hangs in nsPluginInstance::shutdown X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2006 11:10:05 -0000 >Number: 91952 >Category: ports >Synopsis: www/mplayer-plugin - 3.17 hangs in nsPluginInstance::shutdown >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jan 18 11:10:01 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Adi Pircalabu >Release: 6.0-STABLE >Organization: BitDefender >Environment: FreeBSD apircalabu 6.0-STABLE FreeBSD 6.0-STABLE #6: Tue Jan 17 19:09:30 EET 2006 root@apircalabu:/usr/obj/usr/src/sys/GERULA i386 >Description: Previous version (3.16) does not have this problem Reproduces on Firefox, Mozilla, Seamonkey The wmp plugin hangs (hogging CPU) when closing a window playing a wmv stream BEFORE stopping the play. Recompiling with CFLAGS+= -g I got this: (gdb) thread apply all bt Thread 7 (Thread 0x808c000 (runnable)): #0 0x28ac7e53 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 #1 0x28ac7fe7 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 #2 0x28ac5f5c in pthread_mutex_lock () from /usr/lib/libpthread.so.2 #3 0x2ad60a86 in nsPluginInstance::shutdown (this=0x9086800) at Source/plugin.cpp:390 #4 0x2ad60ef5 in nsPluginInstance::shut (this=0x9086800) at Source/plugin.cpp:360 .. .. .. (gdb) thread 7 [Switching to thread 7 (Thread 0x808c000 (runnable))]#0 0x28ac7e53 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2 (gdb) frame 3 #3 0x2ad60a86 in nsPluginInstance::shutdown (this=0x9086800) at Source/plugin.cpp:390 390 pthread_mutex_unlock(&control_mutex); >How-To-Repeat: Go to www.cnn.com, play a stream, try to close the window. You'll hang the browser >Fix: Nothing yet. I'm not a C programmer but I'm playing with some workarounds. >Release-Note: >Audit-Trail: >Unformatted: