Skip navigation
Currently Being Moderated

Segfault / coredump when streaming screen data

Dec 5, 2013 12:55 PM

I am getting pretty regular segfault/coredumps while AMS is ingesting and sending out streaming media.

 

This is on 5.0.3 running on EC2.

 

Version: 5_0_3_9002             AMI Version: r6

 

Here is the core dump and backtrace:

 

[root@ip-10-177-25-81 storage]# gdb --core ./core_amscore.28719 /opt/adobe/ams/amscore

GNU gdb (GDB) CentOS (7.0.1-45.el5.centos)

Copyright (C) 2009 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 "x86_64-redhat-linux-gnu".

For bug reporting instructions, please see:

<http://www.gnu.org/software/gdb/bugs/>...

Reading symbols from /opt/adobe/ams/amscore...(no debugging symbols found)...done.

[New Thread 28779]

[New Thread 4383]

[New Thread 3398]

[New Thread 28861]

[New Thread 28860]

[New Thread 28859]

[New Thread 28858]

[New Thread 28857]

[New Thread 28856]

[New Thread 28855]

[New Thread 28854]

[New Thread 28853]

[New Thread 28852]

[New Thread 28851]

[New Thread 28850]

[New Thread 28849]

[New Thread 28848]

[New Thread 28847]

[New Thread 28846]

[New Thread 28845]

[New Thread 28844]

[New Thread 28843]

[New Thread 28842]

[New Thread 28841]

[New Thread 28840]

[New Thread 28839]

[New Thread 28838]

[New Thread 28837]

[New Thread 28836]

[New Thread 28835]

[New Thread 28834]

[New Thread 28833]

[New Thread 28832]

[New Thread 28831]

[New Thread 28830]

[New Thread 28829]

[New Thread 28828]

[New Thread 28827]

[New Thread 28826]

[New Thread 28825]

[New Thread 28824]

[New Thread 28823]

[New Thread 28822]

[New Thread 28821]

[New Thread 28820]

[New Thread 28819]

[New Thread 28818]

[New Thread 28817]

[New Thread 28816]

[New Thread 28815]

[New Thread 28814]

[New Thread 28813]

[New Thread 28812]

[New Thread 28811]

[New Thread 28810]

[New Thread 28809]

[New Thread 28808]

[New Thread 28807]

[New Thread 28806]

[New Thread 28805]

[New Thread 28804]

[New Thread 28803]

[New Thread 28802]

[New Thread 28801]

[New Thread 28800]

[New Thread 28799]

[New Thread 28798]

[New Thread 28797]

[New Thread 28796]

[New Thread 28795]

[New Thread 28794]

[New Thread 28793]

[New Thread 28792]

[New Thread 28791]

[New Thread 28790]

[New Thread 28789]

[New Thread 28788]

[New Thread 28787]

[New Thread 28786]

[New Thread 28785]

[New Thread 28784]

[New Thread 28783]

[New Thread 28782]

[New Thread 28781]

[New Thread 28780]

[New Thread 28778]

[New Thread 28777]

[New Thread 28776]

[New Thread 28775]

[New Thread 28774]

[New Thread 28773]

[New Thread 28772]

[New Thread 28771]

[New Thread 28770]

[New Thread 28769]

[New Thread 28768]

[New Thread 28767]

[New Thread 28766]

[New Thread 28765]

[New Thread 28764]

[New Thread 28763]

[New Thread 28762]

[New Thread 28761]

[New Thread 28760]

[New Thread 28759]

[New Thread 28758]

[New Thread 28757]

[New Thread 28756]

[New Thread 28755]

[New Thread 28754]

[New Thread 28753]

[New Thread 28752]

[New Thread 28751]

[New Thread 28750]

[New Thread 28749]

[New Thread 28748]

[New Thread 28747]

[New Thread 28746]

[New Thread 28745]

[New Thread 28744]

[New Thread 28743]

[New Thread 28742]

[New Thread 28741]

[New Thread 28740]

[New Thread 28739]

[New Thread 28738]

[New Thread 28736]

[New Thread 28735]

[New Thread 28734]

[New Thread 28733]

[New Thread 28732]

[New Thread 28731]

[New Thread 28730]

[New Thread 28729]

[New Thread 28728]

[New Thread 28727]

[New Thread 28726]

[New Thread 28725]

[New Thread 28724]

[New Thread 28723]

[New Thread 28722]

[New Thread 28721]

[New Thread 28720]

[New Thread 28719]

Error while mapping shared library sections:

./libssl.so.1.0.0: No such file or directory.

Error while mapping shared library sections:

./libcrypto.so.1.0.0: No such file or directory.

Error while mapping shared library sections:

./libasneu.so.1: No such file or directory.

Error while mapping shared library sections:

./libfmsccme.so: No such file or directory.

Error while mapping shared library sections:

./libhds.so: No such file or directory.

Error while mapping shared library sections:

./libadbe_dme.so: No such file or directory.

Error while mapping shared library sections:

./libadbe_flv.so: No such file or directory.

Error while mapping shared library sections:

./libcares.so.2: No such file or directory.

Symbol file not found for ./libssl.so.1.0.0

Symbol file not found for ./libcrypto.so.1.0.0

Reading symbols from /lib64/libpthread.so.0...(no debugging symbols found)...done.

[Thread debugging using libthread_db enabled]

