-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
159 lines (147 loc) · 16.4 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
ABOUT:
Lima detector plugin for the Rayonix high-speed CCD cameras (HS). Uses the "RxDetector" (a/k/a "craydl") library in the sdk folder. The RxDetector library will load either the
"SimCameraPlugin" (for software simulator) or the "ClCameraPlugin" (for CameraLink cameras), depending upon which camera is chosen in the "RxDetector.conf" file (in the "rundir" directory). The "Sim-*" camera names
in the config file are for the software simulator.
TO BUILD:
./build_debug.sh
OR
./build_release.sh
TO RUN:
cd rundir
./test_debug
OR
./test_release
ISSUES:
Getting a seg fault after image received. GDB output follows:
(gdb) r
Starting program: /net/nas/volume1/rayonix/sw/work/justin/Lima-camera-rayonixhs/rundir/test_debug
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffeefb2700 (LWP 16951)]
[New Thread 0x7fffee5b1700 (LWP 16952)]
[SYSTEM ],<m:219276 >,RxDetector:: Start. Configuration read from: /net/nas/volume1/rayonix/sw/work/justin/Lima-camera-rayonixhs/rundir/././RxDetector.conf
[SYSTEM ],<m:219276 >,RxDetector:: Log written to: /net/nas/volume1/rayonix/sw/work/justin/Lima-camera-rayonixhs/rundir/RxDetector.log
[INFO ],<m:228468 >,RxDetector::Open() opened Sim-MX225HS (SISIM-4)
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(Camera Alarm Flags,Master Alarm) - Camera Alarm Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(Camera Alarm Flags,PDM Alarm) - Camera Alarm Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(Camera Alarm Flags,Power Supply Alarm) - Camera Alarm Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(Camera Alarm Flags,VPM Alarm) - Camera Alarm Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(Camera Alarm Flags,Voltages Alarm) - Camera Alarm Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,VPM Alive) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,VPM Alarm) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Line Sensor Alive) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Chamber Sensor Alive) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Pressure Alarm) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Frame OK) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Pump Alive) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Pump Running) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Ignore Pump) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Pump Alarm) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Valve Alive) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Valve Enabled) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Valve Open) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Ignore All) - VPM Flags parameter is not present.
[WARNING ],<m:228468 >,VStatusFlag::VStatusFlag(VPM Flags,Valve Alarm) - VPM Flags parameter is not present.
[New Thread 0x7fffed8b5700 (LWP 16953)]
[INFO ],<m:305404 >,There are 9 sensors installed.
[INFO ],<m:305400 >,There were only 0 sensors of 9 expected.
[INFO ],<m:305400 >,There were 0 sensors found: X, X, X, X, X, X, X, X, X
[WARNING ],<m:305400 >,Hardware configuration is inconsistent. Proceed with caution!
[ERROR ],<m:305400 >,RxDetectorParameter::isValidValue("Trigger Mode", ) - Invalid parameter
[ERROR ],<m:305400 >,RxDetector::SetParameterValue("Trigger Mode", "") - Invalid parameter
[ERROR ],<m:305400 >,RxDetector::SetTriggerType(Trigger Default) - Unrecognized Trigger Type. Trigger Type is undefined.
[New Thread 0x7fffeceb4700 (LWP 16954)]
Setting exposure time...done.
Setting num frames...done.
Preparing acquisition...
[INFO ],<m:381184 >,[STATUS_FLAG], Camera Alarm Flags/Master Alarm: ? ===> 0
[INFO ],<m:381184 >,[STATUS_FLAG], Camera Alarm Flags/PDM Alarm: ? ===> 1
[INFO ],<m:381184 >,[STATUS_FLAG], Camera Alarm Flags/Power Supply Alarm: ? ===> 0
[INFO ],<m:381188 >,[STATUS_FLAG], Camera Alarm Flags/VPM Alarm: ? ===> 0
[INFO ],<m:381184 >,[STATUS_FLAG], Camera Alarm Flags/Voltages Alarm: ? ===> 0
[INFO ],<m:397392 >,[STATUS_FLAG], CoolerEnabled: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], CoolerOn: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], CoolerRunning: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], DetectorIntegrating: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Chamber Sensor Alive: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Frame OK: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Ignore All: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Ignore Pump: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Line Sensor Alive: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Pressure Alarm: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Pump Alarm: ? ===> 0
[INFO ],<m:397388 >,[STATUS_FLAG], VPM Flags/Pump Alive: ? ===> 0
[INFO ],<m:413592 >,[STATUS_FLAG], VPM Flags/Pump Running: ? ===> 0
[INFO ],<m:413592 >,[STATUS_FLAG], VPM Flags/VPM Alarm: ? ===> 0
[INFO ],<m:429796 >,[STATUS_FLAG], VPM Flags/VPM Alive: ? ===> 0
[INFO ],<m:429796 >,[STATUS_FLAG], VPM Flags/Valve Alarm: ? ===> 0
[INFO ],<m:446000 >,[STATUS_FLAG], VPM Flags/Valve Alive: ? ===> 0
[INFO ],<m:446000 >,[STATUS_FLAG], VPM Flags/Valve Enabled: ? ===> 0
[INFO ],<m:462204 >,[STATUS_FLAG], VPM Flags/Valve Open: ? ===> 0
[INFO ],<m:462204 >,[STATUS_TITLES],,Cold End 1 Temperature,Cold End 2 Temperature,Cold End 3 Temperature,Cold End 4 Temperature,Controller Temperature,Controller FPGA Temperature,PDM HKS Temperature,VPM Temperature,CryoTiger 0 Supply,CryoTiger 0 A,CryoTiger 0 B,CryoTiger 0 Return,CryoTiger 1 Supply,CryoTiger 1 A,CryoTiger 1 B,CryoTiger 1 Return,ChamberPressure,LinePressure
[INFO ],<m:462204 >,[STATUS_DATA],-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,-273.15,47.05,57.25,-273.15,-273.15,0,0,0,0,0,0,0,0,0,0
[New Thread 0x7fffd7194700 (LWP 16955)]
[New Thread 0x7fffd6793700 (LWP 16956)]
[New Thread 0x7fffd5d92700 (LWP 16957)]
[New Thread 0x7fffd5391700 (LWP 16958)]
[Thread 0x7fffd6793700 (LWP 16956) exited]
[New Thread 0x7fffd6793700 (LWP 16959)]
[Thread 0x7fffd5391700 (LWP 16958) exited]
[New Thread 0x7fffd5391700 (LWP 16960)]
[Thread 0x7fffd5d92700 (LWP 16957) exited]
[New Thread 0x7fffd5d92700 (LWP 16961)]
[Thread 0x7fffd5391700 (LWP 16960) exited]
[New Thread 0x7fffd5391700 (LWP 16962)]
[Thread 0x7fffd6793700 (LWP 16959) exited]
[Thread 0x7fffd5391700 (LWP 16962) exited]
[New Thread 0x7fffd5391700 (LWP 16963)]
[Thread 0x7fffd5d92700 (LWP 16961) exited]
[Thread 0x7fffd7194700 (LWP 16955) exited]
Have received 1 background frames.
Have received 2 background frames.
[Thread 0x7fffd5391700 (LWP 16963) exited]
[New Thread 0x7fffd7194700 (LWP 16964)]
[ERROR ],<m:1184760 >,RxTypedFrameCorrection<PIXEL>::readCorrectionTable() - There are 2073600 entries in input table - expecting 8294400
[WARNING ],<m:1152360 >,Failed to read correction table: .2880
[WARNING ],<m:1152360 >,Using internal test table with 5 neighbors for each pixel.
[WARNING ],<m:1152360 >,Failed to read postflatfield file: .2880
[WARNING ],<m:1152360 >,Using identity.
Starting acquisition...
[New Thread 0x7fffd5d92700 (LWP 16965)]
[New Thread 0x7fffd6793700 (LWP 16966)]
FrameStatusCb: Sequence started.
Waiting on completion...
Have received 1 raw frames.
[New Thread 0x7fffd5391700 (LWP 16967)]
[Thread 0x7fffd5d92700 (LWP 16965) exited]
[New Thread 0x7fffd5d92700 (LWP 16968)]
Have received 1 corrected frames.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd5391700 (LWP 16967)]
0x0000003dc4e9c113 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const () from /usr/lib64/libstdc++.so.6
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.25.el6.x86_64 gsl-1.13-1.el6.x86_64 keyutils-libs-1.4-1.el6.x86_64 krb5-libs-1.9-9.el6.x86_64 libcom_err-1.41.12-7.el6.x86_64 libgcc-4.4.5-6.el6.x86_64 libselinux-2.0.94-5.el6.x86_64 libstdc++-4.4.5-6.el6.x86_64 openssl-1.0.0-10.el6.x86_64 zlib-1.2.3-25.el6.x86_64
(gdb) bt
#0 0x0000003dc4e9c113 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::empty() const () from /usr/lib64/libstdc++.so.6
#1 0x00007ffff7a3bcd8 in lima::HwFrameCallbackGen::getDebObjName (this=0x7fffffffdcd0) at ../include/HwFrameCallback.h:46
#2 0x00007ffff7a2ac09 in lima::HwFrameCallbackGen::newFrameReady (this=0x7fffffffdcd0, frame_info=...) at HwFrameCallback.cpp:73
#3 0x00007ffff7dd6aed in lima::RayonixHs::BufferCtrlObj::frameReady (this=0x7fffffffdcc0, info=...) at /home/justin/work_on_nas/Lima-camera-rayonixhs/src/../include/RayonixHsBufferCtrlObj.h:65
#4 0x00007ffff7dd57d0 in lima::RayonixHs::Camera::frameReady (this=0x7fffffffdc80, pFrame=0x9b87b0) at /home/justin/work_on_nas/Lima-camera-rayonixhs/src/RayonixHsCamera.cpp:291
#5 0x00007ffff7ddb9e2 in lima::RayonixHs::FrameStatusCb::FrameReady (this=0x95f800, frame_number=1, rx_frame=0x9b87b0) at /home/justin/work_on_nas/Lima-camera-rayonixhs/src/FrameStatusCb.cpp:29
#6 0x00007ffff71e5c40 in operator() (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/function/function_template.hpp:1013
#7 m_invoke (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/signals2/detail/signal_template.hpp:360
#8 operator() (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/signals2/detail/signal_template.hpp:345
#9 dereference (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/signals2/detail/slot_call_iterator.hpp:82
#10 dereference<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::signal1_impl<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::function<void(const boost::signals2::connection&, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot1<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot1<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)> >, boost::signals2::mutex> > > (
this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/iterator/iterator_facade.hpp:517
#11 operator* (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/iterator/iterator_facade.hpp:643
#12 operator()<boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::signal1_impl<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::function<void(const boost::signals2::connection&, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot1<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot1<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)> >, boost::signals2::mutex> > > (
this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/signals2/optional_last_value.hpp:55
#13 operator()<boost::signals2::optional_last_value<void>, boost::signals2::detail::slot_call_iterator_t<boost::signals2::detail::signal1_impl<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::function<void(const boost::signals2::connection&, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::signals2::mutex>::slot_invoker, std::_List_iterator<boost::shared_ptr<boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot1<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)> >, boost::signals2::mutex> > >, boost::signals2::detail::connection_body<std::pair<boost::signals2::detail::slot_meta_group, boost::optional<int> >, boost::signals2::slot1<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)> >, boost::signals2::mutex> > > (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/signals2/detail/result_type_wrapper.hpp:64
#14 boost::signals2::detail::signal1_impl<void, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&, boost::signals2::optional_last_value<void>, int, std::less<int>, boost::function<void(const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::function<void(const boost::signals2::connection&, const craydl::CallbackInvoker<craydl::VirtualFrameCallback>&)>, boost::signals2::mutex>::operator()(const craydl::CallbackInvoker<craydl::VirtualFrameCallback> &) (this=<value optimized out>, arg1=<value optimized out>) at /opt/rayonix/include/boost/signals2/detail/signal_template.hpp:246
#15 0x00007ffff71a030f in operator() (this=0x65be00, frame_number=0, frame_p=0x9b87b0, new_thread=<value optimized out>) at /opt/rayonix/include/boost/signals2/detail/signal_template.hpp:692
#16 Signal<boost::_bi::bind_t<void, boost::_mfi::mf2<void, craydl::VirtualFrameCallback, int, craydl::RxFrame*>, boost::_bi::list3<boost::arg<1>, boost::_bi::value<int>, boost::_bi::value<craydl::RxFrame*> > > > (this=0x65be00,
frame_number=0, frame_p=0x9b87b0, new_thread=<value optimized out>) at /home/justin/work/RxDetector/RxDetector.h:730
#17 craydl::RxDetector::SignalFrameReady (this=0x65be00, frame_number=0, frame_p=0x9b87b0, new_thread=<value optimized out>) at /home/justin/work/RxDetector/RxDetector.cpp:6145
#18 0x00007ffff71a15d6 in craydl::RxDetector::FrameAcquisitionFrameProcessor (this=0x65be00, raw_frame_p=0x9699e0, frame_p=0x9b87b0) at /home/justin/work/RxDetector/RxDetector.cpp:7623
#19 0x00007ffff6e8b073 in thread_proxy () from /opt/boost/lib64/libboost_thread.so.1.46.1
#20 0x0000003a200077e1 in start_thread () from /lib64/libpthread.so.0
#21 0x0000003a1f8e68ed in clone () from /lib64/libc.so.6