Particle USB List Error

I’ve been using this command particle usb list reliably until today and I have the below error. Does anyone know how to fix this? I’ve already tried uninstalling particle CLI and reinstalling but have the same issue. My production line is down and I can get devices shipped, so any help will be greatly appreciated.

C:\Users\steve>particle usb list
particle usb list[8008]: c:\ws\src\node_api.cc:1087: Assertion `(func) != nullptr' failed.
 1: 00007FF62EA0363F napi_wrap+128063
 2: 00007FF62E9A2836 v8::base::CPU::has_sse+35142
 3: 00007FF62E9A2B53 v8::base::CPU::has_sse+35939
 4: 00007FF62E9C74E5 napi_release_threadsafe_function+181
 5: 00007FFD4373CFF4
 6: 00007FFD43740EA1
 7: 00007FFD43740BF8
 8: 00007FF62E9DC893 node::Stop+72595
 9: 00007FF62F16DBE0 v8::internal::Builtins::builtin_handle+323456
10: 00007FF62F16D127 v8::internal::Builtins::builtin_handle+320711
11: 00007FF62F16D468 v8::internal::Builtins::builtin_handle+321544
12: 00007FF62F16D26E v8::internal::Builtins::builtin_handle+321038
13: 00007FF62F604EDD v8::internal::SetupIsolateDelegate::SetupHeap+546893
14: 00007FF62F589D8C v8::internal::SetupIsolateDelegate::SetupHeap+42748
15: 00007FF62F589D8C v8::internal::SetupIsolateDelegate::SetupHeap+42748
16: 00007FF62F5D7F56 v8::internal::SetupIsolateDelegate::SetupHeap+362694
17: 00007FF62F585443 v8::internal::SetupIsolateDelegate::SetupHeap+23987
18: 00007FF62F6695C0 v8::internal::SetupIsolateDelegate::SetupHeap+958256
19: 00007FF62F589D8C v8::internal::SetupIsolateDelegate::SetupHeap+42748
20: 00007FF62F589D8C v8::internal::SetupIsolateDelegate::SetupHeap+42748
21: 00007FF62F5830BC v8::internal::SetupIsolateDelegate::SetupHeap+14892
22: 00007FF62F5D9392 v8::internal::SetupIsolateDelegate::SetupHeap+367874
23: 00007FF62F5A6F2D v8::internal::SetupIsolateDelegate::SetupHeap+161949
24: 00007FF62F5871AC v8::internal::SetupIsolateDelegate::SetupHeap+31516
25: 00007FF62F0C7CC0 v8::internal::Execution::CallWasm+1536
26: 00007FF62F0C7DB3 v8::internal::Execution::CallWasm+1779
27: 00007FF62F0C8192 v8::internal::Execution::TryCall+354
28: 00007FF62F0AA1A5 v8::internal::MicrotaskQueue::RunMicrotasks+501
29: 00007FF62EA1F8D1 node::CallbackScope::~CallbackScope+593
30: 00007FF62EA1F6EE node::CallbackScope::~CallbackScope+110
31: 00007FF62E96AC9B v8::internal::Scope::locals+30875
32: 00007FF62E9CA3D3 node::Start+275
33: 00007FF62E8767AC RC4_options+339628
34: 00007FF62F6BBE08 v8::internal::SetupIsolateDelegate::SetupHeap+1296248
35: 00007FFD5AF37034 BaseThreadInitThunk+20
36: 00007FFD5CE62651 RtlUserThreadStart+33

This command does work, just dont understand why the particle ubs list stopped working

C:\Users\steve>particle serial list
Found 1 device connected via serial:
COM6 - Electron - 5&201a1a33&0&1

I’m getting the same issue on Ubuntu 20.04 and a Particle Argon

$ particle usb list --verbose

Node.js[34547]: ../src/node_api.cc:1087:napi_status napi_release_threadsafe_function(napi_threadsafe_function, napi_threadsafe_function_release_mode): Assertion `(func) != nullptr' failed.
 1: 0x9ef190 node::Abort() [particle usb list --verbose]
 2: 0x9ef217  [particle usb list --verbose]
 3: 0x9c572a napi_release_threadsafe_function [particle usb list --verbose]
 4: 0x7fcc3c3baa28 Device::Close(Napi::CallbackInfo const&) [/home/dirk/.particle/node_modules/particle-cli/node_modules/usb/prebuilds/linux-x64/node.napi.glibc.node]
 5: 0x7fcc3c3c37ca Napi::InstanceWrap<Device>::InstanceMethodCallbackWrapper(napi_env__*, napi_callback_info__*) [/home/dirk/.particle/node_modules/particle-cli/node_modules/usb/prebuilds/linux-x64/node.napi.glibc.node]
 6: 0x9a3755  [particle usb list --verbose]
 7: 0xbc9a29  [particle usb list --verbose]
 8: 0xbcb817 v8::internal::Builtin_HandleApiCall(int, unsigned long*, v8::internal::Isolate*) [particle usb list --verbose]
 9: 0x13a72b9  [particle usb list --verbose]

More details

$ ls -a ~/.particle
.  ..  autoupdate  error.log  node_modules  node-v12.16.1-linux-x64  .npm-cache  package-lock.json  particle.config.json  plugin-cache.json  profile.json  tmp  toolchains
$ particle version
3.1.0
  • CLI Installation Type: Standard
  • Terminal / Shell: Bash
  • What Particle hardware: Argon
  • Device OS Version: 3.2.0

What fixed my setup was to uninstall the driver/device for all the hidden COMs in the Device Manager. After a while, the device manager ended up storing devices for each particle ID and after 100s of devices, I think something happened with the driver causing the issue.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.