# VOXL2 sometimes crashes on adb shell, logs?

Source: https://forum.modalai.com/topic/2727/voxl2-sometimes-crashes-on-adb-shell-logs
Category: General Questions (https://forum.modalai.com/category/2/general-questions)
Posted: 2023-10-05 20:29:42 UTC by Rowan Dempster
Replies: 2 · Views: 509

## Rowan Dempster · 2023-10-05 20:29:42 UTC

Hi,

I've been having issues with the VOXL2 shutting down on arbitrary actions, starting a service, sshing in, even adb shelling in. Is there a way I can collect logs after these crashes happen to try and diagnose what is going on?

## Reply by Rowan Dempster · 2023-10-05 21:38:48 UTC

I have a way to reproduce a crash:

1. Run voxl-camera-server with config C17
2. Run a stress test, eg `stress-ng --cpu 4 --timeout 60s`

Note that `stress-ng --cpu 1 --timeout 60s` and even `stress-ng --cpu 2 --timeout 60s` sometimes works, but 3+ cpus crashes the VOXL2

## Reply by Rowan Dempster · 2023-10-05 21:47:11 UTC

I narrowed it down to the ToF. I can run all the cameras in C17 (hires, tracking, stereo) except the ToF and no issues stressing the CPU. When I enable the tof in the camera server I cannot stress the CPU.
