Bug 10236 - Server crashes when a user want to rename a random file
Server crashes when a user want to rename a random file
Status: NEW
Product: Samba 4.0
Classification: Unclassified
Component: File services
4.0.5
x64 Linux
: P5 major
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-29 17:05 UTC by Robert
Modified: 2013-11-04 12:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2013-10-29 17:05:19 UTC
When a user would like to rename a random file server crashes with the attached error messages.

When this happens nothing helps just a server reboot.
Until that the specified user is locked out from all shared resource.

For some reason I could not attach a file so sorry but..:

[2013/10/29 09:23:46.876432,  0] ../lib/dbwrap/dbwrap.c:193(dbwrap_check_lock_order)
  Lock order violation: Trying /opt/samba4/var/lock/smbXsrv_open_global.tdb at 1 while /opt/samba4/var/lock/locking.tdb at 1 is locked
[2013/10/29 09:23:46.876659,  0] ../lib/dbwrap/dbwrap.c:133(debug_lock_order)
  lock order:  1:/opt/samba4/var/lock/locking.tdb 2:<none> 3:<none>
[2013/10/29 09:23:46.876840,  0] ../source3/lib/util.c:810(smb_panic_s3)
  PANIC (pid 2760): invalid lock_order
[2013/10/29 09:23:46.890971,  0] ../source3/lib/util.c:921(log_stack_trace)
  BACKTRACE: 37 stack frames:
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #1 /opt/samba4/lib/libsmbconf.so.0(smb_panic_s3+0x22) [0x7f5740246fc2]
   #2 /opt/samba4/lib/libsamba-util.so.0(smb_panic+0x2f) [0x7f5741f790bf]
   #3 /opt/samba4/lib/private/libdbwrap.so(+0x2803) [0x7f573c50d803]
   #4 /opt/samba4/lib/private/libdbwrap.so(+0x2949) [0x7f573c50d949]
   #5 /opt/samba4/lib/private/libsmbd_base.so(smbXsrv_open_create+0x1df) [0x7f57417a384f]
   #6 /opt/samba4/lib/private/libsmbd_base.so(file_new+0x76) [0x7f5741702646]
   #7 /opt/samba4/lib/private/libsmbd_base.so(+0xf4dbd) [0x7f5741758dbd]
   #8 /opt/samba4/lib/private/libsmbd_base.so(create_file_default+0x1fc) [0x7f5741759ddc]
   #9 /opt/samba4/lib/private/libsmbd_base.so(+0x1ce0cb) [0x7f57418320cb]
   #10 /opt/samba4/lib/private/libsmbd_base.so(smb_vfs_call_create_file+0xa5) [0x7f5741760a45]
   #11 /opt/samba4/lib/vfs/full_audit.so(+0x77ec) [0x7f5724fc97ec]
   #12 /opt/samba4/lib/private/libsmbd_base.so(smb_vfs_call_create_file+0xa5) [0x7f5741760a45]
   #13 /opt/samba4/lib/private/libsmbd_base.so(open_file_fchmod+0x7f) [0x7f57417580cf]
   #14 /opt/samba4/lib/private/libsmbd_base.so(+0xea264) [0x7f574174e264]
   #15 /opt/samba4/lib/private/libsmbd_base.so(file_set_dosmode+0x1de) [0x7f574174f32e]
   #16 /opt/samba4/lib/private/libsmbd_base.so(rename_internals_fsp+0xabd) [0x7f574173104d]
   #17 /opt/samba4/lib/private/libsmbd_base.so(smbd_do_setfilepathinfo+0x114c) [0x7f5741745d1c]
   #18 /opt/samba4/lib/private/libsmbd_base.so(smbd_smb2_request_process_setinfo+0x62f) [0x7f574179c56f]
   #19 /opt/samba4/lib/private/libsmbd_base.so(smbd_smb2_request_dispatch+0x959) [0x7f574178b009]
   #20 /opt/samba4/lib/private/libsmbd_base.so(+0x127871) [0x7f574178b871]
   #21 /opt/samba4/lib/private/libsmbd_base.so(+0x124614) [0x7f5741788614]
   #22 /opt/samba4/lib/private/libsamba-sockets.so(+0xa2a2) [0x7f57400192a2]
   #23 /opt/samba4/lib/private/libsamba-sockets.so(+0x9d74) [0x7f5740018d74]
   #24 /opt/samba4/lib/private/libsamba-sockets.so(+0x8c74) [0x7f5740017c74]
   #25 /opt/samba4/lib/private/libtevent.so.0(tevent_common_loop_immediate+0xe2) [0x7f57404a2d72]
   #26 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x48) [0x7f574025d5e8]
   #27 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #28 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #29 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #30 /opt/samba4/sbin/smbd() [0x4097f4]
   #31 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #32 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #33 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #34 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #35 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #36 /opt/samba4/sbin/smbd() [0x406cc1]
