Subject: pkg/12258: mozilla-0.8 doesn't install on i386 (a.out)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itohy@netbsd.org>
List: netbsd-bugs
Date: 02/21/2001 12:39:58
>Number:         12258
>Category:       pkg
>Synopsis:       mozilla-0.8 doesn't install on i386 (a.out)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 20 19:41:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     ITOH Yasufumi
>Release:        kernel: 1.5S, userland: 1.5K, pkgsrc: Feb. 18, 2001
>Organization:
>Environment:
System: NetBSD pino.my.domain 1.5S NetBSD 1.5S (PINO) #289: Sun Feb 18 13:22:52 JST 2001 itohy@pino.my.domain:/w/src/sys/arch/i386/compile/PINO i386
Architecture: i386
Machine: i386
>Description:
	mozilla-0.8 pkg does compile, but fails on make install.

>How-To-Repeat:
	(long line is folded)

% cd /w/pkgsrc/www/mozilla
% make CFLAGS=-g CXXFLAGS=-g
	: (hours)
% su
# make STRIPFLAG= install
===> Installing for mozilla-0.8
/usr/bin/env OBJECT_FMT=a.out PLIST_SRC=/w/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=/w/pkgsrc/www/mozilla DISTDIR=/w/pkgsrc/distfiles  \
	PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/cross/m68k-i386--netbsd/bin:/usr/pkg/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/X11R6/bin  \
	WRKDIR=/w/pkgsrc/www/mozilla/work.i386 \
	WRKSRC=/w/pkgsrc/www/mozilla/work.i386/mozilla \
	PATCHDIR=/w/pkgsrc/www/mozilla/patches  \
	SCRIPTDIR=/w/pkgsrc/www/mozilla/scripts \
	FILESDIR=/w/pkgsrc/www/mozilla/files  PKGSRCDIR=/w/pkgsrc \
	DEPENDS="gtk+>=1.2.8:../../x11/gtk ORBit>=0.5.3:../../net/ORBit jpeg-6b:../../graphics/jpeg png>=1.0.6:../../graphics/png"  \
	PREFIX=/usr/X11R6 LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 \
	/w/pkgsrc/www/mozilla/scripts/moz-install
