Bug 12388 - core dumps when write data to samba
core dumps when write data to samba
Status: RESOLVED DUPLICATE of bug 11394
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.2.0
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-10-23 08:54 UTC by crashskyshadow
Modified: 2016-10-26 00:41 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description crashskyshadow 2016-10-23 08:54:23 UTC
Oct 22 19:57:01 icfs02 smbd[3819996]: [2016/10/22 19:57:01.866648,  0] ../lib/util/fault.c:78(fault_report)
Oct 22 19:57:01 icfs02 smbd[3819996]:   ===============================================================
Oct 22 19:57:01 icfs02 smbd[3819996]: [2016/10/22 19:57:01.880917,  0] ../lib/util/fault.c:79(fault_report)
Oct 22 19:57:01 icfs02 smbd[3819996]:   INTERNAL ERROR: Signal 11 in pid 3819996 (4.2.0)
Oct 22 19:57:01 icfs02 smbd[3819996]:   Please read the Trouble-Shooting section of the Samba HOWTO
Oct 22 19:57:01 icfs02 smbd[3819996]: [2016/10/22 19:57:01.881029,  0] ../lib/util/fault.c:81(fault_report)
Oct 22 19:57:01 icfs02 smbd[3819996]:   ===============================================================
Oct 22 19:57:01 icfs02 smbd[3819996]: [2016/10/22 19:57:01.881113,  0] ../source3/lib/util.c:788(smb_panic_s3)
Oct 22 19:57:01 icfs02 smbd[3819996]:   PANIC (pid 3819996): internal error
Oct 22 19:57:01 icfs02 smbd[3819996]: [2016/10/22 19:57:01.881864,  0] ../source3/lib/util.c:899(log_stack_trace)
Oct 22 19:57:01 icfs02 smbd[3819996]:   BACKTRACE: 29 stack frames:
Oct 22 19:57:01 icfs02 smbd[3819996]:    #0 /usr/lib64/libsmbconf.so.0(log_stack_trace+0x1a) [0x7f955b69fdba]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #1 /usr/lib64/libsmbconf.so.0(smb_panic_s3+0x23) [0x7f955b69fe83]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #2 /usr/lib64/libsamba-util.so.0(smb_panic+0x3a) [0x7f955d902e9a]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #3 /usr/lib64/libsamba-util.so.0(+0x230b2) [0x7f955d9030b2]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #4 /lib64/libpthread.so.0(+0xf710) [0x7f955db21710]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #5 /usr/lib64/samba/libsmbd-base-samba4.so(file_close_user+0x9) [0x7f955d45ed29]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #6 /usr/lib64/samba/libsmbd-base-samba4.so(smbXsrv_session_logoff+0xe9) [0x7f955d507c79]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #7 /usr/lib64/samba/libsmbd-base-samba4.so(+0x161726) [0x7f955d508726]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #8 /usr/lib64/samba/libtalloc.so.2(+0x62fe) [0x7f955cf9b2fe]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #9 /usr/lib64/samba/libtalloc.so.2(+0x60ab) [0x7f955cf9b0ab]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #10 /usr/lib64/samba/libtalloc.so.2(+0x60ab) [0x7f955cf9b0ab]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #11 /usr/lib64/samba/libsmbd-base-samba4.so(+0x1686a8) [0x7f955d50f6a8]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #12 /usr/lib64/samba/libsmbd-base-samba4.so(+0x168a3e) [0x7f955d50fa3e]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #13 /usr/lib64/samba/libsmbd-shim-samba4.so(exit_server_cleanly+0x12) [0x7f955b052a32]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #14 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_server_connection_terminate_ex+0x2b) [0x7f955d4ee24b]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #15 /usr/lib64/samba/libsmbd-base-samba4.so(+0x14afa6) [0x7f955d4f1fa6]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #16 /usr/lib64/libsmbconf.so.0(run_events_poll+0x2b7) [0x7f955b6b58d7]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #17 /usr/lib64/libsmbconf.so.0(+0x37d26) [0x7f955b6b5d26]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #18 /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f955cb8a8bd]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #19 /usr/lib64/samba/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f955cb8a93b]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #20 /usr/lib64/samba/libsmbd-base-samba4.so(smbd_process+0x74e) [0x7f955d4dbbce]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #21 smbd(+0x93ac) [0x7f955df5a3ac]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #22 /usr/lib64/libsmbconf.so.0(run_events_poll+0x2b7) [0x7f955b6b58d7]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #23 /usr/lib64/libsmbconf.so.0(+0x37d26) [0x7f955b6b5d26]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #24 /usr/lib64/samba/libtevent.so.0(_tevent_loop_once+0x9d) [0x7f955cb8a8bd]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #25 /usr/lib64/samba/libtevent.so.0(tevent_common_loop_wait+0x1b) [0x7f955cb8a93b]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #26 smbd(main+0x1640) [0x7f955df5c010]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #27 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f9559f17d1d]
Oct 22 19:57:01 icfs02 smbd[3819996]:    #28 smbd(+0x5e09) [0x7f955df56e09]
Oct 22 19:57:01 icfs02 smbd[3819996]: [2016/10/22 19:57:01.907534,  0] ../source3/lib/dumpcore.c:318(dump_core)
Oct 22 19:57:01 icfs02 smbd[3819996]:   dumping core in /var/log/samba/cores/smbd
Oct 22 19:57:01 icfs02 smbd[3819996]: 
Oct 22 19:58:52 icfs02 smbd[3843166]: [2016/10/22 19:58:52.926950,  0] ../source3/printing/print_cups.c:151(cups_connect)
Oct 22 19:58:52 icfs02 smbd[3843166]:   Unable to connect to CUPS server localhost:631 - Connection refused
Comment 1 Volker Lendecke 2016-10-24 07:03:32 UTC
Is this somehow reproducible? If so, can you run Samba with

"debug level = 10"

and send us the log.smbd leading to this crash? Further steps would be to recompile Samba with debug symbols (CFLAGS=-g; export CFLAGS before configure) and run it under valgrind. Then send us the output of valgrind.

Thanks!
Comment 2 crashskyshadow 2016-10-26 00:41:57 UTC
fixed after patch bugfix 11394

*** This bug has been marked as a duplicate of bug 11394 ***