[Webkit-unassigned] [Bug 56552] [Qt] When NSplugins are enabled there is a stack corruption on linux

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Mar 17 05:12:07 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=56552


pvbrowser <lehrig at t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|QtTriaged                   |
           Severity|Enhancement                 |Major
           Priority|P5                          |P2




--- Comment #6 from pvbrowser <lehrig at t-online.de>  2011-03-17 05:12:07 PST ---
(In reply to comment #5)
> And what is the problem? Crash or just the valgrind output?
> Because the output from valgrind is very likely just the result of JITed code.
See this output:

/usr/src/packages/BUILD/icedtea6-1.9.7/plugin/icedteanp/IcedTeaNPPlugin.cc:1978: thread 0xbe2e8a0: Error: Invalid plugin function table.
==23310== Warning: invalid file descriptor 1024 in syscall close()
==23310== Warning: invalid file descriptor 1025 in syscall close()
==23310== Warning: invalid file descriptor 1026 in syscall close()
==23310==    Use --log-fd=<number> to select an alternative log fd.
==23310== Warning: invalid file descriptor 1027 in syscall close()
==23310== Warning: invalid file descriptor 1028 in syscall close()
==23348== Warning: invalid file descriptor 1024 in syscall close()
==23348== Warning: invalid file descriptor 1025 in syscall close()
==23348== Warning: invalid file descriptor 1026 in syscall close()
==23348==    Use --log-fd=<number> to select an alternative log fd.
==23348== Warning: invalid file descriptor 1027 in syscall close()
==23348== Warning: invalid file descriptor 1028 in syscall close()
*** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
<snip>
*** NSPlugin Wrapper *** WARNING: unhandled variable 18 in NPP_GetValue()

Obviously there is a problem with NSPlugin.
When this occures in our application the application behaves strange afterwards because unhandled assertion results in a stack corruption.

These messages should NOT appear.
Even when i run plugintest without valgrind i get:
me at mybox:~/temp/murx2> ./plugintest 
/usr/src/packages/BUILD/icedtea6-1.9.7/plugin/icedteanp/IcedTeaNPPlugin.cc:1978: thread 0x608110: Error: Invalid plugin function table.
*** NSPlugin Wrapper *** WARNING:(/usr/src/packages/BUILD/nspluginwrapper-1.3.0/src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed: (rpc_method_invoke_possible(g_rpc_connection))
*** NSPlugin Viewer  *** WARNING: unhandled variable 18 (<unknown variable>) in NPN_GetValue()
*** NSPlugin Wrapper *** WARNING: unhandled variable 18 in NPP_GetValue()
me at mybox:~/temp/murx2>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list