[Live-devel] openRTSP segfault

Eric Tamme eric at uphreak.com
Tue Sep 20 11:34:28 PDT 2016


Hello all,

I have started using openRTSP to try and put together a simple network 
video recorder for some Grandstream IP cameras that I have.  I am 
consistently getting segfaults when running on Ubuntu 14.04 with the 
livemedia-utils package installed from apt. Backtrace from the coredump 
is below.  Basically I am passing flags to openRTSP to run for 24 hours, 
and write a new file every 30 minutes.  I only ever get a single file, 
and I believe it is segfaulting around the time it writes the new file.

Any help on further debugging/solving the problem would be appreciated.

-Eric

Core was generated by `/usr/bin/openRTSP -v -c -B 10000000 -b 10000000 
-4 -Q -f 30 -F 2016-09-20 -d 86'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f4345b14800 in FramedSource::stopGettingFrames() () from 
/usr/lib/x86_64-linux-gnu/libliveMedia.so.23
(gdb) bt
#0  0x00007f4345b14800 in FramedSource::stopGettingFrames() () from 
/usr/lib/x86_64-linux-gnu/libliveMedia.so.23
#1  0x00007f4345b575cc in QuickTimeFileSink::~QuickTimeFileSink() () 
from /usr/lib/x86_64-linux-gnu/libliveMedia.so.23
#2  0x00007f4345b57659 in QuickTimeFileSink::~QuickTimeFileSink() () 
from /usr/lib/x86_64-linux-gnu/libliveMedia.so.23
#3  0x00000000004030c5 in ?? ()
#4  0x00000000004046db in ?? ()
#5  0x00007f434568551b in AlarmHandler::handleTimeout() () from 
/usr/lib/x86_64-linux-gnu/libBasicUsageEnvironment.so.0
#6  0x00007f4345685e3a in BasicTaskScheduler::SingleStep(unsigned int) 
() from /usr/lib/x86_64-linux-gnu/libBasicUsageEnvironment.so.0
#7  0x00007f4345684e8c in BasicTaskScheduler0::doEventLoop(char*) () 
from /usr/lib/x86_64-linux-gnu/libBasicUsageEnvironment.so.0
#8  0x0000000000402a12 in ?? ()
#9  0x00007f4344bb1f45 in __libc_start_main (main=0x401e80, argc=18, 
argv=0x7ffd91e1e908, init=<optimized out>, fini=<optimized out>, 
rtld_fini=<optimized out>, stack_end=0x7ffd91e1e8f8)
     at libc-start.c:287
#10 0x0000000000402e22 in ?? ()



More information about the live-devel mailing list