[vlc-devel] [bug]is this a bug in RC? "pause" cause crash!

Rémi Denis-Courmont remi at remlab.net
Tue Aug 11 17:16:20 CEST 2009


Le mardi 11 août 2009 17:45:40 Andy chenee, vous avez écrit :
> hi all:
>
> 1) When I play a media file with  vlc like "./vlc -I rc /tmp/1.mp4", then
> type "pause" in cmdline,every time, the vlc crashed!

Yeah, this is a bug! Full back trace follows:

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb4ac8b90 (LWP 3587)]
0xb7fe2832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) bt                                                  
#0  0xb7fe2832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0xb7d6a3d0 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0xb7d6da85 in *__GI_abort () at abort.c:88
#3  0xb7f7ea78 in vlc_thread_fatal (action=<value optimized out>,
    error=<value optimized out>, function=0xb7faacf8 "vlc_mutex_lock",
    line=217, file=<value optimized out>) at ../../src/misc/pthread.c:121
#4  0xb7f7eb10 in vlc_mutex_lock (p_mutex=0x817c210)
    at ../../src/misc/pthread.c:217
#5  0xb7ef4f22 in playlist_Lock (pl=0x817c150)
    at ../../src/playlist/control.c:71
#6  0xb6119101 in StateChanged (p_this=0x81d2390, psz_cmd=0xb7fa1a40 "state",
    oldval=..., newval=..., p_data=0x81d20b0)
    at ../../../modules/control/rc.c:976
#7  0xb7f77bef in TriggerCallback (p_this=0x81d2390, pp_var=0xb4ac7c9c,
    psz_name=0xb7fa1a40 "state", oldval=...) at 
../../src/misc/variables.c:1507
#8  0xb7f77fe8 in var_SetChecked (p_this=0x81d2390,
    psz_name=0xb7fa1a40 "state", expected_type=48, val=...)
    at ../../src/misc/variables.c:795
#9  0xb7ef52f5 in __var_SetInteger (p_playlist=0x817c150, i_query=2,
    b_locked=false) at ../../include/vlc_variables.h:226
#10 PlaylistVAControl (p_playlist=0x817c150, i_query=2, b_locked=false)
    at ../../src/playlist/control.c:168
#11 playlist_Control (p_playlist=0x817c150, i_query=2, b_locked=false)
    at ../../src/playlist/control.c:91
#12 0xb6119263 in Input (p_this=0x81d20b0, psz_cmd=<value optimized out>,
    oldval=..., newval=<value optimized out>, p_data=0x0)
    at ../../../modules/control/rc.c:1046
#13 0xb7f77bef in TriggerCallback (p_this=0x81d20b0, pp_var=0xb4ac7e5c,
    psz_name=0xb4ac7f27 "pause", oldval=...) at 
../../src/misc/variables.c:1507
#14 0xb7f77fe8 in var_SetChecked (p_this=0x81d20b0,
    psz_name=0xb4ac7f27 "pause", expected_type=0, val=...)
    at ../../src/misc/variables.c:795
#15 0xb7f78538 in __var_Set (p_this=0x81d20b0, psz_name=0xb4ac7f27 "pause",
    val=...) at ../../src/misc/variables.c:815
#16 0xb61176d3 in Run (p_intf=0x81d20b0) at ../../../modules/control/rc.c:640
#17 0xb7ef219f in RunInterface (p_this=0x81d20b0)
    at ../../src/interface/interface.c:231
#18 0xb7f68058 in thread_entry (data=0x81d2728) at ../../src/misc/threads.c:57
#19 0xb7ea44b5 in start_thread (arg=0xb4ac8b90) at pthread_create.c:300
#20 0xb7e20a5e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130


-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list