Samba crashes when connecting to it with Android app
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When I connect to Samba with the Android App "Solid Explorer", I can reliably crash Samba.
The same app works without problems when I connect to Samba on Ubuntu 22.10
Samba does not crash when I connect to it from another Ubuntu or Windows machine.
I use a username and password to access Samba.
Also, when I run "ubuntu-bug /var/crash/
.......
.......
File "/usr/lib/
symb[
...... File "/usr/share/
ui.
.AttributeError: 'NoneType' object has no attribute 'information'
.......
Other information:
lsb_release -rd
Description: Ubuntu 22.04.2 LTS
Release: 22.04
apt-cache policy samba
samba:
Installed: 2:4.15.
Candidate: 2:4.15.
Version table:
*** 2:4.15.
500 http://
500 http://
100 /var/lib/
2:
500 http://
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: samba 2:4.15.
ProcVersionSign
Uname: Linux 5.15.0-69-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
Date: Sun Apr 9 05:16:54 2023
InstallationDate: Installed on 2022-06-20 (292 days ago)
InstallationMedia: Ubuntu-Server 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220421)
NmbdLog:
OtherFailedConnect: Yes
SambaServerRegr
SmbConfIncluded: Yes
SmbLog:
SourcePackage: samba
TestparmExitCode: 0
UpgradeStatus: No upgrade log present (probably fresh install)
Regarding the apport hook crash, that should rather be its own bug report since it'll need a distinct fix. I've filed that for you as LP: #2016776.
Regarding the crash, I decoded your crash dump manually to get a stack trace. I wasn't able to get the symbols to load even with debuginfod, but maybe this will give some clue anyway:
#0 __pthread_ kill_implementa tion (no_tid=0, signo=6, threadid= 140407134892032 ) at ./nptl/ pthread_ kill.c: 44 84416, 140407134891864, 140722223243408, 140407209314080, 10}} kill_internal (signo=6, threadid= 140407134892032 ) at ./nptl/ pthread_ kill.c: 78 140407134892032 , signo=signo@ entry=6) at ./nptl/ pthread_ kill.c: 89 posix/raise. c:26 handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {0 <repeats 14 times>, 268435456, 0}}, sa_flags = -70385920, sa_restorer = 0x0} 84416, 140407134891864, 140722223243408, 140407209314080, 10, 4, 94455256317952, 140407203554592, 140722223243712, 0, 32}} 64-linux- gnu/libsmbconf. so.0 64-linux- gnu/libsmbconf. so.0 64-linux- gnu/libsamba- util.so. 0 64-linux- gnu/libsamba- util.so. 0 x86_64/ multiarch/ strlen- avx2.S: 74 64-linux- gnu/libsmbconf. so.0 x86_64- linux-gnu/ samba/libsmbd- base.so. 0 request_ proce.. .
tid = <optimized out>
ret = 0
pd = 0x7fb315663000
old_mask = {__val = {140407203554592, 32, 94457834845924, 94457834845824, 94457834845924, 0, 0, 0, 0, 0, 0, 136752418668610
ret = <optimized out>
pd = <optimized out>
old_mask = <optimized out>
ret = <optimized out>
tid = <optimized out>
ret = <optimized out>
resultvar = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
__futex = <optimized out>
resultvar = <optimized out>
__arg3 = <optimized out>
__arg2 = <optimized out>
__arg1 = <optimized out>
_a3 = <optimized out>
_a2 = <optimized out>
_a1 = <optimized out>
__futex = <optimized out>
__private = <optimized out>
__oldval = <optimized out>
result = <optimized out>
#1 __pthread_
No locals.
#2 __GI___pthread_kill (threadid=
No locals.
#3 0x00007fb3197de476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/
ret = <optimized out>
#4 0x00007fb3197c47f3 in __GI_abort () at ./stdlib/abort.c:79
save_stage = 1
act = {__sigaction_
sigs = {__val = {32, 0, 0, 0, 0, 136752418668610
#5 0x00007fb319ce13e4 in dump_core () from /lib/x86_
No symbol table info available.
#6 0x00007fb319cb5b35 in smb_panic_s3 () from /lib/x86_
No symbol table info available.
#7 0x00007fb31a0dd47e in smb_panic () from /lib/x86_
No symbol table info available.
#8 0x00007fb31a0dd505 in ?? () from /lib/x86_
No symbol table info available.
#9 <signal handler called>
No locals.
#10 __strlen_avx2 () at ../sysdeps/
No locals.
#11 0x00007fb319cc7711 in volume_label () from /lib/x86_
No symbol table info available.
#12 0x00007fb319ecc703 in smbd_do_qfsinfo () from /usr/lib/
No symbol table info available.
#13 0x00007fb319f2f385 in smbd_smb2_