RegSelf GB2312 to Unicode converter complete
RegSelf Unicode to GB2312 converter complete
RegSelf windows-936 to Unicode converter complete
RegSelf Unicode to windows-936 converter complete
RegSelf x-gbk to Unicode converter complete
RegSelf Unicode to x-gbk converter complete
RegSelf HZ-GB-2312 to Unicode converter complete
RegSelf Unicode to HZ-GB-2312 converter complete
RegSelf Unicode to gb_2312-80 converter complete
RegSelf IBM850 to Unicode converter complete
RegSelf IBM852 to Unicode converter complete
RegSelf IBM855 to Unicode converter complete
RegSelf IBM857 to Unicode converter complete
RegSelf IBM862 to Unicode converter complete
RegSelf IBM864 to Unicode converter complete
RegSelf Unicode to IBM850 converter complete
RegSelf Unicode to IBM852 converter complete
RegSelf Unicode to IBM855 converter complete
RegSelf Unicode to IBM857 converter complete
RegSelf Unicode to IBM862 converter complete
RegSelf Unicode to IBM864 converter complete
RegSelf Shift_JIS to Unicode converter complete
RegSelf EUC-JP to Unicode converter complete
RegSelf ISO-2022-JP to Unicode converter complete
RegSelf Unicode to Shift_JIS converter complete
RegSelf Unicode to EUC-JP converter complete
RegSelf Unicode to ISO-2022-JP converter complete
RegSelf Unicode to jis_0201 converter complete
RegSelf Unicode to jis_0208-1983 converter complete
RegSelf Unicode to jis_0212-1990 converter complete
RegSelf EUC-KR to Unicode converter complete
RegSelf Unicode to EUC-KR converter complete
RegSelf Unicode to ks_c_5601-1987 converter complete
RegSelf Unicode to x-x11johab converter complete
RegSelf us-ascii to Unicode converter complete
RegSelf x-u-escaped to Unicode converter complete
RegSelf ISO-8859-2 to Unicode converter complete
RegSelf ISO-8859-3 to Unicode converter complete
RegSelf ISO-8859-4 to Unicode converter complete
RegSelf ISO-8859-5 to Unicode converter complete
RegSelf ISO-8859-6 to Unicode converter complete
RegSelf ISO-8859-6-I to Unicode converter complete
RegSelf ISO-8859-6-E to Unicode converter complete
RegSelf ISO-8859-7 to Unicode converter complete
RegSelf ISO-8859-8 to Unicode converter complete
RegSelf ISO-8859-8-I to Unicode converter complete
RegSelf ISO-8859-8-E to Unicode converter complete
RegSelf ISO-8859-9 to Unicode converter complete
RegSelf ISO-8859-10 to Unicode converter complete
RegSelf ISO-8859-13 to Unicode converter complete
RegSelf ISO-8859-14 to Unicode converter complete
RegSelf ISO-8859-15 to Unicode converter complete
RegSelf ISO-IR-111 to Unicode converter complete
RegSelf windows-1250 to Unicode converter complete
RegSelf windows-1251 to Unicode converter complete
RegSelf windows-1253 to Unicode converter complete
RegSelf windows-1254 to Unicode converter complete
RegSelf windows-1255 to Unicode converter complete
RegSelf windows-1256 to Unicode converter complete
RegSelf windows-1257 to Unicode converter complete
RegSelf windows-1258 to Unicode converter complete
RegSelf TIS-620 to Unicode converter complete
RegSelf IBM866 to Unicode converter complete
RegSelf KOI8-R to Unicode converter complete
RegSelf KOI8-U to Unicode converter complete
RegSelf x-mac-ce to Unicode converter complete
RegSelf x-mac-greek to Unicode converter complete
RegSelf x-mac-turkish to Unicode converter complete
RegSelf x-mac-croatian to Unicode converter complete
RegSelf x-mac-romanian to Unicode converter complete
RegSelf x-mac-cyrillic to Unicode converter complete
RegSelf x-mac-ukrainian to Unicode converter complete
RegSelf x-mac-icelandic to Unicode converter complete
RegSelf armscii-8 to Unicode converter complete
RegSelf x-viet-tcvn5712 to Unicode converter complete
RegSelf VISCII to Unicode converter complete
RegSelf x-viet-vps to Unicode converter complete
RegSelf UTF-7 to Unicode converter complete
RegSelf x-imap4-modified-utf7 to Unicode converter complete
RegSelf UTF-16BE to Unicode converter complete
RegSelf UTF-16LE to Unicode converter complete
RegSelf UTF-32BE to Unicode converter complete
RegSelf UTF-32LE to Unicode converter complete
RegSelf T.61-8bit to Unicode converter complete
RegSelf x-user-defiSegmentation 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
	(too large for gdb...)
# suspend

