Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 404197

Summary: [browser] DEBUG: NP_Initialize messages when following a hyperlink to Egit Users Guide from the Welcome Intro
Product: [Eclipse Project] Platform Reporter: Martin Oberhuber <mober.at+eclipse>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, ericwill, grant_gayed
Version: 4.3Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:

Description Martin Oberhuber CLA 2013-03-22 19:04:27 EDT
Build ID: Eclipse SDK 4.3m6 on RHEL 6.2 64-bit / GTK / Webkit / Oracle 6u43

Steps to Reproduce:
1. Download and install Eclipse SDK-4.3m6-linux-gtk-x86_64
2. Launch and install egit from http://download.eclipse.org/egit/updates
3. Restart, choose Help > Welcome
4. On the "Overview" welcome page, click the "Git" link
--> It navigates to an EGit Wiki page
--> Following debug messages are printed to stdout:

** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
** (Eclipse:21071): DEBUG: NP_Initialize
** (Eclipse:21071): DEBUG: NP_Initialize succeeded
*** NSPlugin Wrapper *** WARNING:(../src/npw-wrapper.c:3160):invoke_NP_Initialize: assertion failed:


Expectation is that no messages are printed to stdout. 
Additional information:
$ rpm -qa | grep -i webkit
pywebkitgtk-1.1.6-3.el6.x86_64
webkitgtk-1.2.6-2.el6_0.x86_64
$ cat /etc/redhat-release 
Red Hat Enterprise Linux Workstation release 6.3 (Santiago)
$ rpm -qa | grep -i gtk
libcanberra-gtk2-0.22-1.el6.x86_64
gtk2-engines-2.18.4-5.el6.x86_64
xdg-user-dirs-gtk-0.8-7.el6.x86_64
gtk2-2.18.9-10.el6.x86_64
ibus-gtk-1.3.4-6.el6.x86_64
pywebkitgtk-1.1.6-3.el6.x86_64
python-slip-gtk-0.2.20-1.el6_2.noarch
gtkhtml3-3.28.3-3.el6.x86_64
libreport-gtk-2.0.9-5.el6_3.2.x86_64
gtkmm24-2.18.2-1.el6.x86_64
gtksourceview2-2.8.2-4.el6.x86_64
pygtk2-2.16.0-3.el6.x86_64
GConf2-gtk-2.28.0-6.el6.x86_64
gtk2-immodule-xim-2.18.9-10.el6.x86_64
webkitgtk-1.2.6-2.el6_0.x86_64
gtkspell-2.0.16-1.el6.x86_64
usermode-gtk-1.102-3.el6.x86_64
PackageKit-gtk-module-0.5.8-20.el6.x86_64
pygtk2-libglade-2.16.0-3.el6.x86_64
pinentry-gtk-0.7.6-6.el6.x86_64
PackageKit-gtk-module-0.5.8-20.el6.i686
gtk2-2.18.9-10.el6.i686
authconfig-gtk-6.1.12-10.el6.x86_64
gtk2-engines-2.18.4-5.el6.i686
pygtksourceview-2.8.0-1.el6.x86_64
Comment 1 Arun Thondapu CLA 2013-03-25 05:13:37 EDT
I tried this on Ubuntu Linux 12.04 x86_64 with the most recent 4.3 I-build (I20130319-1000) and I don't see any of these debug messages on the terminal. Which version of EGit are you using? (I have 2.3.1). If you're not on the latest, can you please update and try again?
Comment 2 Martin Oberhuber CLA 2013-03-25 05:57:50 EDT
This was with the latest egit (2.3.1).

Could you perhaps try with the milestone ? - If you see the issue with the milestone but not with the I-Build we can probably consider this fixed. 
If you don't see it with the milestone, check your installed version of webkit:
$ rpm -qa | grep -i webkit
Comment 3 Arun Thondapu CLA 2013-03-25 08:46:03 EDT
(In reply to comment #2)
> Could you perhaps try with the milestone ?

I tried with the M6 build now and I still don't see the problem. The webkit version I have is 1.8.3 (webkit for GTK 3). Are you running with GTK 2 or GTK 3? Can you try both and see if there is any difference in behavior?
Comment 4 Martin Oberhuber CLA 2013-03-25 10:01:06 EDT
As per the RPM output on comment 0 I'm pretty sure I have gtk2 , and I have no idea how I could try this on gtk3.

Anyways this should work on gtk2 too, shouldn't it, so perhaps you should try on gtk2 ?
Comment 5 Arun Thondapu CLA 2013-03-26 06:11:11 EDT
It does work with GTK 2 for me but I realized that it doesn't really matter which GTK you are running with anyway. The Webkit library that is used is the same for both.

So I'm still not sure why you are seeing these debug messages. It could be something specific in the RHEL version you are using... do you have any other Linux version or distro that you can test with to confirm?
Comment 6 Eric Williams CLA 2018-06-29 15:42:56 EDT
Webkit1 is gone, please reopen this ticket if you experience the issue on 4.8, GTK3.22, and Webkit2.