Unsolved Crash on navigator.plugins javascript
-
Hi,
Qt-5.7.0
Qt-WebKit-5.7.0I am using qt webkit to display webpage.
My webpage have tow or more jave script.
One of the script line: if( typeof navigator.plugins != UNDEF && typeof navigator.plugins[SHOCKWAVE_FLASH] == OBJECT)
My application crashes on navigator.plugins[SHOCKWAVE_FLASH], i dont know why.
It's happens only on centos 6.4, tested it on centos 6 or 7 and it woks well.
Please help. -
Such error may be caused by miscompilation, i.e. crashing version was built by buggy version of compiler and working versions were not. Anyway, without gdb backtrace it's hard to guess anything.
You may also want to try using https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4 in place of of QtWebKit 5.7
-
Hi,
I am not familiar with follow version.
https://github.com/annulen/webkit/releases/tag/qtwebkit-tp4
Can you give me more details about it?
Is it official version?I am working with http://www.linuxfromscratch.org/blfs/view/svn/x/qtwebkit5.html
Thx -
More details: http://qtwebkit.blogspot.com/2016/08/qtwebkit-im-back.html
This is not an official release yet, though it's used by many people as a part of several projects, and is reported to be more stable than legacy QtWebKit.
-
Thx,
Can i compile it as a original one?
(qmake && qmake install) -
It will be possible in the next release, for now you have to follow instruction [1]. Note that underlying build system has changed from qmake to cmake, so WEBKIT_CONFIG build options have different names now
[1] https://github.com/annulen/webkit/wiki/Building-QtWebKit-on-Linux