Closed Bug 288306 Opened 20 years ago Closed 19 years ago

crash in startup in XPTC_InvokeByIndex (Solaris 10 on amd x86_64)

Categories

(Core :: XPCOM, defect)

x86
Solaris
defect
Not set
critical

Tracking

()

RESOLVED EXPIRED

People

(Reporter: balbertson, Assigned: dougt)

Details

(Keywords: crash)

User-Agent:       Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1
Build Identifier: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.7.6) Gecko/20050301 Firefox/1.0.1

I have built Firefox 1.0.2 and Mozilla CVS head myself using the builtin gcc
(3.4.3) on Solaris 10 x86 on the AMD64 platform.  I get a crash on startup with
both (Firefox and Mozilla head).  It points to XPTC_InvokeByIndex.  Here is the
gdb backtrace:

#0  0xfee7cbc8 in XPTC_InvokeByIndex () from /usr/local/firefox/libxpcom_core.so
#1  0x080466ec in ?? ()
#2  0x080f6bf0 in ?? ()
#3  0x080466c8 in ?? ()
#4  0xfcad22bc in XPCWrappedNative::CallMethod () from
/usr/local/firefox/components/libxpconnect.so
#5  0xfcb50cec in ?? ()
#6  0xfefdd030 in ?? ()
#7  0x08057870 in _PROCEDURE_LINKAGE_TABLE_ ()
#8  0xfcaa111e in _PROCEDURE_LINKAGE_TABLE_ () from
/usr/local/firefox/components/libxpconnect.so
#9  0x08057880 in _PROCEDURE_LINKAGE_TABLE_ ()
#10 0xfdc24508 in read_encoded_value_with_base () from /usr/sfw/lib/libgcc_s.so.1

I have also compiled with gcc 4.0 from the 03/26/05 snapshot with the same
effect.  Here is ldd output:

dev-zero:{root}# ldd /usr/local/firefox/firefox-bin
        libmozjs.so =>   (file not found)
        libxpcom.so =>   (file not found)
        libxpcom_core.so =>      (file not found)
        libplds4.so =>   (file not found)
        libplc4.so =>    (file not found)
        libnspr4.so =>   (file not found)
        libdl.so.1 =>    /usr/lib/libdl.so.1
        librt.so.1 =>    /usr/lib/librt.so.1
        libgtk-x11-2.0.so.0 =>   /usr/lib/libgtk-x11-2.0.so.0
        libgdk-x11-2.0.so.0 =>   /usr/lib/libgdk-x11-2.0.so.0
        libatk-1.0.so.0 =>       /usr/lib/libatk-1.0.so.0
        libgdk_pixbuf-2.0.so.0 =>        /usr/lib/libgdk_pixbuf-2.0.so.0
        libmlib.so.2 =>  /usr/lib/libmlib.so.2
        libpangoxft-1.0.so.0 =>  /usr/lib/libpangoxft-1.0.so.0
        libpangox-1.0.so.0 =>    /usr/lib/libpangox-1.0.so.0
        libpango-1.0.so.0 =>     /usr/lib/libpango-1.0.so.0
        libgobject-2.0.so.0 =>   /usr/lib/libgobject-2.0.so.0
        libgmodule-2.0.so.0 =>   /usr/lib/libgmodule-2.0.so.0
        libglib-2.0.so.0 =>      /usr/lib/libglib-2.0.so.0
        libX11.so.4 =>   /usr/lib/libX11.so.4
        libsocket.so.1 =>        /usr/lib/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/libnsl.so.1
        libm.so.2 =>     /usr/lib/libm.so.2
        libstdc++.so.6 =>        /usr/sfw/lib/libstdc++.so.6
        libgcc_s.so.1 =>         /usr/sfw/lib/libgcc_s.so.1
        libpthread.so.1 =>       /usr/lib/libpthread.so.1
        libc.so.1 =>     /usr/lib/libc.so.1
        libaio.so.1 =>   /usr/lib/libaio.so.1
        libmd5.so.1 =>   /usr/lib/libmd5.so.1
        libXft.so.2 =>   /usr/lib/libXft.so.2
        libfreetype.so.6 =>      /usr/sfw/lib/libfreetype.so.6
        libXrender.so.1 =>       /usr/sfw/lib/libXrender.so.1
        libfontconfig.so.1 =>    /usr/lib/libfontconfig.so.1
        libXrandr.so.2 =>        /usr/X11/lib/libXrandr.so.2
        libXi.so.5 =>    /usr/lib/libXi.so.5
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libpangoft2-1.0.so.0 =>  /usr/lib/libpangoft2-1.0.so.0
        libmp.so.2 =>    /usr/lib/libmp.so.2
        libscf.so.1 =>   /usr/lib/libscf.so.1
        libexpat.so.0 =>         /usr/sfw/lib/libexpat.so.0
        libz.so.1 =>     /usr/lib/libz.so.1
        libdoor.so.1 =>  /usr/lib/libdoor.so.1
        libuutil.so.1 =>         /usr/lib/libuutil.so.1
        /usr/lib/libmlib/libmlib_sse2.so.2

I built with these flags:

# ./configure  --disable-ldap --disable-mailnews --enable-extensions=cookie,xml-
rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,gnomevfs,
p3p,negotiateauth --enable-crypto --disable-composer --enable-single-profile --d
isable-profilesharing --enable-debug --disable-tests --disable-static --enable-s
hared --with-system-zlib --with-system-png --x-includes=/usr/openwin/include --x
-libraries=/usr/openwin/lib --enable-x11-shm --enable-default-toolkit=gtk2 --ena
ble-xft --disable-freetype2 --disable-installer --enable-official-branding --dis
able-xprint --disable-strip --enable-application=browser --enable-debug-modules

Please let me know if there is any other output I can provide.



Reproducible: Always

Steps to Reproduce:
1. build Firefox or mozilla from source
2. run the built binary
3. crash occurs during startup

Actual Results:  
crash

Expected Results:  
run as normal
Keywords: crash
I am suspicious that this has to do with either xptcinvoke or xptcstubs.  Should
it be building using the Solaris x86 files or the x86_64 files?  I'm on an AMD64
based workstation, running Solaris 10 x86.  The isainfo -v command shows the
following:

dev-zero:{root}# isainfo -v
64-bit amd64 applications
        sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc
        fpu
32-bit i386 applications
        sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc cx8 tsc
        fpu

Has anyone else successfully built the current Firefox or Mozilla on an AMD64
based machine using Solaris 10?

Brett
Assignee: firefox → dougt
Component: General → XPCOM
Product: Firefox → Core
QA Contact: general
Version: unspecified → 1.7 Branch
I experience the same situation for my Solaris 10 x86 on AMD64 box.

I have built Firefox CVS Head, Mozilla CVS Head, and Sunbird CVS Head. All build
successfully, but crash on startup. 
OS: SunOS → Solaris
Summary: crash in startup in XPTC_InvokeByIndex → crash in startup in XPTC_InvokeByIndex (Solaris 10 on amd x86_64)
Version: 1.7 Branch → Trunk
try using the x86_64 files
(In reply to comment #3)
> try using the x86_64 files

How?
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.