Loaded symbols for /lib64/libpthread.so.0

Reading symbols from /usr/lib64/libnspr4.so...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/libnspr4.so

Reading symbols from /usr/lib64/libplc4.so...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/libplc4.so

Reading symbols from /usr/lib64/libplds4.so...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/libplds4.so

Symbol file not found for ./libasneu.so.1

Symbol file not found for ./libfmsccme.so

Symbol file not found for ./libhds.so

Symbol file not found for ./libadbe_dme.so

Symbol file not found for ./libadbe_flv.so

Reading symbols from /lib64/librt.so.1...(no debugging symbols found)...done.

Loaded symbols for /lib64/librt.so.1

Reading symbols from /lib64/libdl.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib64/libdl.so.2

Symbol file not found for ./libcares.so.2

Reading symbols from /usr/lib64/libstdc++.so.6...(no debugging symbols found)...done.

Loaded symbols for /usr/lib64/libstdc++.so.6

Reading symbols from /lib64/libm.so.6...(no debugging symbols found)...done.

Loaded symbols for /lib64/libm.so.6

Reading symbols from /lib64/libgcc_s.so.1...(no debugging symbols found)...done.

Loaded symbols for /lib64/libgcc_s.so.1

Reading symbols from /lib64/libc.so.6...(no debugging symbols found)...done.

Loaded symbols for /lib64/libc.so.6

Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib64/ld-linux-x86-64.so.2

Reading symbols from /lib64/libnss_files.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib64/libnss_files.so.2

Reading symbols from /lib64/libnss_dns.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib64/libnss_dns.so.2

Reading symbols from /lib64/libresolv.so.2...(no debugging symbols found)...done.

Loaded symbols for /lib64/libresolv.so.2

Reading symbols from /opt/adobe/ams/modules/scriptengines/libasc.so...(no debugging symbols found)...done.

Loaded symbols for /opt/adobe/ams/modules/scriptengines/libasc.so

Reading symbols from /opt/adobe/ams/modules/streams/libflv.so...(no debugging symbols found)...done.

Loaded symbols for /opt/adobe/ams/modules/streams/libflv.so

Core was generated by `/opt/adobe/ams/amscore -adaptor _defaultRoot_ -vhost _defaultVHost_ -app live -'.

Program terminated with signal 11, Segmentation fault.

#0  0x0000000000a3accb in ScreenImageAccumulator::GetBlockDataPointer(int, int, int) ()

 

 

 

 

(gdb) bt

#0  0x0000000000a3accb in ScreenImageAccumulator::GetBlockDataPointer(int, int, int) ()

#1  0x0000000000a3ae09 in ScreenImageAccumulator::AddBlockListToMessage(unsigned char*, std::vector<ZlibImageBlock, std::allocator<ZlibImageBlock> >*, char) ()

#2  0x0000000000a3b7de in ScreenImageAccumulator::GenerateFrame() ()

#3  0x0000000000a3dc00 in ScreenImageAccumulator::GetFrame() ()

#4  0x000000000093090b in TSorensonVideoSmartQueue::ConsolidateScreenShareMessages(fms::SingleM essagePtr&, fms::TimeStamp) ()

#5  0x0000000000931eba in TSorensonVideoSmartQueue::PopFront(fms::TimeStamp*) ()

#6  0x0000000000a625b4 in fms::VideoQueuePolicy::popFront(fms::TimeStamp*) ()

#7  0x0000000000a66863 in TMsgQueue::GetNextMessage(int, int&, fms::TimeStamp&, long) ()

#8  0x0000000000a67a8c in TMsgPriorityQueue::getNextMessage(int&, fms::TimeStamp&, long) ()

#9  0x00000000008e096e in fms::RtmpOutMessageQueueContext::GetNextMessageCallback(void*, int, int&, fms::TimeStamp&) ()

#10 0x00000000009d2f86 in TChunkContext::GetNextMessage() ()

#11 0x00000000009d3a25 in TCChunkOutputStream::SelectContext(bool*) ()

#12 0x00000000009d44e0 in TCChunkOutputStream::WriteMessage(bool*) ()

#13 0x00000000008e1073 in fms::RtmpMessagePump::pumpChunkOutputStream(int) ()

#14 0x00000000008e332a in fms::RtmpMessagePump::prepareToWrite(fms::PumpWriteArg&) ()

#15 0x00000000008e349c in fms::RtmpMessagePump::pumpWrite(fms::PumpWriteArg&) ()

#16 0x00000000008e36b6 in fms::RtmpMessagePump::endWrite(unsigned int) ()

#17 0x00000000009aac4d in TCAsyncIO::handleWriteCompletion(TCIOReq*, unsigned int) ()

#18 0x00000000009aeecc in AsyncRequestHandler::run() ()

#19 0x0000000000ae23ba in TCThreadPool::launchThreadRun(void*) ()

#20 0x0000000000ae2906 in TCThreadPool::__ThreadStaticPoolEntry(void*) ()

#21 0x0000000000ae41c6 in launchThreadRun(void*) ()

#22 0x0000000000ae552f in __TCThreadEntry(void*) ()

#23 0x00002ac2b042783d in start_thread () from /lib64/libpthread.so.0

#24 0x00002ac2b2dde26d in clone () from /lib64/libc.so.6

(gdb)

 


 

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points