Bug#910631: lightdm: first login hangs waiting for user-generated entropy

2018-10-08 Thread Jules Bernable
Package: lightdm
Version: 1.26.0-3
Severity: grave
Justification: renders package unusable

Dear Maintainer,

On my buster/sid system, LightDM hangs indefinitely on first login until
entropy is generated via mouse or keyboard input.
The login process seems to be delayed by the kernel itself, until the following
lines appear in journalctl:

kernel: random: crng init done
kernel: random: 7 urandom warning(s) missed due to ratelimiting

Installing the haveged package fixes the issue, as mentioned in the following
thread:
https://unix.stackexchange.com/questions/442698/when-i-log-in-it-hangs-until-
crng-init-done

This issue also seems related to bug #897572



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages lightdm depends on:
ii  adduser3.118
ii  dbus   1.12.10-1
ii  debconf [debconf-2.0]  1.5.69
ii  libaudit1  1:2.8.4-2
ii  libc6  2.27-6
ii  libgcrypt201.8.3-1
ii  libglib2.0-0   2.58.1-2
ii  libpam-systemd 239-10
ii  libpam0g   1.1.8-3.8
ii  libxcb11.13-3
ii  libxdmcp6  1:1.1.2-3
ii  lightdm-gtk-greeter [lightdm-greeter]  2.0.5-1
ii  lsb-base   9.20170808

Versions of packages lightdm recommends:
ii  xserver-xorg  1:7.7+19

Versions of packages lightdm suggests:
pn  accountsservice  
ii  upower   0.99.8-2
pn  xserver-xephyr   

-- Configuration Files:
/etc/lightdm/lightdm.conf changed [not included]

-- debconf information:
* shared/default-x-display-manager: lightdm
  lightdm/daemon_name: /usr/sbin/lightdm



Bug#710190: vlc: Segfault when opening a playlist containing rtsp urls

2013-05-30 Thread Jules Bernable

Hi, here is the gdb session with libc6 debug symbols.
Starting program: /usr/bin/vlc -vvv -I dummy ~/dl/freebox-tv.m3u
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need set solib-search-path or set sysroot?
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
[New Thread 0x77f42700 (LWP 27789)]
[New Thread 0x7fffecb4e700 (LWP 27790)]
[New Thread 0x7fffec84a700 (LWP 27791)]
[New Thread 0x7fffec545700 (LWP 27792)]
[Thread 0x7fffec545700 (LWP 27792) exited]
[New Thread 0x7fffec545700 (LWP 27793)]
[New Thread 0x7fffe8118700 (LWP 27794)]
[New Thread 0x7fffd997e700 (LWP 27795)]
[Thread 0x7fffec84a700 (LWP 27791) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffd997e700 (LWP 27795)]
0x77de6263 in ?? () from /lib64/ld-linux-x86-64.so.2

