Subject: Mozilla-gtk2 1.7.12 SIGSEGV on NetBSD/alpha 1.6.2_STABLE
To: NetBSD/alpha Discussion List <port-alpha@NetBSD.ORG>
From: Greg A. Woods <woods@weird.com>
List: tech-pkg
Date: 05/19/2006 12:41:40
--pgp-sign-Multipart_Fri_May_19_12:41:37_2006-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Is anyone interested in this SIGSEGV core dump from Mozilla-gtk2 1.7.12
on NetBSD/alpha 1.6.2_STABLE?  Does anyone know if 1.7.13 fairs any
better?

11:52 [44] $ mozilla-gtk2 -version                                         =
   =20
Mozilla 1.7.12, Copyright (c) 2003-2004 mozilla.org <developer build>
11:53 [40] $ mozilla-gtk2 -install                                         =
   =20
Memory access violation (core dumped)=20
11:53 [40] $ gdb6 /usr/pkg/lib/mozilla-gtk2/mozilla-bin mozilla.bin.core
GNU gdb 6.2.1
[[ . . . ]]
#0  0x000000012001fc98 in nsCSubstring::ReplacePrep (this=3D0x12015f120,=20
    cutStart=3D0, cutLen=3D0, fragLen=3D4294967295) at nsTSubstring.cpp:214
214     nsTSubstring.cpp: No such file or directory.
        in nsTSubstring.cpp
(gdb) where
#0  0x000000012001fc98 in nsCSubstring::ReplacePrep (this=3D0x12015f120,=20
    cutStart=3D0, cutLen=3D0, fragLen=3D4294967295) at nsTSubstring.cpp:214
#1  0x000000012001ff24 in nsCSubstring::Assign (this=3D0x12015f120,=20
    data=3D0x2a374030c "prefs", length=3D4294959092) at nsTSubstring.cpp:289
#2  0x00000002a373cb8c in nsSharedPrefHandler::nsSharedPrefHandler (
    this=3D0x12015f100) at ../../../dist/include/string/nsTString.h:76
#3  0x00000002a373df9c in NS_CreateSharedPrefHandler (aOwner=3D0x2a374030c)
    at nsSharedPrefHandler.cpp:419
#4  0x00000002a3736f88 in nsPrefService::Init (this=3D0x12009ce00)
    at nsPrefService.cpp:179
#5  0x00000002a373a0e4 in nsPrefServiceConstructor (aOuter=3D0x1200354f8,=20
    aIID=3D@0x2a157634c, aResult=3D0x1ffffe228) at nsPrefsFactory.cpp:48
#6  0x00000002a1108484 in nsGenericFactory::CreateInstance (this=3D0x120035=
4f8,=20
    aOuter=3D0x1200354f8, aIID=3D@0x0, aResult=3D0x0) at nsGenericFactory.c=
pp:82
#7  0x00000002a10c1ac4 in nsComponentManagerImpl::CreateInstanceByContractI=
D (
    this=3D0x2a157634c, aContractID=3D0x12009ce00 "8\vu=81=A3\002", aDelega=
te=3D0x0,=20
    aIID=3D@0x2a157634c, aResult=3D0x1ffffe228) at nsComponentManager.cpp:2=
000
#8  0x00000002a10c2a80 in nsComponentManagerImpl::GetServiceByContractID (
    this=3D0x120083600,=20
    aContractID=3D0x2a1576ed4 "@mozilla.org/preferences-service;1",=20
    aIID=3D@0x2a157634c, result=3D0x1ffffe290) at nsComponentManager.cpp:24=
20
#9  0x0000000120026adc in nsGetServiceByContractID::operator() (
    this=3D0x1ffffe2f0, aIID=3D@0x2a157634c, aInstancePtr=3D0x1ffffe290)
    at nsComponentManagerUtils.cpp:121
#10 0x0000000120026634 in nsCOMPtr_base::assign_from_helper (this=3D0x1ffff=
e2e8,=20
    helper=3D@0x22016d9c7, iid=3D@0x0) at nsCOMPtr.cpp:114
#11 0x00000002a1572e08 in nsScriptSecurityManager::InitPrefs (this=3D0x1201=
1ec00)
    at ../../dist/include/xpcom/nsCOMPtr.h:588
#12 0x00000002a157087c in nsScriptSecurityManager::Init (this=3D0x12011ec00)
    at nsScriptSecurityManager.cpp:2896
#13 0x00000002a1570fc0 in nsScriptSecurityManager::GetScriptSecurityManager=
 ()
    at nsScriptSecurityManager.cpp:2963
#14 0x00000002a1575358 in Construct_nsIScriptSecurityManager (
    aOuter=3D0x1200354f8, aIID=3D@0x2a3d84328, aResult=3D0x1ffffe4f8)
    at nsSecurityManagerFactory.cpp:330
#15 0x00000002a1108484 in nsGenericFactory::CreateInstance (this=3D0x120035=
4f8,=20
    aOuter=3D0x1200354f8, aIID=3D@0x0, aResult=3D0x0) at nsGenericFactory.c=
