Kodi Community Forum

Full Version: smb crashed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
when i add the smb source, Kody falls with an error

Kodi compiled from latest git.

debug log: here
install gdb please.

Most likely (again sadly) some fedora smb packaging / version issue.
gdb is installed.

smb version 4.4.9
if you have gdb - provide a baktrace please.
and how to do it?
gdb /usr/local/lib/kodi/kodi.bin

Reading symbols from /usr/local/lib/kodi/kodi.bin...(no debugging symbols found)...done.
(gdb) bt
No stack.

kodi compile with options
cmake --build . -- VERBOSE=1 -j$(nproc)

some options include debugging GDB?
You need to "run" it in gdb obviously before you get the stack trace: thread apply all bt
backtrace of gdb:
[New Thread 0x7f7165df6700 (LWP 1566)]

Thread 27 "kodi.bin" received signal SIGABRT, Aborted.
[Switching to Thread 0x7f7165df6700 (LWP 1566)]
0x00007f71bddbc765 in raise () from /lib64/libc.so.6
(gdb) bt
#0 0x00007f71bddbc765 in raise () from /lib64/libc.so.6
#1 0x00007f71bddbe36a in abort () from /lib64/libc.so.6
#2 0x00007f71afe32961 in generate_random_buffer () from /usr/lib64/samba/libgenrand-samba4.so
#3 0x00007f71b5e10e7e in name_query_send () from /usr/lib64/samba/libgse-samba4.so
#4 0x00007f71b5e11a56 in name_resolve_bcast_send () from /usr/lib64/samba/libgse-samba4.so
#5 0x00007f71b5e11d37 in name_resolve_bcast () from /usr/lib64/samba/libgse-samba4.so
#6 0x00007f71c0f11474 in SMBC_opendir_ctx () from /lib64/libsmbclient.so.0
#7 0x00007f71c0f0e631 in smbc_opendir () from /lib64/libsmbclient.so.0
#8 0x0000000001dedd91 in (anonymous namespace)::CSMBDirectory::OpenDir (this=0x6952dd0, url=..., strAuth=...)
at /home/xbmc/Unpacked/kodi/xbmc/filesystem/SMBDirectory.cpp:252
#9 0x0000000001dece3c in (anonymous namespace)::CSMBDirectory::GetDirectory (this=0x6952dd0, url=..., items=...)
at /home/xbmc/Unpacked/kodi/xbmc/filesystem/SMBDirectory.cpp:82
#10 0x0000000001d79fec in CGetDirectory::CGetJob:Big GrinoWork (this=0x82b0360)
at /home/xbmc/Unpacked/kodi/xbmc/filesystem/Directory.cpp:69
#11 0x0000000001522b37 in CJobWorker:Tonguerocess (this=0x64fa320) at /home/xbmc/Unpacked/kodi/xbmc/utils/JobManager.cpp:69
#12 0x00000000015bdf6f in CThread::Action (this=0x64fa320) at /home/xbmc/Unpacked/kodi/xbmc/threads/Thread.cpp:221
#13 0x00000000015bdc42 in CThread:ConfusedtaticThread (data=0x64fa320) at /home/xbmc/Unpacked/kodi/xbmc/threads/Thread.cpp:131
#14 0x00007f71c85195ca in start_thread () from /lib64/libpthread.so.0
#15 0x00007f71bde8b0ed in clone () from /lib64/libc.so.6