Closed Bug 389950 Opened 17 years ago Closed 17 years ago

Java pluggin cause firefox to exit [@ XSync] [@ nsPluginNativeWindowGtk2::CallSetWindow]

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 386844

People

(Reporter: burchjeff, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a7pre) Gecko/2007072809 Minefield/3.0a7pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a7pre) Gecko/2007072809 Minefield/3.0a7pre Firefox exit when linking the java lib into the pluggin directory. The previous build worked fine. I am using the following java verson for the linking: java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode) Reproducible: Always Steps to Reproduce: 1.link the shared lib into the firefox pluggin dir ln -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so 2.start a new instance of firefox 3.go to a page with a java pluggin I used vonage upload test 4. Browser exits Actual Results: browser exits Expected Results: the pluggin should load the java lib and run the upload test
here is my build options in .mozconfig >>>> dd_options MOZ_OBJDIR=@TOPSRCDIR@/ff-opt-static ac_add_options --enable-optimize ac_add_options --disable-debug ac_add_options --enable-static ac_add_options --disable-shared ac_add_options --disable-tests ac_add_options --disable-libxul <<<<
Are you sure you're symlinking it correctly? You have to specify a name after the file location; e.g. ln -s <path to java plugin> libjavaplugin_oji.so. Also, can you get a stacktrace using gbd? http://kb.mozillazine.org/Getting_a_stacktrace_with_gdb
Component: Plugin Finder Service → Plug-ins
Keywords: crash
Product: Firefox → Core
QA Contact: plugin.finder → plugins
Version: unspecified → Trunk
I usually link the java shared library that way. It always worked in the past and it just worked with version 1.5.0.12. I am rebuilding with debug enable and I will try to get a stacktrace. >>> [jburch@localhost ~]$ cd /usr/lib/firefox-1.5.0.12/plugins/ [jburch@localhost plugins]$ ls libnullplugin.so libunixprintplugin.so [jburch@localhost plugins]$ sudo ln -s /home/jburch/java_apps/java/java/jre/plugin/ desktop/ i386/ [jburch@localhost plugins]$ sudo ln -s /home/jburch/java_apps/java/java/jre/plugin/i386/ns7/libjavaplugin_oji.so Password: [jburch@localhost plugins]$ ls libjavaplugin_oji.so libnullplugin.so libunixprintplugin.so [jburch@localhost plugins]$ ll total 36 lrwxrwxrwx 1 root root 73 Jul 30 17:48 libjavaplugin_oji.so -> /home/jburch/java_apps/java/java/jre/plugin/i386/ns7/libjavaplugin_oji.so -rwxr-xr-x 1 root root 18496 Jul 18 09:47 libnullplugin.so -rwxr-xr-x 1 root root 10752 Jul 18 09:47 libunixprintplugin.so [jburch@localhost plugins]$ <<<<
Attached file Stack track of crash
Here is a stack track of the crash.
Thanks for the info. Based on the stacktrace, this is a dupe of bug 386844. The bug has a patch waiting to be reviewed, and will get fixed once that patch gets checked in.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Summary: Java pluggin cause firefox to exit → Java pluggin cause firefox to exit [@ XSync] [@ nsPluginNativeWindowGtk2::CallSetWindow]
Verified dup
Status: RESOLVED → VERIFIED
Crash Signature: [@ XSync] [@ nsPluginNativeWindowGtk2::CallSetWindow]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: