[Bug 737786] android: Upstream one of the android video source implementations

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Aug 27 02:01:35 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=737786

--- Comment #11 from Justin J. Kim <justin.joy.9to5 at gmail.com> ---
If you are asking me, yes and I hope. but currently I stucked in crash with my
wip branch. (and even I am not sure if it is only one critical issue ;) anyway,
I need help to find what I did wrong if my work is worth it.

I ported android application also
https://git.collabora.com/cgit/user/joykim/gst-camera-test.git/

With my wip branch, a crash on gl stuff happens. but I think it's not gl issue.
It might be wrong somewhere my ported code, maybe GstBuffer handling in
ahcsrc/on_preview_frame function. Here's back trace. 

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 19963]
0x400de810 in __memcpy_base () from
/Users/justin/Documents/git/gst-camera-test/obj/local/armeabi/libc.so
(gdb) bt
#0  0x400de810 in __memcpy_base () from
/Users/justin/Documents/git/gst-camera-test/obj/local/armeabi/libc.so
#1  0x60287080 in gst_gl_base_buffer_upload_cpu_write (info=0x6258fb58,
size=1024000, mem=0x6138f8b8) at gstglbasebuffer.c:269
#2  _default_map_buffer (mem=0x6138f8b8, info=0x6258fb58, size=1024000) at
gstglbasebuffer.c:284
#3  0x60287b10 in _gl_mem_map_buffer (gl_mem=0x6138f8b8, info=0x6258fb58,
maxsize=1024000) at gstglmemory.c:857
#4  0x60286c08 in _map_data_gl (context=<optimized out>, transfer=0x6258f930)
at gstglbasebuffer.c:335
#5  0x60293012 in _run_message_sync (message=0x6258f8d0) at gstglwindow.c:638
#6  0x60292fd8 in _run_message_async (message=0x61530060) at gstglwindow.c:707
#7  0x60a283d2 in g_main_context_invoke_full (context=0x6152c138, priority=0,
function=0x60292fcd <_run_message_async>, data=0x61530060, notify=0x0) at
gmain.c:5714
#8  0x60a28464 in g_main_context_invoke (context=<optimized out>,
function=0x60292fcd <_run_message_async>, data=<optimized out>) at gmain.c:5675
#9  0x60293784 in gst_gl_window_default_send_message (window=0x6152d028,
callback=<optimized out>, data=<optimized out>) at gstglwindow.c:657
#10 0x60285c1e in gst_gl_context_thread_add (context=<optimized out>,
func=0x60286b35 <_map_data_gl>, data=data at entry=0x6258f930) at
gstglcontext.c:1632
#11 0x60286996 in _mem_map_full (mem=<optimized out>, info=<optimized out>,
size=<optimized out>) at gstglbasebuffer.c:363
#12 0x609b516e in gst_memory_map (mem=0x6138f8b8, info=info at entry=0x6258fb58,
flags=flags at entry=(GST_MAP_READ | unknown: 131072)) at gstmemory.c:303
#13 0x6028fc8e in _do_convert_one_view (context=context at entry=0x6152b058,
convert=convert at entry=0x62cff208, view_num=view_num at entry=0) at
gstglcolorconvert.c:1585
#14 0x602910c6 in _do_convert (context=0x6152b058, convert=0x62cff208) at
gstglcolorconvert.c:1737
#15 0x60293012 in _run_message_sync (message=0x62b816f8) at gstglwindow.c:638
#16 0x60292fd8 in _run_message_async (message=0x61530140) at gstglwindow.c:707
#17 0x60a278a8 in g_main_dispatch (context=0x6152c138) at gmain.c:3210
#18 g_main_context_dispatch (context=context at entry=0x6152c138) at gmain.c:3874
#19 0x60a27a50 in g_main_context_iterate (context=0x6152c138,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
gmain.c:3945
#20 0x60a27cf8 in g_main_loop_run (loop=0x6152d898) at gmain.c:4139
#21 0x60286654 in gst_gl_context_create_thread (context=0x6152b058) at
gstglcontext.c:1363
#22 0x60a3ca12 in g_thread_proxy (data=0x6137fe00) at gthread.c:764
#23 0x400c9334 in __thread_entry () from
/Users/justin/Documents/git/gst-camera-test/obj/local/armeabi/libc.so
#24 0x400c94cc in pthread_create () from
/Users/justin/Documents/git/gst-camera-test/obj/local/armeabi/libc.so
#25 0x00000000 in ?? ()
(gdb)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list