Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#44248 - [kodi] Crash when with samba 4.2.0

Attached to Project: Community Packages
Opened by Sébastien Luttringer (seblu) - Thursday, 19 March 2015, 02:20 GMT
Last edited by Ike Devolder (BlackEagle) - Wednesday, 22 July 2015, 20:55 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ike Devolder (BlackEagle)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Kodi crash (log attached) right after it starts since I updated my system.

Rollback samba to version prior version 4.2.0 fix the issue. Maybe a rebuild is needed ?

I guess only users with samba share are affected. The issue is on both arch.

I need to rollback 3 packages to make it works again:
pacman -U libwbclient-4.1.17-1-i686.pkg.tar.xz smbclient-4.1.17-1-i686.pkg.tar.xz samba-4.1.17-1-i686.pkg.tar.xz

This task depends upon

Closed by  Ike Devolder (BlackEagle)
Wednesday, 22 July 2015, 20:55 GMT
Reason for closing:  Fixed
Additional comments about closing:  settings of samba client
Comment by Ike Devolder (BlackEagle) - Friday, 20 March 2015, 09:23 GMT
@seblu you are using samba shares configured in kodi, not system mounts i guess.

I will need to test that later today.
Comment by Sébastien Luttringer (seblu) - Friday, 20 March 2015, 09:51 GMT
Yes, I'm using shares from Kodi.
Comment by Ike Devolder (BlackEagle) - Friday, 20 March 2015, 20:15 GMT
@seblu, I cannot reproduce, but I also don't have a powerfull enough i686 system to test kodi.

I'm going to rebuild one for you to test, when it is built I'll let you know
Comment by Ike Devolder (BlackEagle) - Friday, 20 March 2015, 21:11 GMT Comment by Sébastien Luttringer (seblu) - Sunday, 22 March 2015, 03:22 GMT
Ha, unfortunately rebuild doesn't fix it. I also tried with a default smb.conf config.

It crashes on both arch x86_64 and i686.

Here the gdb bt

Core was generated by `/usr/lib/kodi/kodi.bin --standalone'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0xb607638b in __strcmp_ssse3 () from /usr/lib/libc.so.6
(gdb) bt
#0 0xb607638b in __strcmp_ssse3 () from /usr/lib/libc.so.6
#1 0xb2f99c23 in tdb_wrap_open () from /usr/lib/samba/libtdb-wrap-samba4.so
#2 0xb3a4122f in ?? () from /usr/lib/libsmbconf.so.0
#3 0xb3a415e5 in gencache_parse () from /usr/lib/libsmbconf.so.0
#4 0xb3a41eb1 in gencache_get_data_blob () from /usr/lib/libsmbconf.so.0
#5 0xb3a41f8a in gencache_get () from /usr/lib/libsmbconf.so.0
#6 0xb39dc69c in sitename_fetch () from /usr/lib/samba/libgse-samba4.so
#7 0xb39db6f2 in resolve_name_list () from /usr/lib/samba/libgse-samba4.so
#8 0xb3b899f2 in ?? () from /usr/lib/samba/liblibsmb-samba4.so
#9 0xb3b8cd05 in cli_connect_nb () from /usr/lib/samba/liblibsmb-samba4.so
#10 0xb6540683 in ?? () from /usr/lib/libsmbclient.so.0
#11 0xb65412db in ?? () from /usr/lib/libsmbclient.so.0
#12 0xb6541c77 in ?? () from /usr/lib/libsmbclient.so.0
#13 0xb6536f3d in smbc_stat () from /usr/lib/libsmbclient.so.0
#14 0x087ab805 in XFILE::CSMBDirectory::Exists(CURL const&) ()
#15 0x086f0144 in XFILE::CDirectory::Exists(CURL const&, bool) ()
#16 0x086f0332 in XFILE::CDirectory::Exists(std::string const&, bool) ()
#17 0x0843db20 in VIDEO::CVideoInfoScanner::Process() ()
#18 0x0989fa1b in CThread::Action() ()
#19 0x0989fceb in CThread::staticThread(void*) ()
#20 0xb734d1a6 in start_thread () from /usr/lib/libpthread.so.0
#21 0xb60297ce in clone () from /usr/lib/libc.so.6
(gdb)
Comment by Ike Devolder (BlackEagle) - Sunday, 22 March 2015, 20:04 GMT
@seblu, core2duo or alike, seems related to cpu's with sse3 only
Comment by Ike Devolder (BlackEagle) - Tuesday, 26 May 2015, 21:00 GMT
is this still an issue ?
Comment by Sébastien Luttringer (seblu) - Tuesday, 26 May 2015, 23:37 GMT
let me test with the last glibc version. I'll be back to you soon.
Comment by Sébastien Luttringer (seblu) - Sunday, 31 May 2015, 14:42 GMT
Nothing change. I opened the bug upstream, you could close it here.

http://trac.kodi.tv/ticket/16011
Comment by Sébastien Luttringer (seblu) - Sunday, 31 May 2015, 15:17 GMT
Ok I found the root cause. The .smb/smb.conf file contains the directive:

lock directory = /var/lib/xbmc/.smb/

This path does not exists and make samba libraries crashes.
Comment by Ike Devolder (BlackEagle) - Sunday, 31 May 2015, 16:50 GMT
woah, glad you found it.

So a samba bug ;)
Comment by Sébastien Luttringer (seblu) - Wednesday, 01 July 2015, 14:00 GMT
Yes, you can close :)

Loading...