[h323plus] OpenMCU shutting down unexpectedly
Michael Miller
mimiller at ncsa.uiuc.edu
Wed Jun 3 09:40:05 EDT 2009
Jan,
I'm not sure I did this right. I went to the ptlib-2.6.2 directory and executed:
make debug
make install
That all went fine. Then I moved to the openmcu directory and executed:
make debug
make install
That all appears to work fine. But when I go to trace it I get:
~]# gdb /bin/openmcu
GNU gdb Fedora (6.8-29.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(no debugging symbols found)
(gdb) set args -c -n -d --video --defaultroom ncsa1
(gdb) run
Starting program: /bin/openmcu -c -n -d --video --defaultroom ncsa1
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb7fea740 (LWP 6526)]
error loading /usr/local/lib/pwlib/avcodec - /usr/local/lib/pwlib/avcodec: cannot open shared object file: No such file or directory
error loading /usr/local/lib/pwlib/libavcodec.so - /usr/local/lib/pwlib/libavcodec.so: cannot open shared object file: No such file or directory
All output for OpenMCU is to console.
2009/06/02 04:39:14.431 OpenMCU Message Starting service process "OpenMCU" v2.2.4
Detaching after fork from child process 6535.
Daemon started with pid 6535
2009/06/02 04:39:14.456 OpenMCU Debug3
2009/06/02 04:39:14.465 OpenMCU Debug3 PWLib File handle high water mark set: 8 Thread unblock pipe
2009/06/02 04:39:14.466 OpenMCU Debug3 PTLib Thread high water mark set: 2
Program exited normally.
Missing separate debuginfos, use: debuginfo-install e2fsprogs-libs-1.41.4-5.fc10.i386 glibc-2.9-3.i686 keyutils-libs-1.2-3.fc9.i386 krb5-libs-1.6.3-18.fc10.i386 libgcc-4.3.2-7.i386 libselinux-2.0.78-1.fc10.i386 libstdc++-4.3.2-7.i386 openssl-0.9.8g-13.fc10.i686 zlib-1.2.3-18.fc9.i386
(gdb) 2009/06/02 04:39:14.470 OpenMCU Debug3 PWLib File handle high water mark set: 10 Thread unblock pipe
2009/06/02 04:39:14.470 OpenMCU Debug3 PTLib Thread high water mark set: 3
2009/06/02 04:39:14.475 OpenMCU Debug3 PWLib File handle high water mark set: 12 Thread unblock pipe
2009/06/02 04:39:14.476 OpenMCU Debug3 PTLib Thread high water mark set: 4
2009/06/02 04:39:14.477 OpenMCU Debug3 H323 Created endpoint.
2009/06/02 04:39:14.479 OpenMCU Debug3 PWLib File handle high water mark set: 14 Thread unblock pipe
2009/06/02 04:39:14.480 H323 Cleaner:0xb7f67b90 Debug3 H323 Started cleaner thread
2009/06/02 04:39:14.480 OpenMCU Debug3 PTLib Thread high water mark set: 5
2009/06/02 04:39:14.481 PXConfigWr...0xb7dffb90 Debug3 PTLib Config file cache write back thread started.
2009/06/02 04:39:14.482 OpenMCU Debug3 PTLib Created PXConfig 0x81fdd68
2009/06/02 04:39:14.482 OpenMCU Debug3 PTLib Reading config file: /root/.pwlib_config/openmcu.ini
2009/06/02 04:39:14.483 OpenMCU Debug3 PWLib File handle high water mark set: 15 PTextFile
2009/06/02 04:39:14.494 OpenMCU Debug3
2009/06/02 04:39:14.793 OpenMCU Info Registered with Gatekeeper: 141.142.222.234
2009/06/02 04:39:14.801 OpenMCU Info Opened master socket for HTTP: 1420
2009/06/02 04:39:14.802 OpenMCU Info Service OpenMCU Started
I'm not sure what the "(no debugging symbols found)" is referring to...
Any suggestions are greatly appreciated.
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
----- Original Message -----
From: "Jan Willamowius" <jan at willamowius.de>
To: h323plus at lists.packetizer.com
Sent: Tuesday, June 2, 2009 12:55:28 PM GMT -06:00 US/Canada Central
Subject: Re: [h323plus] OpenMCU shutting down unexpectedly
Hi,
the compile will work if you compile PTLib directly with 'make debug'
and don't rely on the OpenMCU makefile to start the compilation of
PTLib.
Regards,
Jan
Michael Miller wrote:
> 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
--
Jan Willamowius, jan at willamowius.de, http://www.willamowius.de/
More information about the h323plus
mailing list