Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jan 2006 11:07:29 GMT
From:      Adi Pircalabu <apircalabu@bitdefender.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/91952: www/mplayer-plugin - 3.17 hangs in nsPluginInstance::shutdown
Message-ID:  <200601181107.k0IB7T3P085398@www.freebsd.org>
Resent-Message-ID: <200601181110.k0IBA4PJ091817@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601181107.k0IB7T3P085398>