Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

centos6.5 composer_xe_2013_sp1.2.144 libiomp5.so painc

wang_f_1
Beginner
490 Views

dear all:

it ruining in docker  container,the issue can be reproduced

kernel:

CentOS release 6.5 (Final)  2.6.32-431.el6.x86_64 #1 SMP Fri Nov 22 03:15:09 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

vendor_id       : GenuineIntel
cpu family      : 6
model           : 62
model name      : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz
stepping        : 4
cpu MHz         : 2599.825
cache size      : 20480 KB
physical id     : 0
siblings        : 16
core id         : 6
cpu cores       : 8
apicid          : 13
initial apicid  : 13
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms
bogomips        : 5199.65
clflush size    : 64
cache_alignment : 64
address sizes   : 46 bits physical, 48 bits virtual
 

painc messages

The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /export/servers/nginx/sbin/nginx
[Thread debugging using libthread_db enabled]
init sucess
[New Thread 0x7ffff7fa5700 (LWP 7301)]
[New Thread 0x7ffff1699700 (LWP 7302)]
[New Thread 0x7ffff1298700 (LWP 7303)]
[New Thread 0x7ffff0e97700 (LWP 7304)]
[New Thread 0x7ffff0a96700 (LWP 7305)]
[New Thread 0x7ffff0695700 (LWP 7306)]
*** glibc detected *** /export/servers/nginx/sbin/nginx: double free or corruption (!prev): 0x0000000000923f80 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x75e66)[0x7ffff5623e66]
/lib64/libc.so.6(+0x789b3)[0x7ffff56269b3]
/usr/lib/libGraphicsMagick.so.3(+0x133a7c)[0x7ffff70f5a7c]
/usr/lib/libGraphicsMagick.so.3(+0x13bbeb)[0x7ffff70fdbeb]
/opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64/libiomp5.so(__kmp_invoke_microtask+0x93)[0x7ffff511c233]
======= Memory map: ========
00400000-00509000 r-xp 00000000 fd:04 918887                             /export/servers/nginx/sbin/nginx
00708000-0071a000 rw-p 00108000 fd:04 918887                             /export/servers/nginx/sbin/nginx
0071a000-00968000 rw-p 00000000 00:00 0                                  [heap]
7fffd4000000-7fffd4021000 rw-p 00000000 00:00 0
7fffd4021000-7fffd8000000 ---p 00000000 00:00 0
7fffdc000000-7fffdc021000 rw-p 00000000 00:00 0
7fffdc021000-7fffe0000000 ---p 00000000 00:00 0
7fffe0000000-7fffe0021000 rw-p 00000000 00:00 0
7fffe0021000-7fffe4000000 ---p 00000000 00:00 0
7fffe4000000-7fffe4021000 rw-p 00000000 00:00 0
7fffe4021000-7fffe8000000 ---p 00000000 00:00 0
7fffe8000000-7fffe8021000 rw-p 00000000 00:00 0
7fffe8021000-7fffec000000 ---p 00000000 00:00 0
7fffec000000-7fffec021000 rw-p 00000000 00:00 0
7fffec021000-7ffff0000000 ---p 00000000 00:00 0
7ffff0295000-7ffff0296000 ---p 00000000 00:00 0
7ffff0296000-7ffff0696000 rw-p 00000000 00:00 0
7ffff0696000-7ffff0697000 ---p 00000000 00:00 0
7ffff0697000-7ffff0a97000 rw-p 00000000 00:00 0
7ffff0a97000-7ffff0a98000 ---p 00000000 00:00 0
7ffff0a98000-7ffff0e98000 rw-p 00000000 00:00 0
7ffff0e98000-7ffff0e99000 ---p 00000000 00:00 0
7ffff0e99000-7ffff1299000 rw-p 00000000 00:00 0
7ffff1299000-7ffff129a000 ---p 00000000 00:00 0
7ffff129a000-7ffff329a000 rw-p 00000000 00:00 0
7ffff329a000-7ffff32a6000 r-xp 00000000 fd:04 524365                     /lib64/libnss_files-2.12.so
7ffff32a6000-7ffff34a6000 ---p 0000c000 fd:04 524365                     /lib64/libnss_files-2.12.so
7ffff34a6000-7ffff34a7000 r--p 0000c000 fd:04 524365                     /lib64/libnss_files-2.12.so
7ffff34a7000-7ffff34a8000 rw-p 0000d000 fd:04 524365                     /lib64/libnss_files-2.12.so
7ffff34a8000-7ffff34af000 r-xp 00000000 fd:04 524528                     /lib64/librt-2.12.so
7ffff34af000-7ffff36ae000 ---p 00007000 fd:04 524528                     /lib64/librt-2.12.so
7ffff36ae000-7ffff36af000 r--p 00006000 fd:04 524528                     /lib64/librt-2.12.so
7ffff36af000-7ffff36b0000 rw-p 00007000 fd:04 524528                     /lib64/librt-2.12.so
7ffff36b0000-7ffff36ef000 r-xp 00000000 fd:04 657779                     /usr/lib64/libjpeg.so.62.0.0
7ffff36ef000-7ffff38ef000 ---p 0003f000 fd:04 657779                     /usr/lib64/libjpeg.so.62.0.0
7ffff38ef000-7ffff38f0000 rw-p 0003f000 fd:04 657779                     /usr/lib64/libjpeg.so.62.0.0
7ffff38f0000-7ffff3900000 rw-p 00000000 00:00 0
7ffff3900000-7ffff3952000 r-xp 00000000 fd:04 1323448                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libintlc.so.5
7ffff3952000-7ffff3b52000 ---p 00052000 fd:04 1323448                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libintlc.so.5
7ffff3b52000-7ffff3b55000 rw-p 00052000 fd:04 1323448                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libintlc.so.5
7ffff3b55000-7ffff3b56000 rw-p 00000000 00:00 0
7ffff3b56000-7ffff3b5b000 r-xp 00000000 fd:04 1323378                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libirng.so
7ffff3b5b000-7ffff3d5b000 ---p 00005000 fd:04 1323378                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libirng.so
7ffff3d5b000-7ffff3d5d000 rw-p 00005000 fd:04 1323378                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libirng.so
7ffff3d5d000-7ffff4721000 r-xp 00000000 fd:04 1323415                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libsvml.so
7ffff4721000-7ffff4921000 ---p 009c4000 fd:04 1323415                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libsvml.so
7ffff4921000-7ffff4958000 rw-p 009c4000 fd:04 1323415                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libsvml.so
7ffff4958000-7ffff4bd9000 r-xp 00000000 fd:04 1323461                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libimf.so
7ffff4bd9000-7ffff4dd8000 ---p 00281000 fd:04 1323461                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libimf.so
7ffff4dd8000-7ffff4e1b000 rw-p 00280000 fd:04 1323461                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libimf.so
7ffff4e1b000-7ffff4e8c000 r-xp 00000000 fd:04 524525                     /lib64/libfreebl3.so
7ffff4e8c000-7ffff508b000 ---p 00071000 fd:04 524525                     /lib64/libfreebl3.so
7ffff508b000-7ffff508d000 r--p 00070000 fd:04 524525                     /lib64/libfreebl3.so
7ffff508d000-7ffff508e000 rw-p 00072000 fd:04 524525                     /lib64/libfreebl3.so
7ffff508e000-7ffff5092000 rw-p 00000000 00:00 0
7ffff5092000-7ffff5177000 r-xp 00000000 fd:04 1323455                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libiomp5.so
7ffff5177000-7ffff5377000 ---p 000e5000 fd:04 1323455                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libiomp5.so
7ffff5377000-7ffff5382000 rw-p 000e5000 fd:04 1323455                    /opt/intel/composer_xe_2013_sp1.2.144/compiler/lib/intel64/libiomp5.so
7ffff5382000-7ffff53aa000 rw-p 00000000 00:00 0
7ffff53aa000-7ffff53ac000 r-xp 00000000 fd:04 524519                     /lib64/libdl-2.12.so
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff0695700 (LWP 7306)]
0x00007ffff55e0625 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff55e0625 in raise () from /lib64/libc.so.6
#1  0x00007ffff55e1e05 in abort () from /lib64/libc.so.6
#2  0x00007ffff561e537 in __libc_message () from /lib64/libc.so.6
#3  0x00007ffff5623e66 in malloc_printerr () from /lib64/libc.so.6
#4  0x00007ffff56269b3 in _int_free () from /lib64/libc.so.6
#5  0x00007ffff70f5a7c in DestroyEdge (polygon_info=0x1c32, mid=3.2252605360516574e-319, fill=7306, fill_rule=6, x=-1, y=0,
    stroke_opacity=0x1) at magick/render.c:790
