Closed Bug 306700 Opened 19 years ago Closed 17 years ago

when trying to open the above URL with mozilla it crashes with a segfault [@ PR_Close]

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: td, Assigned: alfred.peng)

References

()

Details

(Keywords: crash)

Crash Data

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050727
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.11) Gecko/20050727

when trying to open the above URL with mozilla it crashes with a segfault

Reproducible: Always

Steps to Reproduce:
1. Enter URL in location bar
2.
3.

Actual Results:  
Mozilla crashes with a segfault.

Expected Results:  
Display the page.
- System Information: SUSE Linux 9.3

- The same problem occurs with Mozilla 1.7.5-17.5 (latest patched Mozilla from
SUSE 9.3)
- The page is displayed fine in Opera 8.01

- A core file is around 37 MB. I'm not sure I should upload it here.
- Strace and Ltrace don't seem to show much.
(gdb) backtrace
#0  0xffffe410 in ?? ()
#1  0xbfff42bc in ?? ()
#2  0x0000000b in ?? ()
#3  0x000036a1 in ?? ()
#4  0x40101611 in raise () from /lib/tls/libpthread.so.0
#5  0x416e50d2 in NSGetModule () from /usr/_opt/mozilla/lib/components/libprofile.so
#6  <signal handler called>
#7  0x400b0749 in PR_Close () from /opt/mozilla/lib/libnspr4.so
#8  0x427a5b1d in CNSAdapter_NSPR::JD_Close () from
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7/libjavaplugin_oji.so
#9  0x427c7790 in JavaVM5::StartJavaVM () from
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_nscp.so
#10 0x427bfe00 in JavaPluginFactory5::StartupJVM () from
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_nscp.so
#11 0x427bf562 in JavaPluginFactory5::GetJavaVM () from
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_nscp.so
#12 0x427c026e in JavaPluginFactory5::CreateSecureEnv () from
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/lib/i386/libjavaplugin_nscp.so
#13 0x427a06e6 in CNSAdapter_JavaPluginFactory::CreateSecureEnv () from
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7/libjavaplugin_oji.so
#14 0x4266b933 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#15 0x08275b80 in ?? ()
#16 0x0880a258 in ?? ()
#17 0x0880a278 in ?? ()
#18 0x00000000 in ?? ()
#19 0x08068130 in vtable for nsGetServiceByCID ()
#20 0x42675620 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#21 0x42677808 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#22 0x42677358 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#23 0x0880a258 in ?? ()
#24 0x08b34b90 in ?? ()
#25 0xbfff4c98 in ?? ()
#26 0x4266b97b in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#27 0x0880a258 in ?? ()
#28 0x08275b80 in ?? ()
#29 0x00000000 in ?? ()
#30 0x42677358 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#31 0x42677358 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#32 0x00000000 in ?? ()
#33 0xbfff4cb8 in ?? ()
#34 0x42663dcd in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#35 0x08275b80 in ?? ()
#36 0x00000000 in ?? ()
#37 0xbfff4cc8 in ?? ()
#38 0x42677358 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#39 0xbfff4e28 in ?? ()
#40 0x08068130 in vtable for nsGetServiceByCID ()
#41 0xbfff4cc8 in ?? ()
#42 0x42666a27 in ?? () from /usr/_opt/mozilla/lib/components/liboji.so
#43 0x08273778 in ?? ()
#44 0x426a14c0 in ?? () from /usr/_opt/mozilla/lib/components/libgkplugin.so
#45 0xbfff4f28 in ?? ()
#46 0x4268d82f in ?? () from /usr/_opt/mozilla/lib/components/libgkplugin.so
#47 0x08273778 in ?? ()
#48 0xbfff4d24 in ?? ()
#49 0x4269fe30 in ?? () from /usr/_opt/mozilla/lib/components/libgkplugin.so
#50 0x40871ac8 in __libc_ptyname1 () from /lib/tls/libc.so.6
#51 0x08067fc8 in vtable for nsObsoleteACStringThunk ()
#52 0xbfff4cf8 in ?? ()
#53 0x00000000 in ?? ()
#54 0x00010011 in ?? ()
#55 0x0000003f in ?? ()
#56 0xbfff4cf8 in ?? ()
#57 0x0898a800 in ?? ()
#58 0xbfff4d18 in ?? ()
#59 0x407c86cb in free () from /lib/tls/libc.so.6
(gdb) 
- The page works with Java disabled.
Other sites with Java in it work ok?
Assignee: general → yuanyi21
Severity: normal → critical
Component: General → Java: OJI
Keywords: crash
Product: Mozilla Application Suite → Core
QA Contact: general → oji
Summary: when trying to open the above URL with mozilla it crashes with a segfault → when trying to open the above URL with mozilla it crashes with a segfault [@ PR_Close]
Version: unspecified → Trunk
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a1) Gecko/20050901 Firefox/1.6a1
ID:2005090108

Works for me with java version "1.4.2".
- None of the sites with Java (that I tried) work with Java 1.5
- With Java 1.4.2 everything seems to work fine

- Setting the Java version is done via a symlink in /opt/mozilla/lib/plugins:
  1.4.2: 
/usr/lib/jvm/java-1.4.2-sun-1.4.2.08/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

  1.5.0:  
/usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7/libjavaplugin_oji.so

Assignee: yuanyi21 → pete.zha
mass reassign to Alfred
Assignee: zhayupeng → alfred.peng
(In reply to comment #6)
> - None of the sites with Java (that I tried) work with Java 1.5
>   1.5.0:  
> /usr/lib/jvm/java-1.5.0-sun-1.5.0_03/jre/plugin/i386/ns7/libjavaplugin_oji.so

Do you still see this bug? 
Newest release is Java Runtime Environment (JRE) 5.0 Update 8: http://java.sun.com/javase/downloads/index.jsp

You also may test Java Runtime Environment (JRE) 6 Beta 2
http://java.sun.com/javase/downloads/ea.jsp
While Opening Mozilla Firefox My friend is getting a message"I DNT LIKE MOZILLA U USE IE OR ELSE" & Immdly Browser window Closes.Even u Load Firefox n Number OF times it is not working.
Closing this bug as INCOMPLETE, as I didn't find Java on that website, and there are no comments showing the bug later than 2005.

Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.7) Gecko/20070914 Firefox/2.0.0.7
Java(TM) Platform SE 6 U3
Java Plug-in 1.6.0_03 for Netscape Navigator (DLL Helper)

Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
Crash Signature: [@ PR_Close]
You need to log in before you can comment on or make changes to this bug.