Hello,
I have OpenMCU compiled/installed from the latest cvs. When I get a third client connected, OpenMCU shuts down unexpectedly. It appears to get a shutdown signal from somewhere. I have attached an strace. Let me know if more info is needed.
Also, in pursuing more info about this, I tried compiling OpenMCU with the debug option and got:
]# make debug
make DEBUG=1 default_target
make[1]: Entering directory `/root/openmcu-v2_2_4-src/applications/openmcu'
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c main.cxx -o obj_linux_x86_d/main.o
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c video.cxx -o obj_linux_x86_d/video.o
video.cxx: In member function ‘PBoolean MCUSimpleVideoMixer::ReadSrcFrame(VideoFrameStoreList&, void*, int, int, PINDEX&)’:
video.cxx:953: warning: comparison between signed and unsigned integer expressions
video.cxx:953: warning: comparison between signed and unsigned integer expressions
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c conference.cxx -o obj_linux_x86_d/conference.o
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c filemembers.cxx -o obj_linux_x86_d/filemembers.o
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c custom.cxx -o obj_linux_x86_d/custom.o
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c h323.cxx -o obj_linux_x86_d/h323.o
h323.cxx: In member function ‘virtual PBoolean OpenMCUH323Connection::OnIncomingAudio(const void*, PINDEX)’:
h323.cxx:926: warning: comparison is always false due to limited range of data type
g++ -I/root/pwlib/include -DPTRACING=1 -D_REENTRANT -I/usr/kerberos/include -fno-exceptions -Wall -g3 -ggdb -O0 -D_DEBUG -DPTRACING -I/root/h323plus/include -felide-constructors -Wreorder -c mcu.cxx -o obj_linux_x86_d/mcu.o
make -C /root/pwlib/src/ptlib/unix debug
make[2]: Entering directory `/root/ptlib-2.6.2/src/ptlib/unix'
make[2]: *** No rule to make target `debug'. Stop.
make[2]: Leaving directory `/root/ptlib-2.6.2/src/ptlib/unix'
make[1]: *** [/root/pwlib/lib_linux_x86/libpt_d.so] Error 2
make[1]: Leaving directory `/root/openmcu-v2_2_4-src/applications/openmcu'
make: *** [debug] Error 2
I have set:
PTLIBDIR=/root/pwlib
PTLIBPLUGINDIR=/usr/local/lib/pwlib/
Any other suggestions for making OpenMCU debuggable?
thanks
Michael
"If you're clear in your vision and trust the people in your team with clear objectives, they will invariably do their best to achieve everything desired, and usually deliver everything you could have hoped for and even more." -Paul Debevec