Closed Bug 820667 Opened 12 years ago Closed 6 years ago

Shutdown crash at mozilla::storage::Service::Observe

Categories

(Toolkit :: Storage, defect, P3)

x86
macOS
defect

Tracking

()

RESOLVED WONTFIX

People

(Reporter: dougt, Unassigned)

References

Details

(Keywords: crash)

Crash Data

#0  mozilla::storage::Service::Observe (this=0x10eb2f880, aTopic=<value temporarily unavailable, due to optimizations>) at nsTArray.h:539
#1  0x000000010247c99d in non-virtual thunk to mozilla::storage::Service::Observe(nsISupports*, char const*, unsigned short const*) () at /Users/dougt/builds/mozilla-central/storage/src/mozStorageService.cpp:885
#2  0x00000001029d5f08 in nsObserverList::NotifyObservers (this=<value temporarily unavailable, due to optimizations>, aSubject=0x0, aTopic=0x10352bbef "xpcom-shutdown-threads", someData=0x0) at /Users/dougt/builds/mozilla-central/xpcom/ds/nsObserverList.cpp:99
#3  0x00000001029d7194 in nsTHashtable<nsObserverList>::GetEntry () at /Users/dougt/builds/mozilla-central/firefox-dbg/dist/include/nsTHashtable.h:161
#4  0x00000001029d7194 in nsObserverService::NotifyObservers (this=0x107403860, aSubject=0x0, aTopic=0x10352bbef "xpcom-shutdown-threads", someData=0x0) at /Users/dougt/builds/mozilla-central/xpcom/ds/nsObserverService.cpp:164
#5  0x00000001029c0726 in mozilla::ShutdownXPCOM (servMgr=0x100124c88) at /Users/dougt/builds/mozilla-central/xpcom/build/nsXPComInit.cpp:560
#6  0x000000010111dc79 in ScopedXPCOMStartup::~ScopedXPCOMStartup (this=0x1090031c0) at /Users/dougt/builds/mozilla-central/toolkit/xre/nsAppRunner.cpp:1124
#7  0x000000010112498e in ScopedXPCOMStartup::~ScopedXPCOMStartup () at /Users/dougt/builds/mozilla-central/toolkit/xre/nsAppRunner.cpp:1105
#8  0x000000010112498e in XREMain::XRE_main (this=0x7fff5fbfef70, argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>, aAppData=<value temporarily unavailable, due to optimizations>) at mozalloc.h:3916
#9  0x0000000101124c7a in XRE_main (argc=78336, argv=0x7fff7b32d9d0, aAppData=0x7fff5fbfecf0, aFlags=<value temporarily unavailable, due to optimizations>) at /Users/dougt/builds/mozilla-central/toolkit/xre/nsAppRunner.cpp:4089
#10 0x0000000100001d1e in do_main [inlined] () at /Users/dougt/builds/mozilla-central/browser/app/nsBrowserApp.cpp:174
#11 0x0000000100001d1e in main (argc=<value temporarily unavailable, due to optimizations>, argv=<value temporarily unavailable, due to optimizations>) at /Users/dougt/builds/mozilla-central/browser/app/nsBrowserApp.cpp:279
Severity: normal → critical
Crash Signature: [@ mozilla::storage::Service::Observe(nsISupports*, char const*, unsigned short const*)]
Keywords: crash
hg rev 131240:e19d0885977c Wed May 08 15:02:58 2013

#0  mozilla::storage::Service::Observe (this=0x7fffeceb9200, aTopic=<optimized out>) at /home/alex/mozilla-central/storage/src/mozStorageService.cpp:789
        n = <optimized out>
        connections = {<nsTArray_Impl<nsRefPtr<mozilla::storage::Connection>, nsTArrayInfallibleAllocator>> = {<nsTArray_base<nsTArrayInfallibleAllocator>> = {
              mHdr = 0x7fffc2207840}, <nsTArray_SafeElementAtHelper<nsRefPtr<mozilla::storage::Connection>, nsTArray_Impl<nsRefPtr<mozilla::storage::Connection>, nsTArrayInfallibleAllocator> >> = {<nsTArray_SafeElementAtSmartPtrHelper<mozilla::storage::Connection, nsTArray_Impl<nsRefPtr<mozilla::storage::Connection>, nsTArrayInfallibleAllocator> >> = {<No data fields>}, <No data fields>}, <No data fields>}, <No data fields>}
        os = {mRawPtr = 0x7ffff2b64970}
