[Pkg-samba-maint] Bug#859813: samba-vfs-modules: segfault after upgrade to 2:4.2.14+dfsg-0+deb8u4 with vfs_gluster (package rebuild from sources)

Laurent Bardi none132 at gmail.com
Fri Apr 7 15:54:31 UTC 2017


Package: samba-vfs-modules
Version: 2:4.2.14+dfsg-0+deb8u5
Severity: normal

Dear Maintainer,

A)

I was using samba 2:4.2.10+dfsg-0+deb8u3


With the glusterfs package from glusterfs site
(https://download.gluster.org/pub/gluster/glusterfs/LTM-3.10/Debian/jessie/apt/
) gluster version 3.10 installed, i can do :

apt-get source samba
apt-get -y build-dep samba
cd sambaXXX
debuild -us -uc
# in order to have the vfs shared lib
install  via dpkg samba 4.2.10 and use for a share in smb.conf

kernel share modes = No
vfs objects = glusterfs
path = /%U
glusterfs:loglevel = 1
glusterfs:logfile = /var/log/samba/glusterfs-homes.log
glusterfs:volume = vnas_gluster_users

All fine;

B)
if i do this with samba 2:4.2.14+dfsg-0+deb8u5
smbd craches with :
[2017/04/07 11:15:04.003562,  0] ../source3/lib/dumpcore.c:318(dump_core)
  dumping core in /var/log/samba/cores/smbd
[2017/04/07 11:15:25.372344,  0]
.../source3/modules/vfs_glusterfs.c:257(vfs_gluster_connect)
  vnas_gluster_users: Initialized volume from server localhost
*** Error in `/usr/sbin/smbd': free(): invalid pointer: 0x00007fdf8c79dd40 ***
[2017/04/07 11:15:25.375346,  0] ../lib/util/fault.c:78(fault_report)
  ===============================================================
[2017/04/07 11:15:25.375444,  0] ../lib/util/fault.c:79(fault_report)
  INTERNAL ERROR: Signal 6 in pid 13189 (4.2.14-Debian)
  Please read the Trouble-Shooting section of the Samba HOWTO
[2017/04/07 11:15:25.375501,  0] ../lib/util/fault.c:81(fault_report)
  ===============================================================
[2017/04/07 11:15:25.375535,  0] ../source3/lib/util.c:788(smb_panic_s3)
  PANIC (pid 13189): internal error
[2017/04/07 11:15:25.376597,  0] ../source3/lib/util.c:899(log_stack_trace)
  BACKTRACE: 31 stack frames:
   #0 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(log_stack_trace+0x1a)
[0x7fdf88a2ff8a]
   #1 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x20)
[0x7fdf88a30070]
   #2 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x2f)
[0x7fdf8a6ebe5f]
   #3 /usr/lib/x86_64-linux-gnu/libsamba-util.so.0(+0x2407f) [0x7fdf8a6ec07f]
   #4 /lib/x86_64-linux-gnu/libpthread.so.0(+0xf890) [0x7fdf8a90d890]
   #5 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fdf870d7067]
   #6 /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fdf870d8448]
   #7 /lib/x86_64-linux-gnu/libc.so.6(+0x731b4) [0x7fdf871151b4]
   #8 /lib/x86_64-linux-gnu/libc.so.6(+0x7898e) [0x7fdf8711a98e]
   #9 /lib/x86_64-linux-gnu/libc.so.6(+0x79696) [0x7fdf8711b696]
   #10 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x12b565)
[0x7fdf8a2be565]
   #11 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x12c464)
[0x7fdf8a2bf464]
   #12 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x12cf24)
[0x7fdf8a2bff24]
   #13 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(make_connection+0xf4)
[0x7fdf8a2c02f4]
   #14 /usr/lib/x86_64-linux-gnu/samba/libsmbd-
base.so.0(reply_tcon_and_X+0x65d) [0x7fdf8a26d22d]
   #15 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x126953)
[0x7fdf8a2b9953]
   #16 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x1286f2)
[0x7fdf8a2bb6f2]
   #17 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(+0x129e2d)
[0x7fdf8a2bce2d]
   #18 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x171)
[0x7fdf88a503a1]
   #19 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x4a617) [0x7fdf88a50617]
   #20 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d)
[0x7fdf8745143d]
   #21 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b)
[0x7fdf874515db]
   #22 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(smbd_process+0x718)
[0x7fdf8a2be188]
   #23 /usr/sbin/smbd(+0xadd0) [0x7fdf8ad48dd0]
   #24 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(run_events_poll+0x171)
[0x7fdf88a503a1]
   #25 /usr/lib/x86_64-linux-gnu/libsmbconf.so.0(+0x4a617) [0x7fdf88a50617]
   #26 /usr/lib/x86_64-linux-gnu/libtevent.so.0(_tevent_loop_once+0x8d)
[0x7fdf8745143d]
   #27 /usr/lib/x86_64-linux-gnu/libtevent.so.0(tevent_common_loop_wait+0x1b)
[0x7fdf874515db]
   #28 /usr/sbin/smbd(main+0x17e5) [0x7fdf8ad455e5]
   #29 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fdf870c3b45]
   #30 /usr/sbin/smbd(+0x76e4) [0x7fdf8ad456e4]


I suspect it is like bug https://bugs.debian.org/cgi-
bin/bugreport.cgi?bug=858590















-- System Information:
Debian Release: 8.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages samba-vfs-modules depends on:
ii  libaio1     0.3.110-1
ii  libattr1    1:2.4.47-2
ii  libbsd0     0.7.0-2
ii  libc6       2.19-18+deb8u7
ii  libtalloc2  2.1.2-0+deb8u1
ii  libtdb1     1.3.6-0+deb8u1
ii  libtevent0  0.9.28-0+deb8u1
ii  samba-libs  2:4.2.14+dfsg-0+deb8u5

samba-vfs-modules recommends no packages.

samba-vfs-modules suggests no packages.

-- no debconf information



More information about the Pkg-samba-maint mailing list