After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735951 - avfvideosrc: crash on iOS
avfvideosrc: crash on iOS
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.4.1
Other other
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-03 06:40 UTC by Robert Swain
Modified: 2018-01-23 11:04 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Robert Swain 2014-09-03 06:40:18 UTC
When using avfvideosrc on iOS I observe a crash with the following backtrace (edited slightly to remove sensitive information):

(lldb) thread backtrace
* thread #35: tid = 0xd3ab1, 0x002ebaec`gst_core_media_buffer_priv_new(ctx=0x1b0350c0, sample_buf=0x00000000) + 32 at coremediabuffer.c:77, stop reason = EXC_BAD_ACCESS (code=1, address=0x50)
 * frame #0: 0x002ebaec`gst_core_media_buffer_priv_new(ctx=0x1b0350c0, sample_buf=0x00000000) + 32 at coremediabuffer.c:77
   frame #1: 0x002ffa88`-[GstAVFVideoSrcImpl create:](self=0x15e14320, _cmd=0x35dfb0d2, buf=0x09cf4d68) + 948 at avfvideosrc.m:814
   frame #2: 0x00300b8a`gst_avf_video_src_create(pushsrc=0x16951600, buf=0x09cf4d68) + 126 at avfvideosrc.m:1203
   frame #3: 0x0023aa9a`gst_push_src_create(bsrc=0x16951600, offset=18446744073709551615, length=4096, ret=0x09cf4d68) + 78 at gstpushsrc.c:130
   frame #4: 0x002295ce`gst_base_src_get_range(src=0x16951600, offset=18446744073709551615, length=4096, buf=0x09cf4ee4) + 530 at gstbasesrc.c:2445
   frame #5: 0x00228708`gst_base_src_loop(pad=0x16236138) + 784 at gstbasesrc.c:2721
   frame #6: 0x0017310c`gst_task_func(task=0x16a43ac8) + 632 at gsttask.c:317
   frame #7: 0x00173a52`default_func(tdata=0x16190e28, pool=0x16155038) + 46 at gsttaskpool.c:68
   frame #8: 0x008d47b0`g_thread_pool_thread_proxy + 84
   frame #9: 0x008d3d3a`g_thread_proxy + 118
   frame #10: 0x3ae3b958 libsystem_pthread.dylib`_pthread_body + 140
   frame #11: 0x3ae3b8ca libsystem_pthread.dylib`_pthread_start + 102

I am sure that avfvideosrc used to work on iOS and it does work on OS X.
Comment 1 Robert Swain 2014-09-22 11:03:08 UTC
This was a user error it seems. It looks like I had somehow picked up a 1.0.9 binary..,
Comment 2 Robert Swain 2014-09-23 08:42:05 UTC
Nope, wrong again. It is because of a symbol clash with libgstapplemedia-nonpublic.a. If the nonpublic lib is added to an Xcode project as well as the regular version, it seems it is possible to hit this issue.
Comment 3 Sebastian Dröge (slomo) 2014-09-23 08:44:04 UTC
What are those symbols?