[Bug 635365] New: icedtea update broke java from firefox - bogus java path
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c0 Summary: icedtea update broke java from firefox - bogus java path Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: i686 OS/Version: openSUSE 11.3 Status: NEW Severity: Normal Priority: P5 - None Component: Java AssignedTo: bnc-team-java@forge.provo.novell.com ReportedBy: nrickert@ameritech.net QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 SUSE/3.6.8-0.1.1 Firefox/3.6.8 After the recent update, firefox gave an error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" As a temp workaround, I created a symlink for java in "/bin" I am using the following link, which loads a java applet: http://www.nytimes.com/ref/crosswords/sudoku/medium.html With the temp workaround listed, if I look at the process list I see to java related processes: rickert 5862 1.6 3.0 719432 61536 ? Sl 08:45 0:04 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/i386/../../bin/java sun.applet.PluginMain /tmp/icedteaplugin-rickert/5856-icedteanp-plugin-to-appletviewer /tmp/icedteaplugin-rickert/5856-icedteanp-appletviewer-to-plugin rickert 6067 13.0 3.1 721268 62528 ? Sl 08:50 0:04 /etc/alternatives/../../bin/java sun.applet.PluginMain /tmp/icedteaplugin-rickert/6052-icedteanp-plugin-to-appletviewer /tmp/icedteaplugin-rickert/6052-icedteanp-appletviewer-to-plugin The second of those process is using the bogus path. Loading the same url in opera, I instead see processes: rickert 5856 0.1 0.3 51952 6760 ? Sl 08:45 0:00 /usr/lib/opera//operapluginwrapper 49 55 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/i386/IcedTeaPlugin.so rickert 5862 6.0 3.0 719432 61536 ? Sl 08:45 0:04 /usr/lib/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/i386/../../bin/java sun.applet.PluginMain /tmp/icedteaplugin-rickert/5856-icedteanp-plugin-to-appletviewer /tmp/icedteaplugin-rickert/5856-icedteanp-appletviewer-to-plugin The paths look fine from opera, but wrong from firefox. Here are what look to be a couple of the logs for the patch install (to help identify which update): 2010-08-26 10:48:10 <1> nwr2(3524) [zypp] SATResolver.cc(resolvePool):699 Install UBTu_(11628)patch:java-1_6_0-openjdk-3003.noarch(Updates for openSUSE 11.3 11.3-1.82) 2010-08-26 10:48:10 <1> nwr2(3524) [satsolver] PoolImpl.cc(logSat):94 job: install patch:java-1_6_0-openjdk-3003.noarch Reproducible: Always Steps to Reproduce: 1. Load a java page in firefox, such as: http://www.nytimes.com/ref/crosswords/sudoku/medium.html 2. 3. Actual Results: An error was reported: 1. ERROR: Invalid browser function table. Some functionality may be restricted. 2. /usr/src/packages/BUILD/icedtea6-1.8.1/plugin/icedteanp/IcedTeaNPPlugin.cc:1506: thread 0x80940c0: Error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" (No such file or directory) (note: that is before I did the temporary work around). Expected Results: The java applet should have loaded. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c1 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |mvyskocil@novell.com InfoProvider| |nrickert@ameritech.net --- Comment #1 from Michal Vyskocil <mvyskocil@novell.com> 2010-08-31 11:58:42 UTC --- Can you post the output of /usr/sbin/update-alternatives --display java? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c2 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|nrickert@ameritech.net | --- Comment #2 from Neil Rickert <nrickert@ameritech.net> 2010-08-31 17:47:31 UTC --- Output from: /usr/sbin/update-alternatives --display # /usr/sbin/update-alternatives --display java java - status is auto. link currently points to /usr/lib/jvm/jre-1.6.0-openjdk/bin/java /usr/lib/jvm/jre-1.6.0-openjdk/bin/java - priority 17105 slave keytool.1.gz: /usr/share/man/man1/keytool-java-1.6.0-openjdk.1.gz slave rmid.1.gz: /usr/share/man/man1/rmid-java-1.6.0-openjdk.1.gz slave orbd.1.gz: /usr/share/man/man1/orbd-java-1.6.0-openjdk.1.gz slave rmid: /usr/lib/jvm/jre-1.6.0-openjdk/bin/rmid slave unpack200.1.gz: /usr/share/man/man1/unpack200-java-1.6.0-openjdk.1.gz slave unpack200: /usr/lib/jvm/jre-1.6.0-openjdk/bin/unpack200 slave servertool.1.gz: /usr/share/man/man1/servertool-java-1.6.0-openjdk.1.gz slave pack200.1.gz: /usr/share/man/man1/pack200-java-1.6.0-openjdk.1.gz slave jre_exports: /usr/lib/jvm-exports/jre-1.6.0-openjdk slave javaws: /usr/lib/jvm/jre-1.6.0-openjdk/bin/javaws slave policytool: /usr/lib/jvm/jre-1.6.0-openjdk/bin/policytool slave orbd: /usr/lib/jvm/jre-1.6.0-openjdk/bin/orbd slave rmiregistry: /usr/lib/jvm/jre-1.6.0-openjdk/bin/rmiregistry slave tnameserv: /usr/lib/jvm/jre-1.6.0-openjdk/bin/tnameserv slave rmiregistry.1.gz: /usr/share/man/man1/rmiregistry-java-1.6.0-openjdk.1.gz slave pack200: /usr/lib/jvm/jre-1.6.0-openjdk/bin/pack200 slave tnameserv.1.gz: /usr/share/man/man1/tnameserv-java-1.6.0-openjdk.1.gz slave keytool: /usr/lib/jvm/jre-1.6.0-openjdk/bin/keytool slave servertool: /usr/lib/jvm/jre-1.6.0-openjdk/bin/servertool slave java.1.gz: /usr/share/man/man1/java-java-1.6.0-openjdk.1.gz slave jre: /usr/lib/jvm/jre-1.6.0-openjdk slave policytool.1.gz: /usr/share/man/man1/policytool-java-1.6.0-openjdk.1.gz Current `best' version is /usr/lib/jvm/jre-1.6.0-openjdk/bin/java. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c3 --- Comment #3 from Neil Rickert <nrickert@ameritech.net> 2010-09-03 04:46:28 UTC --- An additional datapoint. I installed 11.3 on another system recently. On that system, the bug is not showing up. One possible guess - on this new system, the firefox patch to 3.6.8 was applied after the icedtea patch. On the two systems that do show the problem, the firefox update was applied before the icedtea update. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c4 --- Comment #4 from Michal Vyskocil <mvyskocil@novell.com> 2010-09-13 13:46:45 UTC --- (In reply to comment #3)
One possible guess - on this new system, the firefox patch to 3.6.8 was applied after the icedtea patch. On the two systems that do show the problem, the firefox update was applied before the icedtea update.
This might not make a difference, because Firefox does not do anything with alternatives system. After installation of java-1_6_0-openjdk-plugin package the /usr/lib/browser-plugins/javaplugin.so Just for sure: /usr/sbin/update-alternatives --display javaplugin might show a similar output javaplugin - status is auto. link currently points to /usr/lib64/jvm/jre-1.6.0-openjdk/lib/amd64/IcedTeaPlugin.so /usr/lib64/jvm/jre-1.6.0-openjdk/lib/amd64/IcedTeaPlugin.so - priority 17105 Current `best' version is /usr/lib64/jvm/jre-1.6.0-openjdk/lib/amd64/IcedTeaPlugin.so. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c5 --- Comment #5 from Neil Rickert <nrickert@ameritech.net> 2010-09-14 12:48:52 UTC --- As far as I can tell, the alternatives system is fine. The output from "/usr/sbin/update-alternatives --display javaplugin" is identical on a system with the bug and a system without the bug. My best guess is that there is some auxilliary data somewhere that firefox uses, and that contains a bad path. But I haven't been able to find that. I am assuming that firefox will update to 3.6.9 sometime soon. Then it will be interesting to see whether that firefox update fixes the problem on the affected system. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c6 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |NEEDINFO InfoProvider| |wolfgang@rosenauer.org --- Comment #6 from Michal Vyskocil <mvyskocil@novell.com> 2010-09-14 13:30:38 UTC --- Hi Wolfgang, does the error in comment#0 sounds familiar to you? As far as I can tell, there's no problem in openjdk installation. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c7 --- Comment #7 from Neil Rickert <nrickert@ameritech.net> 2010-10-01 02:00:57 UTC --- The bug seems to have vanished. Presumably, another opensuse update fixed the problem. I regret that I wasn't checking carefully enough to be sure what fixed it. I did check after the firefox update to 3.6.10. The bug appeared to still be there at that time, though I did not keep any records so it is possible that I misread what I was seeing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c8 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|wolfgang@rosenauer.org |nrickert@ameritech.net --- Comment #8 from Michal Vyskocil <mvyskocil@novell.com> 2010-10-01 09:01:18 UTC --- So the bug is gone after the last update, right? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c9 --- Comment #9 from Neil Rickert <nrickert@ameritech.net> 2010-10-01 19:20:28 UTC --- Yes, it is gone. I am not sure which update fixed it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c10 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|nrickert@ameritech.net | Resolution| |WORKSFORME --- Comment #10 from Michal Vyskocil <mvyskocil@novell.com> 2010-10-04 09:36:23 UTC --- ok, so let's close that -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c11 Neil Rickert <nrickert@ameritech.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | --- Comment #11 from Neil Rickert <nrickert@ameritech.net> 2010-12-04 16:27:02 UTC --- This bug is back. There was a security update to icedtea, applied this morning. And since that update, I am seeing the same problem. ERROR: Invalid browser function table. Some functionality may be restricted. /usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc:1506: thread 0x8093bf8: Error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" (No such file or directory) It is looking like an update interaction problem. An update to icedtea breaks it. A subsequent update to firefox fixes it again. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c12 --- Comment #12 from Petr Cerny <pcerny@novell.com> 2010-12-06 15:21:10 UTC --- The path of IcedTeaNPPlugin.cc is quite strange. Michal: any idea whether this value is hardwired into the plugin during compilation? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c13 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P4 - Low |P2 - High Status|REOPENED |ASSIGNED --- Comment #13 from Michal Vyskocil <mvyskocil@novell.com> 2010-12-06 15:56:30 UTC --- The code on IcedTeaNPPlugin.cc:1506 contains 1505 PLUGIN_ERROR_TWO ("Failed to spawn applet viewer", 1506 channel_error->message); and 81 #define PLUGIN_ERROR_TWO(first, second) \ 82 g_printerr ("%s:%d: thread %p: Error: %s: %s\n", __FILE__, __LINE__, \ 83 g_thread_self (), first, second) so /usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc is expanded __FILE__ macro. That means this is a cosmetics, because this file is built with -c <absolute_path> Will need to review a code path above. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c14 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |nrickert@ameritech.net --- Comment #14 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-10 14:28:54 UTC --- (In reply to comment #11)
This bug is back.
There was a security update to icedtea, applied this morning. And since that update, I am seeing the same problem.
ERROR: Invalid browser function table. Some functionality may be restricted. /usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc:1506: thread 0x8093bf8: Error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" (No such file or directory)
Neil, do you have a full error log? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c15 --- Comment #15 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-10 14:32:01 UTC --- BTW: The ICEDTEA_PLUGIN=true firefox will create more verbose log. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c16 --- Comment #16 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-10 15:10:26 UTC --- To keep a track - this is the code in IcedTeaNPPlugin.c/NP_Initialize 2136 Dl_info info; 2137 int filename_size; 2138 if (dladdr ((const void*) ITNP_New, &info) == 0) 2145 filename = (gchar*) malloc(sizeof(gchar)*1024); 2146 filename_size = readlink(info.dli_fname, filename, 1023); 2165 appletviewer_executable = g_strdup_printf ("%s/../../bin/java", 2166 dirname (filename)); 2167 PLUGIN_DEBUG(".so is located at: %s and the link points to: %s. Executing java from dir %s to run %s\n", info.dli_fname, filename, dirname (filename), appletviewer_executabl 2168 2175 np_error = plugin_test_appletviewer (); 2176 if (np_error != NPERR_NO_ERROR) 2177 { 2178 plugin_display_failure_dialog (); 2179 goto cleanup_appletviewer_executable; 2180 } 2181 g_free (filename); The path is extracted from dladdr's result in info.dli_fname and it's checked if it's not a symlink by readlink function. The appletviewer_executable is made from "%s/../../bin/java". The point is in some cases dlarrd returns a path with /etc/alternatives/ from unknown reason. I was not successful to reproduce it, because there are few problems. One is that I don't know what is the ITNP_New used in dladdr call and how it's constructed. For future I plan add more debug prints to be able debug it more, but know don't have an idea. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c17 --- Comment #17 from Neil Rickert <nrickert@ameritech.net> 2011-01-11 00:33:38 UTC --- The full log doesn't say much more than I posted previously. I set ICEDTEA_PLUGIN=true in the environment (I think that is what you intended), and I ran "firefox -g". % firefox -g -P open *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). ERROR: Invalid browser function table. Some functionality may be restricted. /usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc:1506: thread 0x8093bf8: Error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" (No such file or directory) *** NSPlugin Wrapper *** ERROR: NP_Initialize() wait for reply: Message timeout ERROR: Invalid browser function table. Some functionality may be restricted. /usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc:1506: thread 0x8093bf8: Error: Failed to spawn applet viewer: Failed to execute child process "/etc/alternatives/../../bin/java" (No such file or directory) (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead (<unknown>:16809): Gdk-WARNING **: XID collision, trouble ahead NOTE: child process received `Goodbye', closing down /usr/lib/firefox/firefox: symbol lookup error: /usr/lib/libkdecore.so.5: undefined symbol: _ZN9QListData6removeEi **** That's it. The web page I used was "http://www.nytimes.com/ref/crosswords/sudoku/medium.html". If I use opera for that web page, everything works fine and the correct java path is used. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c18 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfgang@rosenauer.org --- Comment #18 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-11 09:24:11 UTC --- (In reply to comment #17)
The full log doesn't say much more than I posted previously. I set ICEDTEA_PLUGIN=true in the environment (I think that is what you intended), and I ran "firefox -g".
No, that's not correct. You have to type ICEDTEA_PLUGIN=true firefox -g or export ICEDTEA_PLUGIN=true firefox -g
% firefox -g -P open *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). ERROR: Invalid browser function table. Some functionality may be restricted. /usr/src/packages/BUILD/icedtea6-1.9.2/plugin/icedteanp/IcedTeaNPPlugin.cc:1506:
That seems to me like Firefox, not IcedTeaPlugin bug. From sources 1950 NPError 1951 NP_Initialize (NPNetscapeFuncs* browserTable, NPPluginFuncs* pluginTable) 1952 { 1953 PLUGIN_DEBUG ("NP_Initialize\n"); 1983 // Ensure that the browser function table is large enough to store 1984 // the number of browser functions that we may use. 1985 if (browserTable->size < sizeof (NPNetscapeFuncs)) 1986 { 1987 fprintf (stderr, "ERROR: Invalid browser function table. Some functionality may be restricted.\n"); 1988 } NP_Initialize is Firefox API and is called by browser. It might be caused by mismatch of xulrunner versions used for build of IcedTea plugin and MozillaFirefox. Wolfgang, Petr: I'm right? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c19 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- InfoProvider|nrickert@ameritech.net |wolfgang@rosenauer.org --- Comment #19 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-11 09:25:03 UTC --- use correct NEEDINFO -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c20 Wolfgang Rosenauer <wolfgang@rosenauer.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED InfoProvider|wolfgang@rosenauer.org | --- Comment #20 from Wolfgang Rosenauer <wolfgang@rosenauer.org> 2011-01-11 09:54:13 UTC --- Ok, let me summarize a bit: "IcedTeaPlugin always seems to fail after an update until the next Firefox update arrives." - Technically that could happen if Firefox is already in the buildsystem and therefore icedtea is built against the latest xulrunner while xulrunner itself is not yet publicly available. The NPNetscapeFuncs shouldn't change within a version for patch level updates but probably something changes which makes it look so? Anyway this _should_ not be a critical error as it also says "Some functionality may be restricted". But there might be another thing which actually triggers the error. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c21 Petr Cerny <pcerny@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO InfoProvider| |nrickert@ameritech.net --- Comment #21 from Petr Cerny <pcerny@novell.com> 2011-01-11 10:13:25 UTC --- Neil, could you please remove MozillaFirefox and mozilla-xulrunner and installing these again? Ideally the same versions as those removed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c22 --- Comment #22 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-11 14:36:45 UTC --- Created an attachment (id=407783) --> (http://bugzilla.novell.com/attachment.cgi?id=407783) readlink_recursive patch After short talk with Wolfgang we both agreed the Invalid browser function table is not the issue. The bogus path seems be caused by simple fact 1.) Firefox calls dlopen /usr/lib64/browser-plugins/javaplugin.so 2.) info.dli_fname is /usr/lib64/browser-plugins/javaplugin.so 3.) readlink(info.dli_fname, filename) stores /etc/alternatives/javaplugin into filename 4.) appletviewer_executable = g_strdup_printf ("%s/../../bin/java", dirname (filename)) results to /etc/alternatives/../../bin/java The question is how it was possible have this code working, that ain't work in any case! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c23 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://icedtea.classpath.or | |g/bugzilla/show_bug.cgi?id= | |613 --- Comment #23 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-11 14:47:46 UTC --- sent patch upstream -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c24 --- Comment #24 from Neil Rickert <nrickert@ameritech.net> 2011-01-11 14:58:28 UTC ---
No, that's not correct. You have to type
ICEDTEA_PLUGIN=true firefox -g
or export ICEDTEA_PLUGIN=true firefox -g
That's the same thing. I use csh, so I did: % setenv ICEDTEA_PLUGIN true % firefox -g
Neil, could you please remove MozillaFirefox and mozilla-xulrunner and installing these again? Ideally the same versions as those removed.
I don't know how to do that. When I tried, I finished up in dependency hell. It told me that there was a conflict (with gnome-photo, as I recall). I selected the option to ignore the conflict and go ahead anyway. But then it told me that it had automatically added additional changes, which amounted to not removing xulrunner. I aborted at that point. I use kde, but also have gnome and XFCE installed. And thunderbird is also installed, though that wasn't mentioned (yet) in the dependency messages. Note that firefox did update to 3.6.13 after this bug showed up, and the firefox update did not fix it. I think xulrunner updated at the same time as firefox. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c25 --- Comment #25 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-12 12:58:16 UTC --- Output with patched icedtea plugin is following ICEDTEAPLUGIN_DEBUG=yes firefox *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). /usr/lib/mozilla/kmozillahelper: error while loading shared libraries: libsoprano.so.4: cannot open shared object file: No such file or directory .. ITNPP Thread# 139647196772384: NP_Initialize ITNPP Thread# 139647196772384: readlink -f "/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/IcedTeaPlugin.so" ITNPP Thread# 139647196772384: = "/usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/IcedTeaPlugin.so" ITNPP Thread# 139647196772384: .so is located at: /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/IcedTeaPlugin.so and the link points to: /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib. Executing java from dir /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib to run /usr/lib64/jvm/java-1.6.0-openjdk-1.6.0/jre/lib/amd64/../../bin/java Strange - seems that dlinfo contains the full path - anyway this patch ensures the symlinks will be properly resolved, so it might fix it. Neil: feel free to install packages from Java:openjdk6:Factory repository http://download.opensuse.org/repositories/Java:/openjdk6:/Factory/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c26 --- Comment #26 from Petr Cerny <pcerny@novell.com> 2011-01-12 13:57:39 UTC --- (In reply to comment #22)
The question is how it was possible have this code working, that ain't work in any case!
Do we positively know that it really did work? Could it be another java installed in parallel taking over where the non-recursive symlink resolver failed? (In reply to comment #24)
Neil, could you please remove MozillaFirefox and mozilla-xulrunner and installing these again? Ideally the same versions as those removed.
I don't know how to do that. When I tried, I finished up in dependency hell.
You would remove MozillaFirefox and corresponding mozilla-xulrunner (and additionally other apps using that version of xulrunner) while making sure that you say you want to break any pattern it complains about. At least this works for me.
Note that firefox did update to 3.6.13 after this bug showed up, and the firefox update did not fix it. I think xulrunner updated at the same time as firefox.
Yes, that's correct - MozillaFirefox and mozilla-xulrunner are basically one package split into two. xulrunner is application independent, and is used by e.g. Thunderbird as well. The packages are tied together *quite* tightly, so you should use e.g. xulrunner 1.9.2.13 with Firefox 3.6.13. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c27 --- Comment #27 from Neil Rickert <nrickert@ameritech.net> 2011-01-12 18:28:39 UTC ---
Do we positively know that it really did work? Could it be another java installed in parallel taking over where the non-recursive symlink resolver failed?
I have only had icedtea installed. It works on my laptop, but the bug shows up on my desktop. It was working on my desktop until the most recent icedtea update. Perhaps an update changes a library search order somewhere, and whether the bug shows up is sensitive to that search order. (Just a wild guess). Given that Michal seems to have a patch in the works, I'll leave things as they are for the moment. I am currently working around the problem with a java symlink at "/bin/java" - I remove that link for testing, then put it back later. And I periodically check the path that shows in "ps" output, as a way of checking whether it has been fixed. When the bug first showed up, I did a google search for the error message. The hits came mostly from other distros (ubuntu for example). The advice given was to uninstall icedtea and install sun-java. But if everybody followed that advice, it would never be fixed. So I have been sticking with icedtea with my symling work around. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c28 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #407783|0 |1 is obsolete| | --- Comment #28 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-17 15:29:59 UTC --- Created an attachment (id=408637) --> (http://bugzilla.novell.com/attachment.cgi?id=408637) Use realpath to resolve double symlinks IOW: do not reimplement glibc's own stuff. This will be pushed into next maintenance update of icedtea. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c29 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|nrickert@ameritech.net | Resolution| |FIXED --- Comment #29 from Michal Vyskocil <mvyskocil@novell.com> 2011-01-18 09:51:43 UTC --- Submitted a fix to: head - sr:58655, 11.2 - sr:58656, 11.3:58657 I assume this bug can be closed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c30 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |maint:running:38285:moderat | |e --- Comment #30 from Swamp Workflow Management <swamp@suse.com> 2011-01-18 11:17:45 UTC --- The SWAMPID for this issue is 38285. This issue was rated as moderate. Please submit fixed packages until 2011-02-01. When done, please reassign the bug to security-team@suse.de. Patchinfo will be handled by security team. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c31 Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:38285:moderat |maint:running:38285:moderat |e |e maint:released:11.2:38289 | |maint:released:11.3:38289 --- Comment #31 from Swamp Workflow Management <swamp@suse.com> 2011-01-19 08:48:30 UTC --- Update released for: java-1_6_0-openjdk, java-1_6_0-openjdk-debuginfo, java-1_6_0-openjdk-debugsource, java-1_6_0-openjdk-demo, java-1_6_0-openjdk-demo-debuginfo, java-1_6_0-openjdk-devel, java-1_6_0-openjdk-devel-debuginfo, java-1_6_0-openjdk-javadoc, java-1_6_0-openjdk-plugin, java-1_6_0-openjdk-plugin-debuginfo, java-1_6_0-openjdk-src Products: openSUSE 11.2 (debug, i586, x86_64) openSUSE 11.3 (debug, i586, x86_64) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c Swamp Workflow Management <swamp@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|maint:running:38285:moderat |maint:released:11.2:38289 |e maint:released:11.2:38289 |maint:released:11.3:38289 |maint:released:11.3:38289 | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c32 --- Comment #32 from Neil Rickert <nrickert@ameritech.net> 2011-01-26 23:47:50 UTC --- This is just to note that the bug was fixed by the openjdk patch that was available today with the 11.3 updater. Thanks to all (especially Michal) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c33 Ryan Bach <ryanbach@adelphia.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |ryanbach@adelphia.net Component|Java |Java Resolution|FIXED | Product|openSUSE 11.3 |openSUSE 11.4 Target Milestone|--- |Factory OS/Version|openSUSE 11.3 |openSUSE 11.4 --- Comment #33 from Ryan Bach <ryanbach@adelphia.net> 2011-07-06 04:04:43 UTC --- A update to 11.4 update repo broke the icetea/openjdk java plugin (in firefox and any other browser), it is also broken in 12.1. Here is the logs from firefox: *** NSPlugin Viewer *** ERROR: /usr/lib/browser-plugins/javaplugin.so: undefined symbol: plugin_debug *** NSPlugin Viewer *** ERROR: /usr/lib/browser-plugins/javaplugin.so: undefined symbol: plugin_debug *** NSPlugin Wrapper *** ERROR: failed to initialize plugin-side RPC client connection *** 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)) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c34 --- Comment #34 from Neil Rickert <nrickert@ameritech.net> 2011-07-06 16:48:52 UTC --- Note to Ryan Bach: What you are seeing is probably a different bug. See the report at https://bugzilla.novell.com/show_bug.cgi?id=702825 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=635365 https://bugzilla.novell.com/show_bug.cgi?id=635365#c35 Michal Vyskocil <mvyskocil@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED --- Comment #35 from Michal Vyskocil <mvyskocil@novell.com> 2011-07-08 06:56:42 UTC --- yes, the plugin debug is different issue and has been fixed. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=635365 http://bugzilla.novell.com/show_bug.cgi?id=635365#c36 --- Comment #36 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (635365) was mentioned in https://build.opensuse.org/request/show/58655 Factory / java-1_6_0-openjdk https://build.opensuse.org/request/show/58656 11.2:Test / java-1_6_0-openjdk https://build.opensuse.org/request/show/58657 11.3:Test / java-1_6_0-openjdk -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com