Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Apr 2006 18:13:20 GMT
From:      Adi Pircalabu <apircalabu@bitdefender.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/95276: www/mplayer-plugin - hang in nsPluginInstance::shutdown (this=0x9454000) at Source/plugin.cpp:417 
Message-ID:  <200604031813.k33IDKU4039766@www.freebsd.org>
Resent-Message-ID: <200604031820.k33IKBWR039773@freefall.freebsd.org>

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

>Number:         95276
>Category:       ports
>Synopsis:       www/mplayer-plugin - hang in nsPluginInstance::shutdown (this=0x9454000) at Source/plugin.cpp:417
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 03 18:20:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Adi Pircalabu
>Release:        6.1-PRERELEASE
>Organization:
BitDefender
>Environment:
FreeBSD apircalabu 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #31: Mon Apr  3 12:29:09 EEST 2006     root@apircalabu:/usr/obj/usr/src/sys/GERULA  i386
>Description:
The plugin (specifically mplayerplug-in-rm.so) hangs when trying to close a pop-up window IF the connection with the streaming server is somehow problematic (e.g. tricky firewall/NAT rules)

Extras from the backtrace:

Thread 10 (Thread 0x806c000 (sleeping)):
#0  0x28aa9f0f in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#1  0x28aaa0a3 in pthread_mutexattr_init () from /usr/lib/libpthread.so.2
#2  0x28a9aea3 in pthread_join () from /usr/lib/libpthread.so.2
#3  0x2a45aba3 in nsPluginInstance::shutdown (this=0x9454000) at Source/plugin.cpp:417
#4  0x2a45b021 in nsPluginInstance::shut (this=0x9454000) at Source/plugin.cpp:379
#5  0x2a462a8c in NPP_Destroy (instance=0x812c6e0, save=0xbfbfc968) at plugingate/npp_gate.cpp:86

At Source/plugin.cpp:417 there is:
            pthread_join(player_thread, NULL);

>How-To-Repeat:
Try to open videos from news.bbc.co.uk and close the window when Ff is connecting to the stream.
>Fix:
Don't know. Apparently there is a thread to wait for, but why does it not exit is beyond me.
>Release-Note:
>Audit-Trail:
>Unformatted:



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