--- Note: you can send us updates about your Incident ---
--- by replying to this mail.  Place new information  ---
--- above these lines.  Do not include attachments.   ---
--- Our system ignores attachments and anything below ---
--- these lines.                                      ---

Hi Sam Morris,

I am using Firefox (FF) 2.0 and I cannot reproduce your issue on Solaris and 
XP. The comments on your debian blog also seems not able to reproduce your 
issue by setting "general.useragent.product" to an empty string. Could you 
please verify this issue and see if you could:
- Reproduce it on other machines
- Reproduce it on the Supported platform: 
http://java.sun.com/javase/6/webnotes/install/system-configurations.html

If can reproduce the issue in the above scenarios, please provide details steps 
in how to reproduce the issue.

Regards,
Roger

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: This message, including any attachments, is for the intended
recipient(s) only.  If you are not the intended recipient(s), please
reply to the sender, delete this message, and refrain from disclosing,
copying, or distributing this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--------------- Previous Messages ----------------


--------------------- Report ---------------------

      category : java_plugin
   subcategory : plugin
       release : 6
          type : bug
      synopsis : segfaults if mozilla setting general.useragent.product is set 
to an empty string
 customer name : Sam Morris
 customer mail : [EMAIL PROTECTED]
        sdn id : 
      language : en
       company : N/A
      hardware : x86
            os : linux
        bug id : 0
  date created : Wed Aug 22 14:04:54 MDT 2007
date evaluated : Fri Nov 09 19:48:27 MST 2007
   description : 
FULL PRODUCT VERSION :
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b05)
Java HotSpot(TM) Client VM (build 1.6.0_02-b05, mixed mode, sharing

ADDITIONAL OS VERSION INFORMATION :
GNU/Linux
Linux hostname 2.6.22-1-k7 #1 SMP Sun Jul 29 15:15:55 UTC 2007 i686 GNU/Linux

(Debian GNU/Linux)

A DESCRIPTION OF THE PROBLEM :
I use the plugin in various Mozilla-based browsers (Firefox/Iceweasel, 
Epiphany) and discovered that if the setting x is set to an empty string, the 
Java plugin crashes during initialisation.

You can find a full backtrace at <http://bugs.debian.org/439158>.

I have not tried to reproduce this on any other platform.

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Launch the Firefox profile manager (firefox -ProfileManager).
Create a new profile.
Load the profile.
Go to about:config
Set the 'general.useragent.product' setting to '' (the empty string).
Exit Firefox.
Start it again, making sure you use the profile created earlier.
Browse to 
<http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example1.html>.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
No crash.
ACTUAL -
Crash.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
  Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1243142464 (LWP 26759)]
PR_Close (fd=0x0) at priometh.c:136
136     priometh.c: No such file or directory.
        in priometh.c
(gdb) bt full
#0  PR_Close (fd=0x0) at priometh.c:136
No locals.
#1  0xb16fa24f in CNSAdapter_NSPR::JD_Close ()
   from 
/usr/lib/jvm/java-6-sun-1.6.0.02/jre/plugin/i386/ns7/libjavaplugin_oji.so
No symbol table info available.
#2  0xb16c7758 in JavaVM5::StartJavaVM ()
   from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libjavaplugin_nscp.so
No symbol table info available.
#3  0xb16c1fd2 in JavaPluginFactory5::StartupJVM ()
   from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libjavaplugin_nscp.so
No symbol table info available.
#4  0xb16c177d in JavaPluginFactory5::GetJavaVM ()
   from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libjavaplugin_nscp.so
No symbol table info available.
#5  0xb16c2450 in JavaPluginFactory5::CreateSecureEnv ()
   from /usr/lib/jvm/java-6-sun-1.6.0.02/jre/lib/i386/libjavaplugin_nscp.so
No symbol table info available.
#6  0xb16f6026 in CNSAdapter_JavaPluginFactory::CreateSecureEnv ()
   from 
/usr/lib/jvm/java-6-sun-1.6.0.02/jre/plugin/i386/ns7/libjavaplugin_oji.so
No symbol table info available.
#7  0xb6d0993d in ProxyJNIEnv (this=0x8f95ca8, jvmPlugin=0x8f96ce0,
    secureEnv=0x0) at ProxyJNI.cpp:1725
No locals.
#8  0xb6d099db in CreateProxyJNI (jvmPlugin=0x8f96ce0, inSecureEnv=0x0)
    at ProxyJNI.cpp:1745
        proxyEnv = (ProxyJNIEnv *) 0x8f95ca8
#9  0xb6d067af in JVM_GetJNIEnv () at jvmmgr.cpp:289
        context = (JVMContext *) 0x8f96450
        env = (JNIEnv *) 0x0
        jvmPlugin = (struct nsIJVMPlugin *) 0x0
#10 0xb6d07c47 in nsJVMManager::GetProxyJNI (this=0x8e5a978,
    outProxyEnv=0xbfe6f9c4) at nsJVMManager.cpp:173
No locals.
#11 0xb662e902 in nsPluginHostImpl::TrySetUpPluginInstance (this=0x8f5c090,
    aMimeType=0xb6da0618 "application/x-java-vm", aURL=0x8e888b0,
    aOwner=0x8f5c000) at nsPluginHostImpl.cpp:3937
        proxyEnv = (JNIEnv *) 0x8ed9b68
        urlSpec = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = 
{<nsACString_internal> = {mVTable = 0xb6e0f468,
          mData = 0x8ed9b68 
"http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/ArcTest.class";, 
mLength = 70,
          mFlags = 65541}, <No data fields>}, <No data fields>},
    mFixedCapacity = 63, mFixedBuf = 0xbfe6f934 ""},
  mStorage = 
