- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I install MediaServerStudioEssentials2017 on Fedora23 OS and Intel(R) Core(TM) i5-6500 CPU.
I rebuild kernel-4.4.9-300.fc23.src.rpm with intel-kernel-patches.
When I run H.265 encoder sample "./sample_encode h265 -i ./Wulong_320x240.yuv -o ./aa.265 -w 320 -h 240",
it show error message::
plugin_loader.h :170 [INFO] Plugin was loaded from GUID: { 0x6f, 0xad, 0xc7, 0x91, 0xa0, 0xc2, 0xeb, 0x47, 0x9a, 0xb6, 0xdc, 0xd5, 0xea, 0x9d, 0xa3, 0x47 } (Intel (R) Media SDK HW plugin for HEVC ENCODE)
libva info: VA-API version 0.99.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'iHD'
libva info: Trying to open /opt/intel/mediasdk/lib64/iHD_drv_video.so
libva info: Found init function __vaDriverInit_0_32
libva info: va_openDriver() returns 0
*** Error in `./sample_encode': double free or corruption (!prev): 0x000055cb090d77b0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x77de5)[0x7f5504372de5]
/lib64/libc.so.6(+0x8022a)[0x7f550437b22a]
/lib64/libc.so.6(cfree+0x4c)[0x7f550437e78c]
/opt/intel/mediasdk/lib64/iHD_drv_video.so(+0x254e71)[0x7f54fc867e71]
/opt/intel/mediasdk/lib64/iHD_drv_video.so(+0x251968)[0x7f54fc864968]
/opt/intel/mediasdk/lib64/iHD_drv_video.so(+0x251929)[0x7f54fc864929]
/opt/intel/mediasdk/lib64/iHD_drv_video.so(+0x24be34)[0x7f54fc85ee34]
/opt/intel/mediasdk/lib64/iHD_drv_video.so(+0x231ca0)[0x7f54fc844ca0]
/opt/intel/mediasdk/lib64/iHD_drv_video.so(+0x2c3ed5)[0x7f54fc8d6ed5]
/lib64/libva.so.1(vaCreateContext+0xc4)[0x7f5503403ca4]
//opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so(+0x1cf54)[0x7f54ff1d2f54]
//opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so(+0x1b046)[0x7f54ff1d1046]
//opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so(+0x21381)[0x7f54ff1d7381]
//opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so(+0x22b8b)[0x7f54ff1d8b8b]
/opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.19(MFXVideoENCODE_Init+0xd4)[0x7f550365e1e4]
./sample_encode(_ZN17CEncodingPipeline18ResetMFXComponentsEP12sInputParams+0xb8)[0x55cb08aa41c8]
./sample_encode(_ZN17CEncodingPipeline4InitEP12sInputParams+0x3ca)[0x55cb08aa580a]
./sample_encode(main+0xb0)[0x55cb08aa1830]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7f550431b580]
./sample_encode(+0x18b99)[0x55cb08aa1b99]
======= Memory map: ========
55cb08a89000-55cb08adb000 r-xp 00000000 08:02 5555247 /home/mojo/Project/mediastreamer/MediaSamples_Linux_2017/samples/_bin/x64/sample_encode
55cb08cda000-55cb08cdd000 r--p 00051000 08:02 5555247 /home/mojo/Project/mediastreamer/MediaSamples_Linux_2017/samples/_bin/x64/sample_encode
55cb08cdd000-55cb08cde000 rw-p 00054000 08:02 5555247 /home/mojo/Project/mediastreamer/MediaSamples_Linux_2017/samples/_bin/x64/sample_encode
55cb08f13000-55cb090f6000 rw-p 00000000 00:00 0 [heap]
7f54f4000000-7f54f4021000 rw-p 00000000 00:00 0
7f54f4021000-7f54f8000000 ---p 00000000 00:00 0
7f54fb45e000-7f54fb463000 r-xp 00000000 08:03 396753 /usr/lib64/libXfixes.so.3.1.0
7f54fb463000-7f54fb662000 ---p 00005000 08:03 396753 /usr/lib64/libXfixes.so.3.1.0
7f54fb662000-7f54fb663000 r--p 00004000 08:03 396753 /usr/lib64/libXfixes.so.3.1.0
7f54fb663000-7f54fb664000 rw-p 00005000 08:03 396753 /usr/lib64/libXfixes.so.3.1.0
7f54fb664000-7f54fb675000 r-xp 00000000 08:03 396741 /usr/lib64/libXext.so.6.4.0
7f54fb675000-7f54fb874000 ---p 00011000 08:03 396741 /usr/lib64/libXext.so.6.4.0
7f54fb874000-7f54fb875000 r--p 00010000 08:03 396741 /usr/lib64/libXext.so.6.4.0
7f54fb875000-7f54fb876000 rw-p 00011000 08:03 396741 /usr/lib64/libXext.so.6.4.0
7f54fb876000-7f54fb87d000 r-xp 00000000 08:03 418909 /usr/lib64/libva-x11.so.1.9900.0
7f54fb87d000-7f54fba7d000 ---p 00007000 08:03 418909 /usr/lib64/libva-x11.so.1.9900.0
7f54fba7d000-7f54fba7e000 rw-p 00007000 08:03 418909 /usr/lib64/libva-x11.so.1.9900.0
7f54fba7e000-7f54fba80000 r-xp 00000000 08:03 396683 /usr/lib64/libXau.so.6.0.0
7f54fba80000-7f54fbc80000 ---p 00002000 08:03 396683 /usr/lib64/libXau.so.6.0.0
7f54fbc80000-7f54fbc81000 r--p 00002000 08:03 396683 /usr/lib64/libXau.so.6.0.0
7f54fbc81000-7f54fbc82000 rw-p 00000000 00:00 0
7f54fbc82000-7f54fbca3000 r-xp 00000000 08:03 396735 /usr/lib64/libxcb.so.1.1.0
7f54fbca3000-7f54fbea2000 ---p 00021000 08:03 396735 /usr/lib64/libxcb.so.1.1.0
7f54fbea2000-7f54fbea3000 r--p 00020000 08:03 396735 /usr/lib64/libxcb.so.1.1.0
7f54fbea3000-7f54fbea4000 rw-p 00021000 08:03 396735 /usr/lib64/libxcb.so.1.1.0
7f54fbea4000-7f54fbfde000 r-xp 00000000 08:03 396739 /usr/lib64/libX11.so.6.3.0
7f54fbfde000-7f54fc1dd000 ---p 0013a000 08:03 396739 /usr/lib64/libX11.so.6.3.0
7f54fc1dd000-7f54fc1e0000 r--p 00139000 08:03 396739 /usr/lib64/libX11.so.6.3.0
7f54fc1e0000-7f54fc1e4000 rw-p 0013c000 08:03 396739 /usr/lib64/libX11.so.6.3.0
7f54fc1e4000-7f54fc1ed000 r-xp 00000000 08:03 397422 /usr/lib64/libpciaccess.so.0.11.1
7f54fc1ed000-7f54fc3ec000 ---p 00009000 08:03 397422 /usr/lib64/libpciaccess.so.0.11.1
7f54fc3ec000-7f54fc3ed000 r--p 00008000 08:03 397422 /usr/lib64/libpciaccess.so.0.11.1
7f54fc3ed000-7f54fc3ee000 rw-p 00000000 00:00 0
7f54fc3ee000-7f54fc412000 r-xp 00000000 08:03 465491 /usr/lib64/libdrm_intel.so.1.0.0
7f54fc412000-7f54fc612000 ---p 00024000 08:03 465491 /usr/lib64/libdrm_intel.so.1.0.0
7f54fc612000-7f54fc613000 rw-p 00024000 08:03 465491 /usr/lib64/libdrm_intel.so.1.0.0
7f54fc613000-7f54fe94b000 r-xp 00000000 08:03 2758546 /opt/intel/mediasdk/lib64/iHD_drv_video.so
7f54fe94b000-7f54feb4a000 ---p 02338000 08:03 2758546 /opt/intel/mediasdk/lib64/iHD_drv_video.so
7f54feb4a000-7f54feb4d000 r--p 02337000 08:03 2758546 /opt/intel/mediasdk/lib64/iHD_drv_video.so
7f54feb4d000-7f54feb95000 rw-p 0233a000 08:03 2758546 /opt/intel/mediasdk/lib64/iHD_drv_video.so
7f54feb95000-7f54feb9c000 rw-p 00000000 00:00 0
7f54feb9c000-7f54feba3000 r-xp 00000000 08:03 420855 /usr/lib64/librt-2.22.so
7f54feba3000-7f54feda2000 ---p 00007000 08:03 420855 /usr/lib64/librt-2.22.so
7f54feda2000-7f54feda3000 r--p 00006000 08:03 420855 /usr/lib64/librt-2.22.so
7f54feda3000-7f54feda4000 rw-p 00007000 08:03 420855 /usr/lib64/librt-2.22.so
7f54feda4000-7f54fedb3000 r-xp 00000000 08:03 402134 /usr/lib64/libdrm.so.2.4.0
7f54fedb3000-7f54fefb3000 ---p 0000f000 08:03 402134 /usr/lib64/libdrm.so.2.4.0
7f54fefb3000-7f54fefb4000 rw-p 0000f000 08:03 402134 /usr/lib64/libdrm.so.2.4.0
7f54fefb4000-7f54fefb6000 r-xp 00000000 08:03 465543 /usr/lib64/libva-drm.so.1.9900.0
7f54fefb6000-7f54ff1b5000 ---p 00002000 08:03 465543 /usr/lib64/libva-drm.so.1.9900.0
7f54ff1b5000-7f54ff1b6000 rw-p 00001000 08:03 465543 /usr/lib64/libva-drm.so.1.9900.0
7f54ff1b6000-7f54ff1f2000 r-xp 00000000 08:03 2758618 /opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so
7f54ff1f2000-7f54ff3f2000 ---p 0003c000 08:03 2758618 /opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so
7f54ff3f2000-7f54ff3f3000 r--p 0003c000 08:03 2758618 /opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so
7f54ff3f3000-7f54ff3f5000 rw-p 0003d000 08:03 2758618 /opt/intel/mediasdk/plugins/libmfx_hevce_hw64.so
7f54ff3f5000-7f54ff3f7000 rw-p 00000000 00:00 0
7f54ff3f7000-7f54ff3f8000 ---p 00000000 00:00 0
7f54ff3f8000-7f54ffbf8000 rw-p 00000000 00:00 0
7f54ffbf8000-7f54ffbf9000 ---p 00000000 00:00 0
7f54ffbf9000-7f55003f9000 rw-p 00000000 00:00 0
7f55003f9000-7f55003fa000 ---p 00000000 00:00 0
7f55003fa000-7f5500bfa000 rw-p 00000000 00:00 0
7f5500bfa000-7f5500bfb000 ---p 00000000 00:00 0
7f5500bfb000-7f55013fb000 rw-p 00000000 00:00 0
7f55013fb000-7f55013fc000 ---p 00000000 00:00 0
7f55013fc000-7f5501bfc000 rw-p 00000000 00:00 0 [stack:4623]
7f5501bfc000-7f5501bfd000 ---p 00000000 00:00 0
7f5501bfd000-7f55023fd000 rw-p 00000000 00:00 0 [stack:4622]
7f55023fd000-7f55023fe000 ---p 00000000 00:00 0
7f55023fe000-7f5502bfe000 rw-p 00000000 00:00 0 [stack:4621]
7f5502bfe000-7f5502bff000 ---p 00000000 00:00 0
7f5502bff000-7f55033ff000 rw-p 00000000 00:00 0 [stack:4617]
7f55033ff000-7f550341c000 r-xp 00000000 08:03 412305 /usr/lib64/libva.so.1.9900.0
7f550341c000-7f550361c000 ---p 0001d000 08:03 412305 /usr/lib64/libva.so.1.9900.0
7f550361c000-7f550361d000 rw-p 0001d000 08:03 412305 /usr/lib64/libva.so.1.9900.0
7f550361d000-7f55040c4000 r-xp 00000000 08:03 2758547 /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.19
7f55040c4000-7f55042c4000 ---p 00aa7000 08:03 2758547 /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.19
7f55042c4000-7f55042d6000 r--p 00aa7000 08:03 2758547 /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.19
7f55042d6000-7f55042e9000 rw-p 00ab9000 08:03 2758547 /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.19
7f55042e9000-7f55042fb000 rw-p 00000000 00:00 0
7f55042fb000-7f55044b2000 r-xp 00000000 08:03 396172 /usr/lib64/libc-2.22.so
7f55044b2000-7f55046b2000 ---p 001b7000 08:03 396172 /usr/lib64/libc-2.22.so
7f55046b2000-7f55046b6000 r--p 001b7000 08:03 396172 /usr/lib64/libc-2.22.so
7f55046b6000-7f55046b8000 rw-p 001bb000 08:03 396172 /usr/lib64/libc-2.22.so
7f55046b8000-7f55046bc000 rw-p 00000000 00:00 0
7f55046bc000-7f55046d2000 r-xp 00000000 08:03 396169 /usr/lib64/libgcc_s-5.3.1-20160406.so.1
7f55046d2000-7f55048d1000 ---p 00016000 08:03 396169 /usr/lib64/libgcc_s-5.3.1-20160406.so.1
7f55048d1000-7f55048d2000 r--p 00015000 08:03 396169 /usr/lib64/libgcc_s-5.3.1-20160406.so.1
7f55048d2000-7f55048d3000 rw-p 00016000 08:03 396169 /usr/lib64/libgcc_s-5.3.1-20160406.so.1
7f55048d3000-7f55049d4000 r-xp 00000000 08:03 413965 /usr/lib64/libm-2.22.so
7f55049d4000-7f5504bd3000 ---p 00101000 08:03 413965 /usr/lib64/libm-2.22.so
7f5504bd3000-7f5504bd4000 r--p 00100000 08:03 413965 /usr/lib64/libm-2.22.so
7f5504bd4000-7f5504bd5000 rw-p 00101000 08:03 413965 /usr/lib64/libm-2.22.so
7f5504bd5000-7f5504d47000 r-xp 00000000 08:03 393236 /usr/lib64/libstdc++.so.6.0.21
7f5504d47000-7f5504f47000 ---p 00172000 08:03 393236 /usr/lib64/libstdc++.so.6.0.21
7f5504f47000-7f5504f51000 r--p 00172000 08:03 393236 /usr/lib64/libstdc++.so.6.0.21
7f5504f51000-7f5504f53000 rw-p 0017c000 08:03 393236 /usr/lib64/libstdc++.so.6.0.21
7f5504f53000-7f5504f57000 rw-p 00000000 00:00 0
7f5504f57000-7f5504f6f000 r-xp 00000000 08:03 396198 /usr/lib64/libpthread-2.22.so
7f5504f6f000-7f550516e000 ---p 00018000 08:03 396198 /usr/lib64/libpthread-2.22.so
7f550516e000-7f5505170000 r--p 00017000 08:03 396198 /usr/lib64/libpthread-2.22.so
7f5505170000-7f5505171000 rw-p 00019000 08:03 396198 /usr/lib64/libpthread-2.22.so
7f5505171000-7f5505175000 rw-p 00000000 00:00 0
7f5505175000-7f5505178000 r-xp 00000000 08:03 413950 /usr/lib64/libdl-2.22.so
7f5505178000-7f5505377000 ---p 00003000 08:03 413950 /usr/lib64/libdl-2.22.so
7f5505377000-7f5505378000 r--p 00002000 08:03 413950 /usr/lib64/libdl-2.22.so
7f5505378000-7f5505379000 rw-p 00003000 08:03 413950 /usr/lib64/libdl-2.22.so
7f5505379000-7f550539a000 r-xp 00000000 08:03 445151 /usr/lib64/ld-2.22.so
7f55053cf000-7f5505550000 rw-p 00000000 00:00 0
7f550556c000-7f5505597000 rw-p 00000000 00:00 0
7f5505597000-7f5505598000 rw-s 00000000 00:05 178349 /drm mm object (deleted)
7f5505598000-7f5505599000 rw-p 00000000 00:00 0
7f5505599000-7f550559a000 r--p 00020000 08:03 445151 /usr/lib64/ld-2.22.so
7f550559a000-7f550559b000 rw-p 00021000 08:03 445151 /usr/lib64/ld-2.22.so
7f550559b000-7f550559c000 rw-p 00000000 00:00 0
7ffe5dbe7000-7ffe5dc09000 rw-p 00000000 00:00 0 [stack]
7ffe5dcba000-7ffe5dcbc000 r--p 00000000 00:00 0 [vvar]
7ffe5dcbc000-7ffe5dcbe000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
(core dumped)
How cna I slove this problem ?
Thanks
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page