Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

WebKit Threading Violation - initial use of WebKit from a secondary thread. - never seen in forum before?

$
0
0
"WebKit Threading Violation - initial use of WebKit from a secondary thread."

I got the above error message when using video in 1.5.1. But things use to work any way. At least using the capture with my laptop camera. But now, playing videos in a simple sketch (below) the sketch crashes after a while with this other message:

"java(483,0xacd53a28) malloc: *** error for object 0x16615d0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug"

Any ideas what is causing those?

import processing.video.*;

  1. Movie um, dois;


  2. void setup(){
  3.   size (800,300, P2D);
  4.   um = new Movie(this, "tet.mov");
  5.   dois = new Movie(this, "tet2.mov");
  6. um.loop();
  7. dois.loop();
  8. }

  9. void draw(){
  10.   background(0);
  11.   image(um, 10, 0);
  12.   image(dois, 400, 0);
  13. }

Viewing all articles
Browse latest Browse all 1768

Trending Articles