Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic drop-out and error message #3

Closed
sebiimaks opened this issue Dec 2, 2017 · 21 comments
Closed

Periodic drop-out and error message #3

sebiimaks opened this issue Dec 2, 2017 · 21 comments

Comments

@sebiimaks
Copy link

When I open a video, it usually works for a little while, and then it drops out with "Error code: M7361-1253". A quick web search reveals a connectivity issue of some sort. It works fine through a web browser. I'm currently on Gnome 3 Antergos.

@omni6
Copy link
Contributor

omni6 commented Dec 2, 2017

And i thought i am the only one having this issue crashes from time to time. I guess its a kind of caching issue, when you skip to another position and back it works again... sometimes i need to load another movie first. This issue is qtwebflix exclusive, qupzilla or qutebrowser aren't affected and they use the same widevine libs.
As i was the only one so far, i thought it could be an issue with my exotic filesystem (using NILFS)....

@sebiimaks
Copy link
Author

Hmm, well I don't have any option to skip. I have to click back and then reload. It's really so frequent that I gave up using it.

@gort818
Copy link
Owner

gort818 commented Dec 2, 2017

I really wish I knew why this what happening, I will investigate and let you know of my findings.

@omni6 You might be right about caching .. hmm ok let's see what I can come up with.

@gort818
Copy link
Owner

gort818 commented Dec 19, 2017

@sebiimaks @omni6 There was a recent update to Qt, are you guys still having this issue?

I still haven't had any luck yet.

@omni6
Copy link
Contributor

omni6 commented Dec 19, 2017

good point, i am always looking forward to a qt update that solve this issue. but the last did not, sorry.

@gort818
Copy link
Owner

gort818 commented Dec 19, 2017

@omni6 I am going to set up a test branch this week, if you don't mind testing it for me as it works on all my machines without a hitch.

@omni6
Copy link
Contributor

omni6 commented Dec 19, 2017

when i compile qtwebflix with
qmake -config debug

and push it through gdb i get this:

../../../../qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0025
Received signal 11 SEGV_MAPERR 000000000019
#0 0x7ffff2d76106 base::debug::StackTrace::StackTrace()
#1 0x7ffff19a224c base::debug::(anonymous namespace)::StackDumpSignalHandler()
#2 0x7ffff2d7647c base::debug::(anonymous namespace)::StackDumpSignalHandler()
#3 0x7fffeea8bda0 <unknown>
#4 0x7ffff3b38ab4 sandbox::CrashSIGSYS_Handler()
#5 0x7ffff3b40ab9 sandbox::Trap::SigSys()
#6 0x7fffeea8bda0 <unknown>
#7 0x7fffedecedca __GI___mremap
#8 0x7fffede55b70 mremap_chunk
#9 0x7fffede5b111 __GI___libc_realloc
#10 0x7fffd8b4f491 <unknown>
#11 0x7fffd8b50878 <unknown>
#12 0x7fffd8b4e910 <unknown>
#13 0x7fffd8b4e400 <unknown>
#14 0x7fffd8b4e18d <unknown>
#15 0x7fffd8b3f17e <unknown>
#16 0x7fffd8b3edf4 <unknown>
#17 0x7fffd9042491 <unknown>
#18 0x7fffd9049f86 <unknown>
#19 0x7ffff4452aea ppapi::proxy::PPP_ContentDecryptor_Private_Proxy::OnMsgDecryptAndDecode()
#20 0x7ffff445472e ppapi::proxy::PPP_ContentDecryptor_Private_Proxy::OnMessageReceived()
#21 0x7ffff43f7a9b ppapi::proxy::PluginDispatcher::OnMessageReceived()
#22 0x7ffff36b0423 IPC::ChannelProxy::Context::OnDispatchMessage()
#23 0x7ffff2dfbf62 base::debug::TaskAnnotator::RunTask()
#24 0x7ffff2d935c8 base::MessageLoop::RunTask()
#25 0x7ffff2d945a8 base::MessageLoop::DeferOrRunPendingTask()
#26 0x7ffff2d94a13 base::MessageLoop::DoWork()
#27 0x7ffff2d95d71 base::MessagePumpDefault::Run()
#28 0x7ffff2db42ab base::RunLoop::Run()
#29 0x7ffff2d39bcb content::PpapiPluginMain()
#30 0x7ffff2d3eaca content::RunZygote()
#31 0x7ffff2d3edc0 content::ContentMainRunnerImpl::Run()
#32 0x7ffff3b4960e service_manager::Main()
#33 0x7ffff2d3db74 content::ContentMain()
#34 0x7ffff1a0233d QtWebEngine::processMain()
#35 0x555555554a15 <unknown>
#36 0x7fffeddf8f4a __libc_start_main
#37 0x555555554a6a <unknown>
  r8: 000000000000c0c0  r9: 00007fffedf0f410 r10: 00007fffffffad60 r11: 3030303030307830
 r12: 00007fffffffae04 r13: 00007fffffffaf00 r14: 00007fffffffae40 r15: 00005555557cd1a0
  di: 0000000000000001  si: 00007fffffffacc0  bp: 00007fffffffae40  bx: 0000000000000019
  dx: 0000000000000000  ax: 0000000000000019  cx: c000c0c000000000  sp: 00007fffffffae00
  ip: 00007ffff3b38ab4 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000006
 trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000019
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[23773:23982:1220/001729.893509:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"DecryptingVideoDecoder: decode error"}
[23773:23982:1220/001729.893627:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"video decode error"}
[23773:23773:1220/001729.894259:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR PIPELINE_ERROR_DECODE

i have debug flags enbaled for qtwebflix and all qt5 related but not for plasma, else i have to compile plasma-framework and plasma-desktop from source :( When this backtrace is not meaningful because of this i will let my iron-slave do some night work.

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

omf...
../../../../qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:**CRASHING**:seccomp-bpf failure in syscall 0025 Received signal 11 SEGV_MAPERR 000000000019
very suspicious....

...tried
netflix --no-sandbox works!

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

@sebiimaks
could you try please?

@sebiimaks
Copy link
Author

I received error code M7361-1253. It crashed with:

qt5ct: using qt5ct plugin
[18788:18806:1220/204638.028095:ERROR:service_manager.cc(156)] Connection InterfaceProviderSpec prevented service: content_plugin from binding interface: memory_instrumentation::mojom::Coordinator exposed by: content_browser
../../../../qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/sandbox/linux/seccomp-bpf-helpers/sigsys_handlers.cc:CRASHING:seccomp-bpf failure in syscall 0025
Received signal 11 SEGV_MAPERR 000000000019
#0 0x7fe4e1959086
#1 0x7fe4e05851cc
#2 0x7fe4e19593fc
#3 0x7fe4df41a8e0
#4 0x7fe4e271ba34
#5 0x7fe4e2723a39
#6 0x7fe4df41a8e0
#7 0x7fe4df4dcdca __GI___mremap
#8 0x7fe4df463b70 mremap_chunk
#9 0x7fe4df469111 __GI___libc_realloc
#10 0x7fe4c871e491
#11 0x7fe4c871f878
#12 0x7fe4c871d910
#13 0x7fe4c871d400
#14 0x7fe4c871d18d
#15 0x7fe4c870e17e
#16 0x7fe4c870ddf4
#17 0x7fe4c8c11491
#18 0x7fe4c8c18f86
#19 0x7fe4e3035a6a
#20 0x7fe4e30376ae
#21 0x7fe4e2fdaa1b
#22 0x7fe4e22933a3
#23 0x7fe4e19deee2
#24 0x7fe4e1976548
#25 0x7fe4e1977528
#26 0x7fe4e1977993
#27 0x7fe4e1978cf1
#28 0x7fe4e199722b
#29 0x7fe4e191cb4b
#30 0x7fe4e1921a4a
#31 0x7fe4e1921d40
#32 0x7fe4e272c58e
#33 0x7fe4e1920af4
#34 0x7fe4e05e52bd QtWebEngine::processMain()
#35 0x55ccc9d80985
#36 0x7fe4df406f4a __libc_start_main
#37 0x55ccc9d809da
r8: 00007ffd9d9b46e0 r9: 00007ffd9d9b46c0 r10: 00007ffd9d9b46a0 r11: 00007ffd9d9b4680
r12: 00007ffd9d9b4744 r13: 00007ffd9d9b4840 r14: 00007ffd9d9b4780 r15: 000055ccca22b950
di: 0000000000000001 si: 00007ffd9d9b4600 bp: 00007ffd9d9b4780 bx: 0000000000000019
dx: 0000000000000000 ax: 0000000000000019 cx: 0000000000000010 sp: 00007ffd9d9b4740
ip: 00007fe4e271ba34 efl: 0000000000010202 cgf: 002b000000000033 erf: 0000000000000006
trp: 000000000000000e msk: 0000000000000000 cr2: 0000000000000019
[end of stack trace]
Calling _exit(1). Core file will not be generated.
[18812:18844:1220/204814.233818:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"DecryptingVideoDecoder: decode error"}
[18812:18844:1220/204814.234141:ERROR:render_media_log.cc(30)] MediaEvent: MEDIA_ERROR_LOG_ENTRY {"error":"video decode error"}
[18812:18812:1220/204814.251151:ERROR:render_media_log.cc(30)] MediaEvent: PIPELINE_ERROR PIPELINE_ERROR_DECODE

I can confirm that netflix --no-sandbox fixes the problem.

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

@sebiimaks
btw which distro do you use?
ahh, see antergos... looks like arch specific issue. temporarily added --no-sandbox to netflix.desktop and updated the pkgbuild. do we have less security when sandboxing is disabled?

@sebiimaks
Copy link
Author

I would assume so. Especially if nobody has audited the code, which I doubt they have.

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

netflix --disable-seccomp-filter-sandbox should be more decent

@gort818
Copy link
Owner

gort818 commented Dec 20, 2017

Do you guys build qt and qtwebengine from source or from the repo? Seems like other users of various qtwebengine applications and chromium have the same issue.. not exactly sure what causes it.

Strange that it works for me with no problem..

--disable-seccomp-filter-sandbox

Looks like a great workaround until I can figure something out.

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

hey, i think this is the reason:
http://outflux.net/teach-seccomp/

for debugging i recompiled qtwebflix, plasma-desktop and plasma-workspace with debug options and installed qt5-*-debug pkg's from unofficial repo.

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

Strange that it works for me with no problem..

kernel?

Linux-4.14.7-1 here

@gort818
Copy link
Owner

gort818 commented Dec 20, 2017

Not at home at the moment will check later, there might be conflicting lib with seccomp.

@omni6
Copy link
Contributor

omni6 commented Dec 20, 2017

wat do you think, is it necessary to enable sandbox for this kind of application? its only job is to browse netflix content. maybe all further investigation is waste of time.... seems like the common solution is to disable fkn sandbox..

@gort818
Copy link
Owner

gort818 commented Dec 21, 2017

I am on the same kernel.

I do not think there will be any issue.. I'm mean we are already running DRM software :( you are right all it does is connect to netflix and that is all, it is a very simple program.. it uses qtwebengine which is basically chrome to render the webpage and display it in a window.

@omni6
Copy link
Contributor

omni6 commented Dec 21, 2017

i think this can get closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants