- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I have strange issue with MSS 2016. If I use sdk in my app, it crashes at session initializaton. Here is backtrace:
#0 0x0000000000000400 in ?? () #1 0x00007fffeed15562 in MFXInitEx () from /opt/intel/mediasdk/lib64/libmfxhw64-p.so.1.17 #2 0x0000000001467925 in MFX_DISP_HANDLE::LoadSelectedDLL(char const*, eMfxImplType, int, int, mfxInitParam&) () #3 0x0000000001464fc5 in MFXInitEx () #4 0x000000000146609b in MFXInit () #5 0x0000000000db9db4 in MFXVideoSession::Init (this=0x7fffffff39d0, impl=0, ver=0x7fffffff39e0) at MyApp/IntelMFX/wrapper/../include/mfxvideo++.h:45 #6 0x000000000102af7d in CMyApp::ProcessCommandLine (this=0x1e74390, cmd=0x1e8a5a0) at MyApp/MyApp.cpp:46 #7 0x000000000102b46d in CMyApp::RunApplication (this=0x1e74390, pCmdLine=0x1e30418) at MyApp/MyApp.cpp:408 #8 0x000000000143d9d6 in main (argc=1, argv=0x7fffffffe588) at MyApp/main.cpp:21
The code, which crashes is:
mfxIMPL impl = MFX_IMPL_AUTO; //MFX_IMPL_HARDWARE_ANY; mfxVersion ver = { {0, 1} }; MPLOG("Init..."); MFXVideoSession session1; mfxStatus sts = session1.Init(impl, &ver); MPLOG(("Init!" + int(sts));
It crashes before second log output.
At the same time I can run samples. Both mediasdk-tutorials-0.0.3 and Intel® Media SDK Samples (latest from github) work fine. I've checked that hw and "d3d" (vaapi) surfaces are used.
The compiler/linker flags are the same for samples and my app.
OS: Linux Debian-85-jessie-64-minimal 3.14.5 #1 SMP Mon Jul 11 00:12:46 CEST 2016 x86_64 GNU/Linux.
CPU: Core(TM) i7-4770 CPU @ 3.40GHz (Cores 8)
What can be the problem?
btw, the forum text editor works very buggy in Safari browser (version 9.1.1)
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Very strange, but it crashes even if I put Init() call at the beginning of main(). So there is no code before crash that can change something and cause the crash. And there are no additional libs in my app (comparing to mediasdk-tutorials-0.0.3) except libz.
Are there any additional requirements for libmfx?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Konstantin,
If the media sdk sample and tutorial is working fine, means your installation is correct and MediaSDK/Media Server Studio is expected to work fine. It's hard to tell without looking at your complete application that what could result into crash. If possible please send us the reproducer application so that we can debug it locally(feel free to use send Author a private message if want to send app privately). Other than that, you can compare your application with simple_1_session from tutorials to compare and find the issue.
Thanks,
Surbhi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page