Thread 8 (Thread 0x7fffd997e700 (LWP 27795)):
#0  0x77de6263 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#1  0x77dedb8a in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#2  0x77de9846 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#3  0x77ded349 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#4  0x774b8026 in dlopen_doit (a=0x7fffd997d3c0) at dlopen.c:66
args = 0x7fffd997d3c0
#5  0x77de9846 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#6  0x774b85ec in _dlerror_run (operate=operate@entry=0x774b7fc0 
dlopen_doit, args=args@entry=0x7fffd997d3c0) at dlerror.c:163
result = 0x7fffc80008c0
#7  0x774b80c1 in __dlopen (file=optimized out, mode=optimized out) 
at dlopen.c:87
args = {file = 0x7fffc801c3d0 
/usr/lib/libproxy/0.3.1/modules/pacrunner_mozjs.so, mode = 2, new = 
0x7fffc800ff50, caller = 0x7fffd926da46}
#8  0x7fffd926da46 in px_module_manager_load () from /usr/lib/libproxy.so.0
No symbol table info available.
#9  0x7fffd926db15 in px_module_manager_load_dir () from 
/usr/lib/libproxy.so.0
No symbol table info available.
#10 0x7fffd926ee6e in px_proxy_factory_new () from /usr/lib/libproxy.so.0
No symbol table info available.
#11 0x7fffd9477065 in OpenWithCookies (p_this=0x7fffc800f0b8, 
psz_access=optimized out, i_redirect=5, cookies=optimized out) at http.c:375
pf = optimized out
p_access = 0x7fffc800f0b8
p_sys = 0x7fffc8011a40
psz = optimized out
p = optimized out
saved_cookies = optimized out
#12 0x7795ee09 in vlc_module_load (p_this=p_this@entry=0x7fffc800f0b8, 
psz_capability=psz_capability@entry=0x7798edbb access, 
psz_name=optimized out, psz_name@entry=0x7fffd997d7b0 http, 
b_strict=b_strict@entry=true, 
probe=probe@entry=0x7795e6b0 generic_start) at modules/modules.c:347
ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 
0x7fffd997d750, reg_save_area = 0x7fffd997d660}}
p_cand = 0x7dfda0
ret = optimized out
i = optimized out
p_list = 0x7fffc800ffe0
p_module = optimized out
i_shortcuts = 1
psz_shortcuts = 0x7fffc80043f0 http
psz_var = optimized out
psz_alias = optimized out
b_force_backup = false
count = 2
p_all = 0x7fffc800f2a0
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 
0x7fffd997d750, reg_save_area = 0x7fffd997d660}}
#13 0x7795f294 in module_need (obj=obj@entry=0x7fffc800f0b8, 
cap=cap@entry=0x7798edbb access, name=name@entry=0x7fffd997d7b0 http, 
strict=strict@entry=true) at modules/modules.c:437
No locals.
#14 0x77914bf8 in access_New (p_obj=p_obj@entry=0x7fffc8000a48, 
p_parent_input=p_parent_input@entry=0x0, psz_access=0x7fffd997d7b0 http, 
psz_demux=0x779a0aea , 
psz_location=0x7fffd997d7b7 
mb.videolan.org/ws/2/recording/?query=artist%3A%222%22%20AND%20recording%3A%22France%202%20HD%22)
 at input/access.c:87
p_access = 0x7fffc800f0b8
#15 0x779335ec in stream_UrlNew 
(p_parent=p_parent@entry=0x7fffc8000a48, psz_url=0x7fffc800efa8 
http://mb.videolan.org/ws/2/recording/?query=artist%3A%222%22%20AND%20recording%3A%22France%202%20HD%22;)
 at input/stream.c:262
psz_access = 0x7fffd997d7b0 http
psz_demux = 0x779a0aea 
psz_path = 0x7fffd997d7b7 
mb.videolan.org/ws/2/recording/?query=artist%3A%222%22%20AND%20recording%3A%22France%202%20HD%22
psz_anchor = 0x779a0aea 
p_access = optimized out
p_res = optimized out
psz_dup = 0x7fffd997d7b0 http
#16 0x7fffea9e1693 in vlclua_stream_new (L=0x7fffc8004750) at 
libs/stream.c:91
p_this = 0x7fffc8000a48
psz_url = optimized out
p_stream = optimized out
#17 0x7fffea7a3a24 in luaD_precall (L=L@entry=0x7fffc8004750, 
func=0x7fffc8004b70, nresults=nresults@entry=1) at ldo.c:320
ci = optimized out
   

Bug#710190: vlc: Segfault when opening a playlist containing rtsp urls

2013-05-30 Thread Jules Bernable
Ok, so I updated libproxy0 to the latest version 
(0.3.1-6/stable,testing,unstable) and the bug is gone !

Currently the vlc-nox package depends on libproxy0 = 0.2.3
Maybe should it be updated to depend on libproxy0 = 0.3.1 ?


Le 30/05/2013 17:20, Reinhard Tartler a écrit :

On Thu, May 30, 2013 at 5:16 PM, Rémi Denis-Courmont r...@remlab.net wrote:


I am not familiar with libproxy internals. Due to the swarm of crash reports,
I have made VLC 2.1 execute /usr/bin/proxy from proxy-tools in a separate
process instead of calling libproxy directly. (This also weakens the run-time
dependency on libproxy.) At least, VLC will not crash anymore.

Given the maturity consideration of libproxy, this seems reasonable.
Thanks for this!


Also, reading bug
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=604934 makes me feel
sad and wonder, if there was some way to disable the usage of libproxy
in vlc altogether?

For VLC 2.0, either `./configure --disable-libproxy' or build-time conflict with
libproxy-dev ought to do. Then the plain old $http_proxy will be used.

That makes sense to me. Benjamin, I suggest to do so in both Debian
and Ubuntu. What do you think?




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#710190: vlc: Segfault when opening a playlist containing rtsp urls

2013-05-28 Thread Jules Bernable
I think this bug appeared after upgrading libc6 from stable(2.13-38) to 
unstable(2.17-3).



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#710190: vlc: Segfault when opening a playlist containing rtsp urls

2013-05-28 Thread Jules Bernable

Here it is:

$ cvlc -vvv -I dummy ~/dl/freebox-tv.m3u

VLC media player 2.0.6 Twoflower (revision 2.0.6-0-gbe9623c)
[0x149f108] main libvlc debug: VLC media player - 2.0.6 Twoflower
[0x149f108] main libvlc debug: Copyright © 1996-2013 VLC authors and 
VideoLAN

[0x149f108] main libvlc debug: revision 2.0.6-0-gbe9623c
[0x149f108] main libvlc debug: configured with ./configure 
'--enable-static' '--build=x86_64-linux-gnu' 'CFLAGS=-g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security' 'CPPFLAGS=-D_FORTIFY_SOURCE=2' 'CXXFLAGS=-g -O2 
-fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Werror=format-security' 'LDFLAGS=-Wl,-z,relro' '--config-cache' 
'--disable-maintainer-mode' '--disable-silent-rules' 
'--disable-update-check' '--enable-fast-install' '--prefix=/usr' 
'--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' 
'--with-binary-version=1' '--enable-a52' '--enable-aa' '--enable-bluray' 
'--enable-bonjour' '--enable-caca' '--enable-dbus' '--enable-dca' 
'--enable-dirac' '--enable-directfb' '--enable-dvbpsi' '--enable-dvdnav' 
'--enable-faad' '--enable-flac' '--enable-fluidsynth' 
'--enable-freetype' '--enable-fribidi' '--enable-gnutls' '--enable-jack' 
'--enable-kate' '--enable-libass' '--enable-libmpeg2' 
'--enable-libproxy' '--enable-libxml2' '--enable-lirc' 
'--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' 
'--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' 
'--enable-notify' '--enable-ogg' '--enable-opus' '--enable-oss' 
'--enable-pulse' '--enable-qt4' '--enable-realrtsp' 
'--enable-samplerate' '--enable-schroedinger' '--enable-sdl' 
'--enable-sftp' '--enable-shout' '--enable-skins2' '--enable-smb' 
'--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' 
'--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' 
'--enable-vorbis' '--enable-x264' '--enable-zvbi' 
'--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--disable-dxva2' 
'--disable-gnomevfs' '--disable-goom' '--disable-portaudio' 
'--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' 
'--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-fbosd' 
'--enable-libva' '--enable-linsys' '--enable-omxil' '--enable-pvr' 
'--enable-udev' '--enable-v4l2' '--enable-crystalhd' '--enable-mmx' 
'--enable-sse' '--disable-neon' '--disable-altivec' 
'build_alias=x86_64-linux-gnu'

[0x149f108] main libvlc debug: searching plug-in modules
[0x149f108] main libvlc debug: loading plugins cache file 
/usr/lib/vlc/plugins/plugins.dat

[0x149f108] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins'
[0x149f108] main libvlc debug: saving plugins cache 
/usr/lib/vlc/plugins/plugins.dat

[0x149f108] main libvlc debug: plug-ins loaded: 421 modules
[0x149f108] main libvlc debug: opening config file 
(/home/ju1ius/.config/vlc/vlcrc)

[0x149f108] main libvlc debug: translation test: code is fr
[0x149f108] main libvlc debug: No Media Player is running. Continuing 
normally.
[0x149f108] main libvlc debug: CPU has capabilities MMX 3DNow! MMXEXT 
SSE SSE2 SSE3 FPU

[0x149f108] main libvlc debug: looking for memcpy module: 4 candidates
[0x149f108] main libvlc debug: using memcpy module memcpymmxext
[0x14b38e8] main input debug: Creating an input for 'Bibliothèque'
[0x14b38e8] main input debug: Input is a meta file: disabling unneeded 
options
[0x14b38e8] main input debug: using timeshift granularity of 50 MiB, in 
path '/tmp'
[0x14b38e8] main input debug: 
`file/xspf-open:///home/ju1ius/.local/share/vlc/ml.xspf' gives access 
`file' demux `xspf-open' path `/home/ju1ius/.local/share/vlc/ml.xspf'
[0x14b38e8] main input debug: creating demux: access='file' 
demux='xspf-open' location='/home/ju1ius/.local/share/vlc/ml.xspf' 
file='/home/ju1ius/.local/share/vlc/ml.xspf'

