orbbec / OrbbecSDK

Orbbec SDK C/C++ base core lib
https://www.orbbec3d.com/
Other
97 stars 17 forks source link

Orbbec Viewer Crash if another Camera is in Network #71

Open nheckmanHL opened 6 months ago

nheckmanHL commented 6 months ago

The Orbbec viewer finds other cameras in the network and then the programme crashes. This happens when an Allied Vision Technologies Manta camera is in the network. Is there any workaround? It doesnt work if i deactivate the EnumerateNetDevice setting.

Exception:

[03/18 11:53:31.341881][debug][10708][Context.cpp:31] Context creating. work_dir=C:\send\OrbbecViewer_v1.9.5_202403051246_win_x64_release [03/18 11:53:31.341947][debug][10708][Context.cpp:50] Config file version=1.1 [03/18 11:53:31.341974][debug][10708][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB [03/18 11:53:31.341985][info][10708][Context.cpp:69] Context created with config: C:\send\OrbbecViewer_v1.9.5_202403051246_win_x64_release\OrbbecSDKConfig_v1.0.xml [03/18 11:53:31.342030][info][10708][Context.cpp:74] Context work_dir=C:\send\OrbbecViewer_v1.9.5_202403051246_win_x64_release [03/18 11:53:31.342229][info][10708][Context.cpp:77] - SDK version: 1.9.5 [03/18 11:53:31.342256][info][10708][Context.cpp:78] - SDK stage version: main [03/18 11:53:31.342287][info][10708][Context.cpp:82] get config EnumerateNetDevice:false [03/18 11:53:31.342311][debug][10708][DeviceManager.cpp:30] DeviceManager init ... [03/18 11:53:31.342318][info][10708][MfPal.cpp:102] createObPal: create WinPal! [03/18 11:53:31.342342][debug][10708][MfPal.cpp:107] WmfPal init ... [03/18 11:53:31.358040][debug][10708][MfPal.cpp:114] WmfPal created! [03/18 11:53:31.358131][debug][10708][DeviceManager.cpp:34] Enable USB Device Enumerator ... [03/18 11:53:31.368784][debug][10708][EnumeratorLibusb.cpp:323] queryDevicesInfo done! [03/18 11:53:31.368866][debug][10708][MfPal.cpp:166] Create WinEventDeviceWatcher! [03/18 11:53:31.368897][debug][10708][UsbDeviceEnumerator.cpp:76] No matched usb device found! [03/18 11:53:31.368918][info][10708][DeviceManager.cpp:15] Current found device(s): (0) [03/18 11:53:31.369006][debug][10708][DeviceManager.cpp:55] DeviceManager construct done! [03/18 11:53:31.369067][info][10708][DeviceManager.cpp:310] Enable net device enumeration: true [03/18 11:53:31.377376][info][10708][GVCPClient.cpp:223] bind 192.168.3.81:0 [03/18 11:53:31.377494][info][10708][GVCPClient.cpp:223] bind 192.168.5.80:0 [03/18 11:53:31.377545][info][10708][GVCPClient.cpp:223] bind 192.168.3.218:0 [03/18 11:53:31.398353][info][2032][GVCPClient.cpp:310] 0, 3, 248, 1 [03/18 11:53:31.398462][info][2032][GVCPClient.cpp:352] 2,1, [MAC-Address],7, 5,0, 192.168.5.197, 255.255.255.0, 0.0.0.0, Allied Vision Technologies, Manta_G-046C (E0020005), 00.01.44.31238 , Manta_G-046C|E0020005|, 50-0503344713, 9672e6ee-9f79 [03/18 11:53:32.419788][info][10708][GVCPClient.cpp:76] - mac:[MAC-Address], ip:192.168.5.197, sn:50-0503344713, pid:0x0000 [03/18 11:53:34.413202][info][5040][GVCPClient.cpp:352] 2,1, :[MAC-Address],7, 5,0, 192.168.5.196, 255.255.255.0, 0.0.0.0, Allied Vision Technologies, Manta_G-046C (E0020005), 00.01.44.31238 , Manta_G-046C|E0020005|, 50-0503345719, d136b4db-ed5e [5 logs in 3014ms, last: 11:53:31.416067] [03/18 11:53:34.413203][info][5008][GVCPClient.cpp:310] 0, 3, 248, 1 [5 logs in 3014ms, last: 11:53:31.416063] [03/18 11:53:34.428283][warning][10708][ObException.cpp:5] VendorTCPClient: Connect to server failed! addr=192.168.5.197, port=8090, err=socket is not ready & timeout [03/18 11:54:49.813995][debug][2216][Context.cpp:31] Context creating. work_dir=C:\send\OrbbecViewer_v1.9.5_202403051246_win_x64_release [03/18 11:54:49.814160][debug][2216][Context.cpp:50] Config file version=1.1 [03/18 11:54:49.814193][debug][2216][FrameBufferManager.cpp:23] Max global frame buffer size updated! size=2048.000MB [03/18 11:54:49.814204][info][2216][Context.cpp:69] Context created with config: C:\send\OrbbecViewer_v1.9.5_202403051246_win_x64_release\OrbbecSDKConfig_v1.0.xml [03/18 11:54:49.814290][info][2216][Context.cpp:74] Context work_dir=C:\send\OrbbecViewer_v1.9.5_202403051246_win_x64_release [03/18 11:54:49.814791][info][2216][Context.cpp:77] - SDK version: 1.9.5 [03/18 11:54:49.814872][info][2216][Context.cpp:78] - SDK stage version: main [03/18 11:54:49.814973][info][2216][Context.cpp:82] get config EnumerateNetDevice:false [03/18 11:54:49.815156][debug][2216][DeviceManager.cpp:30] DeviceManager init ... [03/18 11:54:49.815171][info][2216][MfPal.cpp:102] createObPal: create WinPal! [03/18 11:54:49.815246][debug][2216][MfPal.cpp:107] WmfPal init ... [03/18 11:54:49.830331][debug][2216][MfPal.cpp:114] WmfPal created! [03/18 11:54:49.830365][debug][2216][DeviceManager.cpp:34] Enable USB Device Enumerator ... [03/18 11:54:49.839922][debug][2216][EnumeratorLibusb.cpp:323] queryDevicesInfo done! [03/18 11:54:49.839978][debug][2216][MfPal.cpp:166] Create WinEventDeviceWatcher! [03/18 11:54:49.840003][debug][2216][UsbDeviceEnumerator.cpp:76] No matched usb device found! [03/18 11:54:49.840020][info][2216][DeviceManager.cpp:15] Current found device(s): (0) [03/18 11:54:49.840062][debug][2216][DeviceManager.cpp:55] DeviceManager construct done! [03/18 11:54:49.840084][info][2216][DeviceManager.cpp:310] Enable net device enumeration: true [03/18 11:54:49.846335][info][2216][GVCPClient.cpp:223] bind 192.168.3.81:0 [03/18 11:54:49.846461][info][2216][GVCPClient.cpp:223] bind 192.168.5.80:0 [03/18 11:54:49.846515][info][2216][GVCPClient.cpp:223] bind 192.168.3.218:0 [03/18 11:54:49.867365][info][3012][GVCPClient.cpp:310] 0, 3, 248, 1 [03/18 11:54:49.867533][info][3012][GVCPClient.cpp:352] 2,1, [MAC-Address],7, 5,0, 192.168.5.197, 255.255.255.0, 0.0.0.0, Allied Vision Technologies, Manta_G-046C (E0020005), 00.01.44.31238 , Manta_G-046C|E0020005| [03/18 11:54:50.897306][info][2216][GVCPClient.cpp:76] - mac:[Mac-Address], ip:192.168.5.197, sn:[sn], pid:0x0000 [03/18 11:54:52.868582][info][9908][GVCPClient.cpp:310] 0, 3, 248, 1 [5 logs in 3001ms, last: 11:54:49.886711] [03/18 11:54:52.868576][info][2964][GVCPClient.cpp:352] 2,1, [Mac-Address],7, 5,0, 192.168.5.196, 255.255.255.0, 0.0.0.0, Allied Vision Technologies, Manta_G-046C (E0020005), 00.01.44.31238 , Manta_G-046C|E0020005|, [5 logs in 3000ms, last: 11:54:49.886715] [03/18 11:54:52.898593][warning][2216][ObException.cpp:5] VendorTCPClient: Connect to server failed! addr=192.168.5.197, port=8090, err=socket is not ready & timeout

zhonghong322 commented 6 months ago

Thank you for your feedback on the issue. We have arranged for colleagues to reproduce the problem.