#6  GetPixelOpacity (polygon_info=0x1c32, mid=3.2252605360516574e-319, fill=7306, fill_rule=6, x=-1, y=0, stroke_opacity=0x1)
    at magick/render.c:3180
#7  0x00007ffff70fdbeb in L_DrawPolygonPrimitive_3546__par_loop1_2_1200 () at magick/render.c:3594
#8  0x00007ffff511c233 in L_kmp_invoke_pass_parms ()
   from /opt/intel/composer_xe_2013_sp1.2.144/ipp/../compiler/lib/intel64/libiomp5.so
#9  0x00007fffffff5098 in ?? ()
#10 0x00007fffffff5038 in ?? ()
#11 0x00007fffffff5090 in ?? ()
#12 0x00007fffffff5048 in ?? ()
#13 0x00007fffffff5078 in ?? ()
#14 0x00007fffffff5074 in ?? ()
#15 0x00007fffffff5028 in ?? ()
#16 0x00007fffffff5030 in ?? ()
#17 0x00007fffffff5010 in ?? ()
#18 0x00007fffffff5018 in ?? ()
#19 0x00007fffffffb688 in ?? ()
#20 0x00007ffff752403c in .2.23_2__kmpc_chunk_pack_.27 () from /usr/lib/libGraphicsMagick.so.3

0 Kudos
3 Replies
Chao_Y_Intel
Moderator
490 Views

Hello,

libiomp5.so is Intel compiler runtime library.   did you call it from any IPP functions?
Some test code may help to further check this problem.

Thanks,
Chao

0 Kudos
wang_f_1
Beginner
490 Views

Chao Y (Intel) wrote:

Hello,

libiomp5.so is Intel compiler runtime library.   did you call it from any IPP functions?
Some test code may help to further check this problem.

Thanks,
Chao

sorry,I only provide container,i have‘t source code

 

0 Kudos
Chao_Y_Intel
Moderator
490 Views

Hi, 

If there is no much details on the code, it is not hard to provide some useful suggestion.  Since the problem happens with the threaded code, could you check if you link with non-thread IPP libraries, will the problem happen for you?

Thanks,
Chao 

0 Kudos
Reply