Closed
Bug 196731
Opened 22 years ago
Closed 22 years ago
Trunk M140B topcrash [@ UTF8InputStream::Read]
Categories
(Core :: XPCOM, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: jcarpenter0524, Assigned: alecf)
Details
(Keywords: crash, topcrash)
Crash Data
This stack signature is a trunk topcrash
Source File : c:/builds/seamonkey/mozilla/xpcom/io/nsUnicharInputStream.cpp
line : 262
====================================================================================================
Count Offset Real Signature
[ 2 UTF8InputStream::Read a776c810 - UTF8InputStream::Read ]
Crash date range: 2003-03-09 to 2003-03-09
Min/Max Seconds since last crash: 2115 - 2115
Min/Max Runtime: 2115 - 2115
Count Platform List
2 Windows NT 5.1 build 2600
Count Build Id List
2 2003030908
No of Unique Users 2
Stack trace(Frame)
UTF8InputStream::Read
[c:/builds/seamonkey/mozilla/xpcom/io/nsUnicharInputStream.cpp line 262]
spellchk.dll + 0x2763 (0x02182763)
spellchk.dll + 0x2266 (0x02182266)
spellchk.dll + 0x12c4 (0x021812c4)
spellchk.dll + 0x102a (0x0218102a)
nsComponentManager::CreateInstance
[c:/builds/seamonkey/mozilla/xpcom/components/nsComponentManagerObsolete.cpp
line 115]
nsEditorSpellCheck::InitSpellChecker
[c:/builds/seamonkey/mozilla/editor/composer/src/nsEditorSpellCheck.cpp line 101]
XPTC_InvokeByIndex
[c:/builds/seamonkey/mozilla/xpcom/reflect/xptcall/src/md/win32/xptcinvoke.cpp
line 102]
XPCWrappedNative::CallMethod
[c:/builds/seamonkey/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp line 2025]
XPC_WN_CallMethod
[c:/builds/seamonkey/mozilla/js/src/xpconnect/src/xpcwrappednativejsops.cpp
line 1293]
js_Invoke [c:/builds/seamonkey/mozilla/js/src/jsinterp.c line 845]
js_Interpret [c:/builds/seamonkey/mozilla/js/src/jsinterp.c line 2829]
js_Invoke [c:/builds/seamonkey/mozilla/js/src/jsinterp.c line 861]
js_InternalInvoke [c:/builds/seamonkey/mozilla/js/src/jsinterp.c line 936]
JS_CallFunctionValue [c:/builds/seamonkey/mozilla/js/src/jsapi.c line 3434]
nsJSContext::CallEventHandler
[c:/builds/seamonkey/mozilla/dom/src/base/nsJSEnvironment.cpp line 1043]
nsJSEventListener::HandleEvent
[c:/builds/seamonkey/mozilla/dom/src/events/nsJSEventListener.cpp line 183]
nsEventListenerManager::HandleEventSubType
[c:/builds/seamonkey/mozilla/content/events/src/nsEventListenerManager.cpp line
1218]
nsEventListenerManager::HandleEvent
[c:/builds/seamonkey/mozilla/content/events/src/nsEventListenerManager.cpp line
1902]
GlobalWindowImpl::HandleDOMEvent
[c:/builds/seamonkey/mozilla/dom/src/base/nsGlobalWindow.cpp line 806]
DocumentViewerImpl::LoadComplete
[c:/builds/seamonkey/mozilla/content/base/src/nsDocumentViewer.cpp line 959]
nsDocShell::EndPageLoad
[c:/builds/seamonkey/mozilla/docshell/base/nsDocShell.cpp line 4296]
nsWebShell::EndPageLoad
[c:/builds/seamonkey/mozilla/docshell/base/nsWebShell.cpp line 775]
nsDocShell::OnStateChange
[c:/builds/seamonkey/mozilla/docshell/base/nsDocShell.cpp line 4230]
nsDocLoaderImpl::FireOnStateChange
[c:/builds/seamonkey/mozilla/uriloader/base/nsDocLoader.cpp line 1214]
nsDocLoaderImpl::doStopDocumentLoad
[c:/builds/seamonkey/mozilla/uriloader/base/nsDocLoader.cpp line 869]
nsDocLoaderImpl::DocLoaderIsEmpty
[c:/builds/seamonkey/mozilla/uriloader/base/nsDocLoader.cpp line 767]
nsDocLoaderImpl::OnStopRequest
[c:/builds/seamonkey/mozilla/uriloader/base/nsDocLoader.cpp line 697]
nsLoadGroup::RemoveRequest
[c:/builds/seamonkey/mozilla/netwerk/base/src/nsLoadGroup.cpp line 703]
nsJARChannel::OnStopRequest
[c:/builds/seamonkey/mozilla/netwerk/protocol/jar/src/nsJARChannel.cpp line 660]
nsCOMPtr_base::assign_with_AddRef
[c:/builds/seamonkey/mozilla/xpcom/glue/nsCOMPtr.cpp line 71]
nsInputStreamPump::OnInputStreamReady
[c:/builds/seamonkey/mozilla/netwerk/base/src/nsInputStreamPump.cpp line 325]
(17907119) Comments: composing a newsgroup reply
(17907090) Comments: composing a newsgroup reply
(17911221) Comments: sending mail
| Assignee | ||
Comment 2•22 years ago
|
||
oh man.. yeah it could be. Looks like a commercial-only change. I'll go look
into it.
| Assignee | ||
Comment 3•22 years ago
|
||
oh, I see what this is - this is the spell checker off of mozdev.org - we need
to notify them that they need to respin it for 1.4alpha to match up with the new
nsUnicharInputStream changes. (basically just removal of I think it was the 2nd
parameter to Read())
marking INVALID because this isn't a bug in our code....
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
| Assignee | ||
Comment 4•22 years ago
|
||
the changes in question are from bug 191416, for reference..
Comment 5•22 years ago
|
||
FYI, the spellchecker.mozdev.org will also have to be modified since it
doesn't build on Mozilla 1.3 final:
c++ -o mozSpellChecker.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/editor -I../../../dist/include/content
-I../../../dist/include/layout -I../../../dist/include/dom
-I../../../dist/include/necko -I../../../dist/include/widget
-I../../../dist/include/pref -I../../../dist/include/gfx
-I../../../dist/include/txtsvc -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker
-I../../../dist/include -I/train/tmp/1.3/mozilla/dist/include/nspr
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/openwin/include -fPIC -I/usr/openwin/include
-fno-rtti -fno-exceptions -pedantic -Wno-long-long -fshort-wchar -pthreads
-DNDEBUG -DTRIMMED -O -I/usr/openwin/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/mozSpellChecker.pp mozSpellChecker.cpp
c++ -o mozPersonalDictionary.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/editor -I../../../dist/include/content
-I../../../dist/include/layout -I../../../dist/include/dom
-I../../../dist/include/necko -I../../../dist/include/widget
-I../../../dist/include/pref -I../../../dist/include/gfx
-I../../../dist/include/txtsvc -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/spellchecker
-I../../../dist/include -I/train/tmp/1.3/mozilla/dist/include/nspr
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/openwin/include -fPIC -I/usr/openwin/include
-fno-rtti -fno-exceptions -pedantic -Wno-long-long -fshort-wchar -pthreads
-DNDEBUG -DTRIMMED -O -I/usr/openwin/include -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/mozPersonalDictionary.pp
mozPersonalDictionary.cpp
mozPersonalDictionary.cpp: In member function `virtual nsresult
mozPersonalDictionary::Load()':
mozPersonalDictionary.cpp:393: no matching function for call to `
nsDerivedSafe<nsIUnicharInputStream>::Read(PRUnichar*, int, PRUint32*)'
../../../dist/include/xpcom/nsIUnicharInputStream.h:59: candidates are: virtual
nsresult nsIUnicharInputStream::Read(PRUnichar*, unsigned int, unsigned int,
PRUint32*)
mozPersonalDictionary.cpp:395: no matching function for call to `
nsDerivedSafe<nsIUnicharInputStream>::Read(PRUnichar*, int, PRUint32*)'
../../../dist/include/xpcom/nsIUnicharInputStream.h:59: candidates are: virtual
nsresult nsIUnicharInputStream::Read(PRUnichar*, unsigned int, unsigned int,
PRUint32*)
mozPersonalDictionary.cpp:401: no matching function for call to `
nsDerivedSafe<nsIUnicharInputStream>::Read(PRUnichar*, int, PRUint32*)'
../../../dist/include/xpcom/nsIUnicharInputStream.h:59: candidates are: virtual
nsresult nsIUnicharInputStream::Read(PRUnichar*, unsigned int, unsigned int,
PRUint32*)
gmake[5]: *** [mozPersonalDictionary.o] Error 1
gmake[5]: Leaving directory `/train/tmp/1.3/mozilla/extensions/spellcheck/src'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/train/tmp/1.3/mozilla/extensions/spellcheck'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/train/tmp/1.3/mozilla/extensions'
gmake[2]: *** [tier_94] Error 2
gmake[2]: Leaving directory `/train/tmp/1.3/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/train/tmp/1.3/mozilla'
gmake: *** [build] Error 2
| Assignee | ||
Comment 6•22 years ago
|
||
this change wasn't made in 1.3, you must be trying to build against the 1.4alpha
trunk. You need to drop the 2nd parameter to Read() (which should have been
zero. if it wasn't, you'll have to rework your code)
Comment 7•22 years ago
|
||
> nsDerivedSafe<nsIUnicharInputStream>::Read(PRUnichar*, int, PRUint32*)
> you must be trying to build against the 1.4alpha trunk.
actually, the spellchecker code has been fixed:
http://www.mozdev.org/source/browse/spellchecker/spellcheck/src/mozPersonalDictionary.cpp.diff?r1=1.11&r2=1.12
the problem in comment 5 appears to be compiling 1.4 trunk spellchecker against
1.3 Mozilla. AFAICT, there is no source tarball for compiling against old (1.3)
Mozilla. You'll have to pull CVS-by-date and try to guess when they switched.
Comment 8•22 years ago
|
||
Adding M140A to summary for future reference. This is still a problem with
Mozilla 1.4 alpha...but if the source of the problem is fixed, I guess there
isn't much we can do. Should we release note anything with the next release to
help users avoid this crash?
Summary: trunk topcrash [@ UTF8InputStream::Read] → Trunk M140B topcrash [@ UTF8InputStream::Read]
| Assignee | ||
Comment 9•22 years ago
|
||
truly, I should have rev'ed the IID here.. I'll do that now so we don't see this
crash in future builds...
Updated•14 years ago
|
Crash Signature: [@ UTF8InputStream::Read]
You need to log in
before you can comment on or make changes to this bug.
Description
•