Suspended
% cd /usr/X11R6/lib/mozilla
% limit datasize 512M
% gdb ./regxpcom -c regxpcom.core
GNU gdb 4.17
	:
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/./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/X11R6/lib/mozilla/./libxpcom.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.70...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/libaddrbook.so.1.0...
---Type <return> to continue, or q <return> to quit---
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/./libjsdom.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/libgfx_gtk.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/libgtk.so.12.8...done.
Reading symbols from /usr/X11R6/lib/libgdk.so.12.8...done.
Reading symbols from /usr/pkg/lib/libgmodule.so.13.8...done.
Reading symbols from /usr/pkg/lib/libglib.so.13.8...done.
Reading symbols from /usr/pkg/lib/libintl.so.1.0...done.
Reading symbols from /usr/X11R6/lib/libXi.so.6.0...done.
---Type <return> to continue, or q <return> to quit---
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/mozilla/./libgkgfx.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libgfxps.so.1.0...done.
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/mozilla/./libgtksuperwin.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/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/libjsloader.so.1.0...
---Type <return> to continue, or q <return> to quit---
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/libmozucth.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...
---Type <return> to continue, or q <return> to quit---
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/libnsappshell.so.1.0...
done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsgif.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/components/libnsjpg.so.1.0...done.
Reading symbols from /usr/pkg/lib/libjpeg.so.62.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/pkg/lib/libpng.so.1.3...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/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/libpsmglue.so.1.0...
---Type <return> to continue, or q <return> to quit---
done.
Reading symbols from /usr/X11R6/lib/mozilla/./libcmt.so.1.0...done.
Reading symbols from /usr/X11R6/lib/mozilla/./libprotocol.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/libsigned.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.
---Type <return> to continue, or q <return> to quit---
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.---Type <return> to continue, or q <return> to quit---
..done.
#0  0x4023d455 in strlen ()
(gdb) bt
#0  0x4023d455 in strlen ()
#1  0x405bd898 in nsScriptSecurityManager::nsIXPCSecurityManager virtual table
    ()
#2  0x42cb66dd in XPCConvert::NativeData2JS (cx=0xf600, d=0xbfbfc4a0,
    s=0xbfbfc538, type=@0xbfbfc4b3, iid=0x0, scope=0x153b70, pErr=0xbfbfc510)
    at xpcconvert.cpp:370
#3  0x42cf4bc3 in nsXPCWrappedNativeClass::CallWrappedMethod (this=0x177c80,
    cx=0xf600, wrapper=0x177cc0, desc=0x136cd4, callMode=CALL_METHOD, argc=0,
    argv=0x0, vp=0xbfbfc678) at xpcwrappednativeclass.cpp:1010
#4  0x42cf9405 in WrappedNative_Convert (cx=0xf600, obj=0x153b70,
    type=JSTYPE_STRING, vp=0xbfbfc678) at xpcwrappednativejsops.cpp:193
#5  0x42cfac95 in WrappedNative_DefaultValue (cx=0xf600, obj=0x153b70,
    type=JSTYPE_STRING, vp=0xbfbfc678) at xpcwrappednativejsops.cpp:714
#6  0x4038069b in js_ValueToString (cx=0xf600, v=0) at jsstr.c:2426
#7  0x4032e91c in js_ReportUncaughtException (cx=0xf600) at jsexn.c:796
#8  0x403062d7 in JS_ExecuteScript (cx=0xf600, obj=0x11aeb8, script=0x179000,
    rval=0xbfbfc740) at jsapi.c:3122
#9  0x41b69e18 in mozJSComponentLoader::GlobalForLocation (this=0x100d80,
    aLocation=0x104d00 "rel:chatzilla-service.js", component=0x100e00)
    at mozJSComponentLoader.cpp:1012
#10 0x41b69181 in mozJSComponentLoader::ModuleForLocation (this=0x100d80,
    registryLocation=0x104d00 "rel:chatzilla-service.js", component=0x100e00)
    at mozJSComponentLoader.cpp:832
---Type <return> to continue, or q <return> to quit---
#11 0x41b688a4 in mozJSComponentLoader::AttemptRegistration (this=0x100d80,
    component=0x100e00, deferred=0) at mozJSComponentLoader.cpp:672
#12 0x41b68538 in mozJSComponentLoader::AutoRegisterComponent (this=0x100d80,
    when=0, component=0x100e00, registered=0xbfbfcb78)
    at mozJSComponentLoader.cpp:602
#13 0x41b67bcd in mozJSComponentLoader::RegisterComponentsInDir (
    this=0x100d80, when=0, dir=0x12480) at mozJSComponentLoader.cpp:432
#14 0x41b67956 in mozJSComponentLoader::AutoRegisterComponents (this=0x100d80,
    when=0, aDirectory=0x12480) at mozJSComponentLoader.cpp:388
