Subject: Re: pkg/12258: mozilla-0.8 doesn't install on i386 (a.out)
To: None <gnats-bugs@gnats.netbsd.org, netbsd-bugs@netbsd.org>
From: ITOH Yasufumi <itohy@netbsd.org>
List: netbsd-bugs
Date: 06/26/2001 11:35:48
Hello,
Here's mozilla-0.9.1 version of the pr.
--
% cd /usr/pkgsrc/www/mozilla
% make CFLAGS=-g CXXFLAGS=-g
===> Validating dependencies for mozilla-0.9.1
: (a good while)
make CFLAGS=-g CXXFLAGS=-g 2668.96s user 447.68s system 83% cpu 1:02:01.50 total
% /usr/bin/su
# make STRIPFLAG= install
===> Installing for mozilla-0.9.1
/usr/bin/env OBJECT_FMT=a.out \
PLIST_SRC=/usr/pkgsrc/www/mozilla/pkg/PLIST-a.out \
SED=/usr/bin/sed EGREP=/usr/bin/egrep CHOWN=/usr/sbin/chown \
CHGRP=/usr/bin/chgrp CHMOD=/bin/chmod BINOWN=root BINGRP=wheel \
BINMODE=555 SETENV=/usr/bin/env \
BSD_INSTALL_PROGRAM="install -c -o root -g wheel -m 555" \
BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555" \
BSD_INSTALL_DATA="install -c -o root -g wheel -m 644" \
BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" \
BSD_INSTALL_PROGRAM_DIR="install -d -o root -g wheel -m 555" \
BSD_INSTALL_SCRIPT_DIR="install -d -o root -g wheel -m 555" \
BSD_INSTALL_DATA_DIR="install -d -o root -g wheel -m 555" \
BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 555" \
CURDIR=/usr/pkgsrc/www/mozilla DISTDIR=/usr/pkgsrc/distfiles \
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin \
WRKDIR=/usr/pkgsrc/www/mozilla/work.i386 \
WRKSRC=/usr/pkgsrc/www/mozilla/work.i386/mozilla \
PATCHDIR=/usr/pkgsrc/www/mozilla/patches \
SCRIPTDIR=/usr/pkgsrc/www/mozilla/scripts \
FILESDIR=/usr/pkgsrc/www/mozilla/files PKGSRCDIR=/usr/pkgsrc \
DEPENDS="gtk+>=1.2.8:../../x11/gtk gdk-pixbuf>=0.10.1:../../graphics/gdk-pixbuf ORBit>=0.5.3:../../net/ORBit jpeg-6b:../../graphics/jpeg png>=1.0.11:../../graphics/png" \
PREFIX=/usr/X11R6 LOCALBASE=/usr/pkg X11BASE=/usr/X11R6
/usr/pkgsrc/www/mozilla/scripts/moz-install
Segmentation fault - core dumped
*** Error code 5
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
*** Error code 1
Stop.
# find /usr/X11R6/lib/mozilla -name '*.core' -print
/usr/X11R6/lib/mozilla/regxpcom.core
# cd /usr/X11R6/lib/mozilla
# chmod 644 regxpcom.core
# cd components
# strip libgklayout.so.1.0 libeditor.so.1.0 libmailnews.so.1.0 libnecko.so.1.0
# suspend
zsh: 21660 suspended /usr/bin/su
% cd /usr/X11R6/lib/mozilla
% limit datasize 512M
% gdb ./regxpcom -c regxpcom.core
GNU gdb 4.17
Copyright 1998 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--netbsd"...
Core was generated by `regxpcom'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.so...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libxpcom.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libplds4.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libplc4.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libnspr4.so.1.0...done.
Reading symbols from /usr/lib/libstdc++.so.2.0...done.
Reading symbols from /usr/lib/libm.so.0.1...done.
Reading symbols from /usr/lib/libc.so.12.73...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libabsyncsvc.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/./libmozjs.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libmsgbaseutil.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libaccessibility.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libgkgfx.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libaddrbook.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libappcomps.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libcaps.so.1.0...done.
Reading symbols from /usr/lib/libz.so.0.2...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libchardet.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libchrome.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libcookie.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libdocshell.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libeditor.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libembedcomponents.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgfx2.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgfx_gtk.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/libgtk.so.12.10...done.
Reading symbols from /usr/X11R6/lib/libgdk.so.12.10...done.
Reading symbols from /usr/pkg/lib/libgmodule.so.13.10...done.
Reading symbols from /usr/pkg/lib/libglib.so.13.10...done.
Reading symbols from /usr/X11R6/lib/libXi.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6.3...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6.1...done.
Reading symbols from /usr/X11R6/lib/libgdk_pixbuf.so.2.0...done.
Reading symbols from /usr/pkg/lib/libtiff.so.3.5...done.
Reading symbols from /usr/pkg/lib/libjpeg.so.62.0...done.
Reading symbols from /usr/pkg/lib/libpng.so.2.0...done.
Reading symbols from /usr/X11R6/lib/libXIE.so.6.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libgtksuperwin.so.1.0...done.
Reading symbols from /usr/lib/libintl.so.0.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgfxps.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgkcontent.so.1.0...
done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/X11R6/lib/mozilla/components/libgklayout.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgkplugin.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/./libgtkxtbin.so.1.0...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libSM.so.6.0...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6.3...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgkview.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libhtmlpars.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimggif.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimgjpeg.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimglib2.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimgpng.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimgppm.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimpText.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libimport.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libjar50.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libjsdom.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libjsloader.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libjsurl.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/liblocalmail.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/liblwbrk.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmailnews.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmime.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmimeemitter.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmork.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmozbrwsr.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmozfind.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmozldap.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/./libldap40.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./liblber40.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmozxfer.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmsgcompose.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmsgdb.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmsgimap.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libmsgnews.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnecko.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnecko2.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnkcache.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsappshell.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsgif.so.1.0...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsjpg.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnslocale.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsmng.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnspng.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsprefm.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/liboji.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libjsj.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libpipnss.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libpippki.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libpref.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libprofile.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/librdf.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libregviewer.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libshistory.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libsmime.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libstrres.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libtimer_gtk.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libtxmgr.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libtxtsvc.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libuconv.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvcn.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvibm.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvja.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvko.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvlatin.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvmath.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvtw.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libucvtw2.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libunicharutil.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/liburiloader.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libvcard.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libwallet.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libwalletviewers.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libwebbrwsr.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libwidget_gtk.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libxmlextras.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libxpconnect.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libxpinstall.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libxremote_client.so.1.0...done.
#0 0x0 in ?? ()
(gdb) bt
#0 0x0 in ?? ()
#1 0x40089abd in XPTC_InvokeByIndex (that=0x14a0c0, methodIndex=12,
paramCount=1, params=0xbfbfc5b8) at xptcinvoke_unixish_x86.cpp:138
#2 0x419533ad in XPCWrappedNative::CallMethod (ccx=@0xbfbfc66c,
mode=CALL_METHOD) at xpcwrappednative.cpp:1835
#3 0x4195949b in XPC_WN_CallMethod (cx=0xea00, obj=0x1024c8, argc=0,
argv=0x13a020, vp=0xbfbfc760) at xpcwrappednativejsops.cpp:1241
#4 0x40252c45 in js_Invoke (cx=0xea00, argc=0, flags=2) at jsinterp.c:807
#5 0x40252e7d in js_InternalInvoke (cx=0xea00, obj=0x1024c8, fval=1058008,
flags=0, argc=0, argv=0x0, rval=0xbfbfc880) at jsinterp.c:896
#6 0x402658a4 in js_TryMethod (cx=0xea00, obj=0x1024c8, atom=0xfdcc0, argc=0,
argv=0x0, rval=0xbfbfc880) at jsobj.c:3316
#7 0x40264a56 in js_DefaultValue (cx=0xea00, obj=0x1024c8,
hint=JSTYPE_STRING, vp=0xbfbfc8b0) at jsobj.c:2852
#8 0x4027de8e in js_ValueToString (cx=0xea00, v=1057992) at jsstr.c:2377
#9 0x4024d7c7 in js_ReportUncaughtException (cx=0xea00) at jsexn.c:796
#10 0x40235986 in JS_ExecuteScript (cx=0xea00, obj=0x101da8, script=0x11ac00,
rval=0xbfbfc918) at jsapi.c:3171
#11 0x410a70bf in mozJSComponentLoader::GlobalForLocation (this=0xea200,
aLocation=0xe98a0 "rel:chatzilla-service.js", component=0xea280)
at mozJSComponentLoader.cpp:1178
#12 0x410a6a38 in mozJSComponentLoader::ModuleForLocation (this=0xea200,
registryLocation=0xe98a0 "rel:chatzilla-service.js", component=0xea280)
at mozJSComponentLoader.cpp:994
#13 0x410a62c8 in mozJSComponentLoader::AttemptRegistration (this=0xea200,
component=0xea280, deferred=0) at mozJSComponentLoader.cpp:834
#14 0x410a6070 in mozJSComponentLoader::AutoRegisterComponent (this=0xea200,
when=0, component=0xea280, registered=0xbfbfcc70)
at mozJSComponentLoader.cpp:764
#15 0x410a5b31 in mozJSComponentLoader::RegisterComponentsInDir (this=0xea200,
when=0, dir=0x11500) at mozJSComponentLoader.cpp:594
#16 0x410a5a02 in mozJSComponentLoader::AutoRegisterComponents (this=0xea200,
when=0, aDirectory=0x11500) at mozJSComponentLoader.cpp:550
#17 0x40065ecf in AutoRegister_enumerate (key=0xe9840, aData=0xea200,
aClosure=0xbfbfce80) at nsComponentManager.cpp:1929
#18 0x40039853 in _hashEnumerate (he=0xe9860, i=1, arg=0xbfbfcd20)
at nsHashtable.cpp:193
#19 0x40100bce in PL_HashTableEnumerateEntries ()
#20 0x40039c5e in nsHashtable::Enumerate (this=0xf1c0,
aEnumFunc=0x40065ea0 <AutoRegister_enumerate(nsHashKey *, void *, void *)>, closure=0xbfbfce80) at nsHashtable.cpp:359
#21 0x4006685a in nsComponentManagerImpl::AutoRegisterImpl (this=0x11200,
when=0, inDirSpec=0x0) at ../../dist/include/nsHashtable.h:158
#22 0x40065f60 in nsComponentManagerImpl::AutoRegister (this=0x11200, when=0,
inDirSpec=0x0) at nsComponentManager.cpp:1953
#23 0x4006de79 in nsComponentManager::AutoRegister (when=0, directory=0x0)
at nsRepository.cpp:200
#24 0x1def in main (argc=1, argv=0xbfbfd078) at regxpcom.cpp:176
(gdb) up
#1 0x40089abd in XPTC_InvokeByIndex (that=0x14a0c0, methodIndex=12,
paramCount=1, params=0xbfbfc5b8) at xptcinvoke_unixish_x86.cpp:138
138 );
(gdb) list
133 "1" (paramCount), /* %6 */
134 "2" (params), /* %7 */
135 "g" (n), /* %8 */
136 "0" (fn_copy) /* %3 */
137 : "memory"
138 );
139
140 return result;
141
142 #else
(gdb) list XPTC_InvokeByIndex
84 }
85
86 XPTC_PUBLIC_API(nsresult)
87 XPTC_InvokeByIndex(nsISupports* that, PRUint32 methodIndex,
88 PRUint32 paramCount, nsXPTCVariant* params)
89 {
90 #ifdef __GNUC__ /* Gnu compiler. */
91 PRUint32 result;
92 PRUint32 n = invoke_count_words (paramCount, params) * 4;
93 void (*fn_copy) (unsigned int, nsXPTCVariant *, PRUint32 *) = invoke_copy_to_stack;
(gdb)
94 int temp1, temp2, temp3;
95
96 __asm__ __volatile__(
97 "subl %8, %%esp\n\t" /* make room for params */
98 "pushl %%esp\n\t"
99 "pushl %7\n\t"
100 "pushl %6\n\t"
101 "call *%0\n\t" /* copy params */
102 "addl $0xc, %%esp\n\t"
103 "movl %4, %%ecx\n\t"
(gdb)
104 #ifdef CFRONT_STYLE_THIS_ADJUST
105 "movl (%%ecx), %%edx\n\t"
106 "movl %5, %%eax\n\t" /* function index */
107 "shl $3, %%eax\n\t" /* *= 8 */
108 "addl $8, %%eax\n\t" /* += 8 skip first entry */
109 "addl %%eax, %%edx\n\t"
110 "movswl (%%edx), %%eax\n\t" /* 'this' offset */
111 "addl %%eax, %%ecx\n\t"
112 "pushl %%ecx\n\t"
113 "addl $4, %%edx\n\t" /* += 4, method pointer */
(gdb)
114 #else /* THUNK_BASED_THIS_ADJUST */
115 "pushl %%ecx\n\t"
116 "movl (%%ecx), %%edx\n\t"
117 "movl %5, %%eax\n\t" /* function index */
118 #if defined(__GXX_ABI_VERSION) && __GXX_ABI_VERSION >= 100 /* G++ V3 ABI */
119 "leal (%%edx,%%eax,4), %%edx\n\t"
120 #else /* not G++ V3 ABI */
121 "leal 8(%%edx,%%eax,4), %%edx\n\t"
122 #endif /* G++ V3 ABI */
123 #endif
(gdb)
124 "call *(%%edx)\n\t" /* safe to not cleanup esp */
125 "addl $4, %%esp\n\t"
126 "addl %8, %%esp"
127 : "=a" (result), /* %0 */
128 "=c" (temp1), /* %1 */
129 "=d" (temp2), /* %2 */
130 "=g" (temp3) /* %3 */
131 : "g" (that), /* %4 */
132 "g" (methodIndex), /* %5 */
133 "1" (paramCount), /* %6 */
(gdb)
134 "2" (params), /* %7 */
135 "g" (n), /* %8 */
136 "0" (fn_copy) /* %3 */
137 : "memory"
138 );
139
140 return result;
141
142 #else
143 #error "can't find a compiler to use"
(gdb) p result
$1 = 1074305536
(gdb) p temp1
$2 = 4
(gdb) p temp2
$3 = 1
(gdb) p temp3
$4 = -1077951048
(gdb) p that
$5 = (nsISupports *) 0x14a0c0
(gdb) p methodIndex
$6 = 12
(gdb) p paramCount
$7 = 1
(gdb) p params
$8 = (nsXPTCVariant *) 0xbfbfc5b8
(gdb) p n
$9 = 4
(gdb) p fn_copy
No symbol "fn_copy" in current context.
(gdb) up
#2 0x419533ad in XPCWrappedNative::CallMethod (ccx=@0xbfbfc66c,
mode=CALL_METHOD) at xpcwrappednative.cpp:1835
1835 paramCount, dispatchParams);
(gdb) list
1830 // avoid deadlock in case the native method blocks somehow
1831 AutoJSSuspendRequest req(ccx); // scoped suspend of request
1832
1833 // do the invoke
1834 invokeResult = XPTC_InvokeByIndex(callee, vtblIndex,
1835 paramCount, dispatchParams);
1836 // resume non-blocking JS operations now
1837 }
1838
1839
(gdb) up
#3 0x4195949b in XPC_WN_CallMethod (cx=0xea00, obj=0x1024c8, argc=0,
argv=0x13a020, vp=0xbfbfc760) at xpcwrappednativejsops.cpp:1241
1241 return XPCWrappedNative::CallMethod(ccx);
(gdb) list
1236 XPCNativeMember* member;
1237
1238 if(!XPCNativeMember::GetCallInfo(ccx, funobj, &iface, &member))
1239 return Throw(NS_ERROR_XPC_CANT_GET_METHOD_INFO, cx);
1240 ccx.SetCallInfo(iface, member, JS_FALSE);
1241 return XPCWrappedNative::CallMethod(ccx);
1242 }
1243
1244 JSBool JS_DLL_CALLBACK
1245 XPC_WN_GetterSetter(JSContext *cx, JSObject *obj,
(gdb) up
#4 0x40252c45 in js_Invoke (cx=0xea00, argc=0, flags=2) at jsinterp.c:807
807 ok = native(cx, frame.thisp, argc, frame.argv, &frame.rval);
Current language: auto; currently c
(gdb) list
802 #endif
803
804 /* If native, use caller varobj and scopeChain for eval. */
805 frame.varobj = fp->varobj;
806 frame.scopeChain = fp->scopeChain;
807 ok = native(cx, frame.thisp, argc, frame.argv, &frame.rval);
808 JS_RUNTIME_METER(cx->runtime, nativeCalls);
809 } else if (script) {
810 /* Use parent scope so js_GetCallObject can find the right "Call". */
811 frame.scopeChain = parent;
(gdb) quit
% fg
[1] + continued /usr/bin/su
(pwd : /usr/pkgsrc/www/mozilla)
# rm -r /usr/X11R6/lib/mozilla /usr/X11R6/bin/mozilla