-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Realsense SDK crashes as I plug in my D435i web camera #13477
Comments
Hi @queen0fpentacles Can you confirm which computer or computing device you are using please (PC, Mac, Raspberry Pi, Nvidia Jetson, etc). Thanks! Does the crash happen immediately after plugging the camera in? And is there an error message displayed during the crash? |
I have a Mac Apple M3 Pro, macOS sequoia version 15.1 Translated Report (Full Report Below)Process: realsense-viewer [3633] Date/Time: 2024-10-31 10:39:49.6943 +0000 Time Awake Since Boot: 5100 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 VM Region Info: 0x28 is not in any region. Bytes before following region: 4334600152 Thread 0 Crashed:: Dispatch queue: com.apple.main-thread Thread 1: Thread 2: Thread 3: Thread 4:: com.apple.NSEventThread Thread 5: Thread 6: Thread 7: Thread 8: Thread 9: Thread 10: Thread 11: Thread 12: Thread 13: Thread 14: Thread 15: Thread 0 crashed with ARM Thread State (64-bit): Binary Images: External Modification Summary: VM Region Summary:
REGION TYPE SIZE COUNT (non-coalesced) Full Report{"app_name":"realsense-viewer","timestamp":"2024-10-31 10:39:49.00 +0000","app_version":"","slice_uuid":"75e252ed-f86c-38ec-8b99-8fa3bb00df72","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 15.1 (24B83)","roots_installed":0,"incident_id":"EBD6DA3C-A004-496A-8B7A-266BEEDB0CB8","name":"realsense-viewer"}
], |
Hi @queen0fpentacles Thanks very much for the confirmation that you have an Apple Silicon 'M' Mac. Other Mac users at #12727 have reported this crash issue with realsense-viewer when inserting their camera. 'M' Macs have had problems with using RealSense with them since MacOS Monterey. However, Intel implemented a fix for librealsense compilation on these Macs in librealsense 2.56.1 and an update for MacOS Sonoma, as described at #11815 (comment) You are the first MacOS user on this support forum to report using the new Sequoia version though, so there are not currently solutions available for that specific MacOS version. Does it make a difference if you launch realsense-viewer in sudo admin permissions mode with the command sudo realsense-viewer |
This is what it says when I do that: GLFW Driver Error: Cocoa: Regular windows do not have icons on macOS The same crash report as before also pops up. |
Yesterday night I just updated my laptop to sequoia from macOS 14.6 as I saw somewhere that maybe my Mac had to be updated. Would you recommend going back to the previous update? |
Yes, librealsense 2.56.1 or 2.56.2 and MacOS 14 (Sonoma) is likely your best chance of having a successful outcome until a solution that works with Sequoia is found by the RealSense MacOS user community. |
I've been experiencing the same issue when connecting my D457 on my M2 mac. I also updated to Sequoia 15.1. @queen0fpentacles any luck finding a solution? |
I can confirm this issue occurs after upgrading to OSX 15.1. It was working fine with sudo on OSX 15.0 |
Hi @queen0fpentacles Do you have an update about this case that you can provide, please? Thanks! |
Issue Description
The Realsense SDK crashes each time I plug in my D435i web camera and try to open the viewer, I do not know why this is happening. This is librealsense 2.56.2. Any help would be much appreciated, thank you.
|---------------------------------|------------------------------------------- |
| Camera Model D435i
| Firmware Version | (Open RealSense Viewer --> Click info)
| Operating System & Version | MacOS
| Kernel Version (Linux Only) | (e.g. 4.14.13)
| Platform | PC/Raspberry Pi/ NVIDIA Jetson / etc..
| SDK Version | 2.56.2.
| Language | {C/C#/labview/nodejs/opencv/pcl/python/unity }
| Segment | {Robot/Smartphone/VR/AR/others }
The text was updated successfully, but these errors were encountered: