[vlc-devel] [PATCH 3/3] Android: remove polling timer in mwait() and msleep()

Rafaël Carré funman at videolan.org
Mon Oct 15 23:42:47 CEST 2012


Le 15/10/2012 22:45, Rémi Denis-Courmont a écrit :
> ---
>  src/android/thread.c |   36 +++++++++++++-----------------------
>  1 file changed, 13 insertions(+), 23 deletions(-)
> 
> diff --git a/src/android/thread.c b/src/android/thread.c
> index 10380cb..f6b57ba 100644
> --- a/src/android/thread.c
> +++ b/src/android/thread.c
> @@ -494,34 +494,24 @@ mtime_t mdate (void)
>  #undef mwait
>  void mwait (mtime_t deadline)
>  {
> -    deadline -= mdate ();
> -    if (deadline > 0)
> -        msleep (deadline);
> +    vlc_mutex_t lock;
> +    vlc_cond_t wait;
> +
> +    vlc_mutex_init (&lock);
> +    vlc_cond_init (&wait);
> +
> +    vlc_mutex_lock (&lock);
> +    while (vlc_cond_timewait (&wait, &lock, deadline));

s/timewait/timedwait/

I got no video output (black screen) and deadlocks with this patch:

Thread 18 (Thread 3034):
#0  0x2aabbed0 in clock_gettime () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac0fa4 in ?? () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1a88 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x4654dd12 in vlc_cond_timedwait (condvar=0x49167c78,
p_mutex=0x49167c74, deadline=<optimized out>) at
../../src/android/thread.c:292
        ts = {tv_sec = 1510, tv_nsec = 630012000}
        th = 0x8004d0
        cb = 0x2aac1aac <pthread_cond_timedwait_monotonic_np>
        __func__ = "vlc_cond_timedwait"
        val = <optimized out>
#4  0x4654df62 in mwait (deadline=<optimized out>) at
../../src/android/thread.c:504
        lock = {value = 198868993}
        wait = {cond = {value = 0}, clock = 1}
#5  0x4652a7cc in ThreadDisplayRenderPicture (is_forced=false,
vout=0x75acd4) at ../../src/video_output/video_output.c:1049
        sys = 0x75acf0
        render_subtitle_date = 5000
        do_early_spu = <optimized out>
        subpicture_chromas = <optimized out>
        torender = <optimized out>
        render_osd_date = 310000
        fmt_spu = {i_chroma = 842094158, i_width = 854, i_height = 480,
i_x_offset = 0, i_y_offset = 0, i_visible_width = 854, i_visible_height
= 480, i_bits_per_pixel = 24, i_sar_num = 1, i_sar_den = 1, i_frame_rate
= 24, i_frame_rate_base = 1, i_rmask = 0, i_gmask = 0, i_bmask = 0,
i_rrshift = 0, i_lrshift = 0, i_rgshift = 0, i_lgshift = 0, i_rbshift =
0, i_lbshift = 0, p_palette = 0x0, orientation = ORIENT_TOP_LEFT}
        direct = 0x803aa8
        is_direct = <optimized out>
        vd = 0x800d54
        do_dr_spu = <optimized out>
        subpic = 0x0
        todisplay = <optimized out>
        filtered = <optimized out>
        do_snapshot = <optimized out>
#6  ThreadDisplayPicture (vout=0x75acd4, now=<optimized out>,
deadline=<optimized out>) at ../../src/video_output/video_output.c:1126
        is_late_dropped = <optimized out>
        first = <optimized out>
        date = 315000
        render_delay = <optimized out>
        date_next = 8392020
        date_refresh = <optimized out>
        drop = <optimized out>
        refresh = <optimized out>
        is_forced = false
#7  0x4652b0c2 in ThreadManage (postprocessing=0x49167dd4,
interlacing=0x49167df0, deadline=0x49167dd8, vout=0x75acd4) at
../../src/video_output/video_output.c:1138
        picture_qtype = <optimized out>
        picture_interlaced = <optimized out>
