Web lists-archives.com

[Samba] Kodi crashes when trying to browse network




Hi,

I maintain Kodi[1] in RPMFusion[2] and the latest version of Kodi, 18.0, is crashing when trying to browse the SMB network. The previous version, 17.x, worked fine.

The backtrace shows that Samba was not able to open /dev/urandom, which can't be true and must be masking another issue. The issue occurs on any Fedora 28 or 29 system (multiple user reports[3]). SELinux is disabled and /dev/urandom is chmod' 666.

Any pointers?

Backtrace from samba-client-libs-4.9.1-2.fc29.x86_64:
#0  0x00007fe785c0b53f in raise () from /lib64/libc.so.6
#1  0x00007fe785bf5895 in abort () from /lib64/libc.so.6
#2  0x00007fe782ad97d5 in open_urandom () at ../lib/util/genrand.c:37
#3  generate_random_buffer (out=out@entry=0x7ffeb252b536 ".\025\260\230\027\207\260U",
    len=len@entry=2) at ../lib/util/genrand.c:46
#4  0x00007fe78501fc6e in generate_trn_id () at ../source3/libsmb/namequery.c:1276
#5  name_query_send (mem_ctx=<optimized out>, ev=0x55b08717c250,
    name=name@entry=0x7fe7884799ed "\001\002__MSBROWSE__\002", name_type=name_type@entry=1,
    bcast=bcast@entry=true, recurse=recurse@entry=true, addr=0x7fe73c061260)
    at ../source3/libsmb/namequery.c:1276
#6  0x00007fe785020869 in name_queries_send (bcast=true, recurse=true, wait_msec=0,
    timeout_msec=1000, num_addrs=1, addrs=0x7fe73c061260, name_type=1,
    name=0x7fe7884799ed "\001\002__MSBROWSE__\002", ev=0x55b08717c250, mem_ctx=<optimized out>)
    at ../source3/libsmb/namequery.c:1660
#7  name_resolve_bcast_send (mem_ctx=mem_ctx@entry=0x55b087149140, ev=ev@entry=0x55b08717c250,     name=name@entry=0x7fe7884799ed "\001\002__MSBROWSE__\002", name_type=name_type@entry=1)
    at ../source3/libsmb/namequery.c:1858
#8  0x00007fe785020b7b in name_resolve_bcast (
    name=name@entry=0x7fe7884799ed "\001\002__MSBROWSE__\002", name_type=name_type@entry=1,
    mem_ctx=0x55b087176150, return_iplist=return_iplist@entry=0x7ffeb252ba50,
    return_count=return_count@entry=0x7ffeb252ba48) at ../source3/libsmb/namequery.c:1916 #9  0x00007fe788464b2a in SMBC_opendir_ctx (context=0x55b08715a250, fname=0x7ffeb252bf40 "smb://")
    at ../source3/libsmb/libsmb_dir.c:603
#10 0x00007fe788461935 in smbc_opendir (durl=0x7ffeb252bf40 "smb://")
    at ../source3/libsmb/libsmb_compat.c:253
#11 0x000055b0832d4f62 in XFILE::CSMBDirectory::OpenDir(CURL const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&) ()
(snipped)

Thanks,
Michael

[1] https://kodi.tv/
[2] https://rpmfusion.org/
[3] https://bugzilla.rpmfusion.org/show_bug.cgi?id=5001

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba