AnsweredAssumed Answered

ghostscript memory dump

Question asked by sharifu on Jun 23, 2015
I am using alfresco community 4.2.e on centos 6 64bit. 

When i upload 2gb of (1000) files, i get the following in the log file?

This also somehow breaks replication jobs and i have to either restart alfresco or find out which folder is not workign and remove copy replace re-add to replication job to make it work.



/lib64/libc.so.6(+0x760e6)[0x7f901528e0e6]
/lib64/libc.so.6(+0x78c13)[0x7f9015290c13]
gs[0x514d40]
gs[0x51b7b9]
gs[0x514585]
gs[0x513e24]
gs[0x48d28a]
gs[0x48d3f7]
gs[0x4a5e6d]
gs[0x483094]
gs[0x47982e]
gs[0x47a697]
gs[0x47a813]
gs[0x47a9bf]
gs[0x47b5d5]
gs[0x47c58e]
gs(XOpenDisplay+0x141)[0x4122d9]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f9015236cdd]
gs(fmod+0x52)[0x4121fa]
======= Memory map: ========
00400000-006ef000 r-xp 00000000 08:11 98174141                           /opt/alfresco-4.2.e/common/bin/gs
007ef000-00c4e000 rw-p 002ef000 08:11 98174141                           /opt/alfresco-4.2.e/common/bin/gs
00c4e000-00c56000 rw-p 00000000 00:00 0
01f8e000-024ac000 rw-p 00000000 00:00 0                                  [heap]
7f90142f8000-7f901430e000 r-xp 00000000 fd:00 1835010                    /lib64/libgcc_s-4.4.7-20120601.so.1
7f901430e000-7f901450d000 —p 00016000 fd:00 1835010                    /lib64/libgcc_s-4.4.7-20120601.so.1
7f901450d000-7f901450e000 rw-p 00015000 fd:00 1835010                    /lib64/libgcc_s-4.4.7-20120601.so.1
7f901450e000-7f90146fa000 rw-p 00000000 00:00 0
7f90148d5000-7f90148d7000 r-xp 00000000 fd:00 4459835                    /usr/lib64/libXau.so.6.0.0
7f90148d7000-7f9014ad7000 —p 00002000 fd:00 4459835                    /usr/lib64/libXau.so.6.0.0
7f9014ad7000-7f9014ad8000 rw-p 00002000 fd:00 4459835                    /usr/lib64/libXau.so.6.0.0
7f9014ad8000-7f9014af2000 r-xp 00000000 08:11 98173228                   /opt/alfresco-4.2.e/common/lib/libz.so.1.2.3
7f9014af2000-7f9014bf1000 —p 0001a000 08:11 98173228                   /opt/alfresco-4.2.e/common/lib/libz.so.1.2.3
7f9014bf1000-7f9014bf2000 rw-p 00019000 08:11 98173228                   /opt/alfresco-4.2.e/common/lib/libz.so.1.2.3
7f9014bf2000-7f9014bf4000 r-xp 00000000 fd:00 1835027                    /lib64/libdl-2.12.so
7f9014bf4000-7f9014df4000 —p 00002000 fd:00 1835027                    /lib64/libdl-2.12.so
7f9014df4000-7f9014df5000 r–p 00002000 fd:00 1835027                    /lib64/libdl-2.12.so
7f9014df5000-7f9014df6000 rw-p 00003000 fd:00 1835027                    /lib64/libdl-2.12.so
7f9014df6000-7f9014e13000 r-xp 00000000 fd:00 4459879                    /usr/lib64/libxcb.so.1.1.0
7f9014e13000-7f9015013000 —p 0001d000 fd:00 4459879                    /usr/lib64/libxcb.so.1.1.0
7f9015013000-7f9015014000 rw-p 0001d000 fd:00 4459879                    /usr/lib64/libxcb.so.1.1.0
7f9015014000-7f9015018000 r-xp 00000000 fd:00 1835111                    /lib64/libuuid.so.1.3.0
7f9015018000-7f9015217000 —p 00004000 fd:00 1835111                    /lib64/libuuid.so.1.3.0
7f9015217000-7f9015218000 rw-p 00003000 fd:00 1835111                    /lib64/libuuid.so.1.3.0
7f9015218000-7f90153a2000 r-xp 00000000 fd:00 1835021                    /lib64/libc-2.12.so
7f90153a2000-7f90155a1000 —p 0018a000 fd:00 1835021                    /lib64/libc-2.12.so
7f90155a1000-7f90155a5000 r–p 00189000 fd:00 1835021                    /lib64/libc-2.12.so
7f90155a5000-7f90155a6000 rw-p 0018d000 fd:00 1835021                    /lib64/libc-2.12.so
7f90155a6000-7f90155ab000 rw-p 00000000 00:00 0
7f90155ab000-7f901562e000 r-xp 00000000 fd:00 1835029                    /lib64/libm-2.12.so
7f901562e000-7f901582d000 —p 00083000 fd:00 1835029                    /lib64/libm-2.12.so
7f901582d000-7f901582e000 r–p 00082000 fd:00 1835029                    /lib64/libm-2.12.so
7f901582e000-7f901582f000 rw-p 00083000 fd:00 1835029                    /lib64/libm-2.12.so
7f901582f000-7f9015966000 r-xp 00000000 fd:00 4459883                    /usr/lib64/libX11.so.6.3.0
7f9015966000-7f9015b66000 —p 00137000 fd:00 4459883                    /usr/lib64/libX11.so.6.3.0
7f9015b66000-7f9015b6c000 rw-p 00137000 fd:00 4459883                    /usr/lib64/libX11.so.6.3.0
7f9015b6c000-7f9015b7e000 r-xp 00000000 fd:00 4459885                    /usr/lib64/libXext.so.6.4.0
7f9015b7e000-7f9015d7e000 —p 00012000 fd:00 4459885                    /usr/lib64/libXext.so.6.4.0
7f9015d7e000-7f9015d7f000 rw-p 00012000 fd:00 4459885                    /usr/lib64/libXext.so.6.4.0
7f9015d7f000-7f9015d96000 r-xp 00000000 fd:00 4459831                    /usr/lib64/libICE.so.6.3.0
7f9015d96000-7f9015f96000 —p 00017000 fd:00 4459831                    /usr/lib64/libICE.so.6.3.0
7f9015f96000-7f9015f97000 rw-p 00017000 fd:00 4459831                    /usr/lib64/libICE.so.6.3.0
7f9015f97000-7f9015f9b000 rw-p 00000000 00:00 0
7f9015f9b000-7f9015fa2000 r-xp 00000000 fd:00 4459903                    /usr/lib64/libSM.so.6.0.1
7f9015fa2000-7f90161a2000 —p 00007000 fd:00 4459903                    /usr/lib64/libSM.so.6.0.1
7f90161a2000-7f90161a3000 rw-p 00007000 fd:00 4459903                    /usr/lib64/libSM.so.6.0.1
7f90161a3000-7f9016202000 r-xp 00000000 fd:00 4460293                    /usr/lib64/libXt.so.6.0.0
7f9016202000-7f9016401000 —p 0005f000 fd:00 4460293                    /usr/lib64/libXt.so.6.0.0
7f9016401000-7f9016407000 rw-p 0005e000 fd:00 4460293                    /usr/lib64/libXt.so.6.0.0
7f9016407000-7f9016408000 rw-p 00000000 00:00 0
7f9016408000-7f9016428000 r-xp 00000000 fd:00 1835379                    /lib64/ld-2.12.so
7f90164e7000-7f90164ec000 rw-p 00000000 00:00 0
7f90164ec000-7f901651c000 r-xp 00000000 08:11 98173243                   /opt/alfresco-4.2.e/common/lib/libpng12.so.0.24.0
7f901651c000-7f901661c000 —p 00030000 08:11 98173243                   /opt/alfresco-4.2.e/common/lib/libpng12.so.0.24.0
7f901661c000-7f901661d000 rw-p 00030000 08:11 98173243                   /opt/alfresco-4.2.e/common/lib/libpng12.so.0.24.0
7f901661d000-7f901661f000 rw-p 00000000 00:00 0
7f9016625000-7f9016627000 rw-p 00000000 00:00 0
7f9016627000-7f9016628000 r–p 0001f000 fd:00 1835379                    /lib64/ld-2.12.so
7f9016628000-7f9016629000 rw-p 00020000 fd:00 1835379                    /lib64/ld-2.12.so
7f9016629000-7f901662b000 rw-p 00000000 00:00 0
7fff4559b000-7fff455b0000 rw-p 00000000 00:00 0                          [stack]
7fff455ff000-7fff45600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
*** glibc detected *** gs: double free or corruption (out): 0x00000000014b24a0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x760e6)[0x7fa34aba10e6]
/lib64/libc.so.6(+0x78c13)[0x7fa34aba3c13]
gs[0x514d40]
gs[0x51b7b9]
gs[0x514585]
gs[0x513e24]
gs[0x48d28a]
gs[0x48d3f7]
gs[0x4a5e6d]
gs[0x483094]
gs[0x47982e]
gs[0x47a697]
gs[0x47a813]
gs[0x47a9bf]
gs[0x47b5d5]
gs[0x47c58e]
gs(XOpenDisplay+0x141)[0x4122d9]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7fa34ab49cdd]
gs(fmod+0x52)[0x4121fa]
======= Memory map: ========
00400000-006ef000 r-xp 00000000 08:11 98174141                           /opt/alfresco-4.2.e/common/bin/gs
007ef000-00c4e000 rw-p 002ef000 08:11 98174141                           /opt/alfresco-4.2.e/common/bin/gs
00c4e000-00c56000 rw-p 00000000 00:00 0
0144f000-0196d000 rw-p 00000000 00:00 0                                  [heap]
7fa349c0b000-7fa349c21000 r-xp 00000000 fd:00 1835010                    /lib64/libgcc_s-4.4.7-20120601.so.1
7fa349c21000-7fa349e20000 —p 00016000 fd:00 1835010                    /lib64/libgcc_s-4.4.7-20120601.so.1
7fa349e20000-7fa349e21000 rw-p 00015000 fd:00 1835010                    /lib64/libgcc_s-4.4.7-20120601.so.1
7fa349e21000-7fa34a00d000 rw-p 00000000 00:00 0
7fa34a1e8000-7fa34a1ea000 r-xp 00000000 fd:00 4459835                    /usr/lib64/libXau.so.6.0.0
7fa34a1ea000-7fa34a3ea000 —p 00002000 fd:00 4459835                    /usr/lib64/libXau.so.6.0.0
7fa34a3ea000-7fa34a3eb000 rw-p 00002000 fd:00 4459835                    /usr/lib64/libXau.so.6.0.0
7fa34a3eb000-7fa34a405000 r-xp 00000000 08:11 98173228                   /opt/alfresco-4.2.e/common/lib/libz.so.1.2.3
7fa34a405000-7fa34a504000 —p 0001a000 08:11 98173228                   /opt/alfresco-4.2.e/common/lib/libz.so.1.2.3
7fa34a504000-7fa34a505000 rw-p 00019000 08:11 98173228                   /opt/alfresco-4.2.e/common/lib/libz.so.1.2.3
7fa34a505000-7fa34a507000 r-xp 00000000 fd:00 1835027                    /lib64/libdl-2.12.so
7fa34a507000-7fa34a707000 —p 00002000 fd:00 1835027                    /lib64/libdl-2.12.so
7fa34a707000-7fa34a708000 r–p 00002000 fd:00 1835027                    /lib64/libdl-2.12.so
7fa34a708000-7fa34a709000 rw-p 00003000 fd:00 1835027                    /lib64/libdl-2.12.so
7fa34a709000-7fa34a726000 r-xp 00000000 fd:00 4459879                    /usr/lib64/libxcb.so.1.1.0
7fa34a726000-7fa34a926000 —p 0001d000 fd:00 4459879                    /usr/lib64/libxcb.so.1.1.0
7fa34a926000-7fa34a927000 rw-p 0001d000 fd:00 4459879                    /usr/lib64/libxcb.so.1.1.0
7fa34a927000-7fa34a92b000 r-xp 00000000 fd:00 1835111                    /lib64/libuuid.so.1.3.0
7fa34a92b000-7fa34ab2a000 —p 00004000 fd:00 1835111                    /lib64/libuuid.so.1.3.0
7fa34ab2a000-7fa34ab2b000 rw-p 00003000 fd:00 1835111                    /lib64/libuuid.so.1.3.0
7fa34ab2b000-7fa34acb5000 r-xp 00000000 fd:00 1835021                    /lib64/libc-2.12.so
7fa34acb5000-7fa34aeb4000 —p 0018a000 fd:00 1835021                    /lib64/libc-2.12.so
7fa34aeb4000-7fa34aeb8000 r–p 00189000 fd:00 1835021                    /lib64/libc-2.12.so
7fa34aeb8000-7fa34aeb9000 rw-p 0018d000 fd:00 1835021                    /lib64/libc-2.12.so
7fa34aeb9000-7fa34aebe000 rw-p 00000000 00:00 0
7fa34aebe000-7fa34af41000 r-xp 00000000 fd:00 1835029                    /lib64/libm-2.12.so
7fa34af41000-7fa34b140000 —p 00083000 fd:00 1835029                    /lib64/libm-2.12.so
7fa34b140000-7fa34b141000 r–p 00082000 fd:00 1835029                    /lib64/libm-2.12.so
7fa34b141000-7fa34b142000 rw-p 00083000 fd:00 1835029                    /lib64/libm-2.12.so
7fa34b142000-7fa34b279000 r-xp 00000000 fd:00 4459883                    /usr/lib64/libX11.so.6.3.0
7fa34b279000-7fa34b479000 —p 00137000 fd:00 4459883                    /usr/lib64/libX11.so.6.3.0
7fa34b479000-7fa34b47f000 rw-p 00137000 fd:00 4459883                    /usr/lib64/libX11.so.6.3.0
7fa34b47f000-7fa34b491000 r-xp 00000000 fd:00 4459885                    /usr/lib64/libXext.so.6.4.0
7fa34b491000-7fa34b691000 —p 00012000 fd:00 4459885                    /usr/lib64/libXext.so.6.4.0
7fa34b691000-7fa34b692000 rw-p 00012000 fd:00 4459885                    /usr/lib64/libXext.so.6.4.0
7fa34b692000-7fa34b6a9000 r-xp 00000000 fd:00 4459831                    /usr/lib64/libICE.so.6.3.0
7fa34b6a9000-7fa34b8a9000 —p 00017000 fd:00 4459831                    /usr/lib64/libICE.so.6.3.0
7fa34b8a9000-7fa34b8aa000 rw-p 00017000 fd:00 4459831                    /usr/lib64/libICE.so.6.3.0
7fa34b8aa000-7fa34b8ae000 rw-p 00000000 00:00 0
7fa34b8ae000-7fa34b8b5000 r-xp 00000000 fd:00 4459903                    /usr/lib64/libSM.so.6.0.1
7fa34b8b5000-7fa34bab5000 —p 00007000 fd:00 4459903                    /usr/lib64/libSM.so.6.0.1
7fa34bab5000-7fa34bab6000 rw-p 00007000 fd:00 4459903                    /usr/lib64/libSM.so.6.0.1
7fa34bab6000-7fa34bb15000 r-xp 00000000 fd:00 4460293                    /usr/lib64/libXt.so.6.0.0
7fa34bb15000-7fa34bd14000 —p 0005f000 fd:00 4460293                    /usr/lib64/libXt.so.6.0.0
7fa34bd14000-7fa34bd1a000 rw-p 0005e000 fd:00 4460293                    /usr/lib64/libXt.so.6.0.0
7fa34bd1a000-7fa34bd1b000 rw-p 00000000 00:00 0
7fa34bd1b000-7fa34bd3b000 r-xp 00000000 fd:00 1835379                    /lib64/ld-2.12.so
7fa34bdfa000-7fa34bdff000 rw-p 00000000 00:00 0
7fa34bdff000-7fa34be2f000 r-xp 00000000 08:11 98173243                   /opt/alfresco-4.2.e/common/lib/libpng12.so.0.24.0
7fa34be2f000-7fa34bf2f000 —p 00030000 08:11 98173243                   /opt/alfresco-4.2.e/common/lib/libpng12.so.0.24.0
7fa34bf2f000-7fa34bf30000 rw-p 00030000 08:11 98173243                   /opt/alfresco-4.2.e/common/lib/libpng12.so.0.24.0
7fa34bf30000-7fa34bf32000 rw-p 00000000 00:00 0
7fa34bf38000-7fa34bf3a000 rw-p 00000000 00:00 0
7fa34bf3a000-7fa34bf3b000 r–p 0001f000 fd:00 1835379                    /lib64/ld-2.12.so
7fa34bf3b000-7fa34bf3c000 rw-p 00020000 fd:00 1835379                    /lib64/ld-2.12.so
7fa34bf3c000-7fa34bf3e000 rw-p 00000000 00:00 0
7ffff45b8000-7ffff45cd000 rw-p 00000000 00:00 0                          [stack]
7ffff45ff000-7ffff4600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Outcomes