[Samba] Kodi crashes when trying to browse network

Michael Cronenworth mike at cchtml.com
Fri Nov 2 19:21:41 UTC 2018

On 11/2/18 1:32 PM, Jeremy Allison wrote:
> What errno is being returned on open of /dev/urandom ?

I think the backtrace is being munged or the stack is being blown. When I debug 
during the crash here is what I find:

(gdb) p urand_fd
$4 = 56

OK... so the fd is set? and 56? I can confirm that fd 56 is /dev/urandom:

$ ls -l /proc/14777/fd/56
lr-x------. 1 michael michael 64 Nov  2 14:17 /proc/14777/fd/56 -> /dev/urandom

So for grins what is the errno?

(gdb) p errno
$5 = 95  -- EOPNOTSUPP

I'm not sure that helped.

More information about the samba mailing list