#8  Thread (object=0x75acd4) at ../../src/video_output/video_output.c:1581
        cmd = {type = 12, u = {boolean = 124, time = 1510630012,
time_ptr = 0x5a0a627c, string = 0x5a0a627c <Address 0x5a0a627c out of
bounds>, integer = 1510630012, pair = {a = 1510630012, b = 0}, pause =
{is_on = 124, date = 0}, message = {channel = 1510630012, string = 0x0},
border = {left = 1510630012, top = 0, right = 0, bottom = 0}, window =
{x = 1510630012, y = 0, width = 0, height = 0}, cfg = 0x5a0a627c,
subpicture = 0x5a0a627c}}
        vout = 0x75acd4
        interlacing = {is_interlaced = true, date = 1510514244}
        postprocessing = {qtype = 0}
        deadline = 36034123969673628
#9  0x4654d78a in joinable_thread (data=0x8004d0) at
../../src/android/thread.c:331
        th = 0x8004d0
        ret = <optimized out>
#10 0x2aac22d0 in __thread_entry () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#11 0x2aac1e00 in pthread_create () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.

Thread 17 (Thread 3033):
#0  0x2aabb8b0 in __ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aad72b8 in ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aba9b82 in ?? ()
No symbol table info available.
#3  0x2aba9b82 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 16 (Thread 3032):
#0  0x2aabb8b0 in __ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aad72b8 in ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aba9b82 in ?? ()
No symbol table info available.
#3  0x2aba9b82 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 15 (Thread 3031):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x4654de26 in vlc_cond_wait (condvar=0x72a004, p_mutex=0x72a000) at
../../src/android/thread.c:239
        th = 0x72bd68
        val = <optimized out>
        __func__ = "vlc_cond_wait"
#4  0x4653b7a4 in block_FifoGet (p_fifo=0x72a000) at
../../src/misc/block.c:617
        __cleanup = {__cleanup_prev = 0x0, __cleanup_routine =
0x4653ae61 <vlc_cleanup_lock>, __cleanup_arg = 0x72a000}
        b = <optimized out>
#5  0x46518bee in DecoderThread (p_data=0x7290f4) at
../../src/input/decoder.c:918
        p_block = <optimized out>
        p_dec = 0x7290f4
        p_owner = 0x32a998
#6  0x4654d78a in joinable_thread (data=0x72bd68) at
../../src/android/thread.c:331
        th = 0x72bd68
        ret = <optimized out>
#7  0x2aac22d0 in __thread_entry () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#8  0x2aac1e00 in pthread_create () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.

Thread 14 (Thread 3030):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac1778 in pthread_mutex_lock () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x4654d9b2 in vlc_mutex_lock (p_mutex=<optimized out>) at
../../src/android/thread.c:144
        val = <optimized out>
        __func__ = "vlc_mutex_lock"
#3  0x4652b9b8 in vout_PutPicture (vout=0x75acd4, picture=0x801d18) at
../../src/video_output/video_output.c:419
No locals.
#4  0x465191ee in DecoderPlayVideo (pi_lost_sum=<synthetic pointer>,
pi_played_sum=<synthetic pointer>, p_picture=0x801d18, p_dec=0x74535c)
at ../../src/input/decoder.c:1444
        b_reject = <optimized out>
        i_rate = 1188255776
        i_tmp_lost = 0
        b_has_more = true
        b_buffering_first = false
        i_tmp_display = 0
        p_owner = 0x745648
        p_vout = 0x75acd4
        b_first_buffered = false
#5  DecoderDecodeVideo (p_dec=0x74535c, p_block=0xcf17b66d) at
../../src/input/decoder.c:1516
        p_vout = <optimized out>
        p_owner = 0x745648
        p_pic = <optimized out>
        i_lost = 0
        i_decoded = 1
        i_displayed = 0
        p_input = <optimized out>
#6  0x46518b3a in DecoderProcessVideo (b_flush=false, p_block=0x781440,
p_dec=0x74535c) at ../../src/input/decoder.c:1845
        p_owner = 0x745648
#7  DecoderProcess (p_dec=0x74535c, p_block=0x781440) at
../../src/input/decoder.c:2018
        b_flush = false
        p_owner = 0x745648
        b_flush_request = false
        __func__ = "DecoderProcess"
#8  0x46518c6e in DecoderThread (p_data=0x74535c) at
../../src/input/decoder.c:939
        canc = 1
        p_block = 0x781440
        p_dec = 0x74535c
        p_owner = 0x745648
#9  0x4654d78a in joinable_thread (data=0x35c798) at
../../src/android/thread.c:331
        th = 0x35c798
        ret = <optimized out>
#10 0x2aac22d0 in __thread_entry () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#11 0x2aac1e00 in pthread_create () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#12 0x00000000 in ?? ()
No symbol table info available.

Thread 13 (Thread 3003):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x47e28e4a in ?? ()
No symbol table info available.
#4  0x47e28e4a in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 12 (Thread 3002):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x4654de26 in vlc_cond_wait (condvar=0x75adc0, p_mutex=0x75adb4) at
../../src/android/thread.c:239
        th = 0x6309b0
        val = <optimized out>
        __func__ = "vlc_cond_wait"
#4  0x4656388a in vout_control_WaitEmpty (ctrl=0x75adb4) at
../../src/video_output/control.c:98
No locals.
#5  0x4652b67c in vout_ChangePause (vout=0x75acd4, is_paused=<optimized
out>, date=<optimized out>) at ../../src/video_output/video_output.c:286
        cmd = {type = 10, u = {boolean = true, time = 1, time_ptr = 0x1,
string = 0x1 <Address 0x1 out of bounds>, integer = 1, pair = {a = 1, b
= 0}, pause = {is_on = true, date = 1516606950}, message = {channel = 1,
string = 0x0}, border = {left = 1, top = 0, right = 1516606950, bottom =
0}, window = {x = 1, y = 0, width = 1516606950, height = 0}, cfg = 0x1,
subpicture = 0x1}}
#6  0x46519abe in DecoderOutputChangePause (i_date=1516606950,
b_paused=true, p_dec=0x74535c) at ../../src/input/decoder.c:1065
        p_owner = <optimized out>
#7  input_DecoderChangePause (p_dec=0x74535c, b_paused=<optimized out>,
i_date=<optimized out>) at ../../src/input/decoder.c:528
        p_owner = 0x745648
#8  0x4655cbfe in EsOutDecodersChangePause (out=<optimized out>,
b_paused=<optimized out>, i_date=<optimized out>) at
../../src/input/es_out.c:690
        es = 0x7234e0
        i = <optimized out>
        p_sys = 0x6308b0
#9  0x46560b06 in EsOutChangePause (i_date=1516606950, b_paused=true,
out=0x4100d8) at ../../src/input/es_out.c:524
        p_sys = 0x6308b0
#10 EsOutControlLocked (args=..., i_query=<optimized out>, out=0x4100d8)
at ../../src/input/es_out.c:2542
        b_source_paused = <optimized out>
        b_paused = true
        i_date = 1516606950
        p_sys = <optimized out>
#11 EsOutControl (out=0x4100d8, i_query=<optimized out>, args=...) at
../../src/input/es_out.c:2682
        p_sys = 0x6308b0
        i_ret = 1516606950
#12 0x46561392 in es_out_vaControl (args=<optimized out>, i_query=1,
out=<optimized out>) at ../../include/vlc_es_out.h:126
No locals.
#13 es_out_Control (out=<optimized out>, i_query=65545) at
../../include/vlc_es_out.h:135
        args = {__ap = 0x481c0c88}
        i_result = -512
