Closed eryngion closed 6 years ago
Could it be the reason
Could be. From code I'd expect it to throw a bunch of X error reports to a console if window->window becomes (nil), but who knows. Is there any way to make browser pass (nil) there?
I'm able to get window->window == NULL
only in windowless mode (wmode=opaque
or wmode=transparent
in Flash terms). In that mode value of window->window
is not used at all.
Also did you try to use gdb
to find out what Opera's plugin container process is doing?
Next time it freezes, try to run
gdb --pid $(pidof operapluginwrapper-native)
And then
set logging on
set pagination off
thread apply all bt
bt
in gdb
prompt. First command will enable saving output to file named gdb.txt
, in a current directory.
Two years passed. And since I can't reproduce the issue nor had a chance to get a backtrace, there is no sense in keeping the issue open. Feel free to reopen or create another (the latter option preferred).
Sometimes in Opera a page with Youtube video freezes on close and I see high CPU usage by the freshplayer process. After killing of the plugin process the page successfully closes. In the debug output I see a lot of repeating blocks like this:
And in the code it looks like NPP_SetWindow does not take into account null in window handler, however it should by the specification https://developer.mozilla.org/en-US/Add-ons/Plugins/Reference/NPP_SetWindow. Could it be the reason for my problem or am I missing something?