[2013/10/29 09:23:46.893167,  0] ../source3/lib/util.c:822(smb_panic_s3)
  smb_panic(): calling panic action [/bin/sleep 999999999]
[2013/10/29 09:24:13.375039,  0] ../source3/lib/util.c:830(smb_panic_s3)
  smb_panic(): action returned status 0
[2013/10/29 09:24:13.375262,  0] ../source3/lib/dumpcore.c:317(dump_core)
  dumping core in /opt/samba4/var/cores/smbd
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1946 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1948 on SIGTERM
  Exiting pid 1949 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1944 on SIGTERM
  Exiting pid 1938 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1941 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1943 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1942 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1937 on SIGTERM
[2013/10/29 09:24:36.537797,  0] ../source3/smbd/service.c:784(make_connection_snum)
  canonicalize_connect_path failed for service hitelosztaly, path /home/ZIRC.TAK/hitelosztaly
[2013/10/29 09:24:36.538890,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/szabalyzatok) failed, reason: No such file or directory
[2013/10/29 09:24:36.538992,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x1ff15e5d, 'szabalyzatok'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.539113,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/kozos) failed, reason: No such file or directory
[2013/10/29 09:24:36.539176,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x6bc6c86d, 'kozos'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.539260,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/informatika) failed, reason: No such file or directory
[2013/10/29 09:24:36.539322,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x7e8c52c5, 'informatika'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.539393,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
  smbXsrv_tcon_disconnect_all: count[3] errors[3] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.539454,  0] ../source3/smbd/smbXsrv_session.c:1392(smbXsrv_session_logoff)
  smbXsrv_session_logoff(0x305acea9): smb2srv_tcon_disconnect_all() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.539528,  0] ../source3/smbd/smbXsrv_session.c:1442(smbXsrv_session_logoff_all)
  smbXsrv_session_logoff_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.539606,  0] ../source3/smbd/server_exit.c:132(exit_server_common)
  Server exit (termination signal)
[2013/10/29 09:24:36.539672,  0] ../source3/smbd/server_exit.c:135(exit_server_common)
  exit_server_common: smbXsrv_session_logoff_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
