Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Jul 2002 19:15:56 +0200 (CEST)
From:      Dirk Engling <erdgeist@gate5.de>
To:        freebsd-current@freebsd.org
Subject:   gcc-3.1 Mozilla Build Fails
Message-ID:  <Pine.BSF.4.43.0207101900120.81608-100000@orion.gate5.de>

next in thread | raw e-mail | index | archive | help

Maybe this would be more interesting to
the mozilla guys but mozilla compiles on
2.95.3, so I think, the problem is related
to gcc-3.1

(cd /usr/ports/www/mozilla/work/mozilla/dist/bin;  /usr/bin/env
LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom;  echo
skin,install,select,classic/1.0 >> chrome/installed-chrome.txt;  echo
locale,install,select,en-US >> chrome/installed-chrome.txt;  /usr/bin/env
LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome)
Type Manifest File:
/usr/ports/www/mozilla/work/mozilla/dist/bin/components/xpti.dat
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
###!!! ASSERTION: never called: 'Error', file
../../../../dist/include/xpconnect/xpc_map_end.h, line 143
###!!! Break: at file ../../../../dist/include/xpconnect/xpc_map_end.h,
line 143
[1]   24584 Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/www/mozilla.



My gdb tells me, that:

#0  0x284274c0 in nsXPCException::CanGetProperty(nsID const*, unsigned short const*, char**) (this=0x80bcdb8, iid=0xbfbfee40, propertyName=0x2815d70a,
    _retval=0x8) at xpcexception.cpp:506
506         *_retval = xpc_CheckAccessList(propertyName, allowed);
(gdb) print _retval
$1 = (char **) 0x8
(gdb) up
#1  0x2815d751 in XPTC_InvokeByIndex (that=0x80b5940, methodIndex=12,     paramCount=3217025902, params=0xbfbfee40) at
xptcinvoke_unixish_x86.cpp:88
88       __asm__ __volatile__(
(gdb) up
#2  0x28441f8a in XPCWrappedNative::CallMethod(XPCCallContext&,
XPCWrappedNative::CallMode) (ccx=@0xbfbfef00, mode=CALL_METHOD) at xpcwrappednative.cpp:2025
2025            invokeResult = XPTC_InvokeByIndex(callee, vtblIndex, paramCount, dispatchParams);
(gdb) print paramCount
$1 = 1 '\001'

And this seems a bit strange, parameter 3 seems to be wrong.
I am not a C++ Crack, so, anyone can help?

#0 /usr/ports/www/mozilla/work/mozilla/js/src/xpconnect/src/xpcexception.cpp:506
#1 /usr/ports/www/mozilla/work/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_unixish_x86.cpp
#2 /usr/ports/www/mozilla/work/mozilla/js/src/xpconnect/src/xpcwrappednative.cpp:2025

Regards,

  erdgeist

-----------------------------------------
fnord!
id 0x17B701E5      size 1024 | type rsa
11F8 8FF3 0508 09F9 DC6A 2AB3 AA67 C8CF


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.43.0207101900120.81608-100000>