Comments (4)
If I change the closing sequence to have some printouts this is the output from:
if( ofGetKeyPressed('c') ){
if( mPipe ){
cout << "1 - STOPPING PIPE" << endl;
mPipe->stop();
mPipe.reset();
cout << "2 - PIPE STOPPED AND RESET " << endl;
ofSleepMillis(100);
cout << "3 - CALLING exit " << endl;
std::exit(0);
}
}
1 - STOPPING PIPE
[2023-09-26 11:41:27.002007][info][63146][Pipeline.cpp:344] Try to stop pipeline!
[2023-09-26 11:41:27.002039][info][63146][Pipeline.cpp:316] Try to stop streams!
[2023-09-26 11:41:27.079484][info][63146][VideoSensor.cpp:657] Video sensor stopped, @OB_SENSOR_DEPTH
[2023-09-26 11:41:27.079494][info][63146][Pipeline.cpp:329] Sensor stream stopped, sensorType=OB_SENSOR_DEPTH
[2023-09-26 11:41:27.079499][info][63146][Pipeline.cpp:335] Stop streams done!
[2023-09-26 11:41:27.080125][info][63146][Pipeline.cpp:373] Stop pipeline done!
[2023-09-26 11:41:27.080134][info][63146][Pipeline.cpp:69] Pipeline destroyed! @0x55A52BD44B60
[2023-09-26 11:41:27.080142][info][63146][FemtoMegaNetDevice.cpp:62] FemtoMega Net device destroyed! PID: 0x0669, SN: CL2K83P001W
[2023-09-26 11:41:27.080155][info][63146][VideoSensor.cpp:265] VideoSensor destroyed, @OB_SENSOR_DEPTH
[2023-09-26 11:41:27.080235][warning][63146][RTSPStreamPort.cpp:189] Stream have not been started!
2 - PIPE STOPPED AND RESET
3 - CALLING exit
[2023-09-26 11:41:27.180601][info][63149][DeviceManager.cpp:117] task finish.
Note: I have tried not closing the pipe or resetting too.
from orbbecsdk.
I believe the issue is related to a deadlock caused by the code I wrote to prevent the spdlog crash problem. The registry instance of spdlog is a static object, and it needs to be ensured that no log output remains after the object is destroyed when the program exits. Therefore, I cached the object and added a lock to avoid this situation. This issue has been resolved in the recent version. May you can verifiy it using v1.7.5.
from orbbecsdk.
from orbbecsdk.
Awesome - just tried 1.7.5 ( #13 ) and it totally fixes this issue.
Thanks @hzcyf
from orbbecsdk.
Related Issues (20)
- RGB image exposure time and gain HOT 3
- Frame index abnormal warnings on Femto Mega with ethernet HOT 5
- API Docs result in 404 error HOT 2
- Orbbec Viewer Crash if another Camera is in Network HOT 1
- How to know Gemini E parameters? HOT 6
- Femto Bolt: Crash after "got nvram data failed.retrying..." HOT 3
- Femto Bolt: Crash after "Process frame failed!" HOT 2
- Femto Bolt: Failed to load depth engine plugin HOT 1
- OrbbecViewer_v1.9.5 fails to startup when (10) Femto Bolt sensors are connected to the host PC HOT 2
- Static release OrbbecSDK/lib HOT 2
- retCode: 204 using Raspberry pi 4 / Raspberry pi 5 with Orbbec Bold HOT 2
- Does Femto Bolt support Ubuntu 22.04 ? HOT 2
- Is 2bc5:0404 still well supported by recent release 1.9.5? HOT 1
- depth to color space mapping problem HOT 1
- Playback control (pause, resume, frame by frame) HOT 1
- Unity Wrapper Support? HOT 7
- Gemini 2XL [35472][ObRTPSink.cpp:320] Drop output-frame to receive new frame due to reclaimed-frame queue is empty HOT 2
- Windows 10/11 problems using OrbbecUnitySDK after building HOT 5
- Firmware update failure on macOS, device is unresponsive HOT 3
- Help, Question aboult timestamp
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orbbecsdk.