#1  0x00007ffff5640f5d in non-virtual thunk to mozilla::storage::Service::Observe(nsISupports*, char const*, unsigned short const*) (this=<optimized out>, aTopic=0x6 <Address 0x6 out of bounds>) at /home/alex/mozilla-central/storage/src/mozStorageService.cpp:796
No locals.
#2  0x00007ffff5d07e38 in nsObserverList::NotifyObservers (this=<optimized out>, aSubject=0x0, aTopic=0x7ffff695b255 <.L.str40> "xpcom-shutdown-threads", someData=0x0) at /home/alex/mozilla-central/xpcom/ds/nsObserverList.cpp:99
        observers = {<nsCOMArray_base> = {mArray = {<nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator>> = {<nsTArray_base<nsTArrayInfallibleAllocator>> = {
                  mHdr = 0x7fffbb8973d0}, <nsTArray_SafeElementAtHelper<nsISupports*, nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator> >> = {<No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}
#3  0x00007ffff5d0913e in nsObserverService::NotifyObservers (this=0x7ffff2b64970, aSubject=0x0, aTopic=0x7ffff695b255 <.L.str40> "xpcom-shutdown-threads", someData=0x0) at /home/alex/mozilla-central/xpcom/ds/nsObserverService.cpp:161
        observerList = 0x0
#4  0x00007ffff5cf1085 in mozilla::ShutdownXPCOM (servMgr=0x7ffff7d8a338) at /home/alex/mozilla-central/xpcom/build/nsXPComInit.cpp:586
        thread = {mRawPtr = 0x7ffff7d56fc0}
        observerService = {mRawPtr = 0x7ffff2b64970}
        moduleLoaders = {mRawPtr = 0x0}
        rv = <optimized out>
#5  0x00007ffff4335350 in ScopedXPCOMStartup::~ScopedXPCOMStartup (this=0x7ffff7d7b658) at /home/alex/mozilla-central/toolkit/xre/nsAppRunner.cpp:1125
        appStartup = {mRawPtr = 0x7fffee6468d0}
#6  0x00007ffff433eefd in XREMain::XRE_main (this=0x7fffffffc250, argc=<optimized out>, argv=<optimized out>, aAppData=<optimized out>) at /home/alex/mozilla-central/toolkit/xre/nsAppRunner.cpp:3964
        sampler_raii3889 = {mHandle = 0x7ffff7da8000}
        rv = NS_OK
        result = <optimized out>
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
        exit = false
#7  0x00007ffff433f4dd in XRE_main (argc=0, argv=0x6, aAppData=0xffffffffffffffff, aFlags=<optimized out>) at /home/alex/mozilla-central/toolkit/xre/nsAppRunner.cpp:4140
        main = {mNativeApp = {mRawPtr = 0x7ffff7ddd0c0}, mProfileSvc = {mRawPtr = 0x7ffff7dcaab0}, mProfD = {mRawPtr = 0x7ffff7d2c200}, mProfLD = {mRawPtr = 0x7ffff7d2c2c0}, mProfileLock = {mRawPtr = 0x7ffff7deda40}, mRemoteService = {mRawPtr = 0x7fffe76eb680}, 
          mScopedXPCom = 0x7ffff7d7b658, mAppData = 0x7ffff7d1da80, mDirProvider = {<nsIDirectoryServiceProvider2> = {<nsIDirectoryServiceProvider> = {<nsISupports> = {
                  _vptr$nsISupports = 0x7ffff75a8440 <vtable for nsXREDirProvider+16>}, <No data fields>}, <No data fields>}, <nsIProfileStartup> = {<nsISupports> = {_vptr$nsISupports = 0x7ffff75a8488 <vtable for nsXREDirProvider+88>}, <No data fields>}, 
            mAppProvider = {mRawPtr = 0x0}, mGREDir = {mRawPtr = 0x7ffff7d2b780}, mXULAppDir = {mRawPtr = 0x7ffff7d2ba80}, mProfileDir = {mRawPtr = 0x7ffff7d2c200}, mProfileLocalDir = {mRawPtr = 0x7ffff7d2c2c0}, mProfileNotified = false, 
            mAppBundleDirectories = {<nsCOMArray_base> = {mArray = {<nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator>> = {<nsTArray_base<nsTArrayInfallibleAllocator>> = {
                      mHdr = 0x7ffff7850c98 <nsTArrayHeader::sEmptyHdr>}, <nsTArray_SafeElementAtHelper<nsISupports*, nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator> >> = {<No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}, 
            mExtensionDirectories = {<nsCOMArray_base> = {mArray = {<nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator>> = {<nsTArray_base<nsTArrayInfallibleAllocator>> = {
                      mHdr = 0x7fffeb9cde00}, <nsTArray_SafeElementAtHelper<nsISupports*, nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator> >> = {<No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}, 
            mThemeDirectories = {<nsCOMArray_base> = {mArray = {<nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator>> = {<nsTArray_base<nsTArrayInfallibleAllocator>> = {
                      mHdr = 0x7fffeb630c80}, <nsTArray_SafeElementAtHelper<nsISupports*, nsTArray_Impl<nsISupports*, nsTArrayInfallibleAllocator> >> = {<No data fields>}, <No data fields>}, <No data fields>}}, <No data fields>}}, 
          mProfileName = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x7ffff7dc9358 "Local", mLength = 5, mFlags = 65541}, <No data fields>}, mFixedCapacity = 63, mFixedBuf = 0x7fffffffc308 ""}, 
            mStorage = '\000' <repeats 16 times>"\200, \272\322\367\377\177\000\000\340\303\377\377\377\177\000\000+\201\323\365\377\177\000\000P\303\377\377\377\177\000\000\a\000\000\000\021\000\001\000?\000\000\000\377\177\000"}, 
          mDesktopStartupID = {<nsFixedCString> = {<nsCString> = {<nsACString_internal> = {mData = 0x7fffffffc368 "", mLength = 0, mFlags = 65553}, <No data fields>}, mFixedCapacity = 63, mFixedBuf = 0x7fffffffc368 ""}, 
            mStorage = "\000\311\351\367\377\177\000\000\300\000\000\000\000\000\000\000\244\221\325\365\377\177\000\000\300\303\377\377\377\177\000\000ώ\325\365\377\177\000\000\232õ\366\377\177\000\000\002\000\000\000\000\000\000\000`\200\323\365\377\177\000"}, 
          mStartOffline = false, mShuttingDown = false, mDisableRemote = false, mGdkDisplay = 0x7ffff7de5210}
        result = <optimized out>
#8  0x0000000000403f74 in do_main (xreDirectory=0x7ffff7d2b780, argc=<optimized out>, argv=<optimized out>) at /home/alex/mozilla-central/browser/app/nsBrowserApp.cpp:272
        appini = {mRawPtr = 0x0}
        appEnv = "/usr/local/lib64/firefox-23.0a1\000libxul.so", '\000' <repeats 527 times>"\374, g\200\312=", '\000' <repeats 69 times>"\200, t2\000\000\000\000P\201t2\000\000\000\060H\201t2\000\000\000\060H\201t2", '\000' <repeats 11 times>, "\005\000\000\000\000\000\000\000\000P\201t2\000\000\000\000`\201t2\000\000\000(\\\201t2\000\000\000\300^\201t2\000\000\000\000@\001\000\000\000\000\000\003", '\000' <repeats 31 times>, "h\265\374\367\377\177\000\000/\000\000\000\000\000\000\000\235\256\200\312=", '\000' <repeats 11 times>, "\r\000\000\000\000\000\000\000\065\000\000\000\000\000\000\000\001", '\000' <repeats 23 times>...
        appData = 0x1
        appData = {<nsXREAppData> = {size = 120, directory = 0x7ffff7d2ba80, vendor = 0x7ffff7d7b298 "Mozilla", name = 0x7ffff7d7b2a0 "Firefox", version = 0x7ffff7d7b2a8 "23.0a1", buildID = 0x7ffff7d1c100 "20130508222110", 
            ID = 0x7ffff7d89160 "{ec8030f7-c20a-464f-9b0e-13a3a9e97384}", copyright = 0x0, flags = 6, xreDirectory = 0x7ffff7d2b780, minVersion = 0x7ffff7d7b2b0 "23.0a1", maxVersion = 0x7ffff7d7b2b8 "23.0a1", 
            crashReporterURL = 0x7ffff7d1d800 "https://crash-reports.mozilla.com/submit?id={ec8030f7-c20a-464f-9b0e-13a3a9e97384}&version=23.0a1&buildid=20130508222110", profile = 0x0, UAName = 0x0}, <No data fields>}
        exeFile = {mRawPtr = 0x7ffff7d2b900}
        greDir = {mRawPtr = 0x7ffff7d2b9c0}
        appSubdir = {mRawPtr = 0x7ffff7d2ba80}
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
---Type <return> to continue, or q <return> to quit---
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appData = 0x1
        appDataFile = <optimized out>
        rv = <optimized out>
        result = <optimized out>
#9  main (argc=<optimized out>, argv=<optimized out>) at /home/alex/mozilla-central/browser/app/nsBrowserApp.cpp:632
        initialRUsage = {ru_utime = {tv_sec = 0, tv_usec = 2000}, ru_stime = {tv_sec = 0, tv_usec = 2000}, ru_maxrss = 1246916, ru_ixrss = 0, ru_idrss = 0, ru_isrss = 0, ru_minflt = 687, ru_majflt = 3, ru_nswap = 0, ru_inblock = 0, ru_oublock = 0, ru_msgsnd = 0, 
          ru_msgrcv = 0, ru_nsignals = 0, ru_nvcsw = 9, ru_nivcsw = 4}
        xreDirectory = 0x7ffff7d2b780
        xreDirectory = 0x7ffff7d2b780
        xreDirectory = 0x7ffff7d2b780
        xreDirectory = 0x7ffff7d2b780
        xreDirectory = 0x7ffff7d2b780
        xreDirectory = 0x7ffff7d2b780
        rv = <optimized out>
        start = <optimized out>
Crash Signature: [@ mozilla::storage::Service::Observe(nsISupports*, char const*, unsigned short const*)] → [@ mozilla::storage::Service::Observe(nsISupports*, char const*, unsigned short const*)] [@ mozilla::storage::Service::Observe]
See Also: → 1281643
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
Status: RESOLVED → REOPENED
Priority: -- → P3
Resolution: INACTIVE → ---
Closing because no crash reported since 12 weeks.
Status: REOPENED → RESOLVED
Closed: 6 years ago6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.