← Back to team overview

touch-packages team mailing list archive

[Bug 1466273] Re: gstreamer fails intermittently

 

Here is what smemstat reports for one of the spinning processes:

25375     0.0 B    11.0 M    12.5 M    19.1 M phablet    /usr/lib/arm-
linux-gnueabihf/thumbnailer/vs-thumb

That's while the process is eating around 110% CPU. So, swap doesn't
seem to be the issue.

After running kill -9 25375, top continues to show the process as
running, still using 110% CPU, and the wait in the script doesn't
return. However, running smemstat again after sending the SIGKILL no
longer produces any output. It looks like smemstat thinks the process
isn't there anymore (even though top continues to show it).

Then, 30 seconds after having sent the kill, the process finally
terminates.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gstreamer1.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1466273

Title:
  gstreamer fails intermittently

Status in Thumbnailer:
  New
Status in gstreamer1.0 package in Ubuntu:
  New

Bug description:
  gstreamer occasionally fails to extract a thumbnail from a video file.
  It's clearly a race condition because, almost all of the time, it
  succeeds. To reproduce:

  Check out the thumbnailer/devel branch at r217 and build it. Then:

  cd build/src/vs-thumb

  ./vs-thumb fd://0 ./x.jpg <../../../tests/media/testvideo.ogg

  Point a browser at the generated x.jpg file and check that the image
  was extracted correctly.

  Now run

  while ./vs-thumb fd://0 ./x.jpg <../../../tests/media/testvideo.ogg ;
  do :; done

  Within maybe a hundred iterations or so, I get:

  Error creating thumbnail: ThumbnailExtractor: change_state(): reading
  async messages: GStreamer error: negotiation problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/thumbnailer/+bug/1466273/+subscriptions