#15 0x4011c1db in AutoRegister_enumerate (key=0x104c60, aData=0x100d80,
    aClosure=0xbfbfce44) at nsComponentManager.cpp:1923
#16 0x400944f6 in _hashEnumerate (he=0x104c80, i=1, arg=0xbfbfcc54)
    at nsHashtable.cpp:193
#17 0x400380e1 in PL_HashTableEnumerateEntries (ht=0x10204,
    f=0x400944c0 <_hashEnumerate(PLHashEntry *, int, void *)>, arg=0xbfbfcc54)
    at plhash.c:413
#18 0x40094a3a in nsHashtable::Enumerate (this=0x10200,
    aEnumFunc=0x4011c184 <AutoRegister_enumerate(nsHashKey *, void *, void *)>, closure=0xbfbfce44) at nsHashtable.cpp:359
#19 0x40097a4b in nsSupportsHashtable::Enumerate (this=0x10200,
    aEnumFunc=0x4011c184 <AutoRegister_enumerate(nsHashKey *, void *, void *)>, closure=0xbfbfce44) at nsHashtable.h:158
#20 0x4011cedf in nsComponentManagerImpl::AutoRegisterImpl (this=0x12180,
---Type <return> to continue, or q <return> to quit---
    when=0, inDirSpec=0x0) at nsComponentManager.cpp:2053
#21 0x4011c2b2 in nsComponentManagerImpl::AutoRegister (this=0x12180, when=0,
    inDirSpec=0x0) at nsComponentManager.cpp:1947
#22 0x40133e45 in nsComponentManager::AutoRegister (when=0, directory=0x0)
    at nsRepository.cpp:200
#23 0x204a in main (argc=1, argv=0xbfbfd048) at regxpcom.cpp:159
(gdb) up
#1  0x405bd898 in nsScriptSecurityManager::nsIXPCSecurityManager virtual table
    ()
(gdb) up
#2  0x42cb66dd in XPCConvert::NativeData2JS (cx=0xf600, d=0xbfbfc4a0,
    s=0xbfbfc538, type=@0xbfbfc4b3, iid=0x0, scope=0x153b70, pErr=0xbfbfc510)
    at xpcconvert.cpp:370
370                     if(!(str = JS_NewStringCopyZ(cx, p)))
(gdb) list
365                           isAscii = PR_FALSE;
366                     }
367                     NS_ASSERTION(isAscii, "passing non ASCII data");
368     #endif // STRICT_CHECK_OF_UNICODE
369                     JSString* str;
370                     if(!(str = JS_NewStringCopyZ(cx, p)))
371                         return JS_FALSE;
372                     *d = STRING_TO_JSVAL(str);
373                     break;
374                 }
(gdb) p p
$1 = 0x80004005 <Address 0x80004005 out of bounds>
(gdb) p cx
$2 = (JSContext *) 0xf600
(gdb) p *cx
$3 = {links = {next = 0x106158, prev = 0xf400}, interpLevel = 0,
  version = JSVERSION_DEFAULT, jsop_eq = 18 '\022', jsop_ne = 19 '\023',
  runtime = 0x106000, stackPool = {first = {next = 0x0, base = 63016,
      limit = 63016, avail = 63016}, current = 0xf618, arenasize = 8192,
    mask = 3}, fp = 0x0, codePool = {first = {next = 0x0, base = 63048,
      limit = 63048, avail = 63048}, current = 0xf638, arenasize = 1024,
    mask = 0}, notePool = {first = {next = 0x0, base = 63076, limit = 63076,
      avail = 63076}, current = 0xf654, arenasize = 256, mask = 0},
  tempPool = {first = {next = 0x0, base = 63104, limit = 63104,
      avail = 63104}, current = 0xf670, arenasize = 1024, mask = 7},
  globalObject = 0x119748, newborn = {0x153b70, 0x153b78, 0x1535e0, 0x0, 0x0,
    0x0, 0x0, 0x0}, regExpStatics = {input = 0x0, multiline = 0,
    parenCount = 0, moreLength = 0, parens = {{length = 0, chars = 0x0}, {
        length = 0, chars = 0x0}, {length = 0, chars = 0x0}, {length = 0,
        chars = 0x0}, {length = 0, chars = 0x0}, {length = 0, chars = 0x0}, {
        length = 0, chars = 0x0}, {length = 0, chars = 0x0}, {length = 0,
        chars = 0x0}}, moreParens = 0x0, lastMatch = {length = 0,
      chars = 0x4039780c}, lastParen = {length = 0, chars = 0x4039780c},
    leftContext = {length = 0, chars = 0x4039780c}, rightContext = {
      length = 0, chars = 0x4039780c}}, sharpObjectMap = {depth = 0,
    sharpgen = 0, table = 0x0}, argumentFormatMap = 0x1485c0,
  lastMessage = 0x0, branchCallback = 0,
  errorReporter = 0x41b67288 <Reporter(JSContext *, char const *, JSErrorReport ---Type <return> to continue, or q <return> to quit---
*)>, data = 0x0, dormantFrameChain = 0x0, thread = 69632, requestDepth = 1,
  scopeToShare = 0x0, rval2 = 0, rval2set = 0 '\000', throwing = 1 '\001',
  exception = 1391472, options = 0, scannerVersion = JSVERSION_DEFAULT,
  localeCallbacks = 0x0, resolving = 0x0, stackHeaders = 0x0}
