Closed Bug 30681 Opened 25 years ago Closed 24 years ago

YA crash on startup with Mozilla M14 on Sun/Solaris platform with Sun workshop 5.0 compilers.

Categories

(SeaMonkey :: Build Config, defect, P3)

Sun
Solaris
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rich.burridge, Assigned: cls)

Details

(Keywords: crash)

[richb - 6th March 2000 7:55am] 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: % cd .../mozilla/dist/bin % ./mozilla and got the following crash. Note that this crash is in the same method as the crash for bug #30680, but the stack trace is different, and this is not an optimised build; just the default debug build. stard[63] ./mozilla .//run-mozilla.sh ./mozilla-bin MOZILLA_FIVE_HOME=/export/space/blackwood/Netscape6/netscape6/mozilla/dist/bin LD_LIBRARY_PATH=/export/space/blackwood/Netscape6/netscape6/mozilla/dist/bin:/usr/openwin/lib:/usr/motif/lib:/export/space/blackwood/Netscape6/netscape6/dist/lib SHLIB_PATH=/export/space/blackwood/Netscape6/netscape6/mozilla/dist/bin LIBPATH=/export/space/blackwood/Netscape6/netscape6/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 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 Gdk-WARNING **: shmat failed! Gdk-WARNING **: shmat failed! 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 Illegal Instruction - core dumped stard[64] /usr/dist/pkgs/devpro/5.x-sparc/bin/dbx mozilla-bin core Reading mozilla-bin core file header read successfully Reading ld.so.1 Reading libraptorgfx.so Reading libmozjs.so Reading libxpcom.so Reading libjsj.so Reading libplds4.so Reading libplc4.so Reading libnspr4.so Reading libpthread.so.1 Reading libraptorwebwidget.so Reading libdocshell.so Reading libjsdom.so Reading libw.so.1 Reading librt.so.1 Reading libintl.so.1 Reading libelf.so.1 Reading libnsl.so.1 Reading libsocket.so.1 Reading libresolv.so.2 Reading libCrun.so.1 Reading libdl.so.1 Reading libm.so.1 Reading libthread.so.1 Reading libc.so.1 Reading libaio.so.1 Reading libmp.so.2 Reading libc_psr.so.1 Reading libsample.so Reading libnecko_cache.so Reading libnecko.so Reading libnecko_about.so Reading libnecko_data.so Reading libnecko_file.so Reading libnecko_resource.so Reading libnecko_ftp.so Reading libnecko_http.so Reading libnkkyword.so Reading libnecko_jar.so Reading libnecko_res.so Reading libnecko_datetime.so Reading libnecko_finger.so Reading libmimetype.so Reading libstreamconv.so Reading libconverters.so Reading liburiloader.so Reading libuconv.so Reading libucvja.so Reading libucvcn.so Reading libucvlatin.so Reading libucvtw.so Reading libucvtw2.so Reading libucvko.so Reading libucvibm.so Reading libunicharutil.so Reading libnslocale.so Reading libstrres.so Reading liblwbrk.so Reading libchardet.so Reading libxpconnect.so Reading libjsloader.so Reading libpref.so Reading libnsgif.so Reading libnspng.so Reading libnsjpg.so Reading liboji.so Reading libjar50.so Reading libcaps.so Reading libraptorhtmlpars.so Reading libtimer_gtk.so Reading libgtk-1.2.so.0 Reading libgdk-1.2.so.0 Reading libgmodule-1.2.so.0 Reading libglib-1.2.so.0 Reading libXext.so.0 Reading libX11.so.4 Reading libgfxps.so Reading libjsurl.so Reading libraptorview.so Reading libtoolkit_service.so Reading libraptorhtml.so Reading libmork.so Reading libchrome.so Reading librdf.so Reading libender.so Reading libtxmgr.so Reading libtxtsvc.so Reading libprofile.so Reading libnsprefm.so Reading libnsappshell.so Reading libmozbrwsr.so Reading libbookmarks.so Reading libdirectory.so Reading libmozfind.so Reading libhistory.so Reading libsearch.so Reading librelated.so Reading libregviewer.so Reading libmozucth.so Reading libmozxfer.so Reading libshistory.so Reading libtbmb.so Reading libxpinstall.so Reading libxpiflash.so Reading libcookie.so Reading libwallet.so Reading libwalletviewers.so Reading libmailnews.so Reading libmsgbaseutil.so Reading libmsgdb.so Reading libmsgnews.so Reading liblocalmail.so Reading libmimeemitter.so Reading libvcard.so Reading libsmime.so Reading libsigned.so Reading libmime.so Reading libmsgcompose.so Reading libmsgimap.so Reading libaddrbook.so Reading libimport.so Reading libimpText.so Reading libMyService.so Reading libxpctest.so Reading librdfdomds.so Reading libwidget_gtk.so Reading libgtksuperwin.so Reading libgfx_gtk.so Reading libraptorplugin.so detected a multithreaded program t@1 (l@3) terminated by signal ILL (illegal opcode) Current function is g_io_unix_dispatch 137 user_data); t@1 l@3 <1> where current thread: t@1 [1] 0x35a198(0x3b12a8, 0x0, 0xffffffff, 0x0, 0x1, 0x0), at 0x35a197 [2] nsProxyObjectCallInfo::~nsProxyObjectCallInfo(0x3b12a8, 0x28a9c8, 0x35a1a0, 0xffbeec9c, 0x0, 0x0), at 0xfee21890 [3] 0xfee25700(0x3b12a8, 0x1, 0x0, 0x3b0e10, 0x0, 0xc03), at 0xfee256ff [4] 0xfee23494(0x2fe0b0, 0x0, 0x3, 0x378690, 0x36cfb8, 0x264975), at 0xfee23493 [5] PL_DestroyEvent(0x2fe0b0, 0xf77678b4, 0x8e04e12, 0xf75770e0, 0x36cfb8, 0xf7577188), at 0xfee10fc0 [6] PL_HandleEvent(0x2fe0b0, 0x1da4b8, 0x1da4b8, 0x0, 0x0, 0x0), at 0xfee10efc [7] PL_ProcessPendingEvents(0x187568, 0xfbe3b610, 0x1da4b8, 0x0, 0x0, 0x0), at 0xfee10c94 [8] nsEventQueueImpl::ProcessPendingEvents(0x125560, 0xfbe3b610, 0x1da4b8, 0x0, 0x0, 0x1e3ac0), at 0xfee14198 [9] 0xf7577848(0x125560, 0x6, 0x1, 0x0, 0x0, 0x0), at 0xf7577847 [10] 0xf7577154(0x209a50, 0x1, 0x1df0c0, 0x0, 0x0, 0x0), at 0xf7577153 =>[11] g_io_unix_dispatch(source_data = 0x261d50, current_time = 0xffbef1f0, user_data = 0x1df0c0), line 137 in "giounix.c" [12] g_main_dispatch(current_time = 0xffbef1f0), line 658 in "gmain.c" [13] g_main_iterate(block = 1, dispatch = 1), line 874 in "gmain.c" [14] g_main_run(loop = 0x264970), line 932 in "gmain.c" [15] gtk_main(), line 476 in "gtkmain.c" [16] nsAppShell::Run(0x1c8b28, 0xffbef4c4, 0x3cfe0, 0xffbef560, 0x2060b874, 0xffe), at 0xf7578288 [17] nsAppShellService::Run(0x188130, 0xffbef4c4, 0xffbef560, 0xfdfbb564, 0xfdfb7628, 0x264b85), at 0xfa5d4b44 [18] 0x190a4(0x1, 0xffbef694, 0x0, 0x8, 0xd4, 0x100d4), at 0x190a3 [19] main(0x1, 0xffbef694, 0xffbef69c, 0x3cc00, 0x0, 0x0), at 0x199a0 t@1 l@3 <2>
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
[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_SYS_SHM_H=1 -DHAVE_X11_EXTENSIONS_XSHM_H=1 -DHAVE_SYS_STATVFS_H=1 -DHAVE_SYS_STATFS_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_LIBM=1 -DHAVE_LIBDL=1 -DHAVE_LIBRESOLV=1 -DHAVE_LIBSOCKET=1 -DHAVE_LIBNSL=1 -DHAVE_LIBELF=1 -DHAVE_LIBINTL=1 -DHAVE_LIBPOSIX4=1 -DHAVE_LIBW=1 -D_REENTRANT=1 -DHAVE_RANDOM=1 -DHAVE_QSORT=1 -DHAVE_STRERROR=1 -DHAVE_LCHOWN=1 -DHAVE_FCHMOD=1 -DHAVE_SNPRINTF=1 -DHAVE_LOCALTIME_R=1 -DHAVE_STATVFS=1 -DHAVE_MEMMOVE=1 -DHAVE_USLEEP=1 -DHAVE_GETTIMEOFDAY=1 -DGETTIMEOFDAY_TWO_ARGS=1 -DHAVE_DEV_ZERO=1 -DHAVE_IOS_BINARY=1 -DHAVE_OSTREAM=1 -DHAVE_CPP_EXPLICIT=1 -DHAVE_CPP_SPECIALIZATION=1 -DHAVE_CPP_MODERN_SPECIALIZE_TEMPLATE_SYNTAX=1 -DHAVE_ACCESS_CHANGING_CPP_USING=1 -DHAVE_AMBIGUITY_RESOLVING_CPP_USING=1 -DHAVE_CPP_NAMESPACE_STD=1 -DHAVE_CPP_UNAMBIGUOUS_STD_NOTEQUAL=1 -DHAVE_CPP_NEW_CASTS=1 -DNEED_CPP_UNUSED_IMPLEMENTATIONS=1 -DHAVE_I18N_LC_MESSAGES=1 -DMOZ_MAIL_NEWS=1 -DNS_MT_SUPPORTED=1 -DDEBUG=1 -DDEBUG_richb=1 -DTRACING=1 -DDETECT_WEBSHELL_LEAKS=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DLAYERS=1 -DOSTYPE=\"SunOS5\" -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.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Adding crash keyword.
Keywords: crash
Target Milestone: --- → M20
Status: NEW → ASSIGNED
Rich, are you still seeing this crash? I'm not seeing a crash on startup with a WS5.0 build but I am with a gcc 2.95 build. gcc 2.7.2.3 builds are fine.
Chris; no I'm not seeing this problem any more. I'm happy for you to close it out. We see the startup crash with Gnu v2.95.2, but that's a separate problem and presumably a separately filed bug.
QA Contact: cyeh → leaf
Marking fixed per reporters comments.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.