[0x156dee8] main demux debug: looking for access_demux module: 3 candidates
[0x156dee8] main demux debug: no access_demux module matching file 
could be loaded
[0x156dee8] main demux debug: TIMER module_need() : 0.800 ms - Total 
0.800 ms / 1 intvls (Avg 0.800 ms)
[0x14b38e8] main input debug: creating access 'file' 
location='/home/ju1ius/.local/share/vlc/ml.xspf', 
path='/home/ju1ius/.local/share/vlc/ml.xspf'

[0x156ee78] main access debug: looking for access module: 2 candidates
[0x156ee78] filesystem access debug: opening file 
`/home/ju1ius/.local/share/vlc/ml.xspf'

[0x156ee78] main access debug: using access module filesystem
[0x156ee78] main access debug: TIMER module_need() : 0.230 ms - Total 
0.230 ms / 1 intvls (Avg 0.230 ms)

[0x156efc8] main stream debug: Using stream method for AStream*
[0x156efc8] main stream debug: starting pre-buffering
[0x156efc8] main stream debug: received first data after 0 ms
[0x156efc8] main stream debug: pre-buffering done 296 bytes in 0s - 
36132 KiB/s
[0x156f228] main stream debug: looking for stream_filter module: 7 
candidates
[0x156f228] main stream debug: no stream_filter module matching any 
could be loaded
[0x156f228] main stream debug: TIMER 

Bug#710190: vlc: Segfault when opening a playlist containing rtsp urls

2013-05-28 Thread Jules Bernable

Here is the gdb backtrace.
Thread 8 (Thread 0x7fffd977b700 (LWP 6269)):
#0  0x776c6974 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#1  0x7795adbe in block_FifoGet (p_fifo=0x7fffd4ca5160)
at misc/block.c:653
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {0, 
-8538953691277108483, 188, 140736763875104, 140736951507568, 
0, -8538946288121881859, -8538881709080519939}, 
  __mask_was_saved = 0}}, __pad = {0x7fffd977aec0, 0x0, 
0x7c0077, 0x7fffd4d14f20}}
__cancel_arg = 0x7fffd4ca5160
__not_first_call = optimized out
b = optimized out
#2  0x77934806 in DStreamRead (s=0x7fffd4d19008, 
p_read=optimized out, i_read=188) at input/stream_demux.c:155
p_block = 0x0
i_copy = optimized out
p_sys = 0x7fffd4d14f20
p_out = optimized out
i_out = 0
#3  0x7793437a in stream_Block (s=0x7fffd4d19008, i_size=188)
at input/stream.c:1943
i_read = optimized out
p_bk = 0x7fffe0c07000
#4  0x7fffd9f9b871 in ReadTSPacket (p_demux=p_demux@entry=0x7fffe0c1ecb8)
at ts.c:1862
p_sys = 0x7fffe0005a70
p_pkt = optimized out
#5  0x7fffd9f9ed32 in Demux (p_demux=0x7fffe0c1ecb8) at ts.c:1065
b_frame = false
p_pkt = optimized out
p_pid = optimized out
i_pkt = optimized out
p_sys = optimized out
b_wait_es = true
#6  0x7fffd9fa4b00 in Open (p_this=0x7fffe0c1ecb8) at ts.c:827
p_demux = 0x7fffe0c1ecb8
p_sys = optimized out
i_packet_size = 0
pat = optimized out
psz_mode = optimized out
b_append = false
can_seek = false
#7  0x7795ee09 in vlc_module_load (p_this=p_this@entry=0x7fffe0c1ecb8, 
psz_capability=psz_capability@entry=0x77998239 demux, 
psz_name=optimized out, psz_name@entry=0x7fffe0c1ed50 ts, 
b_strict=true, probe=probe@entry=0x7795e6b0 generic_start)
at modules/modules.c:347
ap = {{gp_offset = 48, fp_offset = 48, 
overflow_arg_area = 0x7fffd977ae00, 
reg_save_area = 0x7fffd977ad10}}
p_cand = 0x746a80
ret = optimized out
i = optimized out
p_list = 0x7fffe0004010
p_module = optimized out
i_shortcuts = 1
psz_shortcuts = 0x7fffe0c1e580 ts
psz_var = optimized out
psz_alias = optimized out
b_force_backup = false
count = 1
p_all = 0x7fffe0001f50
args = {{gp_offset = 40, fp_offset = 48, 
overflow_arg_area = 0x7fffd977ae00, 
reg_save_area = 0x7fffd977ad10}}
#8  0x7795f294 in module_need (obj=obj@entry=0x7fffe0c1ecb8, 
cap=cap@entry=0x77998239 demux, name=name@entry=0x7fffe0c1ed50 ts, 
strict=optimized out) at modules/modules.c:437
No locals.
#9  0x7791c6f2 in demux_New (p_obj=p_obj@entry=0x7fffd4d19008, 
p_parent_input=optimized out, 
psz_access=psz_access@entry=0x779a0aea , 
psz_demux=0x7fffd4d04950 ts, 
psz_location=psz_location@entry=0x779a0aea , 
s=s@entry=0x7fffd4d19008, out=0x7fffd4000d40, b_quick=b_quick@entry=false)
at input/demux.c:190
p_demux = 0x7fffe0c1ecb8
psz_module = 0x7fffe0c1ed50 ts
psz_ext = optimized out
#10 0x77934b19 in DStreamThread (obj=0x7fffd4d19008)
at input/stream_demux.c:284
s = 0x7fffd4d19008
p_sys = 0x7fffd4d14f20
p_demux = optimized out
canc = 0
#11 0x776c2e0e in start_thread ()
   from /lib/x86_64-linux-gnu/libpthread.so.0
No symbol table info available.
#12 0x769d695d in clone () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.

Thread 7 (Thread 0x7fffe8118700 (LWP 6268)):
#0  0x77de6263 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#1  0x77dedb8a in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#2  0x77de9846 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#3  0x77ded349 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#4  0x774b8026 in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
No symbol table info available.
#5  0x77de9846 in ?? () from /lib64/ld-linux-x86-64.so.2
No symbol table info available.
#6  0x774b85ec in ?? () from /lib/x86_64-linux-gnu/libdl.so.2
No symbol table info available.
#7  0x774b80c1 in dlopen () from /lib/x86_64-linux-gnu/libdl.so.2
No symbol table info available.
#8  0x7fffd926da46 in px_module_manager_load () from /usr/lib/libproxy.so.0
No symbol table info available.
#9  0x7fffd926db15 in px_module_manager_load_dir ()
   from /usr/lib/libproxy.so.0
No symbol table info available.
#10 0x7fffd926ee6e in px_proxy_factory_new () from /usr/lib/libproxy.so.0
No symbol