pp:82
#16 0x00000002a10c1ac4 in nsComponentManagerImpl::CreateInstanceByContractI=
D (
    this=3D0x120083600, aContractID=3D0x1ffffe4f8 "", aDelegate=3D0x0,=20
    aIID=3D@0x2a3d84328, aResult=3D0x1ffffe4f8) at nsComponentManager.cpp:2=
000
#17 0x00000002a10c2a80 in nsComponentManagerImpl::GetServiceByContractID (
---Type <return> to continue, or q <return> to quit---
    this=3D0x120083600,=20
    aContractID=3D0x2a3d85b09 "@mozilla.org/scriptsecuritymanager;1",=20
    aIID=3D@0x2a3d84328, result=3D0x1ffffe560) at nsComponentManager.cpp:24=
20
#18 0x0000000120026adc in nsGetServiceByContractID::operator() (
    this=3D0x1ffffe5d8, aIID=3D@0x2a3d84328, aInstancePtr=3D0x1ffffe560)
    at nsComponentManagerUtils.cpp:121
#19 0x0000000120026634 in nsCOMPtr_base::assign_from_helper (this=3D0x1ffff=
e5b8,=20
    helper=3D@0x22016d9c7, iid=3D@0x0) at nsCOMPtr.cpp:114
#20 0x00000002a3d74d24 in mozJSComponentLoader::ReallyInit (this=3D0x1ffffe=
560)
    at ../../../../dist/include/xpcom/nsCOMPtr.h:588
#21 0x00000002a3d7634c in mozJSComponentLoader::ModuleForLocation (
    this=3D0x12011e900, registryLocation=3D0x12009b6c0 "rel:calendarService=
.js",=20
    component=3D0x12011ea00) at mozJSComponentLoader.cpp:909
#22 0x00000002a3d75900 in mozJSComponentLoader::AttemptRegistration (
    this=3D0x12011e900, component=3D0x12011ea00, deferred=3D0)
    at mozJSComponentLoader.cpp:755
#23 0x00000002a3d754f4 in mozJSComponentLoader::AutoRegisterComponent (
    this=3D0x12011e900, when=3D0, component=3D0x12011ea00, registered=3D0x1=
ffffea44)
    at mozJSComponentLoader.cpp:681
#24 0x00000002a3d750cc in mozJSComponentLoader::RegisterComponentsInDir (
    this=3D0x12011e900, when=3D0, dir=3D0xffffffff80000000)
    at mozJSComponentLoader.cpp:589
#25 0x00000002a3d74ed8 in mozJSComponentLoader::AutoRegisterComponents (
    this=3D0x1200354f8, when=3D0, aDirectory=3D0x0) at mozJSComponentLoader=
.cpp:545
#26 0x00000002a10c4efc in nsComponentManagerImpl::AutoRegisterNonNativeComp=
onents (this=3D0x1ffffea38, spec=3D0x0) at nsComponentManager.cpp:3280
#27 0x00000002a10c4cfc in nsComponentManagerImpl::AutoRegisterImpl (
    this=3D0x120083600, when=3D-2147483648, inDirSpec=3D0x1ffffeb10,=20
    fileIsCompDir=3D-8204) at nsComponentManager.cpp:3250
#28 0x00000002a10c5508 in nsComponentManagerImpl::AutoRegister (
    this=3D0x120083600, aSpec=3D0x0) at nsComponentManager.cpp:3428
#29 0x00000002a106a07c in NS_InitXPCOM2 (result=3D0x1ffffeca0,=20
    binDirectory=3D0x32, appFileLocationProvider=3D0x1ffffeaf8)
    at nsXPComInit.cpp:576
#30 0x00000001200276c0 in NS_InitXPCOM2 (result=3D0x1200354f8, binDirectory=
=3D0x0,=20
    appFileLocationProvider=3D0x0) at nsXPCOMGlue.cpp:178
#31 0x00000001200282f0 in GRE_Startup () at nsXPCOMGlue.cpp:482
#32 0x0000000120012e64 in main (argc=3D2, argv=3D0x1ffffed58)
    at nsAppRunner.cpp:1706
(gdb) info locals
newLen =3D 4294967295
oldData =3D 0x1200354f8 ""
oldFlags =3D 1
(gdb)=20

--=20
						Greg A. Woods

H:+1 416 218-0098 W:+1 416 489-5852 x122 VE3TCP RoboHack <woods@robohack.ca>
Planix, Inc. <woods@planix.com>       Secrets of the Weird <woods@weird.com>

--pgp-sign-Multipart_Fri_May_19_12:41:37_2006-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: CYIgKKlxEYliSFn2Wdbq6BlFRBVC2p+c

iQA/AwUBRG31RGJ7XxTCWceFEQLhfgCgseaioOX4/jsOQCzRQCuzXoHRQQIAn1Vi
c6DCdYkTCQQ0whGzO98bd9/S
=LBLI
-----END PGP SIGNATURE-----

--pgp-sign-Multipart_Fri_May_19_12:41:37_2006-1--