#14 0x46562a62 in es_out_SetPauseState (i_date=1516606950,
b_paused=true, b_source_paused=true, p_out=<optimized out>) at
../../src/input/es_out.h:127
No locals.
#15 ControlLockedSetPauseState (i_date=1516606950, b_paused=true,
b_source_paused=true, p_out=0x0) at ../../src/input/es_out_timeshift.c:493
        p_sys = 0x636d30
        i_ret = <optimized out>
#16 ControlLocked (args=<optimized out>, i_query=<optimized out>,
p_out=0x0) at ../../src/input/es_out_timeshift.c:658
        b_source_paused = true
        b_paused = true
        i_date = 1516606950
        p_sys = 0x636d30
#17 Control (p_out=0x0, i_query=<optimized out>, args=<optimized out>)
at ../../src/input/es_out_timeshift.c:718
        p_sys = 0x636d30
        i_ret = 0
#18 0x4651ba52 in es_out_vaControl (args=<optimized out>,
i_query=1516606950, out=<optimized out>) at ../../include/vlc_es_out.h:126
No locals.
#19 es_out_Control (out=<optimized out>, i_query=65545) at
../../include/vlc_es_out.h:135
        args = {__ap = 0x481c0d28}
        i_result = -512
#20 0x4651be64 in es_out_SetPauseState (i_date=1516606950,
b_paused=true, b_source_paused=<optimized out>, p_out=<optimized out>)
at ../../src/input/es_out.h:127
No locals.
#21 ControlPause (p_input=0x4e82e4, i_control_date=<optimized out>) at
../../src/input/input.c:1621
        i_ret = <optimized out>
#22 0x4651f876 in Control (p_input=0x4e82e4, i_type=1, val=...) at
../../src/input/input.c:1782
        i_control_date = 1516606950
        b_force_update = false
        __func__ = "Control"
#23 0x46520392 in MainLoop (p_input=0x4e82e4, b_interactive=<optimized
out>) at ../../src/input/input.c:815
        i_limit = <optimized out>
        b_buffering = <optimized out>
        i_type = 1
        i_deadline = <optimized out>
        b_force_update = <optimized out>
        val = {i_int = 3, b_bool = 3, f_float = 4.20389539e-45,
psz_string = 0x3 <Address 0x3 out of bounds>, p_address = 0x3, p_object
= 0x3, p_list = 0x3, i_time = 3, coords = {x = 3, y = 0}}
        i_current = <optimized out>
        i_wakeup = 1514946679
        b_paused = false
        b_demux_polled = <optimized out>
        i_start_mdate = 1510277181
        i_intf_update = 1514996758
        i_statistic_update = 1515550099
        i_last_seek_mdate = 0
        b_pause_after_eof = <optimized out>
#24 0x4652113a in Run (obj=0x4e82e4) at ../../src/input/input.c:543
        p_input = 0x4e82e4
        canc = 1
        b_abort = <optimized out>
#25 0x4654d78a in joinable_thread (data=0x6309b0) at
../../src/android/thread.c:331
        th = 0x6309b0
        ret = <optimized out>
#26 0x2aac22d0 in __thread_entry () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#27 0x2aac1e00 in pthread_create () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#28 0x00000000 in ?? ()
No symbol table info available.

Thread 11 (Thread 2986):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x4654de26 in vlc_cond_wait (condvar=0x1e2fe8, p_mutex=0x1e2fe4) at
../../src/android/thread.c:239
        th = 0x35e438
        val = <optimized out>
        __func__ = "vlc_cond_wait"
#4  0x4655a2b8 in LoopRequest (p_playlist=<optimized out>) at
../../src/playlist/thread.c:541
        p_sys = <optimized out>
        i_status = <optimized out>
        p_item = 0x984
#5  Thread (data=0x1e2f34) at ../../src/playlist/thread.c:589
        p_playlist = 0x1e2f34
        p_sys = 0x1e2f34
#6  0x4654d78a in joinable_thread (data=0x35e438) at
../../src/android/thread.c:331
        th = 0x35e438
        ret = <optimized out>
#7  0x2aac22d0 in __thread_entry () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#8  0x2aac1e00 in pthread_create () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.

Thread 10 (Thread 2959):
#0  0x2aabb8b0 in __ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aad72b8 in ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aba9b82 in ?? ()
No symbol table info available.
#3  0x2aba9b82 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 9 (Thread 2957):
#0  0x2aabb8b0 in __ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aad72b8 in ioctl () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aba9b82 in ?? ()
No symbol table info available.
#3  0x2aba9b82 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 8 (Thread 2955):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x2b2f0966 in ?? ()
No symbol table info available.
#4  0x2b2f0966 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 7 (Thread 2954):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x2b2f0966 in ?? ()
No symbol table info available.
#4  0x2b2f0966 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 6 (Thread 2952):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x2b2f0966 in ?? ()
No symbol table info available.
#4  0x2b2f0966 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 5 (Thread 2950):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x2b30fc96 in ?? ()
No symbol table info available.
#4  0x2b30fc96 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 4 (Thread 2949):
#0  0x2aabc2f0 in recvmsg () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2b2ffd80 in ?? ()
No symbol table info available.
#2  0x2b2ffd80 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 3 (Thread 2947):
#0  0x2aabc0e8 in __rt_sigtimedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac8c76 in sigwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2b2efc3a in ?? ()
No symbol table info available.
#3  0x2b2efc3a in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 2 (Thread 2945):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x2b30f094 in ?? ()
No symbol table info available.
#4  0x2b30f094 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)

Thread 1 (Thread 2943):
#0  0x2aabc80c in __futex_syscall3 () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#1  0x2aac19f0 in __pthread_cond_timedwait_relative () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#2  0x2aac1aa4 in __pthread_cond_timedwait () from
/home/fun/android/vlc-ports-android/vlc-android/obj/local/armeabi-v7a/libc.so
No symbol table info available.
#3  0x4654de26 in vlc_cond_wait (condvar=0x6309c0, p_mutex=0x6309bc) at
../../src/android/thread.c:239
        th = 0x0
        val = <optimized out>
        __func__ = "vlc_cond_wait"
#4  0x4654002a in vlc_sem_wait (sem=0x6309bc) at
../../src/misc/threads.c:170
No locals.
#5  0x4654db2e in vlc_join (handle=0x6309b0, result=0x0) at
../../src/android/thread.c:390
        val = <optimized out>
        __func__ = "vlc_join"
#6  0x4651cb14 in input_Join (p_input=<optimized out>) at
../../src/input/input.c:256
No locals.
#7  0x4651cb34 in input_Close (p_input=0x4e82e4) at
../../src/input/input.c:271
No locals.
#8  0x46508004 in release_input_thread (p_mi=0x5b7a74,
b_input_abort=<optimized out>) at ../../lib/media_player.c:140
        __func__ = "release_input_thread"
        p_input_thread = 0x4e82e4
#9  0x46509986 in libvlc_media_player_stop (p_mi=0x5b7a74) at
../../lib/media_player.c:808
        state = libvlc_Playing
#10 0x4650b45e in stop (p_mlp=0x5b79f8) at ../../lib/media_list_player.c:697
No locals.
#11 libvlc_media_list_player_stop (p_mlp=0x5b79f8) at
../../lib/media_list_player.c:711
No locals.
#12 0x463ac08c in Java_org_videolan_vlc_LibVLC_stop (env=0xf2c8,
thiz=0x14500019) at jni/libvlcjni.c:934
        mp = 0x5b79f8
#13 0x2b2b1db4 in ?? ()
No symbol table info available.
#14 0x2b2b1db4 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)




More information about the vlc-devel mailing list