Coder Social home page Coder Social logo

Comments (10)

swordfeng avatar swordfeng commented on June 30, 2024

Same behaviour using nvidia gtx755 with proprietary driver

from freshplayerplugin.

swordfeng avatar swordfeng commented on June 30, 2024

console output:
NOT SANDBOXED
NOT SANDBOXED
[fresh 3402] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
[fresh] [error] ppb_message_loop_attach_to_current_thread, thread already have message loop attached
[fresh] [error] ppb_message_loop_attach_to_current_thread, thread already have message loop attached
[fresh] [error] ppb_message_loop_post_quit, bad resource
[fresh] [error] ppb_message_loop_post_quit, bad resource
[fresh] [error] ppb_message_loop_attach_to_current_thread, thread already have message loop attached
[fresh] [error] ppb_message_loop_attach_to_current_thread, thread already have message loop attached
[fresh] [error] ppb_message_loop_post_quit, bad resource
[fresh] [error] ppb_message_loop_post_quit, bad resource

###!!! [Parent][MessageChannel::Call] Error: Channel error: cannot send/recv

from freshplayerplugin.

i-rinat avatar i-rinat commented on June 30, 2024

Yep, I know. But thank you for reporting anyway.
There is ongoing transition to "separated thread" model. Now I have plugin main thread separated from browser thread, which should solve some inherent issues. But since now we have at least two threads, there are synchronization issues and interlocks. And that part is not so great.

There are some thoughts on how to solve these interlocks. And I think I reinvented coroutines. :-)

from freshplayerplugin.

i-rinat avatar i-rinat commented on June 30, 2024

Related issues: #47, #46, #45, #44, #33

from freshplayerplugin.

i-rinat avatar i-rinat commented on June 30, 2024

Please try again with recent version from master branch.

from freshplayerplugin.

swordfeng avatar swordfeng commented on June 30, 2024

Better now.However, it still crashes on a few sites like http://tv.sohu.com/20140803/n403057638.shtml
Chinese video site.There may be many advertisements^_^
log from console:
NOT SANDBOXED
[fresh 5427] not implemented: PPB_OpenGLES2DrawBuffers(Dev);1.0
[fresh] [error] handle_tcp_connect_stage2, evdns returned code 66, count = 0
[fresh] [error] handle_tcp_connect_stage2, evdns returned code 66, count = 0
[fresh] [error] ppb_tcp_socket_private_get_local_address, not connected
[fresh] [error] ppb_tcp_socket_private_get_local_address, not connected
[fresh] [error] ppb_tcp_socket_private_get_remote_address, not connected
[fresh] [error] ppb_tcp_socket_private_get_remote_address, not connected

from freshplayerplugin.

i-rinat avatar i-rinat commented on June 30, 2024

I've reproduced crash on sohu.com. Thanks for the test case.

from freshplayerplugin.

i-rinat avatar i-rinat commented on June 30, 2024

Heh, I'm still not able to fix crashing on tv.sohu.com. There is something wrong happens deep inside libpepflashplayer.so. Most likely it just echoing some heap or stack damage introduced earlier by my code.

So I'm extracting this into separate issue (#60), while closing this one. (It's too tedious to scroll down to the link each time.)

from freshplayerplugin.

mittorn avatar mittorn commented on June 30, 2024

Freshplayerplugin works on arm only in browser process. Maybe it's better to use valgrind and find memory errors?
I cannot use valgrind on arm because of bad arm instructions support.
I will try to run it on x86 later.

from freshplayerplugin.

i-rinat avatar i-rinat commented on June 30, 2024

I use valgrind on a regular basis. Some recent changes was made just to ease memory corruption detection for valgrind. However all obvious (for me) bugs was already solved that way. Now valgrind shows a bunch of uninitialized memory uses inside libpepflashplayer.so, and then a crash happens. So it does on tv.sohu.com, for example. Just reading wrong location from deep places of libpepflashplayer.so. (With extremely high probability PepperFlash's code is fine though.)

Probably a fresh look at the issue will shed some light on it. I hope so.

from freshplayerplugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.