[Bug 1050795] New: smbd crashes on start on tumbleweed.
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795 Bug ID: 1050795 Summary: smbd crashes on start on tumbleweed. Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: 64bit OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: walter@obermiller.de QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- smbd fails to start with core dump. please advise. I read somewhere that there may be an issue with the tevent library ? Jul 26 19:05:08 sbart systemd[1]: Starting Samba SMB Daemon... Jul 26 19:05:08 sbart update-apparmor-samba-profile[7132]: Reloading updated AppArmor profile for Samba... Jul 26 19:05:09 sbart systemd[1]: smb.service: Supervising process 7144 which is not our child. We'll most likely not notice when it exits. Jul 26 19:05:09 sbart smbd[7145]: [2017/07/26 19:05:09.117341, 0] ../lib/util/fault.c:78(fault_report) Jul 26 19:05:09 sbart smbd[7145]: =============================================================== Jul 26 19:05:09 sbart smbd[7145]: [2017/07/26 19:05:09.117425, 0] ../lib/util/fault.c:79(fault_report) Jul 26 19:05:09 sbart smbd[7145]: INTERNAL ERROR: Signal 11 in pid 7145 (4.3.4-3565-SUSE-oS13.3-x86_64) Jul 26 19:05:09 sbart smbd[7145]: Please read the Trouble-Shooting section of the Samba HOWTO Jul 26 19:05:09 sbart smbd[7145]: [2017/07/26 19:05:09.117462, 0] ../lib/util/fault.c:81(fault_report) Jul 26 19:05:09 sbart smbd[7145]: =============================================================== Jul 26 19:05:09 sbart smbd[7145]: [2017/07/26 19:05:09.117488, 0] ../source3/lib/util.c:789(smb_panic_s3) Jul 26 19:05:09 sbart smbd[7145]: PANIC (pid 7145): internal error Jul 26 19:05:09 sbart smbd[7145]: [2017/07/26 19:05:09.118202, 0] ../source3/lib/util.c:900(log_stack_trace) Jul 26 19:05:09 sbart smbd[7145]: BACKTRACE: 5 stack frames: Jul 26 19:05:09 sbart smbd[7145]: #0 /usr/lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7fdd17b3cf2a] Jul 26 19:05:09 sbart smbd[7145]: #1 /usr/lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7fdd17b3d000] Jul 26 19:05:09 sbart smbd[7145]: #2 /usr/lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7fdd19bd882f] Jul 26 19:05:09 sbart smbd[7145]: #3 /usr/lib64/libsamba-util.so.0(+0x12a46) [0x7fdd19bd8a46] Jul 26 19:05:09 sbart smbd[7145]: #4 /lib64/libpthread.so.0(+0x11b80) [0x7fdd19e42b80] Jul 26 19:05:09 sbart smbd[7145]: [2017/07/26 19:05:09.118304, 0] ../source3/lib/dumpcore.c:318(dump_core) Jul 26 19:05:09 sbart smbd[7145]: dumping core in /var/log/samba/cores/smbd Jul 26 19:05:09 sbart smbd[7145]: Jul 26 19:05:09 sbart systemd[1]: Started Process Core Dump (PID 7146/UID 0). Jul 26 19:05:09 sbart systemd-coredump[7148]: Process 7145 (smbd) of user 0 dumped core. Jul 26 19:05:09 sbart smbd[7144]: [2017/07/26 19:05:09.954065, 0] ../lib/util/become_daemon.c:124(daemon_ready) Jul 26 19:05:09 sbart smbd[7144]: STATUS=daemon 'smbd' finished starting up and ready to serve connections Jul 26 19:05:09 sbart systemd[1]: Started Samba SMB Daemon. Jul 26 19:05:09 sbart smbd[7151]: [2017/07/26 19:05:09.964840, 0] ../lib/util/fault.c:78(fault_report) Jul 26 19:05:09 sbart smbd[7151]: =============================================================== Jul 26 19:05:09 sbart smbd[7151]: [2017/07/26 19:05:09.964972, 0] ../lib/util/fault.c:79(fault_report) Jul 26 19:05:09 sbart smbd[7151]: INTERNAL ERROR: Signal 11 in pid 7151 (4.3.4-3565-SUSE-oS13.3-x86_64) Jul 26 19:05:09 sbart smbd[7151]: Please read the Trouble-Shooting section of the Samba HOWTO Jul 26 19:05:09 sbart smbd[7151]: [2017/07/26 19:05:09.965019, 0] ../lib/util/fault.c:81(fault_report) Jul 26 19:05:09 sbart smbd[7151]: =============================================================== Jul 26 19:05:09 sbart smbd[7151]: [2017/07/26 19:05:09.965048, 0] ../source3/lib/util.c:789(smb_panic_s3) Jul 26 19:05:09 sbart smbd[7151]: PANIC (pid 7151): internal error Jul 26 19:05:09 sbart smbd[7151]: [2017/07/26 19:05:09.965988, 0] ../source3/lib/util.c:900(log_stack_trace) Jul 26 19:05:09 sbart smbd[7151]: BACKTRACE: 15 stack frames: Jul 26 19:05:09 sbart systemd[1]: Started Process Core Dump (PID 7157/UID 0). Jul 26 19:05:09 sbart smbd[7151]: #0 /usr/lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7fdd17b3cf2a] Jul 26 19:05:09 sbart smbd[7151]: #1 /usr/lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7fdd17b3d000] Jul 26 19:05:09 sbart smbd[7151]: #2 /usr/lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7fdd19bd882f] Jul 26 19:05:09 sbart smbd[7151]: #3 /usr/lib64/libsamba-util.so.0(+0x12a46) [0x7fdd19bd8a46] Jul 26 19:05:09 sbart smbd[7151]: #4 /lib64/libpthread.so.0(+0x11b80) [0x7fdd19e42b80] Jul 26 19:05:09 sbart smbd[7151]: #5 /usr/lib64/libtalloc.so.2(talloc_get_size+0x5) [0x7fdd1678dca5] Jul 26 19:05:09 sbart smbd[7151]: #6 /usr/lib64/libsmbconf.so.0(event_add_to_poll_args+0x76) [0x7fdd17b52456] Jul 26 19:05:09 sbart smbd[7151]: #7 /usr/lib64/libsmbconf.so.0(+0x37a11) [0x7fdd17b52a11] Jul 26 19:05:09 sbart smbd[7151]: #8 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7fdd1657d4dd] Jul 26 19:05:09 sbart smbd[7151]: #9 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fdd1657d6fb] Jul 26 19:05:09 sbart smbd[7151]: #10 /usr/lib64/samba/libsmbd-base-samba4.so(start_background_queue+0x290) [0x7fdd1971e6b0] Jul 26 19:05:09 sbart smbd[7151]: #11 /usr/lib64/samba/libsmbd-base-samba4.so(printing_subsystem_init+0x85) [0x7fdd1971e9a5] Jul 26 19:05:09 sbart smbd[7151]: #12 /usr/sbin/smbd(main+0x13bb) [0x558438ee3e2b] Jul 26 19:05:09 sbart smbd[7151]: #13 /lib64/libc.so.6(__libc_start_main+0xea) [0x7fdd161f246a] Jul 26 19:05:09 sbart smbd[7151]: #14 /usr/sbin/smbd(_start+0x29) [0x558438ee4499] Jul 26 19:05:09 sbart smbd[7151]: [2017/07/26 19:05:09.966212, 0] ../source3/lib/dumpcore.c:318(dump_core) Jul 26 19:05:09 sbart smbd[7151]: dumping core in /var/log/samba/cores/smbd Jul 26 19:05:09 sbart smbd[7151]: Jul 26 19:05:10 sbart smbd[7144]: [2017/07/26 19:05:10.008067, 0] ../lib/util/fault.c:78(fault_report) Jul 26 19:05:10 sbart smbd[7144]: =============================================================== Jul 26 19:05:10 sbart smbd[7144]: [2017/07/26 19:05:10.008136, 0] ../lib/util/fault.c:79(fault_report) Jul 26 19:05:10 sbart smbd[7144]: INTERNAL ERROR: Signal 11 in pid 7144 (4.3.4-3565-SUSE-oS13.3-x86_64) Jul 26 19:05:10 sbart smbd[7144]: Please read the Trouble-Shooting section of the Samba HOWTO Jul 26 19:05:10 sbart smbd[7144]: [2017/07/26 19:05:10.008185, 0] ../lib/util/fault.c:81(fault_report) Jul 26 19:05:10 sbart smbd[7144]: =============================================================== Jul 26 19:05:10 sbart smbd[7144]: [2017/07/26 19:05:10.008213, 0] ../source3/lib/util.c:789(smb_panic_s3) Jul 26 19:05:10 sbart smbd[7144]: PANIC (pid 7144): internal error Jul 26 19:05:10 sbart smbd[7144]: [2017/07/26 19:05:10.008638, 0] ../source3/lib/util.c:900(log_stack_trace) Jul 26 19:05:10 sbart smbd[7144]: BACKTRACE: 13 stack frames: Jul 26 19:05:10 sbart smbd[7144]: #0 /usr/lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7fdd17b3cf2a] Jul 26 19:05:10 sbart smbd[7144]: #1 /usr/lib64/libsmbconf.so.0(smb_panic_s3+0x20) [0x7fdd17b3d000] Jul 26 19:05:10 sbart smbd[7144]: #2 /usr/lib64/libsamba-util.so.0(smb_panic+0x2f) [0x7fdd19bd882f] Jul 26 19:05:10 sbart smbd[7144]: #3 /usr/lib64/libsamba-util.so.0(+0x12a46) [0x7fdd19bd8a46] Jul 26 19:05:10 sbart smbd[7144]: #4 /lib64/libpthread.so.0(+0x11b80) [0x7fdd19e42b80] Jul 26 19:05:10 sbart smbd[7144]: #5 /usr/lib64/libtalloc.so.2(talloc_get_size+0x5) [0x7fdd1678dca5] Jul 26 19:05:10 sbart smbd[7144]: #6 /usr/lib64/libsmbconf.so.0(event_add_to_poll_args+0x76) [0x7fdd17b52456] Jul 26 19:05:10 sbart smbd[7144]: #7 /usr/lib64/libsmbconf.so.0(+0x37a11) [0x7fdd17b52a11] Jul 26 19:05:10 sbart smbd[7144]: #8 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7fdd1657d4dd] Jul 26 19:05:10 sbart smbd[7144]: #9 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fdd1657d6fb] Jul 26 19:05:10 sbart smbd[7144]: #6 /usr/lib64/libsmbconf.so.0(event_add_to_poll_args+0x76) [0x7fdd17b52456] Jul 26 19:05:10 sbart smbd[7144]: #7 /usr/lib64/libsmbconf.so.0(+0x37a11) [0x7fdd17b52a11] Jul 26 19:05:10 sbart smbd[7144]: #8 /usr/lib64/libtevent.so.0(_tevent_loop_once+0x9d) [0x7fdd1657d4dd] Jul 26 19:05:10 sbart smbd[7144]: #9 /usr/lib64/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7fdd1657d6fb] Jul 26 19:05:10 sbart smbd[7144]: #10 /usr/sbin/smbd(main+0x1877) [0x558438ee42e7] Jul 26 19:05:10 sbart smbd[7144]: #11 /lib64/libc.so.6(__libc_start_main+0xea) [0x7fdd161f246a] Jul 26 19:05:10 sbart smbd[7144]: #12 /usr/sbin/smbd(_start+0x29) [0x558438ee4499] Jul 26 19:05:10 sbart smbd[7144]: [2017/07/26 19:05:10.008835, 0] ../source3/lib/dumpcore.c:318(dump_core) Jul 26 19:05:10 sbart smbd[7144]: dumping core in /var/log/samba/cores/smbd Jul 26 19:05:10 sbart smbd[7144]: Jul 26 19:05:10 sbart systemd[1]: Started Process Core Dump (PID 7159/UID 0). Jul 26 19:05:10 sbart systemd[1]: smb.service: Main process exited, code=dumped, status=6/ABRT Jul 26 19:05:10 sbart systemd[1]: smb.service: Unit entered failed state. Jul 26 19:05:10 sbart systemd[1]: smb.service: Failed with result 'core-dump'. Jul 26 19:05:10 sbart systemd-coredump[7158]: Process 7151 (smbd) of user 0 dumped core. Jul 26 19:05:10 sbart systemd-coredump[7160]: Process 7144 (smbd) of user 0 dumped core. Jul 26 19:13:07 sbart kernel: perf: interrupt took too long (3138 > 3127), lowering kernel.perf_event_max_sample_rate to 63500 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795#c1
Noel Power
smbd fails to start with core dump. please advise.
couple of things 1) what version of samba are you using 2) does it core every time 3) what is the contents of smb.conf 4) is there a core file in /var/log/samba/cores/smbd if so please upload it -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795#c2
--- Comment #2 from W Obermiller
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795#c3
--- Comment #3 from W Obermiller
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795
http://bugzilla.opensuse.org/show_bug.cgi?id=1050795#c4
Noel Power
rpm -qi samba Name : samba Version : 4.3.4 Release : 1.1 Architecture: x86_64 Install Date: Di 09 Aug 2016 13:04:41 CEST Group : Productivity/Networking/Samba Size : 1544308 License : GPL-3.0+ Signature : RSA/SHA256, Mi 20 Jan 2016 11:05:53 CET, Key ID b88b2fd43dbdc284 Source RPM : samba-4.3.4-1.1.src.rpm Build Date : Mi 20 Jan 2016 11:01:43 CET
smbd claims to dump core every time, but there is no core image in /var/log/samba/cores/smbd (just started smb moments ago, no core)
smb.conf is attached.
that's a very old version of samba, current tumbleweed version is rpm -qi samba Name : samba Version : 4.6.5+git.32.af7a173b7a1 works out of the box (with standard smb.conf) for me rcsmb start linux-s8i4:~ # rcsmb status * smb.service - Samba SMB Daemon Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: Active: active (running) since Thu 2017-07-27 12:06:25 IST; 4s ago Process: 3766 ExecStartPre=/usr/share/samba/update-apparmor-samba-profile (cod Main PID: 3771 (smbd) Status: "smbd: ready to serve connections..." Tasks: 4 (limit: 4915) CGroup: /system.slice/smb.service |-3771 /usr/sbin/smbd -D |-3772 /usr/sbin/smbd -D |-3773 /usr/sbin/smbd -D `-3775 /usr/sbin/smbd -D Jul 27 12:06:25 linux-s8i4 systemd[1]: Starting Samba SMB Daemon... Jul 27 12:06:25 linux-s8i4 systemd[1]: smb.service: Supervising process 3771 whi Jul 27 12:06:25 linux-s8i4 systemd[1]: Started Samba SMB Daemon. Jul 27 12:06:25 linux-s8i4 smbd[3771]: [2017/07/27 12:06:25.439513, 0] ../lib/u Jul 27 12:06:25 linux-s8i4 smbd[3771]: STATUS=daemon 'smbd' finished start please update you system, I'm closing this as works for me, if you find after updating your system that it still is core dumping please feel free to reopen -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com