Bug#813545: vlc: freeze followed by segmentation fault after closing the window

2017-12-10 Thread Sebastian Ramacher
Control: tags -1 + moreinfo

Sorry for the delay. I mussed this report.

On 2016-02-03 00:17:01, Vincent Lefevre wrote:
> Package: src:vlc
> Version: 2.2.2-1
> Severity: important
> 
> After I close the window, VLC froze then crashed (segmentation fault).
> I could reproduce this problem another time, but that's all. This never
> occurred with previous versions.

Unfortunately I cannot reproduce the issue. So please try again with 2.2.8 and
provide the output of vlc -vvv.

Cheers

> 
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  __strcmp_sse2_unaligned ()
> at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:30
> 30  ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: No such file or 
> directory.
> [Current thread is 1 (Thread 0x7f07a02e1700 (LWP 15208))]
> 
> The backtrace:
> 
> Thread 2 (Thread 0x7f07cf935880 (LWP 15092)):
> #0  0x7f07cf38d8cf in pthread_cond_wait@@GLIBC_2.3.2 () at 
> ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
> #1  0x7f07ceb7fe95 in vlc_cond_wait (p_condvar=, 
> p_mutex=) at posix/thread.c:387
> #2  0x7f07ceaff25b in playlist_fetcher_Delete (p_fetcher=0x244e3c0) at 
> playlist/fetcher.c:166
> p_next = 
> album = 
> #3  0x7f07ceb033c7 in playlist_preparser_Delete (p_preparser=0x244e330) 
> at playlist/preparser.c:120
> #4  0x7f07ceaebcea in libvlc_InternalCleanup (p_libvlc=0x2439ee8) at 
> libvlc.c:546
> #5  0x7f07cf5a5b6e in libvlc_release () at /usr/lib/libvlc.so.5
> #6  0x00401396 in  ()
> #7  0x7f07cedf9870 in __libc_start_main (main=0x401190, argc=1, 
> argv=0x7ffe4950f0f8, init=, fini=, 
> rtld_fini=, stack_end=0x7ffe4950f0e8) at libc-start.c:291
> result = 
> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 7486525756343416823, 
> 4199744, 140730128462064, 0, 0, -7486696018106812425, -7355813339458865161}, 
> mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x401bc0, 0x7ffe4950f0f8}, 
> data = {prev = 0x0, cleanup = 0x0, canceltype = 4201408}}}
> not_first_call = 
> #8  0x00401569 in  ()
> 
> Thread 1 (Thread 0x7f07a02e1700 (LWP 15208)):
> #0  0x7f07cee6935e in __strcmp_sse2_unaligned () at 
> ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:30
> #1  0x7f07ceebecf0 in __tfind (key=key@entry=0x7f07a02e0980, 
> vrootp=vrootp@entry=0x2521a08, compar=compar@entry=0x7f07ceb76700 ) 
> at tsearch.c:320
> root = 0x7f07cf177c58 
> r = 
> rootp = 
> #2  0x7f07cebb in var_SetChecked (psz_name=0x7f07ceba1c0f 
> "item-change", obj=0x2521a98) at misc/variables.c:154
> priv = 0x2521a00
> pp_var = 
> i_ret = 0
> oldval = {i_int = 0, b_bool = false, f_float = 0, psz_string = 0x0, 
> p_address = 0x0, p_object = 0x0, p_list = 0x0, i_time = 0, coords = {x = 0, y 
> = 0}}
> p_priv = 0x2521a00
> #3  0x7f07cebb in var_SetChecked (p_this=0x2521a98, 
> psz_name=psz_name@entry=0x7f07ceba1c0f "item-change", 
> expected_type=expected_type@entry=112, val=...) at misc/variables.c:712
> i_ret = 0
> oldval = {i_int = 0, b_bool = false, f_float = 0, psz_string = 0x0, 
> p_address = 0x0, p_object = 0x0, p_list = 0x0, i_time = 0, coords = {x = 0, y 
> = 0}}
> p_priv = 0x2521a00
> #4  0x7f07ceb05a7c in input_item_changed (ptr=, 
> psz_name=0x7f07ceba1c0f "item-change", p_obj=) at 
> ../include/vlc_variables.h:287
> p_item = 
> #5  0x7f07ceb05a7c in input_item_changed (p_event=, 
> user_data=) at playlist/item.c:180
> p_item = 
> #6  0x7f07ceb718ea in vlc_event_send (p_em=p_em@entry=0x7f0788047758, 
> p_event=p_event@entry=0x7f07a02e0a40) at misc/events.c:237
> listeners_group = 
> listener = 
> array_of_cached_listeners = 0x7f0785813ec0
> cached_listener = 0x7f0785813ec0
> i = 
> i_cached_listeners = 
> #7  0x7f07ceb0b2a6 in input_item_SetMeta (p_i=0x7f07880476d0, 
> meta_type=vlc_meta_ArtworkURL, psz_val=0x7f0785813df8 
> "http://coverartarchive.org/release/c3dd54fa-7eb7-464f-92da-e356d6c3776a/front-500";)
>  at input/item.c:143
> event = {type = vlc_InputItemMetaChanged, p_obj = 0x7f07880476d0, u = 
> {input_state_changed = {new_state = 16}, input_selected_stream_changed = 
> {unused = 0x7f070010}, input_item_meta_changed = {meta_type = 
> vlc_meta_ArtworkURL}, input_item_subitem_added = {p_new_child = 
> 0x7f070010}, input_item_subitem_tree_added = {p_root = 0x7f070010}, 
> input_item_duration_changed = {new_duration = 139668041498640}, 
> input_item_preparsed_changed = {new_status = 16}, input_item_name_changed = 
> {new_name = 0x7f070010  0x7f070010>}, input_item_info_changed = {unused = 0x7f070010}, 
> input_item_error_when_reading_changed = {new_value = 16}, 
> services_discovery_item_added = {p_new_item = 0x7f070010, psz_category = 
> 0x7f07be884b8e "\205\300\017\205\062\001"}, services_discovery_item_removed = 
> {p_item = 0x7f070010}, services_dis

Bug#813545: vlc: freeze followed by segmentation fault after closing the window

2016-02-02 Thread Vincent Lefevre
Package: src:vlc
Version: 2.2.2-1
Severity: important

After I close the window, VLC froze then crashed (segmentation fault).
I could reproduce this problem another time, but that's all. This never
occurred with previous versions.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  __strcmp_sse2_unaligned ()
at ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:30
30  ../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: No such file or 
directory.
[Current thread is 1 (Thread 0x7f07a02e1700 (LWP 15208))]

The backtrace:

Thread 2 (Thread 0x7f07cf935880 (LWP 15092)):
#0  0x7f07cf38d8cf in pthread_cond_wait@@GLIBC_2.3.2 () at 
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7f07ceb7fe95 in vlc_cond_wait (p_condvar=, 
p_mutex=) at posix/thread.c:387
#2  0x7f07ceaff25b in playlist_fetcher_Delete (p_fetcher=0x244e3c0) at 
playlist/fetcher.c:166
p_next = 
album = 
#3  0x7f07ceb033c7 in playlist_preparser_Delete (p_preparser=0x244e330) at 
playlist/preparser.c:120
#4  0x7f07ceaebcea in libvlc_InternalCleanup (p_libvlc=0x2439ee8) at 
libvlc.c:546
#5  0x7f07cf5a5b6e in libvlc_release () at /usr/lib/libvlc.so.5
#6  0x00401396 in  ()
#7  0x7f07cedf9870 in __libc_start_main (main=0x401190, argc=1, 
argv=0x7ffe4950f0f8, init=, fini=, 
rtld_fini=, stack_end=0x7ffe4950f0e8) at libc-start.c:291
result = 
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 7486525756343416823, 
4199744, 140730128462064, 0, 0, -7486696018106812425, -7355813339458865161}, 
mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x401bc0, 0x7ffe4950f0f8}, data 
= {prev = 0x0, cleanup = 0x0, canceltype = 4201408}}}
not_first_call = 
#8  0x00401569 in  ()

Thread 1 (Thread 0x7f07a02e1700 (LWP 15208)):
#0  0x7f07cee6935e in __strcmp_sse2_unaligned () at 
../sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S:30
#1  0x7f07ceebecf0 in __tfind (key=key@entry=0x7f07a02e0980, 
vrootp=vrootp@entry=0x2521a08, compar=compar@entry=0x7f07ceb76700 ) at 
tsearch.c:320
root = 0x7f07cf177c58 
r = 
rootp = 
#2  0x7f07cebb in var_SetChecked (psz_name=0x7f07ceba1c0f 
"item-change", obj=0x2521a98) at misc/variables.c:154
priv = 0x2521a00
pp_var = 
i_ret = 0
oldval = {i_int = 0, b_bool = false, f_float = 0, psz_string = 0x0, 
p_address = 0x0, p_object = 0x0, p_list = 0x0, i_time = 0, coords = {x = 0, y = 
0}}
p_priv = 0x2521a00
#3  0x7f07cebb in var_SetChecked (p_this=0x2521a98, 
psz_name=psz_name@entry=0x7f07ceba1c0f "item-change", 
expected_type=expected_type@entry=112, val=...) at misc/variables.c:712
i_ret = 0
oldval = {i_int = 0, b_bool = false, f_float = 0, psz_string = 0x0, 
p_address = 0x0, p_object = 0x0, p_list = 0x0, i_time = 0, coords = {x = 0, y = 
0}}
p_priv = 0x2521a00
#4  0x7f07ceb05a7c in input_item_changed (ptr=, 
psz_name=0x7f07ceba1c0f "item-change", p_obj=) at 
../include/vlc_variables.h:287
p_item = 
#5  0x7f07ceb05a7c in input_item_changed (p_event=, 
user_data=) at playlist/item.c:180
p_item = 
#6  0x7f07ceb718ea in vlc_event_send (p_em=p_em@entry=0x7f0788047758, 
p_event=p_event@entry=0x7f07a02e0a40) at misc/events.c:237
listeners_group = 
listener = 
array_of_cached_listeners = 0x7f0785813ec0
cached_listener = 0x7f0785813ec0
i = 
i_cached_listeners = 
#7  0x7f07ceb0b2a6 in input_item_SetMeta (p_i=0x7f07880476d0, 
meta_type=vlc_meta_ArtworkURL, psz_val=0x7f0785813df8 
"http://coverartarchive.org/release/c3dd54fa-7eb7-464f-92da-e356d6c3776a/front-500";)
 at input/item.c:143
event = {type = vlc_InputItemMetaChanged, p_obj = 0x7f07880476d0, u = 
{input_state_changed = {new_state = 16}, input_selected_stream_changed = 
{unused = 0x7f070010}, input_item_meta_changed = {meta_type = 
vlc_meta_ArtworkURL}, input_item_subitem_added = {p_new_child = 
0x7f070010}, input_item_subitem_tree_added = {p_root = 0x7f070010}, 
input_item_duration_changed = {new_duration = 139668041498640}, 
input_item_preparsed_changed = {new_status = 16}, input_item_name_changed = 
{new_name = 0x7f070010 }, input_item_info_changed = {unused = 0x7f070010}, 
input_item_error_when_reading_changed = {new_value = 16}, 
services_discovery_item_added = {p_new_item = 0x7f070010, psz_category = 
0x7f07be884b8e "\205\300\017\205\062\001"}, services_discovery_item_removed = 
{p_item = 0x7f070010}, services_discovery_started = {unused = 
0x7f070010}, services_discovery_ended = {unused = 0x7f070010}, 
addon_generic_event = {p_entry = 0x7f070010}}}
#8  0x7f07be884f32 in  () at /usr/lib/vlc/plugins/lua/liblua_plugin.so
#9  0x7f07be887850 in  () at /usr/lib/vlc/plugins/lua/liblua_plugin.so
#10 0x7f07be8852c5 in  () at /usr/lib/vlc/plugins/lua/liblua_plugin.so
#11 0x7f07ceb62505 in module_load (obj=obj@entry=0x7f07840012a8, 
m=m@entry=0