Skip to content

Python crashes while calculating pointcloud #1081

@Panepo

Description

@Panepo
Required Info
Camera Model D400
Firmware Version 05.08.15.00
Operating System & Version Win10 version 1709 (OS Build 16299)
Kernel Version (Linux Only)
SDK Version 2.9.0

Hi there,
I am trying to determine point cloud on python wrapper and find a problem. The python environment ALWAYS crashes if the resolution of the color and depth is not the same. It seems crash at the following position:

    # Tell pointcloud object to map to this color frame
    pc.map_to(color)

    # Generate the pointcloud and texture mappings
    points = pc.calculate(depth)

And there is a message pops on windows event viewer:

Faulting application name: python.exe, version: 3.6.3150.1013, time stamp: 0x59e338b7
Faulting module name: ucrtbase.dll, version: 10.0.16299.125, time stamp: 0x70f70cc4
Exception code: 0xc0000409
Fault offset: 0x000000000006b70e
Faulting process id: 0x381c
Faulting application start time: 0x01d3967a103204a0
Faulting application path: C:\ProgramData\Anaconda3\python.exe
Faulting module path: C:\WINDOWS\System32\ucrtbase.dll
Report Id: af310638-a0c9-4112-a5ed-bc9c05ec5a6e

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions