Skip to main content
Known Participant
November 21, 2012
Question

AMS5.01 not restarting - stack smashing error

  • November 21, 2012
  • 1 reply
  • 1193 views

After a couple of weeks of running without re-starting, I rebooted the box the AMS service was running on and got this error.

AMSMaster and AMSAdmin both fail to start...

Starting Adobe Media Admin Server (please check /var/log/messages)

[root@dl160-2 ams]# *** stack smashing detected ***: ./amsadmin terminated
======= Backtrace: =========
/lib64/libc.so.6(__fortify_fail+0x37)[0x32ab901d47]
/lib64/libc.so.6(__fortify_fail+0x0)[0x32ab901d10]
./amsadmin(_ZN13SockAddrStore8InitAddr15getIpv6AddrProcERSt6vectorI8TCStringSaIS2_EE+0x251)[0x58f3d1]
./amsadmin(_ZN13SockAddrStore8InitAddr15IsIPV6InstalledEv+0x2a)[0x58ffaa]
./amsadmin(_ZN13SockAddrStore8InitAddr4InitEb+0x18)[0x595488]
./amsadmin(_ZN7FCSRoot3runEiPPc+0x3b3)[0x529743]
./amsadmin(main+0x6f)[0x4e04ef]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x32ab81ecdd]
./amsadmin(__gxx_personality_v0+0x441)[0x488889]

Now, even after uninstalling, rebooting and reinstalling, the same error occurs. AMSAdmin wont start due to 'stack smashing detected' on a Centos server.

Is this a code error? It was a clean install of Centos on a new rack server.

*** stack smashing detected ***: ./amsmaster terminated

======= Backtrace: =========

/lib64/libc.so.6(__fortify_fail+0x37)[0x32ab901d47]

/lib64/libc.so.6(__fortify_fail+0x0)[0x32ab901d10]

./amsmaster(_ZN13SockAddrStore8InitAddr15getIpv6AddrProcERSt6vectorI8TCStringSaIS2_EE+0x251)[0x532cc1]

./amsmaster(_ZN13SockAddrStore8InitAddr15IsIPV6InstalledEv+0x2a)[0x53389a]

./amsmaster(_ZN13SockAddrStore8InitAddr4InitEb+0x18)[0x538d78]

./amsmaster(_ZN7FCSRoot3runEiPPc+0x3b3)[0x4d7ab3]

./amsmaster(main+0xb5)[0x4c8e25]

/lib64/libc.so.6(__libc_start_main+0xfd)[0x32ab81ecdd]

./amsmaster[0x47e7e9]

======= Memory map: ========

00400000-006d9000 r-xp 00000000 fd:00 131141                             /opt/adobe/ams/amsmaster

008d8000-008ec000 rw-p 002d8000 fd:00 131141                             /opt/adobe/ams/amsmaster

008ec000-008f5000 rw-p 00000000 00:00 0

00f07000-00f8b000 rw-p 00000000 00:00 0                                  [heap]

32ab400000-32ab420000 r-xp 00000000 fd:00 35528                          /lib64/ld-2.12.so

32ab61f000-32ab620000 r--p 0001f000 fd:00 35528                          /lib64/ld-2.12.so

32ab620000-32ab621000 rw-p 00020000 fd:00 35528                          /lib64/ld-2.12.so

32ab621000-32ab622000 rw-p 00000000 00:00 0

32ab800000-32ab989000 r-xp 00000000 fd:00 74854                          /lib64/libc-2.12.so

32ab989000-32abb89000 ---p 00189000 fd:00 74854                          /lib64/libc-2.12.so

32abb89000-32abb8d000 r--p 00189000 fd:00 74854                          /lib64/libc-2.12.so

32abb8d000-32abb8e000 rw-p 0018d000 fd:00 74854                          /lib64/libc-2.12.so

32abb8e000-32abb93000 rw-p 00000000 00:00 0

32abc00000-32abc02000 r-xp 00000000 fd:00 77649                          /lib64/libdl-2.12.so

32abc02000-32abe02000 ---p 00002000 fd:00 77649                          /lib64/libdl-2.12.so

32abe02000-32abe03000 r--p 00002000 fd:00 77649                          /lib64/libdl-2.12.so

32abe03000-32abe04000 rw-p 00003000 fd:00 77649                          /lib64/libdl-2.12.so

32ac000000-32ac017000 r-xp 00000000 fd:00 75210                          /lib64/libpthread-2.12.so

32ac017000-32ac217000 ---p 00017000 fd:00 75210                          /lib64/libpthread-2.12.so

32ac217000-32ac218000 r--p 00017000 fd:00 75210                          /lib64/libpthread-2.12.so

32ac218000-32ac219000 rw-p 00018000 fd:00 75210                          /lib64/libpthread-2.12.so

32ac219000-32ac21d000 rw-p 00000000 00:00 0

32ac400000-32ac483000 r-xp 00000000 fd:00 2992                           /lib64/libm-2.12.so

32ac483000-32ac682000 ---p 00083000 fd:00 2992                           /lib64/libm-2.12.so

32ac682000-32ac683000 r--p 00082000 fd:00 2992                           /lib64/libm-2.12.so

32ac683000-32ac684000 rw-p 00083000 fd:00 2992                           /lib64/libm-2.12.so

32ac800000-32ac807000 r-xp 00000000 fd:00 1564                           /lib64/librt-2.12.so

32ac807000-32aca06000 ---p 00007000 fd:00 1564                           /lib64/librt-2.12.so

32aca06000-32aca07000 r--p 00006000 fd:00 1564                           /lib64/librt-2.12.so

32aca07000-32aca08000 rw-p 00007000 fd:00 1564                           /lib64/librt-2.12.so

32b7000000-32b7016000 r-xp 00000000 fd:00 77653                          /lib64/libgcc_s-4.4.6-20120305.so.1

32b7016000-32b7215000 ---p 00016000 fd:00 77653                          /lib64/libgcc_s-4.4.6-20120305.so.1

32b7215000-32b7216000 rw-p 00015000 fd:00 77653                          /lib64/libgcc_s-4.4.6-20120305.so.1

32b8400000-32b84e8000 r-xp 00000000 fd:00 77654                          /usr/lib64/libstdc++.so.6.0.13

32b84e8000-32b86e8000 ---p 000e8000 fd:00 77654                          /usr/lib64/libstdc++.so.6.0.13

32b86e8000-32b86ef000 r--p 000e8000 fd:00 77654                          /usr/lib64/libstdc++.so.6.0.13

32b86ef000-32b86f1000 rw-p 000ef000 fd:00 77654                          /usr/lib64/libstdc++.so.6.0.13

32b86f1000-32b8706000 rw-p 00000000 00:00 0

32ba800000-32ba839000 r-xp 00000000 fd:00 30373                          /lib64/libnspr4.so

32ba839000-32baa38000 ---p 00039000 fd:00 30373                          /lib64/libnspr4.so

32baa38000-32baa39000 r--p 00038000 fd:00 30373                          /lib64/libnspr4.so

32baa39000-32baa3b000 rw-p 00039000 fd:00 30373                          /lib64/libnspr4.so

32baa3b000-32baa3d000 rw-p 00000000 00:00 0

32bbc00000-32bbc03000 r-xp 00000000 fd:00 77728                          /lib64/libplds4.so

32bbc03000-32bbe02000 ---p 00003000 fd:00 77728                          /lib64/libplds4.so

32bbe02000-32bbe03000 r--p 00002000 fd:00 77728                          /lib64/libplds4.so

32bbe03000-32bbe04000 rw-p 00003000 fd:00 77728                          /lib64/libplds4.so

32bc000000-32bc004000 r-xp 00000000 fd:00 77729                          /lib64/libplc4.so

32bc004000-32bc203000 ---p 00004000 fd:00 77729                          /lib64/libplc4.so

32bc203000-32bc204000 r--p 00003000 fd:00 77729                          /lib64/libplc4.so

32bc204000-32bc205000 rw-p 00004000 fd:00 77729                          /lib64/libplc4.so

7f683b9d2000-7f6841863000 r--p 00000000 fd:00 52582                      /usr/lib/locale/locale-archive

7f6841863000-7f6841a63000 rw-s 00000000 00:04 196612                     /SYSV41000a38 (deleted)

7f6841a63000-7f6841a8a000 rw-p 00000000 00:00 0

7f6841a8a000-7f6841a98000 r-xp 00000000 fd:00 131189                     /opt/adobe/ams/libcares.so.2

7f6841a98000-7f6841c97000 ---p 0000e000 fd:00 131189                     /opt/adobe/ams/libcares.so.2

7f6841c97000-7f6841c98000 rw-p 0000d000 fd:00 131189                     /opt/adobe/ams/libcares.so.2

7f6841c98000-7f6841c99000 rw-p 00000000 00:00 0

7f6841c99000-7f6841ca7000 r-xp 00000000 fd:00 131413                     /opt/adobe/ams/libasneu.so.1

7f6841ca7000-7f6841ea6000 ---p 0000e000 fd:00 131413                     /opt/adobe/ams/libasneu.so.1

7f6841ea6000-7f6841ea7000 rw-p 0000d000 fd:00 131413                     /opt/adobe/ams/libasneu.so.1

7f6841ea7000-7f6841ea8000 rw-p 00000000 00:00 0

7f6841ea8000-7f6842022000 r-xp 00000000 fd:00 131185                     /opt/adobe/ams/libcrypto.so.1.0.0

7f6842022000-7f6842222000 ---p 0017a000 fd:00 131185                     /opt/adobe/ams/libcrypto.so.1.0.0

7f6842222000-7f6842245000 rw-p 0017a000 fd:00 131185                     /opt/adobe/ams/libcrypto.so.1.0.0

7f6842245000-7f6842248000 rw-p 00000000 00:00 0

7f6842248000-7f6842298000 r-xp 00000000 fd:00 131186                     /opt/adobe/ams/libssl.so.1.0.0

7f6842298000-7f6842498000 ---p 00050000 fd:00 131186                     /opt/adobe/ams/libssl.so.1.0.0

7f6842498000-7f68424a0000 rw-p 00050000 fd:00 131186                     /opt/adobe/ams/libssl.so.1.0.0

7f68424a0000-7f68424a1000 rw-p 00000000 00:00 0

7f68424a5000-7f68424a7000 rw-p 00000000 00:00 0

7f68424a7000-7f68424ae000 r--s 00000000 fd:00 37810                      /usr/lib64/gconv/gconv-modules.cache

7f68424ae000-7f68424af000 rw-p 00000000 00:00 0

7fffbcb62000-7fffbcb77000 rw-p 00000000 00:00 0                          [stack]

7fffbcbff000-7fffbcc00000 r-xp 00000000 00:00 0                          [vdso]

ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

This topic has been closed for replies.

1 reply

Known Participant
November 21, 2012

Are you running CentOS 5.8 (64-bit)?

When you installed did everything else work correctly, is this just the admin log-in interface?

d3lf66Author
Known Participant
November 21, 2012

The server was running Centos 6.3 64bit. In fact, when it was installed, everything was running fine, including the admin console, test vod/hds streams etc. The server has even been restarted a few times (./server restart) without issues. This was the first time the actual server has been rebooted. Uninstalling, rebooting and reinstalling doesnt seem to resolve the issue. The next step, logically, is to downgrade to Centos 5.8 and reinstall AMS?

Known Participant
November 21, 2012

Downgrading maybe the only way to get it to work, I would prefer as well to run CentOS 6.3 64bit myself since it reboots so much faster and to me has better performance.

Are you familiar with 'Adobe Action Script' or how to prevent unauthorize 'live streaming' to the AMS 5 server?

It is very difficult to find anyone that has configured or locked down AMS 5 Server or even FMS server or where/how what files to change?

Does that make sense?