[2013/10/29 09:24:36.540138,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.540339,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smbXsrv_session_logoff_all failed
[2013/10/29 09:24:36.540420,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.541010,  0] ../source3/lib/util.c:921(log_stack_trace)
  BACKTRACE: 17 stack frames:
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
[2013/10/29 09:24:36.541572,  0] ../source3/lib/dumpcore.c:317(dump_core)
  dumping core in /opt/samba4/var/cores/smbd
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:115(sig_term)
  SIGTERM: killing children
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1731 on SIGTERM
[2013/10/29 09:24:36.547762,  0] ../source3/smbd/service.c:197(set_current_service)
[2013/10/29 09:24:36.547803,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/kozos) failed, reason: No such file or directory
  chdir (/home/ZIRC.TAK/hitelosztaly) failed, reason: No such file or directory
[2013/10/29 09:24:36.547884,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
[2013/10/29 09:24:36.547902,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x096e0c6e, 'kozos'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
  smbXsrv_tcon_disconnect(0x8e2ba39e, 'hitelosztaly'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.547984,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
[2013/10/29 09:24:36.547992,  0] ../source3/smbd/service.c:197(set_current_service)
  smbXsrv_tcon_disconnect_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
  chdir (/home/ZIRC.TAK/informatika) failed, reason: No such file or directory
[2013/10/29 09:24:36.548044,  0] ../source3/smbd/server_exit.c:121(exit_server_common)
[2013/10/29 09:24:36.548054,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x94532e74, 'informatika'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
  Server exit (termination signal)
[2013/10/29 09:24:36.548118,  0] ../source3/smbd/server_exit.c:124(exit_server_common)
[2013/10/29 09:24:36.548131,  0] ../source3/smbd/service.c:197(set_current_service)
  exit_server_common: smb1srv_tcon_disconnect_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
  chdir (/home/ZIRC.TAK/szabalyzatok) failed, reason: No such file or directory
[2013/10/29 09:24:36.548193,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0xe95d2874, 'szabalyzatok'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.548252,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
  smbXsrv_tcon_disconnect_all: count[3] errors[3] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.548309,  0] ../source3/smbd/smbXsrv_session.c:1392(smbXsrv_session_logoff)
  smbXsrv_session_logoff(0x3fa1d3b9): smb2srv_tcon_disconnect_all() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.548377,  0] ../source3/smbd/smbXsrv_session.c:1442(smbXsrv_session_logoff_all)
  smbXsrv_session_logoff_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.548435,  0] ../source3/smbd/server_exit.c:132(exit_server_common)
  Server exit (termination signal)
[2013/10/29 09:24:36.548495,  0] ../source3/smbd/server_exit.c:135(exit_server_common)
  exit_server_common: smbXsrv_session_logoff_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
[2013/10/29 09:24:36.548505,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.548626,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smb1srv_tcon_disconnect_all failed
[2013/10/29 09:24:36.548684,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.548880,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.549003,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smbXsrv_session_logoff_all failed
[2013/10/29 09:24:36.549072,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.549256,  0] ../source3/lib/util.c:921(log_stack_trace)
  BACKTRACE: 17 stack frames:
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
[2013/10/29 09:24:36.549592,  0] ../source3/lib/util.c:921(log_stack_trace)
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
  BACKTRACE: 17 stack frames:
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
[2013/10/29 09:24:36.549792,  0] ../source3/lib/dumpcore.c:317(dump_core)
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
  dumping core in /opt/samba4/var/cores/smbd
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
[2013/10/29 09:24:36.550022,  0] ../source3/smbd/service.c:197(set_current_service)
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
  chdir (/home/ZIRC.TAK/szabalyzatok) failed, reason: No such file or directory
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
[2013/10/29 09:24:36.550112,  0] ../source3/lib/dumpcore.c:317(dump_core)
[2013/10/29 09:24:36.550102,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  dumping core in /opt/samba4/var/cores/smbd
  smbXsrv_tcon_disconnect(0x1c4ceb38, 'szabalyzatok'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.550205,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/kozos) failed, reason: No such file or directory
[2013/10/29 09:24:36.550267,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0xbd986455, 'kozos'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.550326,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
  smbXsrv_tcon_disconnect_all: count[2] errors[2] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.550384,  0] ../source3/smbd/smbXsrv_session.c:1392(smbXsrv_session_logoff)
  smbXsrv_session_logoff(0x1b6dc71c): smb2srv_tcon_disconnect_all() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.550451,  0] ../source3/smbd/smbXsrv_session.c:1442(smbXsrv_session_logoff_all)
  smbXsrv_session_logoff_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.550517,  0] ../source3/smbd/server_exit.c:132(exit_server_common)
  Server exit (termination signal)
[2013/10/29 09:24:36.550582,  0] ../source3/smbd/server_exit.c:135(exit_server_common)
  exit_server_common: smbXsrv_session_logoff_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
[2013/10/29 09:24:36.551113,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.551302,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smbXsrv_session_logoff_all failed
[2013/10/29 09:24:36.551400,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1947 on SIGTERM
[2013/10/29 09:24:36.551975,  0] ../source3/lib/util.c:921(log_stack_trace)
  BACKTRACE: 17 stack frames:
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
[2013/10/29 09:24:36.552545,  0] ../source3/lib/dumpcore.c:317(dump_core)
  dumping core in /opt/samba4/var/cores/smbd
[2013/10/29 09:24:36.552758,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/szabalyzatok) failed, reason: No such file or directory
[2013/10/29 09:24:36.552849,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x6cb5c359, 'szabalyzatok'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.552955,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK/kozos) failed, reason: No such file or directory
[2013/10/29 09:24:36.553015,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0x814c5389, 'kozos'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.553075,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
  smbXsrv_tcon_disconnect_all: count[2] errors[2] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.553131,  0] ../source3/smbd/smbXsrv_session.c:1392(smbXsrv_session_logoff)
  smbXsrv_session_logoff(0x11545899): smb2srv_tcon_disconnect_all() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.553199,  0] ../source3/smbd/smbXsrv_session.c:1442(smbXsrv_session_logoff_all)
  smbXsrv_session_logoff_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.553257,  0] ../source3/smbd/server_exit.c:132(exit_server_common)
  Server exit (termination signal)
[2013/10/29 09:24:36.553327,  0] ../source3/smbd/server_exit.c:135(exit_server_common)
  exit_server_common: smbXsrv_session_logoff_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
[2013/10/29 09:24:36.553745,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.553896,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smbXsrv_session_logoff_all failed
[2013/10/29 09:24:36.553965,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.554521,  0] ../source3/lib/util.c:921(log_stack_trace)
  BACKTRACE: 17 stack frames:
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
[2013/10/29 09:24:36.555222,  0] ../source3/lib/dumpcore.c:317(dump_core)
  dumping core in /opt/samba4/var/cores/smbd
[2013/10/29 09:24:36.555684,  0] ../source3/smbd/service.c:197(set_current_service)
[2013/10/29 09:24:36.555705,  0] ../source3/smbd/service.c:197(set_current_service)
  chdir (/home/ZIRC.TAK) failed, reason: No such file or directory
  chdir (/home/ZIRC.TAK/kozos) failed, reason: No such file or directory
[2013/10/29 09:24:36.555785,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
[2013/10/29 09:24:36.555789,  0] ../source3/smbd/smbXsrv_tcon.c:972(smbXsrv_tcon_disconnect)
  smbXsrv_tcon_disconnect(0xf3272ab8, 'users'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
  smbXsrv_tcon_disconnect(0x53e2ff15, 'kozos'): set_current_service() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.555872,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
  smbXsrv_tcon_disconnect_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.555930,  0] ../source3/smbd/server_exit.c:121(exit_server_common)
  Server exit (termination signal)
[2013/10/29 09:24:36.556006,  0] ../source3/smbd/server_exit.c:124(exit_server_common)
  exit_server_common: smb1srv_tcon_disconnect_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
[2013/10/29 09:24:36.556026,  0] ../source3/smbd/smbXsrv_tcon.c:1021(smbXsrv_tcon_disconnect_all)
  smbXsrv_tcon_disconnect_all: count[2] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.556121,  0] ../source3/smbd/smbXsrv_session.c:1392(smbXsrv_session_logoff)
  smbXsrv_session_logoff(0xaf5972b3): smb2srv_tcon_disconnect_all() failed: NT_STATUS_INTERNAL_ERROR
[2013/10/29 09:24:36.556191,  0] ../source3/smbd/smbXsrv_session.c:1442(smbXsrv_session_logoff_all)
  smbXsrv_session_logoff_all: count[1] errors[1] first[NT_STATUS_INTERNAL_ERROR]
[2013/10/29 09:24:36.556251,  0] ../source3/smbd/server_exit.c:132(exit_server_common)
  Server exit (termination signal)
[2013/10/29 09:24:36.556311,  0] ../source3/smbd/server_exit.c:135(exit_server_common)
  exit_server_common: smbXsrv_session_logoff_all() failed (NT_STATUS_INTERNAL_ERROR) - triggering cleanup
[2013/10/29 09:24:36.556374,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.556505,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smb1srv_tcon_disconnect_all failed
[2013/10/29 09:24:36.556562,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.556733,  0] ../source3/smbd/server_exit.c:205(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.556880,  0] ../source3/smbd/server_exit.c:207(exit_server_common)
  Abnormal server exit: smbXsrv_session_logoff_all failed
[2013/10/29 09:24:36.556947,  0] ../source3/smbd/server_exit.c:208(exit_server_common)
  ===============================================================
[2013/10/29 09:24:36.557203,  0] ../source3/lib/util.c:921(log_stack_trace)
  BACKTRACE: 17 stack frames:
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
[2013/10/29 09:24:36.557499,  0] ../source3/lib/util.c:921(log_stack_trace)
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
  BACKTRACE: 17 stack frames:
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #0 /opt/samba4/lib/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f5740246eea]
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #1 /opt/samba4/lib/private/libsmbd_base.so(+0x140d60) [0x7f57417a4d60]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #2 /opt/samba4/lib/private/libsmbd_base.so(+0x1411ce) [0x7f57417a51ce]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #3 /opt/samba4/lib/private/libsmbd_shim.so(exit_server_cleanly+0x12) [0x7f573fb9f9a2]
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #4 /opt/samba4/lib/private/libsmbd_base.so(+0x10b2b0) [0x7f574176f2b0]
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
   #5 /opt/samba4/lib/private/libtevent.so.0(tevent_common_check_signal+0x157) [0x7f57404a5807]
   #6 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x24) [0x7f574025d5c4]
[2013/10/29 09:24:36.557723,  0] ../source3/lib/dumpcore.c:317(dump_core)
   #7 /opt/samba4/lib/libsmbconf.so.0(+0x378db) [0x7f574025d8db]
  dumping core in /opt/samba4/var/cores/smbd
   #8 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #9 /opt/samba4/lib/private/libsmbd_base.so(smbd_process+0xa7e) [0x7f574177550e]
   #10 /opt/samba4/sbin/smbd() [0x4097f4]
   #11 /opt/samba4/lib/libsmbconf.so.0(run_events_poll+0x294) [0x7f574025d834]
   #12 /opt/samba4/lib/libsmbconf.so.0(+0x37988) [0x7f574025d988]
   #13 /opt/samba4/lib/private/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f57404a24bd]
   #14 /opt/samba4/sbin/smbd(main+0x1218) [0x4067c8]
   #15 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f573ecba76d]
   #16 /opt/samba4/sbin/smbd() [0x406cc1]
[2013/10/29 09:24:36.558036,  0] ../source3/lib/dumpcore.c:317(dump_core)
  dumping core in /opt/samba4/var/cores/smbd
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1945 on SIGTERM
[2013/10/29 09:24:36,  0] ../source4/smbd/server.c:120(sig_term)
  Exiting pid 1940 on SIGTERM
[2013/10/29 09:25:35,  0] ../source4/smbd/server.c:369(binary_smbd_main)
  samba version 4.0.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2012
[2013/10/29 09:25:37,  0] ../source4/smbd/server.c:475(binary_smbd_main)
  samba: using 'standard' process model
[2013/10/29 09:25:37.623860,  0] ../source3/smbd/server.c:1280(main)
  standard input is not a socket, assuming -D option
[2013/10/29 09:25:39,  0] ../source4/librpc/rpc/dcerpc_util.c:660(dcerpc_pipe_auth_recv)
  Failed to bind to uuid 12345678-1234-abcd-ef00-01234567cffb for 12345678-1234-abcd-ef00-01234567cffb@ncalrpc:10.48.16.150[DEFAULT,sign,seal] NT_STATUS_ACCESS_DENIED
[2013/10/29 09:25:39,  0] ../source4/librpc/rpc/dcerpc_util.c:660(dcerpc_pipe_auth_recv)
  Failed to bind to uuid 12345678-1234-abcd-ef00-01234567cffb for 12345678-1234-abcd-ef00-01234567cffb@ncalrpc:10.48.16.150[DEFAULT,sign,seal] NT_STATUS_ACCESS_DENIED
[2013/10/29 09:25:40.229713,  0] ../source3/smbd/service.c:784(make_connection_snum)
Comment 1 Volker Lendecke 2013-10-30 10:02:36 UTC
Can you get us a debug level 10 log of such a failure? It would also help if you could install debuginfo packages or recompile with -g, so that we get line numbers in the stack trace.

Thanks
Comment 2 Robert 2013-11-04 12:57:55 UTC
(In reply to comment #1)
> Can you get us a debug level 10 log of such a failure? It would also help if
> you could install debuginfo packages or recompile with -g, so that we get line
> numbers in the stack trace.
> 
> Thanks


While I have got this kind of crash I figured out the rights of my users home directories are not good at all. (They could see eachothers homes)
So I revisited the rights of my shares...now I have not got any crash since that.

Robert