Closed
Bug 40542
Opened 24 years ago
Closed 24 years ago
Solaris 8 X86 Cannot connect to websites after starting mozilla
Categories
(NSPR :: NSPR, defect, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
4.0.2
People
(Reporter: mozilla, Assigned: wtc)
Details
(Keywords: platform-parity, Whiteboard: [nsbeta2+][dogfood-]ifdef Solaris fix in hand)
Attachments
(8 files)
After pulling down mozilla many times from CVS I have come to the conclusion that this is not my fault. Every time it finishes with no errors and I try to run ./mozilla and it comes up fine but cant connect to any websites. So I finally got to run a truss on it and will include the truss output as an attachment. 1.run ./mozilla after build has finished from /dist/bin 2.mozilla will then start and give you the could not connect to mozilla.org 3.The try to connect to somewhere else like slashdot.org and the same result. I am using : Solaris 8 x86 GCC v2.95.2 Here is my stavk trace using truss: # truss mozilla execve("../../xpfe/bootstrap/mozilla", 0x080472BC, 0x080472C8) argc = 2 xstat(2, "../../xpfe/bootstrap/mozilla", 0x08047058) = 0 open("/var/ld/ld.config", O_RDONLY) Err#2 ENOENT sysconfig(_CONFIG_PAGESIZE) = 4096 open("/opt/sfw/lib/libgen.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libgen.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libgen.so.1", O_RDONLY) = 3 fxstat(2, 3, 0x08046EA0) = 0 mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xDFBC0000 mmap(0x00000000, 94208, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xDFBA0000 mmap(0xDFBB6000, 1696, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 24576) = 0xDFBB6000 munmap(0xDFBA6000, 65536) = 0 close(3) = 0 open("/opt/sfw/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libc.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libc.so.1", O_RDONLY) = 3 fxstat(2, 3, 0x08046EA0) = 0 mmap(0xDFBC0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDFBC0000 mmap(0x00000000, 634880, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xDFB00000 mmap(0xDFB93000, 22616, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 536576) = 0xDFB93000 mmap(0xDFB99000, 4764, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xDFB99000 munmap(0xDFB83000, 65536) = 0 close(3) = 0 open("/opt/sfw/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/local/lib/libdl.so.1", O_RDONLY) Err#2 ENOENT open("/usr/lib/libdl.so.1", O_RDONLY) = 3 fxstat(2, 3, 0x08046EA0) = 0 mmap(0xDFBC0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xDFBC0000 mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANON, -1, 0) = 0xDFAF0000 close(3) = 0 sysi86(SI86FPHW, 0xDFB9A234, 0x08047278, 0xDFBFB000) = 0x00000000 getpid() = 5574 [5573] getpgid(5574) = 23859 getsid(5574) = 23859 brk(0x08076D98) = 0 sysconfig(_CONFIG_SIGRT_MIN) = 38 sysconfig(_CONFIG_SIGRT_MAX) = 45 sigaltstack(0x08047228, 0x00000000) = 0 sigaction(SIGHUP, 0x00000000, 0x080471F0) = 0 sigaction(SIGHUP, 0x08047174, 0x080471CC) = 0 sigaction(SIGINT, 0x00000000, 0x080471F0) = 0 sigaction(SIGINT, 0x08047174, 0x080471CC) = 0 sigaction(SIGQUIT, 0x00000000, 0x080471F0) = 0 sigaction(SIGQUIT, 0x08047174, 0x080471CC) = 0 sigaction(SIGILL, 0x00000000, 0x080471F0) = 0 sigaction(SIGILL, 0x08047174, 0x080471CC) = 0 sigaction(SIGTRAP, 0x00000000, 0x080471F0) = 0 sigaction(SIGTRAP, 0x08047174, 0x080471CC) = 0 sigaction(SIGABRT, 0x00000000, 0x080471F0) = 0 sigaction(SIGABRT, 0x08047174, 0x080471CC) = 0 sigaction(SIGEMT, 0x00000000, 0x080471F0) = 0 sigaction(SIGEMT, 0x08047174, 0x080471CC) = 0 sigaction(SIGFPE, 0x00000000, 0x080471F0) = 0 sigaction(SIGFPE, 0x08047174, 0x080471CC) = 0 sigaction(SIGBUS, 0x00000000, 0x080471F0) = 0 sigaction(SIGBUS, 0x08047174, 0x080471CC) = 0 sigaction(SIGSEGV, 0x08047174, 0x080471CC) = 0 sigaction(SIGSYS, 0x00000000, 0x080471F0) = 0 sigaction(SIGSYS, 0x08047174, 0x080471CC) = 0 sigaction(SIGPIPE, 0x00000000, 0x080471F0) = 0 sigaction(SIGPIPE, 0x08047174, 0x080471CC) = 0 sigaction(SIGALRM, 0x00000000, 0x080471F0) = 0 sigaction(SIGALRM, 0x08047174, 0x080471CC) = 0 sigaction(SIGTERM, 0x00000000, 0x080471F0) = 0 sigaction(SIGTERM, 0x08047174, 0x080471CC) = 0 sigaction(SIGUSR1, 0x00000000, 0x080471F0) = 0 sigaction(SIGUSR1, 0x08047174, 0x080471CC) = 0 sigaction(SIGUSR2, 0x00000000, 0x080471F0) = 0 sigaction(SIGUSR2, 0x08047174, 0x080471CC) = 0 sigaction(SIGPWR, 0x00000000, 0x080471F0) = 0 sigaction(SIGPWR, 0x08047174, 0x080471CC) = 0 sigaction(SIGURG, 0x00000000, 0x080471F0) = 0 sigaction(SIGURG, 0x08047174, 0x080471CC) = 0 sigaction(SIGPOLL, 0x00000000, 0x080471F0) = 0 sigaction(SIGPOLL, 0x08047174, 0x080471CC) = 0 sigaction(SIGVTALRM, 0x00000000, 0x080471F0) = 0 sigaction(SIGVTALRM, 0x08047174, 0x080471CC) = 0 sigaction(SIGPROF, 0x00000000, 0x080471F0) = 0 sigaction(SIGPROF, 0x08047174, 0x080471CC) = 0 sigaction(SIGXCPU, 0x00000000, 0x080471F0) = 0 sigaction(SIGXCPU, 0x08047174, 0x080471CC) = 0 sigaction(SIGXFSZ, 0x00000000, 0x080471F0) = 0 sigaction(SIGXFSZ, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMIN, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMIN+1, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMIN+2, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMIN+3, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMAX-3, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMAX-2, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMAX-1, 0x08047174, 0x080471CC) = 0 sigaction(SIGRTMAX, 0x08047174, 0x080471CC) = 0 sysconfig(_CONFIG_PAGESIZE) = 4096 open("/usr/lib/locale/en_US.ISO8859-15/en_US.ISO8859-15.so.2", O_RDONLY) = 3 fxstat(2, 3, 0x0804682C) = 0 mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xDFAE0000 mmap(0x00000000, 86016, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0xDFAC0000 mmap(0xDFAD3000, 5068, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 12288) = 0xDFAD3000 munmap(0xDFAC4000, 61440) = 0 close(3) = 0 munmap(0xDFAE0000, 4096) = 0 brk(0x08076DA0) = 0 brk(0x08076FA0) = 0 brk(0x080771A0) = 0 brk(0x08077230) = 0 brk(0x08077430) = 0 brk(0x08077630) = 0 brk(0x08077830) = 0 getuid() = 0 [0] getuid() = 0 [0] getgid() = 1 [1] getgid() = 1 [1] open64("./mozilla", O_RDONLY) = 3 close(19) Err#9 EBADF fcntl(3, F_DUPFD, 0x00000013) = 19 close(3) = 0 fcntl(19, F_SETFD, 0x00000001) = 0 ioctl(2, TCGETA, 0x080471F0) = 0 ioctl(19, TCGETA, 0x080471F0) Err#25 ENOTTY read(19, " # ! / b i n / s h\n #\n".., 128) = 128 read(19, " i s f i l e e x c e".., 128) = 128 read(19, " t r i b u t e d u n d".., 128) = 128 read(19, " L\n # f o r t h e ".., 128) = 128 read(19, " N P L i s N e t s".., 128) = 128 read(19, " r p o r a t i o n . ".., 128) = 128 read(19, " o z i l l a [ a r g s".., 128) = 128 read(19, " n .\n # #\n # # T h e".., 128) = 128 read(19, " e b u g g i n g\n # s e".., 128) = 128 read(19, " o u r c e d i r\n\t i".., 128) = 128 read(19, " / b i n\n\t f i\n f i\n".., 128) = 128 stat64("components", 0x08046F78) = 0 stat64("res", 0x08046F6C) = 0 read(19, " r e )\n M O".., 128) = 128 read(19, " g g i n g = 1\n ".., 128) = 128 brk(0x08077B30) = 0 read(19, " e a r g s = " $ m o r e".., 128) = 128 brk(0x08077930) = 0 brk(0x08077730) = 0 read(19, " $ @ " }\t\n $ d i s t _".., 128) = 77 .//run-mozilla.sh ./mozilla-bin write(1, " . / / r u n - m o z i l".., 32) = 32 brk(0x08077920) = 0 brk(0x08077D20) = 0 fork() = 5575 MOZILLA_FIVE_HOME=/export/home/moztree/mozilla/dist/bin LD_LIBRARY_PATH=/export/home/moztree/mozilla/dist/bin:/opt/sfw/lib:/usr/local/lib LIBRARY_PATH=/export/home/moztree/mozilla/dist/bin SHLIB_PATH=/export/home/moztree/mozilla/dist/bin LIBPATH=/export/home/moztree/mozilla/dist/bin:/usr/lib:/lib:/usr/lib/mail/usr/local/lib ADDON_PATH=/export/home/moztree/mozilla/dist/bin MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= nNCL: registering deferred (0) waitid(P_PID, 5575, 0x080470C8, WEXITED|WTRAPPED|WNOWAIT) (sleeping...) Profile Manager : Profile Wizard and Manager activites : Begin Profile Manager : Command Line Options : Begin Profile Manager : Command Line Options : End ProfileManager : GetProfileDir ProfileManager : GetProfileDir Profile Manager : Profile Wizard and Manager activites : End WEBSHELL+ = 1 WEBSHELL+ = 2 CSSLoaderImpl::LoadAgentSheet: Load of URL 'file:///.mozilla/default/chrome/user.css' failed. Error code: 16389 assuming d&d is off for Personal Toolbar WEBSHELL+ = 3 WEBSHELL+ = 4 Setting content window *** Pulling out the charset Loading page specified via openDialog in SetSecurityButton Document: Done (0.237 secs) Error loading URL http://www.mozilla.org/ WEBSHELL+ = 5 WEBSHELL+ = 6 WEBSHELL+ = 7 commonDialogOnLoad setting info.header to There are 1 buttons WEBSHELL- = 6 WEBSHELL- = 5 Move window by 407.5,197.8 screen x 6screen y 29 WEBSHELL- = 4 WEBSHELL+ = 5 WEBSHELL- = 4 WEBSHELL- = 3 WEBSHELL- = 2 WEBSHELL- = 1 ~nsProfile WEBSHELL- = 0 Segmentation Fault - core dumped waitid(P_PID, 5575, 0x080470C8, WEXITED|WTRAPPED|WNOWAIT) = 0 ioctl(0, TIOCGPGRP, 0x0804712C) = 0 ioctl(0, TCGETS, 0x08076088) = 0 waitid(P_PID, 5575, 0x080470C8, WEXITED|WTRAPPED) = 0 read(19, 0x08076184, 128) = 0 ioctl(19, TCGETA, 0x080471CC) Err#25 ENOTTY ioctl(19, TCGETA, 0x080471E4) Err#25 ENOTTY close(19) = 0 llseek(0, 0, SEEK_CUR) = 4868811 _exit(0) # Here is my stack trace using truss:
Reporter | ||
Updated•24 years ago
|
Priority: P3 → P2
Reporter | ||
Updated•24 years ago
|
Priority: P2 → P1
Reporter | ||
Updated•24 years ago
|
Target Milestone: --- → M16
Reporter | ||
Updated•24 years ago
|
leaf/granrose...who would get this Solaris bug?
Assignee: asadotzler → leaf
QA Contact: jelwell → granrose
Putting on [dogfood-][nsbeta2-] for Netscape 6 commericial beta2 release.
Whiteboard: [dogfood-][nsbeta2-]
Comment 3•24 years ago
|
||
[richb - 5/31/00] I now have gdb on the local Solaris Intel PC. It seems that for me, last night's nightly build doesn't even get as far at the bug reporter's crash: jmqpc1[88] run.sh LIBDISTDIR=/export/MOZ_x86/dist LD_LIBRARY_PATH=usr/openwin/lib:/usr/motif/lib:/export/MOZ_x86/dist/lib:/export/MOZ_x86/mozilla/dist/lib:/usr/dist/pkgs/socks,v1.0/lib:/export/MOZ_x86/dist/lib + export LD_LIBRARY_PATH + cd /export/MOZ_x86/mozilla/dist/bin + gdb ./mozilla-bin GNU gdb 5.0 Copyright 2000 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-pc-solaris2.6"... (no debugging symbols found)... (gdb) run Starting program: /export/MOZ_x86/mozilla/dist/bin/./mozilla-bin (no debugging symbols found)...warning: Lowest section in /usr/lib/libw.so.1 is .dynamic at 00000074 warning: Lowest section in /usr/lib/libintl.so.1 is .dynamic at 00000074 [New LWP 1] [New LWP 2] Unable to create nspr log file 'xpcom.log' [New LWP 3] Could not obtain CmdLine processing service Program received signal SIGSEGV, Segmentation fault. 0xdfecc16c in nsHashtable::Enumerate () from /export/MOZ_x86/mozilla/dist/lib/libxpcom.so (gdb) where #0 0xdfecc16c in nsHashtable::Enumerate () from /export/MOZ_x86/mozilla/dist/lib/libxpcom.so #1 0xdfefb40a in nsNativeComponentLoader::UnloadAll () from /export/MOZ_x86/mozilla/dist/lib/libxpcom.so #2 0xdfef78bf in nsComponentManagerImpl::UnloadLibraries () from /export/MOZ_x86/mozilla/dist/lib/libxpcom.so #3 0xdfef4411 in nsComponentManagerImpl::Shutdown () from /export/MOZ_x86/mozilla/dist/lib/libxpcom.so #4 0xdfec75b4 in NS_ShutdownXPCOM () from /export/MOZ_x86/mozilla/dist/lib/libxpcom.so #5 0x804fd21 in main () #6 0x804ca0b in _start () (gdb) I've asked the RE engineers here to do debug nightly builds so we can actually debug problems like this. I've also sent mail to the submitter asking him to add his stack trace to the bug report.
Comment 4•24 years ago
|
||
[richb - 5/31/00] Later that same day... I've now just rebuilt last night's nightly .tar.gz on a Solaris Intel 2.6 machine with Gnu compilers (v2.95.2), with debug on, optimize turned off, and tests disabled, and it comes up fine (output included below). It's starting to look like it's: 1/ either fixed in last night build. 2/ an optimisation problem. 3/ a problem with using a different compiler and/or O/S and/or optimisation level. I'll try rebuilding Mozilla with optimisation turned on as well as debug turned on. ---- jmqpc1[133] ./run.sh ----------- Running mozilla ------------- .//run-mozilla.sh ./mozilla-bin MOZILLA_FIVE_HOME=/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin LD_LIBRARY_PATH=/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin:usr/openwin/lib:/usr/motif/lib:/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/dist/lib:/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/lib:/usr/dist/pkgs/socks,v1.0/lib:/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/dist/lib LIBRARY_PATH=/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin SHLIB_PATH=/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin LIBPATH=/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin ADDON_PATH=/net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin MOZ_PROGRAM=./mozilla-bin MOZ_TOOLKIT= moz_debug=0 moz_debugger= nsNativeComponentLoader: autoregistering begins. *** Registering nsSampleModule components (all right -- a generic module!) *** Registering xpconnect components (all right -- a generic module!) *** Registering mozJSComponentLoader components (all right -- an almost-generic module!) *** Registering nsGtkTimerModule components (all right -- a generic module!) *** Registering Network Data Cache components (all right -- a generic module!) *** Registering necko core and primary protocols components (all right -- a generic module!) *** Registering necko secondary protocols 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 nsPrefModule components (all right -- a generic module!) *** Registering nsGIFModule components (all right -- a generic module!) *** Registering nsPNGModule components (all right -- a generic module!) *** Registering nsJPGModule 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 nsGfxPSModule components (all right -- a generic module!) *** Registering nsGfxGTKModule components (all right -- a generic module!) *** Registering javascript: protocol components (all right -- a generic module!) *** Registering nsWidgetGTKModule 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 Browser Embedding Module 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 nsGlobalHistoryModule components (all right -- a generic module!) *** Registering nsSearchModule components (all right -- a generic module!) *** Registering nsRelatedLinksModule components (all right -- a generic module!) *** Registering nsRegistryViewerModule components (all right -- a generic module!) nsUnknownContentTypeHandler registration successful nsStreamTransfer registration successful *** Registering Session History Module components (all right -- a generic module!) *** Registering nsTimeBomb components (all right -- a generic module!) *** Registering nsAutoCompleteModule components (all right -- a generic module!) *** Registering Urlbar History Module components (all right -- a generic module!) *** Registering nsSoftwareUpdate 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 PSMComponent components (all right -- a generic module!) *** Registering nsMsgBaseModule 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 nsAbSyncModule components (all right -- a generic module!) nsNativeComponentLoader: autoregistering succeeded JS Component Loader: WARNING /net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin/components/nsSample.js:26 deprecated getter usage JS Component Loader: WARNING /net/portal/export1/ENG_WORKSPACES/richb/nightly-intel-gcc/mozilla/dist/bin/components/nsSample.js:27 deprecated setter usage *** 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] ************************************************************ -*- filepicker: registering (all right -- a JavaScript module!) -*- sidebar: registering (all right -- a JavaScript module!) registerSelf for remoteControl nNCL: registering deferred (0) 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: verifyreflow is disabled Note: styleverifytree is disabled Note: frameverifytree is disabled Move window by 639.5,511.5 warning: property locale.all.zh_TW.BIG5 already exists start with profile: Default User ProfileManager : StartApprunner profileName passed in: Default UserProfileManager : GetProfileDir ProfileName : Default User ProfileDir : /home/richb/.mozilla/Default User ProfileManager : GetProfileDir nsWidget::~nsWidget() of toplevel: 1 widgets still exist. ~nsProfile we have an event stuck -- removing it. WEBSHELL- = 0 Profile Manager : Profile Wizard and Manager activites : End WEBSHELL+ = 1 Initialized app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353}, rv=0x00000000 FOR DEBUG BUILDS ONLY: we are forcing you to see the checkin guidelines when you open a browser window WEBSHELL+ = 2 CSSLoaderImpl::LoadAgentSheet: Load of URL 'file:///home/richb/.mozilla/Default%20User/chrome/user.css' failed. Error code: 16389 assuming d&d is off for Personal Toolbar Obtained name of Personal Toolbar from bookmarks string bundle. Start reading in bookmarks.html Finished reading in bookmarks.html (149651 microseconds) -->loadDS(): ds=[xpconnect wrapped nsIRDFDataSource], loaded=true, returning! <-- WEBSHELL+ = 3 WEBSHELL+ = 4 Setting content window FOR DEBUG BUILDS ONLY: we are forcing you to see the checkin guidelines when you open a browser window *** Pulling out the charset Loading page specified via openDialog ###!!! ASSERTION: ++++++ bad record, somethings wrong : 'id==mRecordID', file nsDiskCacheRecord.cpp, line 435 ###!!! Break: at file nsDiskCacheRecord.cpp, line 435 -*- sidebar: CI: {577cb745-8caf-11d3-aaef-00805f8a4905} -*- sidebar: sidebar uri is file:///home/richb/.mozilla/Default%20User/panels.rdf -*- sidebar: datasource_uri is file:///home/richb/.mozilla/Default%20User/panels.rdf in SetSecurityButton Opening file cookies.txt failed Opening file cookperm.txt failed ###!!! ASSERTION: ++++++ bad record, somethings wrong : 'id==mRecordID', file nsDiskCacheRecord.cpp, line 435 ###!!! Break: at file nsDiskCacheRecord.cpp, line 435 Block(td)(1)@885e3ac: WARNING: max-element-size:1245,285 desired:1245,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@885e5e0: WARNING: max-element-size:915,285 desired:915,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@8869c98: WARNING: max-element-size:1275,285 desired:1275,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@8869ecc: WARNING: max-element-size:1215,285 desired:1215,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@886a100: WARNING: max-element-size:1440,285 desired:1440,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@886a334: WARNING: max-element-size:870,285 desired:870,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(0)@886a5b0: WARNING: max-element-size:1605,300 desired:1605,270 maxSize:1073741824,1073741824 Warning - table cell content max element height 300 greater than desired height 285 Block(td)(1)@886a81c: WARNING: max-element-size:930,285 desired:930,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@886aa50: WARNING: max-element-size:780,285 desired:780,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fa428: WARNING: max-element-size:510,285 desired:510,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fa65c: WARNING: max-element-size:1590,285 desired:1590,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fa890: WARNING: max-element-size:825,285 desired:825,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88faac4: WARNING: max-element-size:1455,285 desired:1455,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88facf8: WARNING: max-element-size:765,285 desired:765,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(0)@88faf74: WARNING: max-element-size:780,300 desired:780,270 maxSize:1073741824,1073741824 Warning - table cell content max element height 300 greater than desired height 285 Block(td)(1)@88fb1e0: WARNING: max-element-size:1020,285 desired:1020,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fb778: WARNING: max-element-size:1380,285 desired:1380,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fb9ac: WARNING: max-element-size:840,285 desired:840,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fbbe0: WARNING: max-element-size:1260,285 desired:1260,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(0)@88fbe5c: WARNING: max-element-size:570,300 desired:570,270 maxSize:1073741824,1073741824 Warning - table cell content max element height 300 greater than desired height 285 Block(td)(1)@88fc0c8: WARNING: max-element-size:1275,285 desired:1275,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fc2fc: WARNING: max-element-size:1110,285 desired:1110,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fc530: WARNING: max-element-size:1425,285 desired:1425,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(1)@88fcf88: WARNING: max-element-size:1425,285 desired:1425,255 maxSize:1073741824,1073741824 Warning - table cell content max element height 285 greater than desired height 270 Block(td)(0)@88fd204: WARNING: max-element-size:525,300 desired:525,270 maxSize:1073741824,1073741824 Warning - table cell content max element height 300 greater than desired height 285 Block(td)(0)@88fd3c8: WARNING: max-element-size:705,300 desired:705,270 maxSize:1073741824,1073741824 Warning - table cell content max element height 300 greater than desired height 285 Block(h3)(7)@89028e8: WARNING: max-element-size:630,315 desired:630,285 maxSize:1073741824,1073741824 Block(li)(1)@8902a5c: WARNING: max-element-size:585,300 desired:585,285 maxSize:1073741824,1073741824 Block(dd)(3)@8902c8c: WARNING: max-element-size:750,285 desired:2610,255 maxSize:1073741824,1073741824 Block(li)(5)@8902d78: WARNING: max-element-size:1155,300 desired:1680,285 maxSize:1073741824,1073741824 Block(dd)(7)@8902fa8: WARNING: max-element-size:1080,285 desired:3690,255 maxSize:1073741824,1073741824 Block(li)(9)@8903108: WARNING: max-element-size:450,300 desired:450,285 maxSize:1073741824,1073741824 Block(dd)(11)@8903300: WARNING: max-element-size:765,285 desired:2775,255 maxSize:1073741824,1073741824 Block(li)(13)@89033ec: WARNING: max-element-size:1155,300 desired:1800,285 maxSize:1073741824,1073741824 Block(dd)(0)@8903630: WARNING: max-element-size:1080,285 desired:3240,255 maxSize:1073741824,1073741824 Block(dl)(15)@89035e4: WARNING: max-element-size:1680,285 desired:3840,255 maxSize:1073741824,1073741824 Block(li)(17)@89037b8: WARNING: max-element-size:870,300 desired:1710,285 maxSize:1073741824,1073741824 Block(dd)(0)@8940a68: WARNING: max-element-size:1020,300 desired:6615,270 maxSize:1073741824,1073741824 Block(dl)(19)@8940a1c: WARNING: max-element-size:1620,300 desired:7215,270 maxSize:1073741824,1073741824 Block(li)(21)@8940cdc: WARNING: max-element-size:870,300 desired:870,285 maxSize:1073741824,1073741824 Block(dd)(0)@8940f20: WARNING: max-element-size:1200,285 desired:11850,255 maxSize:1073741824,1073741824 Block(dl)(23)@8940ed4: WARNING: max-element-size:1800,285 desired:12450,255 maxSize:1073741824,1073741824 Block(li)(25)@8941034: WARNING: max-element-size:1095,300 desired:1845,285 maxSize:1073741824,1073741824 Block(dd)(0)@89412ec: WARNING: max-element-size:945,285 desired:21015,255 maxSize:1073741824,1073741824 Block(dl)(27)@89412a0: WARNING: max-element-size:1545,285 desired:21615,255 maxSize:1073741824,1073741824 Block(h3)(11)@8941fcc: WARNING: max-element-size:870,315 desired:870,285 maxSize:1073741824,1073741824 Block(li)(1)@8942140: WARNING: max-element-size:1110,300 desired:2940,285 maxSize:1073741824,1073741824 Block(dd)(0)@8942384: WARNING: max-element-size:1020,285 desired:9840,255 maxSize:1073741824,1073741824 Block(dl)(3)@8942338: WARNING: max-element-size:1620,285 desired:10440,255 maxSize:1073741824,1073741824 Block(li)(5)@8942498: WARNING: max-element-size:855,300 desired:1455,285 maxSize:1073741824,1073741824 Block(dd)(7)@8942690: WARNING: max-element-size:1035,285 desired:7905,255 maxSize:1073741824,1073741824 Block(li)(9)@894282c: WARNING: max-element-size:945,300 desired:945,285 maxSize:1073741824,1073741824 Block(dd)(0)@8942a70: WARNING: max-element-size:1155,285 desired:9720,255 maxSize:1073741824,1073741824 Block(dl)(11)@8942a24: WARNING: max-element-size:1755,285 desired:10320,255 maxSize:1073741824,1073741824 Block(li)(13)@8942ce4: WARNING: max-element-size:1215,300 desired:1575,285 maxSize:1073741824,1073741824 Block(dd)(15)@8942f30: WARNING: max-element-size:1320,285 desired:8010,255 maxSize:1073741824,1073741824 WEBSHELL+ = 5 Document: Done (4.859 secs) Document http://www.mozilla.org/quality/checkin-guidelines.html loaded successfully WARNING: not calling OnDataAvailable, file nsAsyncStreamListener.cpp, line 409 nsWidget::~nsWidget() of toplevel: 13 widgets still exist. WEBSHELL- = 4 nsWidget::~nsWidget() of toplevel: 11 widgets still exist. nsWidget::~nsWidget() of toplevel: 9 widgets still exist. WEBSHELL- = 3 WEBSHELL- = 2 WEBSHELL- = 1 Shut down app shell component {18c2f989-b09f-11d2-bcde-00805f0e1353}, rv=0x00000000 ~nsProfile killing plugin host nsWidget::~nsWidget() of toplevel: 0 widgets still exist. WEBSHELL- = 0 -*- filepicker: Unloading component. *** Unloading sample JS components -*- sidebar: Unloading component. CanUnload_enumerate: skipping native 36.0u 8.0s 1:53 38% 0+0k 0+0io 0pf+0w jmqpc1[134]
Comment 5•24 years ago
|
||
[richb - 5/31/00] The problem I was having earlier this morning: ... Could not obtain CmdLine processing service ... looks like it's bug 39808. At least that clears up why I was seeing a different error than the original submitter. Now to try to reproduce his original core dump.
Comment 6•24 years ago
|
||
rich, since you seem to have the means for looking at this bug, i'm reassigning to you. let me know if this is the wrong thing to do.
Assignee: leaf → rich.burridge
Comment 7•24 years ago
|
||
leaf, no problem. I'll take it. In fact, my optimised build (-O with no -g) of the nightly .tar.gz from a couple of nights ago has just finished, and I have no problems with it running. I've tried both with and without an initial default profile. It works fine for me. It was compiled with gcc v2.95.2 on a Solaris Intel 2.6 machine. Donnie, could you try grabbing the tip-of-the-tree again, and see if it now works for you, otherwise I'll just close this bug out as WORKSFORME. Thanks.
Status: NEW → ASSIGNED
Comment 8•24 years ago
|
||
I've been building mozilla on Solaris x86 for about 9 months and didn't encounter this problem until upgrading to Solaris 8. While it still builds fine (M14, 15, 16, and may CVS pulls in between), it has never been able to connect to a single site since Solaris 8. I believe the problem has something to do with Solaris 8.
Comment 9•24 years ago
|
||
Bernie, can you either attach or send me your ./configure output for Solaris 8 please. I'll then compare it against mine. I don't think I've got access to a Solaris 8 machine running Solaris 8, so I might need you to try some things out when we've determined what the differences are. Thanks.
Comment 10•24 years ago
|
||
Comment 11•24 years ago
|
||
Comment 12•24 years ago
|
||
Bernie, thanks for attaching the logs. The differences between your and mine are really only the location of various utility programs like gmake, xemacs, nawk etc..., and that I'm (incorrectly) getting ld from /usr/ucb rather than /usr/ccs/bin. I'll fix that before my next build. I don't think it's causing this problem. So nothing obvious here. I've asked one of the folks in our escalation centre to supply me with a list of essential patches for Solaris 8 on the Intel platform. When I get this, we can compare it with what patches you've got applied. There might be something causing the problem there. Just guessing though. More later.
Reporter | ||
Comment 13•24 years ago
|
||
Rich, This is Donnie, I am seing the same as bernie....still with the tip of the tree...I am thinking also that this is just only for Solaris 8 X86.....dont know about Sparc havent built it on that yet....I am going to include my .profile and then later after I repull I will update with my configure script... PATH=/usr/local:/usr/local/bin:/usr/ccs/bin:/usr/openwin/bin:/bin:/usr/bin:/opt/ sfw/bin:/sbin:/usr/sbin; export PATH MANPATH=/usr/share/man:/usr/man:/opt/sfw/man:/usr/local/man:/usr/openwin/man; export MANPATH LIBPATH=/export/home/mozilla/SunOS_5.8_depend/mozilla/obj-i386-pc-solaris2.8/dis t/lib:/usr/lib:/lib:/opt/sfw/lib:/usr/openwin/lib:/usr/local/lib; export LIBPATH LD_LIBRARY_PATH=/builds/tinderbox/SeaMonkey/nspr/lib:/lib:/opt/sfw/lib:/usr/open win/lib:/usr/local/lib; export LD_LIBRARY_PATH CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot export CVSROOT
Reporter | ||
Comment 14•24 years ago
|
||
Reporter | ||
Comment 15•24 years ago
|
||
Comment 16•24 years ago
|
||
Comment 17•24 years ago
|
||
I have attached an nspr log of the error when NSPR_LOG_MODULES=nsSocketTransport:5. Note that PRErrorCode = ffffe89d after the error. How do we find out what that means? I'll look around some more when I get the time but maybe this will help someone else. I was also surprised to see the DNS lookup IP address reported in IPv6 format (i.e., v4 address printed in v6 format). Is mozilla really v6 compliant or aware? Could this problem be related to Solaris 8's IPv6 support? I'd like to try it on a sparc platform but my UltraSparc doesn't have the disk space and is too slow to compile it. If I can find a Sparc binary, I've got access to a Solaris 8 UltraSparc platform to try it on.
Assignee | ||
Comment 18•24 years ago
|
||
Yes, Mozilla now uses the IPv6 socket API in NSPR. So all the network addresses are IPv6 addresses. An IPv4 address is represented in a special format called IPv4-mapped IPv6 address (::ffff:ddd.ddd.ddd.ddd). PRErrorCode = ffffe89d is -5987, or PR_INVALID_ARGUMENT_ERROR. (NSPR error codes are defined in mozilla/nsprpub/pr/include/prerr.h, which is included by mozilla/nsprpub/pr/include/prerror.h.) It would be useful to find out which NSPR function failed with this error code.
Comment 19•24 years ago
|
||
This problem does not occur with M15 on Solaris 8 (SPARC). Looks like it is unique to Solaris 8 Intel. I'm sure I saw the problem with M15 on Intel although I'm now building from newer source on Intel. I'll try to better identify the function where the problem occurs when I have the time.
Comment 20•24 years ago
|
||
The first report of an error seems to happen in nsprpub/pr/src/pthreads/ptio.c at the connect call on line 1136. connect() fails with errno = 22 (invalid arg). For my builds, _PR_INET6 is not defined and _PR_HAVE_SOCKADDR_LEN is not defined. The value of the arguments to connect() are: fd->secret->md.osfd = 18 addpr = 0x 1a000050 00000000 00000000 00000000 0000ffff cfc84929 00000000 addr_len = 28
Assignee | ||
Comment 21•24 years ago
|
||
Assignee | ||
Comment 22•24 years ago
|
||
Thanks for the debug info. The addpr looks sane. 0x1a is 26 (AF_INET6), 0x50 is 80 (HTTP port), and the address is of the form ::ffff:ddd.ddd.ddd.ddd (IPv4-mapped IPv6 address). So it appears that on a Solaris 8 Intel/x86 host without an IPv6 network interface, an AF_INET6 socket cannot connect to an IPv4 host using its IPv4-mapped IPv6 address. (This works on Solaris 8 Sparc.) I don't have access to a Solaris 8 Intel/x86 box, so I'll have to ask you to verify my theory. Please save the test program (attachment id=9603) as file conn.c and compile it: cc conn.c -lsocket -lnsl -o conn Then run it with some web sites, e.g., ./conn www.mozilla.org ./conn www.sun.com This test program connects to port 80 on the specified host and requests the top-level page "/". If it works, you will see some HTML text printed to stdout.
Assignee | ||
Comment 23•24 years ago
|
||
Assignee | ||
Comment 24•24 years ago
|
||
I figured out what the bug is. This is an NSPR bug that is not manifested on Sparc because of its 8-byte alignment of 'long long'. It turns out that Solaris 8's struct sockaddr_in6 has a nonstandard member "uint32_t __sin6_src_id" at the end, making it 32 bytes whether 'long long' is 4 byte or 8 byte aligned. The 'ipv6' member of PRNetAddr (a union) is modeled after a standard struct sockaddr_in6. As such, the sum of the sizes of the members is 28 bytes. However, if 'long long' is 8 byte aligned (e.g., on Sparc), the size of PRNetAddr.ipv6 is 32 bytes. On the other hand, if 'long long' is 4 byte aligned (e.g., on Intel/x86), the size of PRNetAddr.ipv6 is 28 bytes, which is smaller than the size of struct sockaddr_in6. When we pass 28 as the addr_len argument to connect (as confirmed by the debug info provided by Bernie), connect fails with EINVAL. You can apply the patch I just attached (id=9605) to mozilla/nsprpub/pr/include/private/primpl.h and rebuild just mozilla/nsprpub: cd mozilla/nsprpub gmake clean gmake I'm sure things will work for you now. The patch changes 'sizeof(addr->ipv6)' to 32.
Comment 25•24 years ago
|
||
The patch to mozilla/nsprpub/pr/include/private/primpl.h does correct the problem on Solaris 8 Intel.
Assignee | ||
Updated•24 years ago
|
Component: Browser-General → NSPR
Product: Browser → NSPR
Target Milestone: M16 → 4.0.1
Version: other → 4.0
Assignee | ||
Comment 26•24 years ago
|
||
With Bernie's confirmation, I'm changing the product to NSPR and assigning to bug to me.
Assignee: rich.burridge → wtc
Status: ASSIGNED → NEW
QA Contact: granrose → wtc
Comment 27•24 years ago
|
||
No problem with me. Thankyou for investigating/fixing this!
Reporter | ||
Comment 28•24 years ago
|
||
Wanted to concur that the patch works fine on Solaris 8 x86... Thanks WTC!!!!
Assignee | ||
Comment 29•24 years ago
|
||
Assignee | ||
Comment 30•24 years ago
|
||
Please try the revised patch I just attached (id=9676). Again, you only need to rebuild mozilla/nsprpub: cd mozilla/nsprpub gmake clean gmake I'd appreciate it if you could test the revised patch on Solaris 8 on both Intel/x86 and Sparc.
Status: NEW → ASSIGNED
Comment 31•24 years ago
|
||
Clearing nsbeta- to get reconsideration. WTC requested a special checkin permission (as a Netscape employee) and said in email: This is a Platform Parity bug. It only affects Solaris 8 on Intel/x86 architecture. It makes mozilla not able to make any network connections. That's a major blocker. My proposed fix is ifdef'd so that it only affects Solaris. I made sure it works for both all Solaris releases (2.6, 7, and 8) on both Sparc and Intel/x86 architectures.
Whiteboard: [dogfood-][nsbeta2-] → [dogfood-] ifdef Solaris fix in hand
Reporter | ||
Comment 32•24 years ago
|
||
confirming revised patch works!!!
Assignee | ||
Comment 33•24 years ago
|
||
Larry, could you please review the revised patch (attachment id=9676)? Thanks.
Comment 34•24 years ago
|
||
Putting on [nsbeta2+][dogfood-] radar.
Whiteboard: [dogfood-] ifdef Solaris fix in hand → [nsbeta2+][dogfood-]ifdef Solaris fix in hand
Comment 35•24 years ago
|
||
OK. looks good to me.
Assignee | ||
Comment 36•24 years ago
|
||
I checked in the bug fix on the NSPRPUB_CLIENT_BRANCH. /cvsroot/mozilla/nsprpub/pr/include/md/_solaris.h, revision 3.11.2.2 /cvsroot/mozilla/nsprpub/pr/include/private/primpl.h, revision 3.35.2.2
Assignee | ||
Comment 37•24 years ago
|
||
Checked in the fix on the NSPRPUB_RELEASE_4_0_BRANCH. /cvsroot/mozilla/nsprpub/pr/include/md/_solaris.h, revision 3.10.4.5 /cvsroot/mozilla/nsprpub/pr/include/private/primpl.h, revision 3.34.4.7
Assignee | ||
Comment 38•24 years ago
|
||
Checked in the fix on the main trunk. /cvsroot/mozilla/nsprpub/pr/include/md/_solaris.h, revision 3.15 /cvsroot/mozilla/nsprpub/pr/include/private/primpl.h, revision 3.45 Marked the bug fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 39•24 years ago
|
||
Checked in the fix on the SeaMonkey_M16_BRANCH for inclusion into M16. /cvsroot/mozilla/nsprpub/pr/include/md/_solaris.h, revision 3.11.2.1.4.1 /cvsroot/mozilla/nsprpub/pr/include/private/primpl.h, revision 3.35.2.1.6.1
Assignee | ||
Updated•24 years ago
|
Target Milestone: 4.0.1 → 4.0.2
Comment 42•24 years ago
|
||
tested on August 7 commercial build compliments of the Sun folks. Marking this verified. Tested this on Solaris 7 and Solaris 8 x86.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•