← Back to team overview

touch-packages team mailing list archive

[Bug 1365558] Re: Some video format plays correctly but have no preview in scope.

 

If you compile with address sanitizer you get this error for
big_buck_bunny_480p_MPEG4_MP3_25fps_1600K.AVI:

src/vs-thumb ~/big_buck_bunny_480p_MPEG4_MP3_25fps_1600K.AVI foo.jpg
ASAN:SIGSEGV
=================================================================
==31855==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000 (pc 0x00000000 sp 0xafb7af78 bp 0xb4afd884 T3)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV ??:0 ??
Thread T3 (multiqueue0:src) created by T2 (avidemux0:sink) here:
    #0 0xb6a1dd6b in pthread_create (/usr/lib/arm-linux-gnueabihf/libasan.so.1+0x1cd6b)

Thread T2 (avidemux0:sink) created by T1 (typefind:sink) here:
    #0 0xb6a1dd6b in pthread_create (/usr/lib/arm-linux-gnueabihf/libasan.so.1+0x1cd6b)

Thread T1 (typefind:sink) created by T0 here:
    #0 0xb6a1dd6b in pthread_create (/usr/lib/arm-linux-gnueabihf/libasan.so.1+0x1cd6b)

==31855==ABORTING

This happens inside the guts of GStreamer. If compiling without the
sanitizer and running under gdb you get this:

[New Thread 0xb66bd3e0 (LWP 2970)]
[New Thread 0xb5cff3e0 (LWP 2971)]
[New Thread 0xb52ff3e0 (LWP 2972)]
[New Thread 0xb4ad43e0 (LWP 2973)]
[New Thread 0xb2b203e0 (LWP 2978)]
[New Thread 0xb23203e0 (LWP 2979)]
[New Thread 0xb1b203e0 (LWP 2980)]
[New Thread 0xb13203e0 (LWP 2981)]
[New Thread 0xb0ae23e0 (LWP 2982)]
[New Thread 0xb02e23e0 (LWP 2983)]
[New Thread 0xafae23e0 (LWP 2984)]
[New Thread 0xaf2e23e0 (LWP 2985)]
[New Thread 0xae0be3e0 (LWP 2990)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb02e23e0 (LWP 2983)]
0xb359234c in ?? ()
(gdb) bt
#0  0xb359234c in ?? ()
#1  0xb357f3a0 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) f 1
#1  0xb357f3a0 in ?? ()
(gdb) thread 1
[Switching to thread 1 (Thread 0xb6ff6000 (LWP 2950))]
#0  0xb6b3d182 in syscall () from /lib/arm-linux-gnueabihf/libc.so.6
(gdb) bt
#0  0xb6b3d182 in syscall () from /lib/arm-linux-gnueabihf/libc.so.6
#1  0xb6dff050 in g_cond_wait_until (cond=cond@entry=0xd9124, mutex=mutex@entry=0xd90e4, end_time=<optimized out>)
    at /build/buildd/glib2.0-2.41.3/./glib/gthread-posix.c:1443
#2  0xb6eed9c8 in gst_element_get_state_func (element=0xd90d8, state=0x0, pending=0x0, timeout=3000000000) at gstelement.c:2052
#3  0x00017340 in (anonymous namespace)::extract_video (ifname=..., ofname=...) at /home/phablet/thumbnailer/src/vs-thumb.cpp:60
#4  0x00017f9a in main (argc=3, argv=0xbefff374) at /home/phablet/thumbnailer/src/vs-thumb.cpp:210
(gdb) f 3
#3  0x00017340 in (anonymous namespace)::extract_video (ifname=..., ofname=...) at /home/phablet/thumbnailer/src/vs-thumb.cpp:60
60	    ret = gst_element_get_state(pipeline.get(), nullptr, nullptr, 3*GST_SECOND);

Meaning that GStreamer dies when processing the gst_element_get_state
function. This being the case I'm going to reassign this to gstreamer-
plugins-bad.

** Package changed: thumbnailer (Ubuntu) => gst-plugins-bad1.0 (Ubuntu)

** Changed in: gst-plugins-bad1.0 (Ubuntu)
     Assignee: Jussi Pakkanen (jpakkane) => (unassigned)

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

Title:
  Some video format plays correctly but have no preview in scope.

Status in “gst-plugins-bad1.0” package in Ubuntu:
  New

Bug description:
  krillin: #11

  Some video format plays correctly in mediaplayer but don't show any
  preview or a generic icon in the scope.

  This is the case for the following videos from samplemedia.linaro.org

  ./H264/big_buck_bunny_480p_H264_AAC_25fps_1800K_short.MP4     h264 / aac
  ./H264/big_buck_bunny_720p_H264_AAC_25fps_3400K_short.MP4     h264 / aac
  ./Mmtest/media_api/video/H264_320_AAC_64.3gp     h264 / aac
  ./H264/SVT/baseline/in_to_tree_420_720p25.mkv     h264 / no audio stream
  ./H264/Sintel_1080p_H264_24fps.mkv	h264 / ac3

  ProblemType: Bug
  DistroRelease: Ubuntu 14.10
  Package: thumbnailer-service 1.2+14.10.20140814-0ubuntu1 [origin: Ubuntu RTM]
  Uname: Linux 3.4.67 armv7l
  ApportVersion: 2.14.7-0ubuntu1
  Architecture: armhf
  Date: Thu Sep  4 17:19:39 2014
  InstallationDate: Installed on 2014-09-04 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf (20140904-030254)
  SourcePackage: thumbnailer
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gst-plugins-bad1.0/+bug/1365558/+subscriptions


References