Closed
Bug 10922
Opened 26 years ago
Closed 26 years ago
Document createProcessingInstruction method dumps core
Categories
(Core Graveyard :: Java APIs for DOM, defect, P3)
Tracking
(Not tracked)
CLOSED
FIXED
People
(Reporter: rpallath, Assigned: akhil.arora)
Details
Attachments
(1 file)
225.00 KB,
application/x-tar
|
Details |
On invoking createProcessInstruction method of Document Object,
the browser(apprunner) dumps core.
Download the attachment and follow instruction as stated in 'install.html'
This happens only if u load an xml file
Copy the below listed xml file to your WebServers DOCUMENT_ROOT.
and invoke this xml file in url of apprunner.
(NOTE: make appropriate changes in webserver (mime.types) to identify xml
extension.
--- test.xml-------
<?xml version="1.0" standalone="yes"?>
<!DOCTYPE document [
<!ELEMENT document ANY>
<!ELEMENT title (#PCDATA)>
<!ELEMENT body (#PCDATA)>
<!ENTITY temp "Fine Entity">
]>
<document>
<title>
This is the code between TITLE tags
</title>
<body>
This is the character data between BODY tags
</body>
Value of Entity temp is &temp;
</document>
the core dump info. is displayed below
.....
.....
Reading file...
Reading file...Done
[Loaded org.mozilla.dom.test.BWStaticDoc from
/opt/DOMTest/classes/org/mozilla/dom/test/BWStaticDoc.class]
[Loaded org.mozilla.dom.test.BWBaseTest from
/opt/DOMTest/classes/org/mozilla/dom/test/BWBaseTest.class]
[Loaded org.mozilla.dom.test.Execution from
/opt/DOMTest/classes/org/mozilla/dom/test/Execution.class]
Note: frameverifytree is disabled
Note: verifyreflow is disabled
[Loaded org.mozilla.dom.test.TestLoader from
/opt/DOMTest/classes/org/mozilla/dom/test/TestLoader.class]
[Loaded java.io.BufferedReader from
/usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
[Loaded java.io.Reader from /usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
[Loaded java.io.InputStreamReader from
/usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
[Loaded sun.io.ByteToCharISO8859_1 from
/usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
[Loaded java.io.RandomAccessFile from
/usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
[Loaded java.io.DataOutput from /usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
[Loaded java.io.DataInput from /usr/local/java/jdk1.2/solaris/jre/lib/rt.jar]
Could not open file /opt/DOMTest/log/BWTest.log
[Loaded org.mozilla.dom.test.BWDocument_ProcessingInstruction from
/opt/DOMTest/bugclasses/org/mozilla/dom/test/BWDocument_ProcessingInstruction.class]
1[38e88]: Document.createProcessingInstruction: error 0
Processing Instruction Creation failed ...
Test org.mozilla.dom.test.BWDocument_ProcessingInstruction FAILED
SetAccessKey setting to " "
GetAccessKey returns " "
File
Reading file...
Reading file...Done
SetAccessKey setting to " "
GetAccessKey returns " "
Edit
SetAccessKey setting to " "
GetAccessKey returns " "
View
SetAccessKey setting to " "
GetAccessKey returns " "
Search
SetAccessKey setting to " "
GetAccessKey returns " "
Go
SetAccessKey setting to " "
GetAccessKey returns " "
Bookmarks
SetAccessKey setting to " "
GetAccessKey returns " "
Tasks
SetAccessKey setting to " "
GetAccessKey returns " "
Help
SetAccessKey setting to " "
GetAccessKey returns " "
Debug
Could not open file /opt/DOMTest/log/BWTest.log
1[38e88]: Document.createProcessingInstruction: error 0
Processing Instruction Creation failed ...
Test org.mozilla.dom.test.BWDocument_ProcessingInstruction FAILED
Doing Startup...
Creating browser app core
BrowserAppCore has been created.
Adding app core to AppCoreManager in the base initialization.
Setting content window
startpage = http://www.mozillazine.org/
Could not open file /opt/DOMTest/log/BWTest.log
1[38e88]: Document.createProcessingInstruction: error 0
Processing Instruction Creation failed ...
Test org.mozilla.dom.test.BWDocument_ProcessingInstruction FAILED
Document http://sunny1/~rpallath/xml/5-4.xml loaded successfully
Document: Done (1.637 secs)
FindShortcut: in='http://sunny1/~rpallath/xml/BWtest.xml' out='null'
Could not open file /opt/DOMTest/log/BWTest.log
SIGSEGV 11* segmentation violation
si_signo [11]: SIGSEGV 11* segmentation violation
si_errno [0]: Error 0
si_code [1]: SEGV_MAPERR [addr: 0x0]
stackpointer=ffbed9a4
Full thread dump Classic VM (JDK-1.2-V, native threads):
"Finalizer" (TID:0xf9898320, sys_thread_t:0x11ed70, state:CW, native ID:0x6)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xf98983b0, sys_thread_t:0x11a8c0, state:CW, native
ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xf98983e0, sys_thread_t:0x114148, state:CW, native
ID:0x4) prio=5
"main" (TID:0xf98981e0, sys_thread_t:0xdc610, state:R, native ID:0x1) prio=5
at org.mozilla.dom.DocumentImpl.createProcessingInstruction(Native
Method)
at
org.mozilla.dom.test.BWDocument_ProcessingInstruction.execute(Compiled Code)
at org.mozilla.dom.test.TestLoader.loadTest(Compiled Code)
at org.mozilla.dom.DOMFactory.endURLLoad(Compiled Code)
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@F9898338/F98CE028: <unowned>
Waiting to be notified:
"Finalizer" (0x11ed70)
java.lang.ref.Reference$Lock@F98983C0/F98CDB20: <unowned>
Waiting to be notified:
"Reference Handler" (0x11a8c0)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "main" (0xdc610) 1 entry
Thread queue lock: owner "main" (0xdc610) 1 entry
Monitor registry: owner "main" (0xdc610) 1 entry
SIGABRT 6* abort (generated by abort(3) routine)
si_signo [6]: SIGABRT 6* abort (generated by abort(3) routine)
si_errno [0]: Error 0
si_code [-1]: SI_LWP [pid: 4752, uid: 85011]
stackpointer=ffbed174
Full thread dump Classic VM (JDK-1.2-V, native threads):
"Finalizer" (TID:0xf9898320, sys_thread_t:0x11ed70, state:CW, native ID:0x6)
prio=8
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:112)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:127)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:174)
"Reference Handler" (TID:0xf98983b0, sys_thread_t:0x11a8c0, state:CW, native
ID:0x5) prio=10
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:424)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:114)
"Signal dispatcher" (TID:0xf98983e0, sys_thread_t:0x114148, state:CW, native
ID:0x4) prio=5
"main" (TID:0xf98981e0, sys_thread_t:0xdc610, state:R, native ID:0x1) prio=5
at org.mozilla.dom.DocumentImpl.createProcessingInstruction(Native
Method)
at
org.mozilla.dom.test.BWDocument_ProcessingInstruction.execute(Compiled Code)
at org.mozilla.dom.test.TestLoader.loadTest(Compiled Code)
at org.mozilla.dom.DOMFactory.endURLLoad(Compiled Code)
Monitor Cache Dump:
java.lang.ref.ReferenceQueue$Lock@F9898338/F98CE028: <unowned>
Waiting to be notified:
"Finalizer" (0x11ed70)
java.lang.ref.Reference$Lock@F98983C0/F98CDB20: <unowned>
Waiting to be notified:
"Reference Handler" (0x11a8c0)
Registered Monitor Dump:
PCMap lock: <unowned>
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "main" (0xdc610) 1 entry
Thread queue lock: owner "main" (0xdc610) 1 entry
Monitor registry: owner "main" (0xdc610) 1 entry
Abort (core dumped)
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: Core → Core Graveyard
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•