"\000�,\bX���M?߷\210�\235\b�\"��h���e�T�\210�\235\b�\"��x���`�T��\"��\000\000\000\000x���M?߷`\233�\b"}
        result = 0
        instance = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        plugin = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}
        mimetype = 0xb6da0618 "application/x-java-vm"
        contractID = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = 
{<nsACString_internal> = {mVTable = 0xbfe6f97c,
          mData = 0xbfe6f8f8 "H���)\023=�\001", mLength = 3057887804,
          mFlags = 3068797604}, <No data fields>}, <No data fields>},
    mFixedCapacity = 3219586108,
    mFixedBuf = 0xbfe6f9b8 "8���+�b�x��\bh\233�\b\030\006ڶ"},
  mStorage = 
"\026\vO��G\204\b����\b���W\233C�<�濬H\021�H���)\023=�\001\000\000\000�\210�\b����T\005ᷤ�,\b\000\000\000\0008���"}
        urlSpec2 = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = 
{<nsACString_internal> = {mVTable = 0xb643a986, mData = 0xbfe6f994 "\005@",
          mLength = 149789544,
          mFlags = 4}, <No data fields>}, <No data fields>},
    mFixedCapacity = 3068797604, mFixedBuf = 0x8e888c4 "h���h\233�\bF"},
  mStorage = 
"��濸���<�C�\000\000\000\000�\"��\b�濤\"��|���<�����濤\"���\210�\b�\210�\b����\211�C�<���"}
#12 0xb662ba2d in nsPluginHostImpl::SetUpPluginInstance (this=0x8f5c090,
    aMimeType=0xb6da0618 "application/x-java-vm", aURL=0x8e888b0,
    aOwner=0x8f5c000) at nsPluginHostImpl.cpp:3818
        rv = <value optimized out>
#13 0xb6633b08 in nsPluginHostImpl::InstantiateEmbeddedPlugin (this=0x8f5c090,
    aMimeType=0xb6da0618 "application/x-java-vm", aURL=0x8e888b0,
    aOwner=0x8f5c000) at nsPluginHostImpl.cpp:3493
        pti2 = {<nsCOMPtr_base> = {mRawPtr = 0x89da278}, <No data fields>}
        urlSpec = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = 
{<nsACString_internal> = {mVTable = 0xb6e0f468,
          mData = 0x8ed9b68 
"http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/ArcTest.class";, 
mLength = 70,
          mFlags = 65541}, <No data fields>}, <No data fields>},
    mFixedCapacity = 63, mFixedBuf = 0xbfe6fbc0 ""},
  mStorage = "\000N\225\b\224\221�\b�\2119��\"ê¶ [EMAIL 
PROTECTED]"궨5ڶ\200B�\b\030����\004\220�\200B�\b�5ڶ\b���'�j�"}
        rv = 0
        instance = (class nsIPluginInstance *) 0x0
        pti2 = {<nsCOMPtr_base> = {mRawPtr = 0x8f5c004}, <No data fields>}
        tagType = nsPluginTagType_Applet
        isJavaEnabled = 1
        isJava = 1
        bCanHandleInternally = 1
        scheme = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = 
{<nsACString_internal> = {mVTable = 0xb6e0f468, mData = 0xbfe6fb68 "http", 
mLength = 4,
          mFlags = 65553}, <No data fields>}, <No data fields>},
    mFixedCapacity = 63, mFixedBuf = 0xbfe6fb68 "http"},
  mStorage = 
"http\000$m�\200\030�\b�\"��\004\000\000\000\034\000\000\000�\2119�\224\221�\bT\034�\b\017\000\000\000\034\000\000\000\000\000\000\000�\017=�\017\000\000\000\000\000\000\000T\034�\b"}
        window = <value optimized out>
        urlSpec2 = {<nsFixedCString> = {<nsCString> = {<nsCSubstring> = 
{<nsACString_internal> = {mVTable = 0xbfe6fb18,
          mData = 0xb654bc65 "\205�u\030\205��F\020\001", mLength = 
144548488,
          mFlags = 143198128}, <No data fields>}, <No data fields>},
    mFixedCapacity = 3219585832, mFixedBuf = 0xb643b11f "\201�\205q�"},
  mStorage = 
"�\"궤\"��(���W�C�+�C��\"궸�����M�P\000\000\0008\001���g�\b�\a\211\b8\001��P�濨���p#=�"}
#14 0xb66d2e66 in nsObjectFrame::InstantiatePlugin (this=0x8f474f0,
    aPresContext=0x8e88f08, [EMAIL PROTECTED], [EMAIL PROTECTED],
    aPluginHost=0x8f5c094, aMimeType=0xb6da0618 "application/x-java-vm",
    aURI=0x8e888b0) at nsObjectFrame.cpp:1366
        parentWithView = (class nsIView *) 0x8f47850
        origin = {x = 112, y = 112}
        window = (nsPluginWindow *) 0x8f5c11c
        t2p = 0.0714285746
        doc = {<nsCOMPtr_base> = {mRawPtr = 0x8ef4280}, <No data fields>}
        rv = <value optimized out>
        pDoc = {<nsCOMPtr_base> = {mRawPtr = 0x0}, <No data fields>}

... etc, etc. Full backtrace available from the Debian bug report.

REPRODUCIBILITY :
This bug can be reproduced always.



Reply via email to