While testing my current project I encounter this crash after about 10 mins of run time, fps drops significantly, Object count remains less than 200 and cpu usage hasn't been a good gauge, last time I observed the crash, debugger said cpu usage was around 30%, but normally while the games running it says around 70-80%. My assumption is that it's something a memory leak or bad code somewhere but I don't know how to decipher the crash report and thus where to start looking. Is there anyway to tell why/where the memory is being eaten?
Maybe someone can tell me how to view function logs?
I see from the shift + cntrl + k console log something like
saved state to indexedb adding up storage space, any idea what causes it?
update - I'm retarded and left an old piece of code to save the game state with no conditions, so it just constiniously saved
Now I'm seeing [Construct 2] Function object: used 'Param' expression when not in a function call I wonder if it's normal function logging or an error involving one
Crash report below
It's obviously a memory related crash but debugger isn't giving me any clues as to why, it's not too many instances
[quote:25nnoq7p]AdapterDeviceID: 0x0116
AdapterDriverVersion: 8.15.10.2353
AdapterSubsysID: 00000000
AdapterVendorID: 0x8086
Add-ons: %7B972ce4c6-7e08-4474-a285-3208198ce6fd%7D:44.0.2
AvailablePageFile: 1344450560
AvailablePhysicalMemory: 178819072
AvailableVirtualMemory: 280121344
BIOS_Manufacturer: INSYDE
BlockedDllList:
BreakpadReserveAddress: 45023232
BreakpadReserveSize: 67108864
BuildID: 20160210153822
CrashTime: 1457221840
EMCheckCompatibility: true
FramePoisonBase: 00000000f0de0000
FramePoisonSize: 65536
IPCFatalErrorMsg: Error deserializing 'length' (uint32_t) of 'IndexUpdateInfo[]'
IPCFatalErrorProtocol: PBackgroundIDBTransactionParent
InstallTime: 1455449974
JSOutOfMemory: Reported
MozCrashReason: MOZ_CRASH(IPC FatalError in the parent process!)
Notes: AdapterVendorID: 0x8086, AdapterDeviceID: 0x0116, AdapterSubsysID: 00000000, AdapterDriverVersion: 8.15.10.2353
D3D11 Layers? D3D11 Layers+ WebGL? EGL? EGL+ GL Context? GL Context+ WebGL+
ProductID: {ec8030f7-c20a-464f-9b0e-13a3a9e97384}
ProductName: Firefox
ReleaseChannel: release
SafeMode: 0
SecondsSinceLastCrash: 99735
StartupTime: 1457220646
SystemMemoryUsePercentage: 94
TelemetryEnvironment: {"build":{"applicationId":"{ec8030f7-c20a-464f-9b0e-13a3a9e97384}","applicationName":"Firefox","architecture":"x86","buildId":"20160210153822","version":"44.0.2","vendor":"Mozilla","platformVersion":"44.0.2","xpcomAbi":"x86-msvc","hotfixVersion":"20160128.01"},"partner":{"distributionId":null,"distributionVersion":null,"partnerId":null,"distributor":null,"distributorChannel":null,"partnerNames":[]},"system":{"memoryMB":3020,"virtualMaxMB":4096,"cpu":{"count":4,"cores":2,"vendor":"GenuineIntel","family":6,"model":42,"stepping":7,"l2cacheKB":256,"l3cacheKB":3072,"speedMHz":2095,"extensions":["hasMMX","hasSSE","hasSSE2","hasSSE3","hasSSSE3","hasSSE4_1","hasSSE4_2"]},"os":{"name":"Windows_NT","version":"6.1","locale":"en-US","servicePackMajor":1,"servicePackMinor":0,"installYear":2011},"hdd":{"profile":{"model":"TOSHIBA MK3275GSX","revision":"GT00"},"binary":{"model":"TOSHIBA MK3275GSX","revision":"GT00"},"system":{"model":"TOSHIBA MK3275GSX","revision":"GT00"}},"gfx":{"D2DEnabled":false,"DWriteEnabled":false,"adapters":[{"description":"Intel(R) HD Graphics Family","vendorID":"0x8086","deviceID":"0x0116","subsysID":"00000000","RAM":null,"driver":"igdumd64 igd10umd64 igd10umd64 igdumdx32 igd10umd32 igd10umd32","driverVersion":"8.15.10.2353","driverDate":"4-4-2011","GPUActive":true}],"monitors":[{"screenWidth":1366,"screenHeight":768,"refreshRate":60,"pseudoDisplay":false}],"features":{"compositor":"d3d11","d3d11":{"status":"available","version":41216,"warp":false,"textureSharing":true,"blacklisted":false},"d2d":{"status":"blacklisted","version":"1.0"}}},"isWow64":true},"settings":{"blocklistEnabled":true,"e10sEnabled":false,"telemetryEnabled":false,"isInOptoutSample":false,"locale":"en-US","update":{"channel":"release","enabled":true,"autoDownload":true},"userPrefs":{"browser.cache.disk.capacity":358400,"browser.newtabpage.enhanced":true,"browser.shell.checkDefaultBrowser":false,"browser.startup.homepage":"<user-set>","browser.startup.page":3},"addonCompatibilityCheckEnabled":true,"isDefaultBrowser":true},"profile":{"creationDate":15598},"addons":{"activeAddons":{},"theme":{"id":"{972ce4c6-7e08-4474-a285-3208198ce6fd}","blocklisted":false,"description":"The default theme.","name":"Default","userDisabled":false,"appDisabled":false,"version":"44.0.2","scope":4,"foreignInstall":false,"hasBinaryComponents":false,"installDay":15598,"updateDay":16845},"activePlugins":[{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/sdp","application/x-sdp","application/x-rtsp","video/quicktime","video/flc","audio/x-wav","audio/wav"],"updateDay":16517},{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["audio/aiff","audio/x-aiff","audio/basic","audio/mid","audio/x-midi","audio/midi","audio/vnd.qcelp"],"updateDay":16517},{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["audio/x-gsm","audio/amr","audio/aac","audio/x-aac","audio/x-caf","audio/ac3","audio/x-ac3","video/x-mpeg"],"updateDay":16517},{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["video/mpeg","audio/mpeg","audio/x-mpeg","video/3gpp"],"updateDay":16517},{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["audio/3gpp","video/3gpp2","audio/3gpp2","video/sd-video","application/x-mpeg","video/mp4","audio/mp4","audio/x-m4a","audio/x-m4p","audio/x-m4b"],"updateDay":16517},{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["video/x-m4v","image/x-macpaint","image/pict","image/x-pict","image/png","image/x-png","image/x-quicktime","image/x-sgi","image/x-targa"],"updateDay":16517},{"name":"QuickTime Plug-in 7.7.2","version":"7.7.2.0","description":"The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more ","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["image/tiff","image/x-tiff","image/jp2","image/jpeg2000","image/jpeg2000-image","image/x-jpeg2000-image"],"updateDay":16517},{"name":"Adobe Acrobat","version":"11.0.2.0","description":"Adobe PDF Plug-In For Firefox and Netscape 11.0.02","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/pdf","application/vnd.adobe.pdfxml","application/vnd.adobe.x-mars","application/vnd.fdf","application/vnd.adobe.xfdf","application/vnd.adobe.xdp+xml","application/vnd.adobe.xfd+xml"],"updateDay":15751},{"name":"Adobe Acrobat","version":"11.0.2.0","description":"Adobe PDF Plug-In For Firefox and Netscape 11.0.02","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/pdf","application/vnd.adobe.pdfxml","application/vnd.adobe.x-mars","application/vnd.fdf","application/vnd.adobe.xfdf","application/vnd.adobe.xdp+xml","application/vnd.adobe.xfd+xml"],"updateDay":15751},{"name":"Google Update","version":"1.3.29.5","description":"Google Update","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-vnd.google.update3webcontrol.3","application/x-vnd.google.oneclickctrl.9"],"updateDay":16832},{"name":"Windows Live™ Photo Gallery","version":"15.4.3555.308","description":"NPWLPG","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-wlpg3-detect","application/x-wlpg-detect"],"updateDay":15407},{"name":"Silverlight Plug-In","version":"5.1.20513.0","description":"5.1.20513.0","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-silverlight","application/x-silverlight-2"],"updateDay":15838},{"name":"Java Deployment Toolkit 7.0.90.5","version":"10.9.2.5","description":"NPRuntime Script Plug-in Library for Java(TM) Deploy","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/java-deployment-toolkit"],"updateDay":15663},{"name":"Google Earth Plugin","version":"7.1.2.2041","description":"GEPlugin","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/geplugin"],"updateDay":15985},{"name":"DivX VOD Helper Plug-in","version":"1.1.0.6","description":"DivX VOD Helper Plug-in","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-divxovshelper"],"updateDay":15145},{"name":"DivX Plus Web Player","version":"2.2.0.52","description":"DivX Plus Web Player version 2.2.0.52","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["video/divx"],"updateDay":15321},{"name":"Best Buy pc app Detector","version":"1.0.0.1","description":"Best Buy pc app Detector Plug-in","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-bestbuypcappdetector"],"updateDay":15215},{"name":"Shockwave for Director","version":"11.6.5.635","description":"Adobe Shockwave for Director Netscape plug-in, version 11.6.5.635","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-director"],"updateDay":15456},{"name":"Shockwave for Director","version":"11.6.7.637","description":"Adobe Shockwave for Director Netscape plug-in, version 11.6.7.637","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-director"],"updateDay":15560},{"name":"Shockwave Flash","version":"11.6.602.168","description":"Shockwave Flash 11.6 r602","blocklisted":false,"disabled":false,"clicktoplay":false,"mimeTypes":["application/x-shockwave-flash","application/futuresplash"],"updateDay":15759},{"name":"Uplay PC","version":"1.0.0.1","description":"Uplay PC Plugin","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-uplaypc"],"updateDay":15723},{"name":"Uplay PC Hub Plugin","version":"1.0.0.1","description":"0.3","blocklisted":false,"disabled":false,"clicktoplay":true,"mimeTypes":["application/x-uplaypchub"],"updateDay":15723}],"activeGMPlugins":{"gmp-gmpopenh264":{"version":"1.5.3","userDisabled":false,"applyBackgroundUpdates":1},"gmp-eme-adobe":{"version":"15","userDisabled":false,"applyBackgroundUpdates":1}},"activeExperiment":{},"persona":null}}
Theme: classic/1.0
Throttleable: 1
TotalPageFile: 6331199488
TotalPhysicalMemory: 3166552064
TotalVirtualMemory: 4294836224
URL: http://localhost:50000/debug
Vendor: Mozilla
Version: 44.0.2
Winsock_LSP: MSAFD Tcpip [TCP/IP] : 2 : 1 : %SystemRoot%\system32\mswsock.dll
MSAFD Tcpip [UDP/IP] : 2 : 2 :
MSAFD Tcpip [RAW/IP] : 2 : 3 : %SystemRoot%\system32\mswsock.dll
MSAFD Tcpip [TCP/IPv6] : 2 : 1 :
MSAFD Tcpip [UDP/IPv6] : 2 : 2 : %SystemRoot%\system32\mswsock.dll
MSAFD Tcpip [RAW/IPv6] : 2 : 3 :
RSVP TCPv6 Service Provider : 2 : 1 : %SystemRoot%\system32\mswsock.dll
RSVP TCP Service Provider : 2 : 1 :
RSVP UDPv6 Service Provider : 2 : 2 : %SystemRoot%\system32\mswsock.dll
RSVP UDP Service Provider : 2 : 2 :
useragent_locale: en-US
This report also contains technical information about the state of the application when it crashed.