homebridge-nest icon indicating copy to clipboard operation
homebridge-nest copied to clipboard

Nest Pluging Failling with std::bad_alloc

Open chanomie opened this issue 6 years ago • 0 comments
trafficstars

After doing some upgrades, homebridge is crashing and I've narrowed it down to homebridge-nest plugin. If I have homebridge-nest in my config.json then homebridge crashes with std::bad_alloc otherwise it works for me.

node - 12.5.0 (I upgraded this) homebridge - 0.4.50 (I upgraded this from 0.4.49) homebridge-nest - 2.1.4

I uninstalled an re-installed all the homebridge packages and it did not resolve. My config: { "bridge": { "name": "Homebridge", "username": "AC:22:3D:E3:CE:3A", "port": 51826, "pin": "031-00-000" }, "platforms": [ { "platform": "Nest", "token": "c.xxx", "clientId": "xxx", "clientSecret": "xxx", "username" : "xxx", "password" : "xxx" } ] }

The startup log: homebridge [7/6/2019, 9:23:05 PM] Loaded config.json with 0 accessories and 1 platforms. [7/6/2019, 9:23:05 PM] --- [7/6/2019, 9:23:07 PM] Loaded plugin: homebridge-nest [7/6/2019, 9:23:07 PM] Registering platform 'homebridge-nest.Nest' [7/6/2019, 9:23:08 PM] --- [7/6/2019, 9:23:08 PM] Loading 1 platforms... [7/6/2019, 9:23:08 PM] [Nest] Initializing Nest platform... [7/6/2019, 9:23:08 PM] [Nest] Fetching Nest devices. homebridge(72961,0x7fffa34de380) malloc: *** mach_vm_map(size=1432663650996224) failed (error code=3) *** error: can't allocate region *** set a breakpoint in malloc_error_break to debug libc++abi.dylib: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc Abort trap: 6

chanomie avatar Jul 07 '19 04:07 chanomie