Closed
Bug 30679
Opened 25 years ago
Closed 24 years ago
debug build assertion failure on startup. Sun/Solaris platform, Workshop 5.0 compilers.
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: rich.burridge, Assigned: gagan)
Details
[richb - 6th March 2000 7:35am]
I grabbed a copy of the M14 source code at:
http://ftp.mozilla.org/pub/mozilla/releases/m14/src/mozilla-source-M14-no-crypto
.tar.gz
and built it on my Ultra 60, Solaros 2.7 machine using the Sun Workshop 5.0
compilers (three patches applied: 107357-07, 107289-05, 107311-09). My
.mozprofile contained:
ac_add_options
--with-libIDL-prefix=/export/space/blackwood/Netscape6/netscape6/dist
ac_add_options
--with-glib-prefix=/export/space/blackwood/Netscape6/netscape6/dist
ac_add_options
--with-gtk-prefix=/export/space/blackwood/Netscape6/netscape6/dist
Built with:
% gmake -f client.mk build
I then did:
% setenv MOZILLA_OFFICIAL 1
% setenv BUILD_OFFICIAL 1
% cd xpinstall/packager
% gmake
and build a mozilla-sparc-sun-solaris2.7.tar.gz binary distribution in
.../mozilla/dist.
I took a copy of that, unpacked it, and tried running it and got:
Results are included below. The profile manager appeared, and I was able to
select my richb profile before it aborted with the assertion failures.
----
stard[1] source ~/.cshrc.solaris
stard[2] printenv
HOME=/export/space/richb
PATH=/usr/ccs/bin:/export/space/richb/bin:/opt/SUNWspro/bin:/usr/dist/local/exe:
/usr/dist/exe:/bin:/usr/ucb:/usr/bin:/etc:/usr/lib:/usr/etc:/usr/openwin/bin:/us
r/motif/bin:/usr/dt/bin:/usr/sbin:/usr/bin/X11:.
LOGNAME=richb
HZ=100
TERM=sun-cmd
TZ=US/Pacific
SHELL=/bin/csh
MAIL=/var/mail/richb
_INIT_PREV_LEVEL=S
_INIT_RUN_LEVEL=3
_INIT_RUN_NPREV=0
_INIT_UTS_ISA=sparc
_INIT_UTS_MACHINE=sun4u
_INIT_UTS_NODENAME=stard
_INIT_UTS_PLATFORM=SUNW,Ultra-60
_INIT_UTS_RELEASE=5.7
_INIT_UTS_SYSNAME=SunOS
_INIT_UTS_VERSION=Generic_106541-08
PWD=/tmp/mozilla/package
USER=richb
HOST=stard
SPACE=/export/space
JAVA_BUILD_FLAG=-g
MOZILLA_FIVE_HOME=/export/space/blackwood/gnu/mozilla-M13/dist/bin
NSPR_LOG_MODULES=nsComponentManager:5
NSPR_LOG_FILE=xpcom.log
CVSROOT=:pserver:richb@lighthome.eng:/export/cvsroot
MOZILLA_HOME=/export/space/Netscape-4.7
NNTPSERVER=engnews3
PUREOPTIONS=-cache-dir=/export/home/richb/pcache -always-use-cache-dir
-chain-length=20 -show-pc -show-pc-offset -follow-terminal-symlinks=yes
PURIFYOPTIONS=-cache-dir=/export/home/richb/pcache -always-use-cache-dir
-chain-length=20 -show-pc -show-pc-offset -follow-terminal-symlinks=yes
JAVA_HOME=/usr/local/java/jdk1.1.5/solaris
CLASSPATH=/usr/local/java/jdk1.1.5/solaris/lib/classes.zip:.
LD_LIBRARY_PATH=/usr/openwin/lib:/usr/motif/lib:/export/space/blackwood/Netscape
6/netscape6/dist/lib
MOTIFHOME=/usr/motif
XKEYSYMDB=/usr/openwin/lib/XKeysymDB
OPENWINHOME=/usr/openwin
LM_LICENSE_FILE=/usr/dist/local/config/share/suntech_license/license.dat
MANPATH=/usr/man:/usr/dist/exe/man:/export/space/local/man:/usr/openwin/man:/net
/suntools/export/tools/man:/opt/SUNWspro/man:/usr/dist/pkgs/devpro,v5.0/5.x-spar
c/man
HELPPATH=/pkg/X11/libhelp
ENSCRIPT=-fTimes-Roman10 -B -o
MACHINE=stard
ORGANIZATION=Sun Microsystems Inc.
PRINTER=panna-d
QTDIR=/export/space/src/KDE/qt-1.33
DISPLAY=awe173-16.AWE.Sun.COM:0
LANG=C
WINDOW_TERMIOS=
TERMCAP=sun-cmd:te=\E[>4h:ti=\E[>4l:tc=sun:
stard[3] pwd
/tmp/mozilla/package
stard[4] ./mozilla
.//run-mozilla.sh ./mozilla-bin
MOZILLA_FIVE_HOME=/tmp/mozilla/package
LD_LIBRARY_PATH=/tmp/mozilla/package:/usr/openwin/lib:/usr/motif/lib:/export/spa
ce/blackwood/Netscape6/netscape6/dist/lib
SHLIB_PATH=/tmp/mozilla/package
LIBPATH=/tmp/mozilla/package
MOZ_PROGRAM=./mozilla-bin
MOZ_TOOLKIT=
moz_debug=0
moz_debugger=
nsNativeComponentLoader: autoregistering begins.
*** Registering nsSampleModule components (all right -- a generic module!)
*** Registering Network Data Cache components (all right -- a generic module!)
*** Registering net components (all right -- a generic module!)
*** Registering nsAboutProtocolModule components (all right -- a generic
module!)
*** Registering nsDataProtocolModule components (all right -- a generic module!)
*** Registering nsFileProtocolModule components (all right -- a generic module!)
*** Registering nsResourceProtocolModule components (all right -- a generic
module!)
*** Registering ftp components (all right -- a generic module!)
*** Registering nsHTTPHandlerModule components (all right -- a generic module!)
*** Registering keyword components (all right -- a generic module!)
*** Registering nsJarProtocolModule components (all right -- a generic module!)
*** Registering res components (all right -- a generic module!)
*** Registering datetime components (all right -- a generic module!)
*** Registering finger components (all right -- a generic module!)
*** Registering nsMIMEService components (all right -- a generic module!)
*** Registering nsStreamConvModule components (all right -- a generic module!)
*** Registering nsConvModule components (all right -- a generic module!)
*** Registering nsURILoaderModule components (all right -- a generic module!)
*** Registering uconv components
*** Registering nsUCvTWModule components (all right -- a generic module!)
RegSelf Unicode to Big5 converter complete
RegSelf Unicode to x-x-big5 converter complete
RegSelf Big5 to Unicode converter complete
*** Registering UcharUtil components (all right -- a generic module!)
*** Registering locale components
*** Registering nsStringBundleModule components (all right -- a generic module!)
*** Registering nsLWBrkModule components (all right -- a generic module!)
*** Registering CharDet components
*** Registering xpconnect components (all right -- a generic module!)
*** Registering mozJSComponentLoader components (all right -- an almost-generic
module!)
*** Registering nsPrefModule components (all right -- a generic module!)
*** Registering nsCJVMManagerModule components (all right -- a generic module!)
*** Registering nsJarModule components (all right -- a generic module!)
*** Registering nsSecurityManagerModule components (all right -- a generic
module!)
*** Registering nsGtkTimerModule components (all right -- a generic module!)
*** Registering nsGfxPSModule components (all right -- a generic module!)
*** Registering javascript: protocol components (all right -- a generic module!)
*** Registering nsToolkitModule components (all right -- a generic module!)
*** Registering layout components
*** Registering nsMorkModule components (all right -- a generic module!)
*** Registering nsChromeModule components (all right -- a generic module!)
*** Registering nsRDFModule components (all right -- a generic module!)
*** Registering nsEditorModule components (all right -- a generic module!)
*** Registering nsTransactionManagerModule components (all right -- a generic
module!)
*** Registering nsTextServicesModule components (all right -- a generic module!)
*** Registering nsProfileModule components (all right -- a generic module!)
*** Registering nsPrefMigrationModule components (all right -- a generic
module!)
*** Registering appshell components (all right -- a generic module!)
*** Registering nsBrowserModule components (all right -- a generic module!)
*** Registering nsBookmarkModule components (all right -- a generic module!)
*** Registering nsDirectoryViewerModule components (all right -- a generic
module!)
nsFindComponent registration successful
*** Registering history components
*** Registering nsSearchModule
*** Registering nsRelatedLinksModule
*** Registering nsRegistryViewerModule components (all right -- a generic
module!)
nsUnknownContentTypeHandler registration successful
nsStreamTransfer registration successful
*** Registering shistory components (all right -- a generic module!)
*** Registering nsTimeBomb components (all right -- a generic module!)
*** Registering nsSoftwareUpdate components (all right -- a generic module!)
*** Registering XPInstallUpdateNotifierModule components (all right -- a generic
module!)
*** Registering nsCookieModule components (all right -- a generic module!)
*** Registering nsWalletModule components (all right -- a generic module!)
*** Registering nsWalletViewerModule components (all right -- a generic module!)
*** Registering nsMsgNewsModule components (all right -- a generic module!)
*** Registering nsMimeEmitterModule components (all right -- a generic module!)
*** Registering nsVCardModule components (all right -- a generic module!)
*** Registering nsMsgComposeModule components (all right -- a generic module!)
*** Registering nsAbModule components (all right -- a generic module!)
*** Registering nsImportServiceModule components (all right -- a generic
module!)
*** Registering nsTextImportModule components (all right -- a generic module!)
*** Registering xpconnect test components (all right -- a generic module!)
*** Registering nsRDFDOMViewerModule components (all right -- a generic module!)
nsNativeComponentLoader: autoregistering succeeded
*** Deferring registration of sample JS components
************************************************************
** NOTE: This report will only be printed in DEBUG builds.**
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "<error> [nsIModule::registerSelf]" nsresult: "0x8057001d
(<unknown>)" location: "<unknown>" data: no]
************************************************************
-*- sidebar: registering (all right -- a JavaScript module!)
registerSelf for remoteControl
nNCL: registering deferred (0)
nsUnixToolkitService: Using 'gtk' for the Widget Toolkit.
nsUnixToolkitService: Using 'gtk' for the Gfx Toolkit.
NS_SetupRegistry() MOZ_TOOLKIT=gtk, WIDGET_DLL=libwidget_gtk.so,
GFX_DLL=libgfx_gtk.so
initialized appshell
Profile Manager : Profile Wizard and Manager activites : Begin
Profile Manager : Command Line Options : Begin
DEBUG BUILDS ONLY: we are forcing you to use the profile manager to help smoke
test it.
Profile Manager : Command Line Options : End
GFX: dpi=96 t2p=0.0666667 p2t=15 depth=24
WEBSHELL+ = 1
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Note: verifyreflow is disabled
WARNING: XXX Fix me!! Converting Dirty to Resize!! Table need to implement
reflow Dirty!!, file nsTreeOuterFrame.cpp, line 115
Move window by 639.5,511.5
WARNING: XXX Fix me!! Converting Dirty to Resize!! Table need to implement
reflow Dirty!!, file nsTreeOuterFrame.cpp, line 115
start with profile: richb
ProfileManager : StartApprunner
ProfileManager : GetProfileDir
ProfileName : richb
ProfileDir : /export/space/richb/.mozilla/richb
ProfileManager : GetProfileDir
nsWidget::~nsWidget() of toplevel: 2 widgets still exist.
~nsProfile
WEBSHELL- = 0
Profile Manager : Profile Wizard and Manager activites : End
WEBSHELL+ = 1
Initialized app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353},
rv=0x00000000
Initialized app shell component {4a85a5d0-cddd-11d2-b7f6-00805f05ffa5},
rv=0x00000000
FOR DEBUG BUILDS ONLY: we are forcing you to see the checkin guidelines when
you open a browser window
WEBSHELL+ = 2
assuming d&d is off for Navigator
###!!! ASSERTION: transport not closed: 'mSource == nsnull', file
nsFileTransport.cpp, line 428
###!!! Break: at file nsFileTransport.cpp, line 428
###!!! ASSERTION: transport not closed: 'mBufferInputStream == nsnull', file
nsFileTransport.cpp, line 429
###!!! Break: at file nsFileTransport.cpp, line 429
###!!! ASSERTION: transport not closed: 'mBufferOutputStream == nsnull', file
nsFileTransport.cpp, line 430
###!!! Break: at file nsFileTransport.cpp, line 430
Assertion failure: _PT_PTHREAD_MUTEX_IS_LOCKED(mon->lock.mutex), at
ptsynch.c:507
Abort - core dumped
Comment 1•25 years ago
|
||
rich.burridge@Sun.COM are you still seeing this with current bits? -> Build Config.
Assignee: cbegle → cls
Component: Browser-General → Build Config
QA Contact: asadotzler → cyeh
ptsynch.c assertion comes from NSPR.
Assignee: cls → srinivas
Component: Build Config → NSPR
Product: Browser → NSPR
QA Contact: cyeh → srinivas
Updated•25 years ago
|
Component: NSPR → Networking
Product: NSPR → Browser
Comment 4•25 years ago
|
||
The assertion failure at ptsynch.c:507 means
that we are exiting a monitor that isn't locked.
The series of assertion failures at nsFileTransport.cpp,
lines 428, 429, and 430 show that we are destroying
an nsFileTransport object that hasn't been closed.
Reassigned to the owner of nsFileTransport.cpp for
further investigation.
Assignee: wtc → gagan
QA Contact: srinivas → tever
Reporter | ||
Comment 5•25 years ago
|
||
[richb - 6th April 2000]
Yesterday I bought over the source code for the latest nightly build to
try this. Unfortunately, it would not even compile:
CC -library=iostream -o nsXULTemplateBuilder.o -c -mt -O -g -DMOZILLA_CLIENT
-DBROKEN_QSORT=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=1 -DULTRA_SPARC=1 -DD_INO=d_ino
-DMOZ_DEFAULT_TOOLKIT=\"gtk\" -DSTDC_HEADERS=1 -DHAVE_ST_BLKSIZE=1
-DHAVE_INT16_T=1 -DHAVE_INT32_T=1 -DHAVE_INT64_T=1 -DHAVE_UINT=1 -DHAVE_UINT_T=1
-DHAVE_UINT16_T=1 -DHAVE_SYS_BYTEORDER_H=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_FILIO_H=1 -DHAVE_SYS_IPC_H=1 -DHAVE_S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S5\" -DOJI
-I../../../dist/include -I../../../include -I../../../dist/include
-I../../../dist/include -I../../../dist/include -I./../../base/src
-I./../../../layout/html/base/src -I/usr/openwin/include -KPIC
nsXULTemplateBuilder.cpp
"nsXULTemplateBuilder.cpp", line 121: Error: Cannot cast away constness.
...
I'll try this again some other time when I have the time to investigate
compilation errors such as this.
Updated•24 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Rich: Try seeking help from the netscape.public.mozilla.builds newsgroup and
monitoring the tinderbox.mozilla.org page for build updates. I am closing this
bug as invalid.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•