(gdb) up
#3  0x42cf4bc3 in nsXPCWrappedNativeClass::CallWrappedMethod (this=0x177c80,
    cx=0xf600, wrapper=0x177cc0, desc=0x136cd4, callMode=CALL_METHOD, argc=0,
    argv=0x0, vp=0xbfbfc678) at xpcwrappednativeclass.cpp:1010
1010                                              wrapper->GetJSObject(), &err))
(gdb) list
1005            }
1006            else
1007            {
1008                if(!XPCConvert::NativeData2JS(cx, &v, &dp->val, datum_type,
1009                                              conditional_iid,
1010                                              wrapper->GetJSObject(), &err))
1011                {
1012                    ThrowBadParamException(err, cx, desc, i);
1013                    goto done;
1014                }
(gdb) p dp
$4 = (nsXPTCVariant *) 0xbfbfc538
(gdb) p *dp
$5 = {<nsXPTCMiniVariant> = {val = {i8 = 5 '\005', i16 = 16389,
      i32 = -2147467259, i64 = 299069310255109, u8 = 5 '\005', u16 = 16389,
      u32 = 2147500037, u64 = 299069310255109, f = -2.29658805e-41,
      d = 1.4775987192248657e-309, b = -2147467259, c = 5 '\005', wc = 16389,
      p = 0x80004005}}, ptr = 0xbfbfc538, type = {<XPTTypeDescriptorPrefix> = {
      flags = 144 '\220'}, }, flags = 3 '\003'}
(gdb) up
#4  0x42cf9405 in WrappedNative_Convert (cx=0xf600, obj=0x153b70,
    type=JSTYPE_STRING, vp=0xbfbfc678) at xpcwrappednativejsops.cpp:193
193                                              0, nsnull, vp))
(gdb) list
188                                rt->GetStringID(XPCJSRuntime::IDX_TO_STRING))) &&
189                desc->IsMethod())
190             {
191                 if(!clazz->CallWrappedMethod(cx, wrapper, desc,
192                                              nsXPCWrappedNativeClass::CALL_METHOD,
193                                              0, nsnull, vp))
194                     return JS_FALSE;
195                 if(JSVAL_IS_PRIMITIVE(*vp))
196                     return JS_TRUE;
197             }
(gdb) q
% fg
# rm -r /usr/X11R6/lib/mozilla /usr/X11R6/bin/mozilla

>Fix:
	ENOCLUE

>Release-Note:
>Audit-Trail:
>Unformatted: