[PATCH] restructure messaging

Stefan Metzmacher metze at samba.org
Wed Oct 5 09:23:35 UTC 2016


Am 04.10.2016 um 23:51 schrieb Jeremy Allison:
> On Mon, Oct 03, 2016 at 04:43:39PM -0700, Jeremy Allison wrote:
>> On Mon, Oct 03, 2016 at 10:00:13AM -0700, Jeremy Allison wrote:
>>> On Fri, Sep 30, 2016 at 08:26:47AM -0700, Volker Lendecke wrote:
>>>>
>>>> Attached find a version that survived two autobuilds. Thanks to metze
>>>> for some insight on tevent_fd, see patch 30/30 :-)
>>>
>>> Just looked at that one - that's a clever use of flags being
>>> zero'ed out :-).
>>>
>>> I'm back in the office and alive (somewhat) again. I'll
>>> review asap !
>>
>> Up to patch 8/30... This is where things start to get
>> get interesting (pthreadpool changes :-).
>>
>> Hopefully will be done sometime tomorrow !
> 
> OK - Reviewed-by: Jeremy Allison <jra at samba.org>. Pushed.

I think 2 patches were missing in that push.

I'm currently getting panics during the environment teardown.
(see out.tevent-segfault01.txt)

I think these are the ones Volker already fixed during the
flight back.

Is it ok to push the attached 3 patches?

metze



-------------- next part --------------
>From 5f0aea8b728d3d3627fda4ec437e929b0cf7c1a6 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Fri, 30 Sep 2016 22:17:44 -0700
Subject: [PATCH 1/3] messages_dgm: Avoid an unnecessary declaration

Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Stefan Metzmacher <metze at samba.org>
---
 source3/lib/messages_dgm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/source3/lib/messages_dgm.c b/source3/lib/messages_dgm.c
index 7991d42..1ca1632 100644
--- a/source3/lib/messages_dgm.c
+++ b/source3/lib/messages_dgm.c
@@ -41,8 +41,6 @@ struct sun_path_buf {
 	char buf[sizeof(struct sockaddr_un)];
 };
 
-struct messaging_dgm_context;
-
 struct messaging_dgm_out {
 	struct messaging_dgm_out *prev, *next;
 	struct messaging_dgm_context *ctx;
-- 
1.9.1


>From 352a760420ce9563aed07ef8f1fe9455ada5eb79 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Fri, 30 Sep 2016 21:53:44 -0700
Subject: [PATCH 2/3] messaging: Add an indirection for
 messaging_dgm_register_tevent_context

Only one tevent_fd is possible for every file descriptor.

Signed-off-by: Volker Lendecke <vl at samba.org>
Reviewed-by: Stefan Metzmacher <metze at samba.org>
---
 source3/lib/messages.c         |   9 ++--
 source3/lib/messages_dgm.c     | 100 +++++++++++++++++++++++++++++++++++++++--
 source3/lib/messages_dgm.h     |   5 ++-
 source3/lib/messages_dgm_ref.c |  17 ++++---
 4 files changed, 113 insertions(+), 18 deletions(-)

diff --git a/source3/lib/messages.c b/source3/lib/messages.c
index fd128e9..08942a6 100644
--- a/source3/lib/messages.c
+++ b/source3/lib/messages.c
@@ -637,7 +637,7 @@ static struct messaging_rec *messaging_rec_dup(TALLOC_CTX *mem_ctx,
 struct messaging_filtered_read_state {
 	struct tevent_context *ev;
 	struct messaging_context *msg_ctx;
-	void *tevent_handle;
+	struct messaging_dgm_fde *fde;
 
 	bool (*filter)(struct messaging_rec *rec, void *private_data);
 	void *private_data;
@@ -674,9 +674,8 @@ struct tevent_req *messaging_filtered_read_send(
 	 */
 	tevent_req_defer_callback(req, state->ev);
 
-	state->tevent_handle = messaging_dgm_register_tevent_context(
-		state, ev);
-	if (tevent_req_nomem(state->tevent_handle, req)) {
+	state->fde = messaging_dgm_register_tevent_context(state, ev);
+	if (tevent_req_nomem(state->fde, req)) {
 		return tevent_req_post(req, ev);
 	}
 
@@ -718,7 +717,7 @@ static void messaging_filtered_read_cleanup(struct tevent_req *req,
 
 	tevent_req_set_cleanup_fn(req, NULL);
 
-	TALLOC_FREE(state->tevent_handle);
+	TALLOC_FREE(state->fde);
 
 	/*
 	 * Just set the [new_]waiters entry to NULL, be careful not to mess
diff --git a/source3/lib/messages_dgm.c b/source3/lib/messages_dgm.c
index 1ca1632..39b779b 100644
--- a/source3/lib/messages_dgm.c
+++ b/source3/lib/messages_dgm.c
@@ -41,6 +41,25 @@ struct sun_path_buf {
 	char buf[sizeof(struct sockaddr_un)];
 };
 
+/*
+ * We can only have one tevent_fd per dgm_context and per
+ * tevent_context. Maintain a list of registered tevent_contexts per
+ * dgm_context.
+ */
+struct messaging_dgm_fde_ev {
+	struct messaging_dgm_fde_ev *prev, *next;
+
+	/*
+	 * Backreference to enable DLIST_REMOVE from our
+	 * destructor. Also, set to NULL when the dgm_context dies
+	 * before the messaging_dgm_fde_ev.
+	 */
+	struct messaging_dgm_context *ctx;
+
+	struct tevent_context *ev;
+	struct tevent_fd *fde;
+};
+
 struct messaging_dgm_out {
 	struct messaging_dgm_out *prev, *next;
 	struct messaging_dgm_context *ctx;
@@ -75,6 +94,7 @@ struct messaging_dgm_context {
 	int sock;
 	struct messaging_dgm_in_msg *in_msgs;
 
+	struct messaging_dgm_fde_ev *fde_evs;
 	void (*recv_cb)(struct tevent_context *ev,
 			const uint8_t *msg,
 			size_t msg_len,
@@ -936,6 +956,11 @@ static int messaging_dgm_context_destructor(struct messaging_dgm_context *c)
 	while (c->in_msgs != NULL) {
 		TALLOC_FREE(c->in_msgs);
 	}
+	while (c->fde_evs != NULL) {
+		tevent_fd_set_flags(c->fde_evs->fde, 0);
+		c->fde_evs->ctx = NULL;
+		DLIST_REMOVE(c->fde_evs, c->fde_evs);
+	}
 
 	close(c->sock);
 
@@ -1349,14 +1374,83 @@ int messaging_dgm_wipe(void)
 	return 0;
 }
 
-struct tevent_fd *messaging_dgm_register_tevent_context(
+struct messaging_dgm_fde {
+	struct tevent_fd *fde;
+};
+
+static int messaging_dgm_fde_ev_destructor(struct messaging_dgm_fde_ev *fde_ev)
+{
+	if (fde_ev->ctx != NULL) {
+		DLIST_REMOVE(fde_ev->ctx->fde_evs, fde_ev);
+		fde_ev->ctx = NULL;
+	}
+	return 0;
+}
+
+struct messaging_dgm_fde *messaging_dgm_register_tevent_context(
 	TALLOC_CTX *mem_ctx, struct tevent_context *ev)
 {
 	struct messaging_dgm_context *ctx = global_dgm_context;
+	struct messaging_dgm_fde_ev *fde_ev;
+	struct messaging_dgm_fde *fde;
 
 	if (ctx == NULL) {
 		return NULL;
 	}
-	return tevent_add_fd(ev, mem_ctx, ctx->sock, TEVENT_FD_READ,
-			     messaging_dgm_read_handler, ctx);
+
+	fde = talloc(mem_ctx, struct messaging_dgm_fde);
+	if (fde == NULL) {
+		return NULL;
+	}
+
+	for (fde_ev = ctx->fde_evs; fde_ev != NULL; fde_ev = fde_ev->next) {
+		if ((fde_ev->ev == ev) &&
+		    (tevent_fd_get_flags(fde_ev->fde) != 0)) {
+			break;
+		}
+	}
+
+	if (fde_ev == NULL) {
+		fde_ev = talloc(fde, struct messaging_dgm_fde_ev);
+		if (fde_ev == NULL) {
+			return NULL;
+		}
+		fde_ev->fde = tevent_add_fd(
+			ev, fde_ev, ctx->sock, TEVENT_FD_READ,
+			messaging_dgm_read_handler, ctx);
+		if (fde_ev->fde == NULL) {
+			TALLOC_FREE(fde);
+			return NULL;
+		}
+		fde_ev->ev = ev;
+		fde_ev->ctx = ctx;
+		DLIST_ADD(ctx->fde_evs, fde_ev);
+		talloc_set_destructor(
+			fde_ev, messaging_dgm_fde_ev_destructor);
+	} else {
+		/*
+		 * Same trick as with tdb_wrap: The caller will never
+		 * see the talloc_referenced object, the
+		 * messaging_dgm_fde_ev, so problems with
+		 * talloc_unlink will not happen.
+		 */
+		if (talloc_reference(fde, fde_ev) == NULL) {
+			TALLOC_FREE(fde);
+			return NULL;
+		}
+	}
+
+	fde->fde = fde_ev->fde;
+	return fde;
+}
+
+bool messaging_dgm_fde_active(struct messaging_dgm_fde *fde)
+{
+	uint16_t flags;
+
+	if (fde == NULL) {
+		return false;
+	}
+	flags = tevent_fd_get_flags(fde->fde);
+	return (flags != 0);
 }
diff --git a/source3/lib/messages_dgm.h b/source3/lib/messages_dgm.h
index 3d450a1..ca11db1 100644
--- a/source3/lib/messages_dgm.h
+++ b/source3/lib/messages_dgm.h
@@ -42,7 +42,10 @@ int messaging_dgm_send(pid_t pid,
 		       const int *fds, size_t num_fds);
 int messaging_dgm_cleanup(pid_t pid);
 int messaging_dgm_wipe(void);
-struct tevent_fd *messaging_dgm_register_tevent_context(
+
+struct messaging_dgm_fde;
+struct messaging_dgm_fde *messaging_dgm_register_tevent_context(
 	TALLOC_CTX *mem_ctx, struct tevent_context *ev);
+bool messaging_dgm_fde_active(struct messaging_dgm_fde *fde);
 
 #endif
diff --git a/source3/lib/messages_dgm_ref.c b/source3/lib/messages_dgm_ref.c
index bc6b69f..39d2270 100644
--- a/source3/lib/messages_dgm_ref.c
+++ b/source3/lib/messages_dgm_ref.c
@@ -26,7 +26,7 @@
 
 struct msg_dgm_ref {
 	struct msg_dgm_ref *prev, *next;
-	struct tevent_fd *tevent_handle;
+	struct messaging_dgm_fde *fde;
 	void (*recv_cb)(struct tevent_context *ev,
 			const uint8_t *msg, size_t msg_len,
 			int *fds, size_t num_fds, void *private_data);
@@ -59,7 +59,7 @@ void *messaging_dgm_ref(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
 		*err = ENOMEM;
 		return NULL;
 	}
-	result->tevent_handle = NULL;
+	result->fde = NULL;
 
 	tmp_refs = refs;
 
@@ -98,9 +98,8 @@ void *messaging_dgm_ref(TALLOC_CTX *mem_ctx, struct tevent_context *ev,
 
 	}
 
-	result->tevent_handle = messaging_dgm_register_tevent_context(
-		result, ev);
-	if (result->tevent_handle == NULL) {
+	result->fde = messaging_dgm_register_tevent_context(result, ev);
+	if (result->fde == NULL) {
 		TALLOC_FREE(result);
 		*err = ENOMEM;
 		return NULL;
@@ -129,12 +128,12 @@ static void msg_dgm_ref_recv(struct tevent_context *ev,
 	 * that grabs the fd's will get them.
 	 */
 	for (r = refs; r != NULL; r = next) {
-		uint16_t flags;
+		bool active;
 
 		next = r->next;
 
-		flags = tevent_fd_get_flags(r->tevent_handle);
-		if (flags == 0) {
+		active = messaging_dgm_fde_active(r->fde);
+		if (!active) {
 			/*
 			 * r's tevent_context has died.
 			 */
@@ -153,7 +152,7 @@ static int msg_dgm_ref_destructor(struct msg_dgm_ref *r)
 	}
 	DLIST_REMOVE(refs, r);
 
-	TALLOC_FREE(r->tevent_handle);
+	TALLOC_FREE(r->fde);
 
 	DBG_DEBUG("refs=%p\n", refs);
 
-- 
1.9.1


>From 3d8cef21037343cdf483cd011aca48cdedc2baaa Mon Sep 17 00:00:00 2001
From: Stefan Metzmacher <metze at samba.org>
Date: Wed, 5 Oct 2016 08:59:19 +0200
Subject: [PATCH 3/3] tevent: version 0.9.31

* tevent_update_timer() and tevent_req_reset_endtime() have been added
* documentation updates
* it is now safe to talloc_free() a tevent_threaded_context,
  all running threads keep running until they're finished,
  but we no longer abort().

Signed-off-by: Stefan Metzmacher <metze at samba.org>
---
 lib/tevent/ABI/tevent-0.9.30.sigs |  3 --
 lib/tevent/ABI/tevent-0.9.31.sigs | 99 +++++++++++++++++++++++++++++++++++++++
 lib/tevent/wscript                |  2 +-
 3 files changed, 100 insertions(+), 4 deletions(-)
 create mode 100644 lib/tevent/ABI/tevent-0.9.31.sigs

diff --git a/lib/tevent/ABI/tevent-0.9.30.sigs b/lib/tevent/ABI/tevent-0.9.30.sigs
index 7a6a236..9b8bfa1 100644
--- a/lib/tevent/ABI/tevent-0.9.30.sigs
+++ b/lib/tevent/ABI/tevent-0.9.30.sigs
@@ -36,7 +36,6 @@ tevent_common_loop_wait: int (struct tevent_context *, const char *)
 tevent_common_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
 tevent_common_threaded_activate_immediate: void (struct tevent_context *)
 tevent_common_wakeup: int (struct tevent_context *)
-tevent_common_wakeup_fd: int (int)
 tevent_common_wakeup_init: int (struct tevent_context *)
 tevent_context_init: struct tevent_context *(TALLOC_CTX *)
 tevent_context_init_byname: struct tevent_context *(TALLOC_CTX *, const char *)
@@ -69,7 +68,6 @@ tevent_req_poll: bool (struct tevent_req *, struct tevent_context *)
 tevent_req_post: struct tevent_req *(struct tevent_req *, struct tevent_context *)
 tevent_req_print: char *(TALLOC_CTX *, struct tevent_req *)
 tevent_req_received: void (struct tevent_req *)
-tevent_req_reset_endtime: void (struct tevent_req *)
 tevent_req_set_callback: void (struct tevent_req *, tevent_req_fn, void *)
 tevent_req_set_cancel_fn: void (struct tevent_req *, tevent_req_cancel_fn)
 tevent_req_set_cleanup_fn: void (struct tevent_req *, tevent_req_cleanup_fn)
@@ -94,6 +92,5 @@ tevent_timeval_set: struct timeval (uint32_t, uint32_t)
 tevent_timeval_until: struct timeval (const struct timeval *, const struct timeval *)
 tevent_timeval_zero: struct timeval (void)
 tevent_trace_point_callback: void (struct tevent_context *, enum tevent_trace_point)
-tevent_update_timer: void (struct tevent_timer *, struct timeval)
 tevent_wakeup_recv: bool (struct tevent_req *)
 tevent_wakeup_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct timeval)
diff --git a/lib/tevent/ABI/tevent-0.9.31.sigs b/lib/tevent/ABI/tevent-0.9.31.sigs
new file mode 100644
index 0000000..7a6a236
--- /dev/null
+++ b/lib/tevent/ABI/tevent-0.9.31.sigs
@@ -0,0 +1,99 @@
+_tevent_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
+_tevent_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
+_tevent_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
+_tevent_create_immediate: struct tevent_immediate *(TALLOC_CTX *, const char *)
+_tevent_loop_once: int (struct tevent_context *, const char *)
+_tevent_loop_until: int (struct tevent_context *, bool (*)(void *), void *, const char *)
+_tevent_loop_wait: int (struct tevent_context *, const char *)
+_tevent_queue_create: struct tevent_queue *(TALLOC_CTX *, const char *, const char *)
+_tevent_req_callback_data: void *(struct tevent_req *)
+_tevent_req_cancel: bool (struct tevent_req *, const char *)
+_tevent_req_create: struct tevent_req *(TALLOC_CTX *, void *, size_t, const char *, const char *)
+_tevent_req_data: void *(struct tevent_req *)
+_tevent_req_done: void (struct tevent_req *, const char *)
+_tevent_req_error: bool (struct tevent_req *, uint64_t, const char *)
+_tevent_req_nomem: bool (const void *, struct tevent_req *, const char *)
+_tevent_req_notify_callback: void (struct tevent_req *, const char *)
+_tevent_req_oom: void (struct tevent_req *, const char *)
+_tevent_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
+_tevent_threaded_schedule_immediate: void (struct tevent_threaded_context *, struct tevent_immediate *, tevent_immediate_handler_t, void *, const char *, const char *)
+tevent_backend_list: const char **(TALLOC_CTX *)
+tevent_cleanup_pending_signal_handlers: void (struct tevent_signal *)
+tevent_common_add_fd: struct tevent_fd *(struct tevent_context *, TALLOC_CTX *, int, uint16_t, tevent_fd_handler_t, void *, const char *, const char *)
+tevent_common_add_signal: struct tevent_signal *(struct tevent_context *, TALLOC_CTX *, int, int, tevent_signal_handler_t, void *, const char *, const char *)
+tevent_common_add_timer: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
+tevent_common_add_timer_v2: struct tevent_timer *(struct tevent_context *, TALLOC_CTX *, struct timeval, tevent_timer_handler_t, void *, const char *, const char *)
+tevent_common_check_signal: int (struct tevent_context *)
+tevent_common_context_destructor: int (struct tevent_context *)
+tevent_common_fd_destructor: int (struct tevent_fd *)
+tevent_common_fd_get_flags: uint16_t (struct tevent_fd *)
+tevent_common_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
+tevent_common_fd_set_flags: void (struct tevent_fd *, uint16_t)
+tevent_common_have_events: bool (struct tevent_context *)
+tevent_common_loop_immediate: bool (struct tevent_context *)
+tevent_common_loop_timer_delay: struct timeval (struct tevent_context *)
+tevent_common_loop_wait: int (struct tevent_context *, const char *)
+tevent_common_schedule_immediate: void (struct tevent_immediate *, struct tevent_context *, tevent_immediate_handler_t, void *, const char *, const char *)
+tevent_common_threaded_activate_immediate: void (struct tevent_context *)
+tevent_common_wakeup: int (struct tevent_context *)
+tevent_common_wakeup_fd: int (int)
+tevent_common_wakeup_init: int (struct tevent_context *)
+tevent_context_init: struct tevent_context *(TALLOC_CTX *)
+tevent_context_init_byname: struct tevent_context *(TALLOC_CTX *, const char *)
+tevent_context_init_ops: struct tevent_context *(TALLOC_CTX *, const struct tevent_ops *, void *)
+tevent_debug: void (struct tevent_context *, enum tevent_debug_level, const char *, ...)
+tevent_fd_get_flags: uint16_t (struct tevent_fd *)
+tevent_fd_set_auto_close: void (struct tevent_fd *)
+tevent_fd_set_close_fn: void (struct tevent_fd *, tevent_fd_close_fn_t)
+tevent_fd_set_flags: void (struct tevent_fd *, uint16_t)
+tevent_get_trace_callback: void (struct tevent_context *, tevent_trace_callback_t *, void *)
+tevent_loop_allow_nesting: void (struct tevent_context *)
+tevent_loop_set_nesting_hook: void (struct tevent_context *, tevent_nesting_hook, void *)
+tevent_num_signals: size_t (void)
+tevent_queue_add: bool (struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
+tevent_queue_add_entry: struct tevent_queue_entry *(struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
+tevent_queue_add_optimize_empty: struct tevent_queue_entry *(struct tevent_queue *, struct tevent_context *, struct tevent_req *, tevent_queue_trigger_fn_t, void *)
+tevent_queue_length: size_t (struct tevent_queue *)
+tevent_queue_running: bool (struct tevent_queue *)
+tevent_queue_start: void (struct tevent_queue *)
+tevent_queue_stop: void (struct tevent_queue *)
+tevent_queue_wait_recv: bool (struct tevent_req *)
+tevent_queue_wait_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct tevent_queue *)
+tevent_re_initialise: int (struct tevent_context *)
+tevent_register_backend: bool (const char *, const struct tevent_ops *)
+tevent_req_default_print: char *(struct tevent_req *, TALLOC_CTX *)
+tevent_req_defer_callback: void (struct tevent_req *, struct tevent_context *)
+tevent_req_is_error: bool (struct tevent_req *, enum tevent_req_state *, uint64_t *)
+tevent_req_is_in_progress: bool (struct tevent_req *)
+tevent_req_poll: bool (struct tevent_req *, struct tevent_context *)
+tevent_req_post: struct tevent_req *(struct tevent_req *, struct tevent_context *)
+tevent_req_print: char *(TALLOC_CTX *, struct tevent_req *)
+tevent_req_received: void (struct tevent_req *)
+tevent_req_reset_endtime: void (struct tevent_req *)
+tevent_req_set_callback: void (struct tevent_req *, tevent_req_fn, void *)
+tevent_req_set_cancel_fn: void (struct tevent_req *, tevent_req_cancel_fn)
+tevent_req_set_cleanup_fn: void (struct tevent_req *, tevent_req_cleanup_fn)
+tevent_req_set_endtime: bool (struct tevent_req *, struct tevent_context *, struct timeval)
+tevent_req_set_print_fn: void (struct tevent_req *, tevent_req_print_fn)
+tevent_sa_info_queue_count: size_t (void)
+tevent_set_abort_fn: void (void (*)(const char *))
+tevent_set_debug: int (struct tevent_context *, void (*)(void *, enum tevent_debug_level, const char *, va_list), void *)
+tevent_set_debug_stderr: int (struct tevent_context *)
+tevent_set_default_backend: void (const char *)
+tevent_set_trace_callback: void (struct tevent_context *, tevent_trace_callback_t, void *)
+tevent_signal_support: bool (struct tevent_context *)
+tevent_thread_proxy_create: struct tevent_thread_proxy *(struct tevent_context *)
+tevent_thread_proxy_schedule: void (struct tevent_thread_proxy *, struct tevent_immediate **, tevent_immediate_handler_t, void *)
+tevent_threaded_context_create: struct tevent_threaded_context *(TALLOC_CTX *, struct tevent_context *)
+tevent_timeval_add: struct timeval (const struct timeval *, uint32_t, uint32_t)
+tevent_timeval_compare: int (const struct timeval *, const struct timeval *)
+tevent_timeval_current: struct timeval (void)
+tevent_timeval_current_ofs: struct timeval (uint32_t, uint32_t)
+tevent_timeval_is_zero: bool (const struct timeval *)
+tevent_timeval_set: struct timeval (uint32_t, uint32_t)
+tevent_timeval_until: struct timeval (const struct timeval *, const struct timeval *)
+tevent_timeval_zero: struct timeval (void)
+tevent_trace_point_callback: void (struct tevent_context *, enum tevent_trace_point)
+tevent_update_timer: void (struct tevent_timer *, struct timeval)
+tevent_wakeup_recv: bool (struct tevent_req *)
+tevent_wakeup_send: struct tevent_req *(TALLOC_CTX *, struct tevent_context *, struct timeval)
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 380316d..580ca4d 100755
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 
 APPNAME = 'tevent'
-VERSION = '0.9.30'
+VERSION = '0.9.31'
 
 blddir = 'bin'
 
-- 
1.9.1

-------------- next part --------------
WAF_MAKE=1 python ./buildtools/bin/waf test 
'test' finished successfully (0.023s)
Waf: Entering directory `/home/metze/devel/samba/4.0/master4-test/bin'
	Selected embedded Heimdal build
[   5/4250] Generating tevent.vscript
[ 172/4250] Generating ctdb-samba-version-header
[ 516/4250] Generating source4/torture/rpc/proto.h
[2488/4250] Compiling source4/torture/rpc/lsa.c
../source4/torture/rpc/lsa.c: In function ‘test_EnumPrivs’:
../source4/torture/rpc/lsa.c:2049:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   test_LookupPrivDisplayName(b, tctx, handle, (struct lsa_String *)&privs1.privs[i].name);
                                                       ^
../source4/torture/rpc/lsa.c:2050:49: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   test_LookupPrivValue(b, tctx, handle, (struct lsa_String *)&privs1.privs[i].name);
                                                 ^
../source4/torture/rpc/lsa.c:2051:64: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   if (!test_EnumAccountsWithUserRight(b, tctx, handle, (struct lsa_String *)&privs1.privs[i].name)) {
                                                                ^
../source4/torture/rpc/lsa.c: In function ‘test_CreateTrustedDomain’:
../source4/torture/rpc/lsa.c:2550:27: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
   init_lsa_String((struct lsa_String *)&trustinfo.name, trust_name);
                           ^
In file included from ../source4/torture/rpc/lsa.c:23:0:
../source4/torture/rpc/lsa.c: In function ‘test_QueryInfoPolicyCalls’:
../source4/torture/rpc/lsa.c:4724:14: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
      (struct lsa_QueryInfoPolicy2*) &r),
              ^
../lib/torture/torture.h:272:24: note: in definition of macro ‘torture_assert_ntstatus_equal’
  do { NTSTATUS __got = got, __expected = expected; \
                        ^
../source4/torture/rpc/lsa.c:4723:4: note: in expansion of macro ‘torture_assert_ntstatus_ok’
    torture_assert_ntstatus_ok(tctx, dcerpc_lsa_QueryInfoPolicy2_r(b, tctx,
    ^
[3569/4250] Linking default/lib/tevent/libtevent.so
[3574/4250] Linking default/lib/talloc/extra-pytalloc.cpython-34m.so
[3575/4250] Linking default/lib/talloc/extra-test-pytalloc.cpython-34m.so
[3589/4250] Linking default/lib/tdb/extra-pytdb.cpython-34m.so
[3628/4250] Linking default/lib/util/libtevent-util.so
[3630/4250] Linking default/lib/tevent/extra--tevent.cpython-34m.so
[3629/4250] Linking default/lib/tevent/-tevent.so
[3633/4250] Linking default/lib/util/libsamba-util.so
[3634/4250] Linking default/lib/ldb/libldb.so
[3635/4250] Linking default/ctdb/ctdb_packet_parse
[3636/4250] Linking default/source3/libsamba-cluster-support-samba4.so
[3637/4250] Linking default/libcli/smb/libsmb-transport-samba4.so
[3638/4250] Linking default/source3/libmessages-dgm-samba4.so
[3639/4250] Linking default/lib/async_req/async_connect_send_test
[3640/4250] Linking default/source3/lib/pthreadpool/pthreadpooltest
[3641/4250] Linking default/ctdb/fetch_loop_key
[3642/4250] Linking default/ctdb/ctdb_killtcp
[3643/4250] Linking default/source3/libmessages-util-samba4.so
[3644/4250] Linking default/source4/lib/events/libevents-samba4.so
[3645/4250] Linking default/ctdb/ctdb_takeover_tests
[3646/4250] Linking default/ctdb/porting_tests
[3647/4250] Linking default/ctdb/g_lock_loop
[3648/4250] Linking default/ctdb/protocol_types_test
[3649/4250] Linking default/ctdb/reqid_test
[3650/4250] Linking default/ctdb/protocol_client_test
[3651/4250] Linking default/ctdb/fetch_readonly
[3652/4250] Linking default/lib/util/libsamba-modules-samba4.so
[3653/4250] Linking default/ctdb/srvid_test
[3654/4250] Linking default/ctdb/ctdbd
[3655/4250] Linking default/ctdb/pidfile_test
[3656/4250] Linking default/ctdb/comm_server_test
[3657/4250] Linking default/ctdb/comm_test
[3658/4250] Linking default/ctdb/transaction_loop
[3659/4250] Linking default/ctdb/ctdb
[3660/4250] Linking default/lib/ldb/libldb_module_paged_searches.so
[3661/4250] Linking default/ctdb/message_ring
[3662/4250] Linking default/ctdb/lock_tdb
[3663/4250] Linking default/source3/libsamba3-util-samba4.so
[3664/4250] Linking default/ctdb/rb_test
[3665/4250] Linking default/ctdb/update_record
[3666/4250] Linking default/ctdb/fetch_readonly_loop
[3667/4250] Linking default/ctdb/comm_client_test
[3668/4250] Linking default/ctdb/fetch_ring
[3669/4250] Linking default/ctdb/ctdb_event_helper
[3670/4250] Linking default/source4/lib/samba3/libsmbpasswdparser-samba4.so
[3671/4250] Linking default/ctdb/update_record_persistent
[3672/4250] Linking default/ctdb/db_hash_test
[3673/4250] Linking default/lib/ldb/libldb_module_tdb.so
[3674/4250] Linking default/testsuite/headers/test_headers
[3675/4250] Linking default/lib/ldb/libldb-cmdline-samba4.so
[3676/4250] Linking default/ctdb/ctdb_mutex_fcntl_helper
[3677/4250] Linking default/ctdb/pkt_write_test
[3678/4250] Linking default/librpc/libndr.so
[3679/4250] Linking default/lib/util/libserver-id-db-samba4.so
[3680/4250] Linking default/lib/ldb/libldb_module_sample.so
[3681/4250] Linking default/libds/common/libflag-mapping-samba4.so
[3682/4250] Linking default/ctdb/pkt_read_test
[3683/4250] Linking default/lib/ldb/libpyldb-util.cpython-34m.so
[3684/4250] Linking default/ctdb/ctdb_lock_helper
[3685/4250] Linking default/lib/util/libasn1util-samba4.so
[3686/4250] Linking default/lib/ldb/libpyldb-util.so
[3687/4250] Linking default/lib/krb5_wrap/libkrb5samba-samba4.so
[3688/4250] Linking default/lib/ldb/libldb_module_asq.so
[3689/4250] Linking default/source4/ntvfs/posix/libposix-eadb-samba4.so
[3690/4250] Linking default/ctdb/ctdb_recovery_helper
[3691/4250] Linking default/ctdb/fake_ctdbd
[3692/4250] Linking default/ctdb/fetch_loop
[3693/4250] Linking default/lib/param/libserver-role-samba4.so
[3694/4250] Linking default/lib/socket/libinterfaces-samba4.so
[3695/4250] Linking default/lib/ldb/ldbdel
[3696/4250] Linking default/lib/ldb/ldbsearch
[3697/4250] Linking default/source3/libCHARSET3-samba4.so
[3698/4250] Linking default/libcli/registry/libutil-reg-samba4.so
[3699/4250] Linking default/lib/ldb/libldb_module_paged_results.so
[3700/4250] Linking default/source3/libsmbd-conn-samba4.so
[3701/4250] Linking default/lib/ldb/libldb_module_skel.so
[3702/4250] Linking default/lib/ldb/libldb_module_server_sort.so
[3703/4250] Linking default/lib/ldb/extra-pyldb.cpython-34m.so
[3704/4250] Linking default/lib/ldb/ldbrename
[3705/4250] Linking default/lib/ldb/libldb_module_rdn_name.so
[3706/4250] Linking default/lib/ldb/ldbedit
[3707/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_ranged_results.so
[3708/4250] Linking default/lib/ldb/ldbtest
[3709/4250] Linking default/lib/ldb/ldbadd
[3710/4250] Linking default/libcli/security/libsamba-security-samba4.so
[3711/4250] Linking default/lib/ldb/ldbmodify
[3712/4250] Linking default/lib/ldb/ldbdump
[3713/4250] Linking default/lib/addns/libaddns-samba4.so
[3714/4250] Linking default/lib/param/libsamba-hostconfig.so
[3715/4250] Linking default/lib/ldb/pyldb.so
[3716/4250] Linking default/source4/kdc/samba4ktutil
[3717/4250] Linking default/auth/libauth-sam-reply-samba4.so
[3718/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_samba3sam.so
[3719/4250] Linking default/libcli/ldap/libcli-ldap-common-samba4.so
[3720/4250] Linking default/librpc/libndr-nbt.so
[3721/4250] Linking default/libcli/security/pysecurity.so
[3722/4250] Linking default/source4/param/pyparam.so
[3723/4250] Linking default/lib/torture/libtorture-samba4.so
[3724/4250] Linking default/source4/lib/socket/libnetif-samba4.so
[3725/4250] Linking default/lib/dbwrap/libdbwrap-samba4.so
[3726/4250] Linking default/lib/libsamba-sockets-samba4.so
[3727/4250] Linking default/librpc/libndr-standard.so
[3728/4250] Linking default/source4/nbt_server/libldb_module_wins_ldb.so
[3729/4250] Linking default/source3/libsmbregistry-samba4.so
[3730/4250] Linking default/source4/cluster/libcluster-samba4.so
[3731/4250] Linking default/librpc/libdcerpc-binding.so
[3732/4250] Linking default/libcli/nbt/libcli-nbt-samba4.so
[3733/4250] Linking default/source4/smbd/libprocess-model-samba4.so
[3734/4250] Linking default/librpc/libndr-krb5pac.so
[3735/4250] Linking default/libcli/nbt/python-netbios.so
[3736/4250] Linking default/libcli/nbt/nmblookup4
[3737/4250] Linking default/source4/auth/kerberos/libauthkrb5-samba4.so
[3738/4250] Linking default/librpc/libndr-samba-samba4.so
[3739/4250] Linking default/librpc/libdcerpc-samba-samba4.so
[3740/4250] Linking default/libcli/named_pipe_auth/libnpa-tstream-samba4.so
[3741/4250] Linking default/source4/lib/com/pycom.so
[3742/4250] Linking default/libcli/auth/libcliauth-samba4.so
[3743/4250] Linking default/source4/librpc/libndr-samba4.so
[3744/4250] Linking default/source3/libxattr-tdb-samba4.so
[3745/4250] Linking default/nsswitch/wbinfo
[3746/4250] Linking default/source4/dsdb/libsamdb-common-samba4.so
[3747/4250] Linking default/source3/liblibcli-lsa3-samba4.so
[3748/4250] Linking default/librpc/tools/ndrdump
[3749/4250] Linking default/lib/ldb-samba/libldbsamba-samba4.so
[3750/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_vlv.so
[3751/4250] Linking default/auth/credentials/libsamba-credentials.so
[3752/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_simple_ldap_map.so
[3753/4250] Linking default/source4/smbd/libprocess_model_module_standard.so
[3754/4250] Linking default/source4/dns_server/libdnsserver-common-samba4.so
[3755/4250] Linking default/source4/lib/cmdline/libcmdline-credentials-samba4.so
[3756/4250] Linking default/source4/dsdb/libsamdb.so
[3757/4250] Linking default/source4/param/libshares-samba4.so
[3758/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_local_password.so
[3759/4250] Linking default/source4/kdc/libpac-samba4.so
[3760/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_resolve_oids.so
[3761/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_anr.so
[3762/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_objectclass_attrs.so
[3763/4250] Linking default/auth/gensec/libgensec-samba4.so
[3764/4250] Linking default/source4/utils/oLschema2ldif
[3765/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_samba_secrets.so
[3766/4250] Linking default/dfs_server/libdfs-server-ad-samba4.so
[3767/4250] Linking default/source4/kdc/libdb-glue-samba4.so
[3768/4250] Linking default/source4/dns_server/libdlz-bind9-9.so
[3769/4250] Linking default/source4/dns_server/libdlz-bind9-for-torture-samba4.so
[3770/4250] Linking default/lib/ldb-samba/libldb_module_ldbsamba_extensions.so
[3771/4250] Linking default/source4/auth/gensec/libgensec_module_krb5.so
[3772/4250] Linking default/libcli/smb/libcli-smb-common-samba4.so
[3773/4250] Linking default/source4/dns_server/libdlz-bind9.so
[3774/4250] Linking default/source4/libcli/ldap/libcli-ldap-samba4.so
[3775/4250] Linking default/source4/dns_server/libdlz-bind9-10.so
[3776/4250] Linking default/source4/kdc/libHDB-SAMBA4-samba4.so
[3777/4250] Linking default/source4/libcli/libsmbclient-raw-samba4.so
[3778/4250] Linking default/source3/libsmbconf.so
[3779/4250] Linking default/libcli/cldap/libcli-cldap-samba4.so
[3780/4250] Linking default/lib/ldb-samba/libldb_module_ildap.so
[3781/4250] Linking default/source4/torture/locktest
[3782/4250] Linking default/source4/torture/gentest
[3783/4250] Linking default/source4/torture/masktest
[3784/4250] Linking default/source4/client/cifsdd
[3785/4250] Linking default/source4/dsdb/libdsdb-garbage-collect-tombstones-samba4.so
[3786/4250] Linking default/source3/smbd/notifyd/notifydd
[3787/4250] Linking default/source3/vlp
[3788/4250] Linking default/source3/param/pys3param.so
[3789/4250] Linking default/source3/eventlogadm
[3790/4250] Linking default/source3/msg_sink
[3791/4250] Linking default/source3/libsmbldap.so
[3792/4250] Linking default/source3/msgtest
[3793/4250] Linking default/source4/lib/http/libhttp-samba4.so
[3794/4250] Linking default/source3/msg_source
[3795/4250] Linking default/source3/versiontest
[3796/4250] Linking default/source3/winbindd/libnss-info-samba4.so
[3797/4250] Linking default/source3/smbfilter
[3798/4250] Linking default/source3/smbd/notifyd/notifyd-tests
[3799/4250] Linking default/source3/libsecrets3-samba4.so
[3800/4250] Linking default/source4/librpc/libdcerpc.so
[3801/4250] Linking default/source3/winbindd/libnss_info_module_hash.so
[3802/4250] Linking default/source3/libcli-spoolss-samba4.so
[3803/4250] Linking default/source3/libutil-cmdline-samba4.so
[3804/4250] Linking default/source3/libgse-samba4.so
[3805/4250] Linking default/source3/libsmbldaphelper-samba4.so
[3806/4250] Linking default/source4/librpc/libdcerpc-samr.so
[3807/4250] Linking default/source4/librpc/libdcerpc-samba4.so
[3808/4250] Linking default/source4/lib/messaging/libMESSAGING-samba4.so
[3809/4250] Linking default/source4/lib/registry/libregistry-samba4.so
[3810/4250] Linking default/source4/client/smbclient4
[3811/4250] Linking default/source3/libpopt-samba3-samba4.so
[3812/4250] Linking default/source3/libprinting-migrate-samba4.so
[3813/4250] Linking default/source3/liblibsmb-samba4.so
[3814/4250] Linking default/source3/libsamba-passdb.so
[3815/4250] Linking default/source4/dsdb/samdb/ldb_modules/libdsdb-module-samba4.so
[3816/4250] Linking default/python/libsamba-python-samba4.so
[3817/4250] Linking default/source4/libcli/wbclient/libLIBWBCLIENT-OLD-samba4.so
[3818/4250] Linking default/source3/param/test_lp_load
[3819/4250] Linking default/source3/profiles
[3820/4250] Linking default/source4/lib/registry/regpatch
[3821/4250] Linking default/source3/split_tokens
[3822/4250] Linking default/source3/smbcontrol
[3823/4250] Linking default/source3/dbwrap_torture
[3824/4250] Linking default/source3/smbconftort
[3825/4250] Linking default/source4/lib/registry/regdiff
[3826/4250] Linking default/source3/nmblookup
[3827/4250] Linking default/source3/dbwrap_tool
[3828/4250] Linking default/source3/testparm
[3829/4250] Linking default/source4/lib/registry/regtree
[3830/4250] Linking default/source3/samba-regedit
[3831/4250] Linking default/source4/lib/registry/regshell
[3832/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_objectclass.so
[3833/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_objectguid.so
[3834/4250] Linking default/source3/smbspool
[3835/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_descriptor.so
[3836/4250] Linking default/source4/librpc/python-srvsvc.so
[3837/4250] Linking default/source4/librpc/python-dcerpc-security.so
[3838/4250] Linking default/source4/auth/libauth-unix-token-samba4.so
[3839/4250] Linking default/source4/ntvfs/posix/python-xattr-native.so
[3840/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_linked_attributes.so
[3841/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_extended_dn_in.so
[3842/4250] Linking default/source4/ntvfs/posix/python-posix-eadb.so
[3843/4250] Linking default/source4/librpc/python-mgmt.so
[3844/4250] Linking default/source4/librpc/python-dcerpc-dnsp.so
[3845/4250] Linking default/source4/auth/gensec/pygensec.so
[3846/4250] Linking default/source4/librpc/python-epmapper.so
[3847/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_acl.so
[3848/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_lazy_commit.so
[3849/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_subtree_delete.so
[3850/4250] Linking default/source4/librpc/python-dcerpc.so
[3851/4250] Linking default/source3/nmbd/nmbd
[3852/4250] Linking default/source4/librpc/python-winreg.so
[3853/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_dns_notify.so
[3854/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_schema_data.so
[3855/4250] Linking default/source4/librpc/python-auth.so
[3856/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_new_partition.so
[3857/4250] Linking default/source3/libmsrpc3-samba4.so
[3858/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_subtree_rename.so
[3859/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_show_deleted.so
[3860/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_secrets_tdb_sync.so
[3861/4250] Linking default/source4/ntvfs/libntvfs-samba4.so
[3862/4250] Linking default/source4/librpc/python-echo.so
[3863/4250] Linking default/source4/lib/messaging/python-messaging.so
[3864/4250] Linking default/source4/librpc/python-dnsserver.so
[3865/4250] Linking default/source4/librpc/python-dcerpc-dcerpc.so
[3866/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_samldb.so
[3867/4250] Linking default/source4/ntvfs/posix/python-xattr-tdb.so
[3868/4250] Linking default/source4/librpc/python-samr.so
[3869/4250] Linking default/source4/librpc/python-dcerpc-misc.so
[3870/4250] Linking default/source3/ntlm_auth
[3871/4250] Linking default/source4/librpc/python-wkssvc.so
[3872/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_operational.so
[3873/4250] Linking default/source4/dns_server/python-dsdb-dns.so
[3874/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_rootdse.so
[3875/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_aclread.so
[3876/4250] Linking default/source4/librpc/python-netlogon.so
[3877/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_password_hash.so
[3878/4250] Linking default/source4/librpc/python-initshutdown.so
[3879/4250] Linking default/source3/locktest2
[3880/4250] Linking default/source4/librpc/python-atsvc.so
[3881/4250] Linking default/source3/passdb/pypassdb.so
[3882/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_update_keytab.so
[3883/4250] Linking default/source4/librpc/python-lsa.so
[3884/4250] Linking default/source3/client/smbclient
[3885/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_instancetype.so
[3886/4250] Linking default/source4/lib/registry/py-registry.so
[3887/4250] Linking default/source4/librpc/python-dcerpc-xattr.so
[3888/4250] Linking default/source4/librpc/python-dcerpc-nbt.so
[3889/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_samba_dsdb.so
[3890/4250] Linking default/source4/dsdb/python-dsdb.so
[3891/4250] Linking default/source4/librpc/python-dcerpc-smb-acl.so
[3892/4250] Linking default/source4/libcli/pysmb.so
[3893/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_extended_dn_store.so
[3894/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_repl_meta_data.so
[3895/4250] Linking default/source4/libnet/libsamba-net-samba4.so
[3896/4250] Linking default/source4/librpc/python-dns.so
[3897/4250] Linking default/examples/pdb/libpdb_module_test.so
[3898/4250] Linking default/source4/librpc/python-dcerpc-idmap.so
[3899/4250] Linking default/source3/pdbedit
[3900/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_dirsync.so
[3901/4250] Linking default/source4/librpc/python-irpc.so
[3902/4250] Linking default/source4/librpc/python-dfs.so
[3903/4250] Linking default/source4/librpc/python-winbind.so
[3904/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_extended_dn_out.so
[3905/4250] Linking default/source3/winbindd/libidmap-samba4.so
[3906/4250] Linking default/python/python-glue.so
[3907/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_tombstone_reanimate.so
[3908/4250] Linking default/source4/auth/ntlm/libauth4-samba4.so
[3909/4250] Linking default/source3/smbcquotas
[3910/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_samba3sid.so
[3911/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_schema_load.so
[3912/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_partition.so
[3913/4250] Linking default/source4/librpc/python-unixinfo.so
[3914/4250] Linking default/source3/libsmb/libsmbclient.so
[3915/4250] Linking default/source3/smbcacls
[3916/4250] Linking default/source3/smbtree
[3917/4250] Linking default/source4/libnet/python-dckeytab.so
[3918/4250] Linking default/source4/librpc/python-dcerpc-drsblobs.so
[3919/4250] Linking default/source4/librpc/python-drsuapi.so
[3920/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_simple_dn.so
[3921/4250] Linking default/source4/dsdb/samdb/ldb_modules/libldb_module_dsdb_notification.so
[3922/4250] Linking default/source4/librpc/python-server-id.so
[3923/4250] Linking default/auth/credentials/pycredentials.so
[3924/4250] Linking default/source4/librpc/python-svcctl.so
[3925/4250] Linking default/source3/smbpasswd
[3926/4250] Linking default/source3/winbindd/libidmap_module_script.so
[3927/4250] Linking default/source3/winbindd/libidmap_module_tdb2.so
[3928/4250] Linking default/source4/lib/policy/libsamba-policy.so
[3929/4250] Linking default/source3/winbindd/libidmap_module_hash.so
[3930/4250] Linking default/source3/smbtorture3
[3931/4250] Linking default/source3/winbindd/libidmap_module_rid.so
[3932/4250] Linking default/source3/sharesec
[3933/4250] Linking default/examples/libsmbclient/testacl3
[3934/4250] Linking default/examples/libsmbclient/testutime
[3935/4250] Linking default/lib/ldb-samba/python-samba--ldb.so
[3936/4250] Linking default/examples/libsmbclient/testbrowse2
[3937/4250] Linking default/source4/librpc/python-idmap.so
[3938/4250] Linking default/source4/librpc/python-krb5pac.so
[3939/4250] Linking default/source3/rpc_open_tcp
[3940/4250] Linking default/source3/winbindd/libidmap_module_autorid.so
[3941/4250] Linking default/examples/libsmbclient/teststatvfs
[3942/4250] Linking default/examples/libsmbclient/testtruncate
[3943/4250] Linking default/examples/libsmbclient/testfstatvfs
[3944/4250] Linking default/source3/liblibcli-netlogon3-samba4.so
[3945/4250] Linking default/examples/libsmbclient/teststat
[3946/4250] Linking default/source3/libads-samba4.so
[3947/4250] Linking default/source4/smbd/libservice-samba4.so
[3948/4250] Linking default/examples/libsmbclient/testread
[3949/4250] Linking default/source4/auth/pyauth.so
[3950/4250] Linking default/source4/libnet/python-net.so
[3951/4250] Linking default/examples/libsmbclient/testwrite
[3952/4250] Linking default/source3/pylibsmb.so
[3953/4250] Linking default/examples/libsmbclient/testbrowse
[3954/4250] Linking default/examples/libsmbclient/teststat2
[3955/4250] Linking default/examples/libsmbclient/testsmbc
[3956/4250] Linking default/examples/libsmbclient/teststat3
[3957/4250] Linking default/examples/libsmbclient/testacl
[3958/4250] Linking default/examples/libsmbclient/testchmod
[3959/4250] Linking default/examples/libsmbclient/testacl2
[3960/4250] Linking default/examples/libsmbclient/testctx
[3961/4250] Linking default/source3/smbget
[3962/4250] Linking default/examples/libsmbclient/testnotify
[3963/4250] Linking default/source4/lib/policy/py-policy.so
[3964/4250] Linking default/source3/libtrusts-util-samba4.so
[3965/4250] Linking default/source3/winbindd/libidmap_module_rfc2307.so
[3966/4250] Linking default/source3/winbindd/libidmap_module_ad.so
[3967/4250] Linking default/source4/wrepl_server/libservice_module_wrepl.so
[3968/4250] Linking default/source3/winbindd/libnss_info_module_sfu.so
[3969/4250] Linking default/source4/cldap_server/libservice_module_cldap.so
[3970/4250] Linking default/source4/nbt_server/libservice_module_nbtd.so
[3971/4250] Linking default/source4/kdc/libservice_module_kdc.so
[3972/4250] Linking default/file_server/libservice_module_s3fs.so
[3973/4250] Linking default/source4/dsdb/libservice_module_dns_update.so
[3974/4250] Linking default/source4/ntp_signd/libservice_module_ntp_signd.so
[3975/4250] Linking default/source3/winbindd/libnss_info_module_rfc2307.so
[3976/4250] Linking default/source4/ldap_server/libservice_module_ldap.so
[3977/4250] Linking default/source3/winbindd/libnss_info_module_sfu20.so
[3978/4250] Linking default/source4/web_server/libservice_module_web.so
[3979/4250] Linking default/source4/winbind/libservice_module_winbindd.so
[3980/4250] Linking default/source4/dsdb/libservice_module_drepl.so
[3981/4250] Linking default/source3/libnet-keytab-samba4.so
[3982/4250] Linking default/source4/smb_server/libservice_module_smb.so
[3983/4250] Linking default/source3/auth/libauth-samba4.so
[3984/4250] Linking default/source3/rpcclient/rpcclient
[3985/4250] Linking default/source4/dsdb/libservice_module_kcc.so
[3986/4250] Linking default/source4/smbd/samba
[3987/4250] Linking default/source4/utils/ntlm_auth4
[3988/4250] Linking default/source3/libgpo-samba4.so
[3989/4250] Linking default/source4/rpc_server/libdcerpc-server.so
[3990/4250] Linking default/source3/auth/libauth_module_script.so
[3991/4250] Linking default/source3/pdbtest
[3992/4250] Linking default/source4/dns_server/libservice_module_dns.so
[3993/4250] Linking default/source3/libnetapi.so
[3994/4250] Linking default/source3/winbindd/winbindd
[3995/4250] Linking default/examples/auth/libauth_module_skel.so
[3996/4250] Linking default/source4/rpc_server/libservice_module_dcerpc.so
[3997/4250] Linking default/source3/lib/netapi/examples/group/group_getusers
[3998/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_getmembers
[3999/4250] Linking default/source3/lib/netapi/examples/user/user_enum
[4000/4250] Linking default/source3/lib/netapi/examples/user/user_getinfo
[4001/4250] Linking default/source3/lib/netapi/examples/getdc/getdc
[4002/4250] Linking default/source3/lib/netapi/examples/netlogon/netlogon_control2
[4003/4250] Linking default/source3/libsmbd-base-samba4.so
[4004/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_delmembers
[4005/4250] Linking default/source3/lib/netapi/examples/group/group_setusers
[4006/4250] Linking default/source3/lib/netapi/examples/share/share_enum
[4007/4250] Linking default/source3/lib/netapi/examples/server/remote_tod
[4008/4250] Linking default/source3/lib/netapi/examples/join/getjoinableous
[4009/4250] Linking default/source3/lib/netapi/examples/user/user_getlocalgroups
[4010/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_setinfo
[4011/4250] Linking default/source3/lib/netapi/examples/share/share_del
[4012/4250] Linking default/source3/lib/netapi/examples/group/group_deluser
[4013/4250] Linking default/source3/lib/netapi/examples/netlogon/nltest
[4014/4250] Linking default/source3/lib/netapi/examples/join/rename_machine
[4015/4250] Linking default/source3/lib/netapi/examples/share/share_add
[4016/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_enum
[4017/4250] Linking default/source3/lib/netapi/examples/user/user_modalsget
[4018/4250] Linking default/source3/lib/netapi/examples/share/share_getinfo
[4019/4250] Linking default/source3/lib/netapi/examples/user/user_setinfo
[4020/4250] Linking default/source3/lib/netapi/examples/file/file_getinfo
[4021/4250] Linking default/source4/torture/smbtorture
[4022/4250] Linking default/source3/lib/netapi/examples/dsgetdc/dsgetdc
[4023/4250] Linking default/source3/lib/netapi/examples/user/user_getgroups
[4024/4250] Linking default/source3/lib/netapi/examples/user/user_modalsset
[4025/4250] Linking default/source3/lib/netapi/examples/server/server_getinfo
[4026/4250] Linking default/source3/lib/netapi/examples/join/getjoininformation
[4027/4250] Linking default/source3/lib/netapi/examples/user/user_add
[4028/4250] Linking default/source3/lib/netapi/examples/shutdown/shutdown_abort
[4029/4250] Linking default/source3/lib/netapi/examples/group/group_setinfo
[4030/4250] Linking default/source3/lib/netapi/examples/group/group_adduser
[4031/4250] Linking default/source3/lib/netapi/examples/shutdown/shutdown_init
[4032/4250] Linking default/source3/modules/libvfs_module_full_audit.so
[4033/4250] Linking default/source3/lib/netapi/tests/netapitest
[4034/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_add
[4035/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_del
[4036/4250] Linking default/source3/pysmbd.so
[4037/4250] Linking default/source3/lib/netapi/examples/group/group_enum
[4038/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_getinfo
[4039/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_addmembers
[4040/4250] Linking default/source3/lib/netapi/examples/group/group_getinfo
[4041/4250] Linking default/source3/lib/netapi/examples/group/group_del
[4042/4250] Linking default/source3/lib/netapi/examples/share/share_setinfo
[4043/4250] Linking default/source3/vfstest
[4044/4250] Linking default/source3/modules/libvfs_module_media_harmony.so
[4045/4250] Linking default/source3/lib/netapi/examples/user/user_chgpwd
[4046/4250] Linking default/source3/modules/libvfs_module_fake_dfq.so
[4047/4250] Linking default/source3/lib/netapi/examples/user/user_setgroups
[4048/4250] Linking default/source3/lib/netapi/examples/join/netdomjoin
[4049/4250] Linking default/source3/modules/libvfs_module_commit.so
[4050/4250] Linking default/source3/lib/netapi/examples/user/user_dispinfo
[4051/4250] Linking default/source3/modules/libvfs_module_readonly.so
[4052/4250] Linking default/source3/modules/libvfs_module_shadow_copy.so
[4053/4250] Linking default/source3/modules/libvfs_module_audit.so
[4054/4250] Linking default/source3/modules/libvfs_module_xattr_tdb.so
[4055/4250] Linking default/source3/modules/libvfs_module_extd_audit.so
[4056/4250] Linking default/source3/modules/libnon-posix-acls-samba4.so
[4057/4250] Linking default/source3/lib/netapi/examples/file/file_close
[4058/4250] Linking default/source3/lib/netapi/examples/netlogon/netlogon_control
[4059/4250] Linking default/source3/modules/libvfs_module_posix_eadb.so
[4060/4250] Linking default/source3/lib/netapi/examples/group/group_add
[4061/4250] Linking default/source3/lib/netapi/examples/user/user_del
[4062/4250] Linking default/source3/modules/libvfs_module_aio_fork.so
[4063/4250] Linking default/source3/modules/libvfs_module_aio_pthread.so
[4064/4250] Linking default/source3/modules/libvfs_module_shadow_copy2.so
[4065/4250] Linking default/source3/lib/netapi/examples/file/file_enum
[4066/4250] Linking default/source3/modules/libvfs_module_worm.so
[4067/4250] Linking default/source3/smbstatus
[4068/4250] Linking default/source3/modules/libvfs_module_time_audit.so
[4069/4250] Linking default/source3/modules/libvfs_module_preopen.so
[4070/4250] Linking default/source3/lib/netapi/examples/localgroup/localgroup_setmembers
[4071/4250] Linking default/source3/modules/libvfs_module_offline.so
[4072/4250] Linking default/examples/VFS/libvfs_module_skel_opaque.so
[4073/4250] Linking default/source3/modules/libvfs_module_nfs4acl_xattr.so
[4074/4250] Linking default/source3/modules/libvfs_module_default_quota.so
[4075/4250] Linking default/source3/modules/libvfs_module_unityed_media.so
[4076/4250] Linking default/source3/modules/libvfs_module_crossrename.so
[4077/4250] Linking default/source3/modules/libvfs_module_expand_msdfs.so
[4078/4250] Linking default/source3/modules/libvfs_module_aio_linux.so
[4079/4250] Linking default/source3/modules/libvfs_module_catia.so
[4080/4250] Linking default/source3/modules/libvfs_module_acl_xattr.so
[4081/4250] Linking default/source3/modules/libvfs_module_netatalk.so
[4082/4250] Linking default/source3/modules/libvfs_module_streams_depot.so
[4083/4250] Linking default/examples/VFS/libvfs_module_shadow_copy_test.so
[4084/4250] Linking default/source3/modules/libvfs_module_acl_tdb.so
[4085/4250] Linking default/source3/modules/libvfs_module_shell_snap.so
[4086/4250] Linking default/source3/modules/libvfs_module_fileid.so
[4087/4250] Linking default/source3/modules/libvfs_module_readahead.so
[4088/4250] Linking default/source3/modules/libvfs_module_linux_xfs_sgid.so
[4089/4250] Linking default/source3/modules/libvfs_module_fruit.so
[4090/4250] Linking default/source3/modules/libvfs_module_fake_acls.so
[4091/4250] Linking default/source3/modules/libvfs_module_streams_xattr.so
[4092/4250] Linking default/examples/VFS/libvfs_module_skel_transparent.so
[4093/4250] Linking default/source3/smbd/smbd
[4094/4250] Linking default/source3/modules/libvfs_module_btrfs.so
[4095/4250] Linking default/source3/modules/libvfs_module_fake_perms.so
[4096/4250] Linking default/source3/modules/libvfs_module_syncops.so
[4097/4250] Linking default/source3/net
[4098/4250] Linking default/source3/modules/libvfs_module_snapper.so
[4099/4250] Linking default/source3/modules/libvfs_module_dirsort.so
[4100/4250] Linking default/source3/modules/libperfcount_module_test.so
[4101/4250] Linking default/source3/modules/libvfs_module_cap.so
[4102/4250] Linking default/source3/modules/libvfs_module_recycle.so
[4104/4250] abi_check: bin/default/lib/tevent/libtevent.so
[4107/4250] abi_check: bin/default/librpc/libndr.so
[4109/4250] abi_check: bin/default/lib/ldb/libldb.so
[4110/4250] abi_check: bin/default/lib/ldb/libpyldb-util.so
[4111/4250] abi_check: bin/default/lib/ldb/libpyldb-util.cpython-34m.so
[4113/4250] abi_check: bin/default/source3/libsmbldap.so
[4114/4250] abi_check: bin/default/source3/libsamba-passdb.so
[4115/4250] abi_check: bin/default/source3/libsmb/libsmbclient.so
Waf: Leaving directory `/home/metze/devel/samba/4.0/master4-test/bin'
'build' finished successfully (16.477s)
LD_PRELOAD=/home/metze/devel/samba/4.0/master4-test/bin/default/lib/nss_wrapper/libnss-wrapper.so:/home/metze/devel/samba/4.0/master4-test/bin/default/lib/resolv_wrapper/libresolv-wrapper.so:/home/metze/devel/samba/4.0/master4-test/bin/default/lib/socket_wrapper/libsocket-wrapper.so:/home/metze/devel/samba/4.0/master4-test/bin/default/lib/uid_wrapper/libuid-wrapper.so
SOCKET_WRAPPER_DIR=/data/tmp/samba-master4-test/w
DNS: Faking nameserver
skipping subunit (testscenarios not available)
OPTIONS --configfile=$SMB_CONF_PATH --option='fss:sequence timeout=1' --maximum-runtime=$SELFTEST_MAXTIME --basedir=$SELFTEST_TMPDIR --format=subunit --option=torture:progress=no
PROVISIONING AD DC (NTVFS)...
User 'testallowed' created successfully
Modified 1 records successfully
Modified 1 records successfully
User 'testdenied' created successfully
Modified 1 records successfully
Added members to group Allowed RODC Password Replication Group
STARTING SAMBA...
DONE (2143)
samba version 4.6.0pre1-DEVELOPERBUILD started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
samba PID 2143 was called with maxruntime 14400 - current ts 1475655635
samba: using 'standard' process model
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.

samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: winbindd version 4.6.0pre1-DEVELOPERBUILD started.
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: Copyright Andrew Tridgell and the Samba Team 1992-2016
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: initialize_winbindd_cache: clearing cache and re-creating with version number 2
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: samba_tevent: EPOLL_CTL_ADD failed (Die Datei existiert bereits) replay[0] - calling panic_fallback
Lookup failed - NT_STATUS_HOST_UNREACHABLE
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
127.0.0.21 LOCALDC<00>
waiting for working LDAP and a RID Set to be allocated
SAMBA LOG of: LOCALDC pid 2143
samba version 4.6.0pre1-DEVELOPERBUILD started.
Copyright Andrew Tridgell and the Samba Team 1992-2016
samba PID 2143 was called with maxruntime 14400 - current ts 1475655635
samba: using 'standard' process model
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.

samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
samba: setproctitle not initialized, please either call setproctitle_init() or link against libbsd-ctor.
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: winbindd version 4.6.0pre1-DEVELOPERBUILD started.
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: Copyright Andrew Tridgell and the Samba Team 1992-2016
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: initialize_winbindd_cache: clearing cache and re-creating with version number 2
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: STATUS=daemon 'winbindd' finished starting up and ready to serve connections
/home/metze/devel/samba/4.0/master4-test/bin/winbindd: samba_tevent: EPOLL_CTL_ADD failed (Die Datei existiert bereits) replay[0] - calling panic_fallback
[1(0)/3 at 0s] samba4.rpc.lsa.trusted.domains with (ad_dc_ntvfs)
s4_tevent: multiplex fde for fd[17] is already multiplexed
s4_tevent: epoll_add_multiplex_fd failed (File exists) replay[0] - calling panic_fallback
smbtorture 4.6.0pre1-DEVELOPERBUILD
Using seed 1475655640
Testing 12 domains

Testing OpenPolicy

Testing OpenPolicy2

Testing CreateTrustedDomain for 12 domains

Testing EnumTrustDom

Testing EnumTrustedDomainsEx

Testing EnumTrustDom

Testing OpenTrustedDomain, OpenTrustedDomainByName and QueryInfoTrustedDomain

Testing OpenTrustedDomain, OpenTrustedDomainByName and QueryInfoTrustedDomain

Testing OpenTrustedDomain, OpenTrustedDomainByName and QueryInfoTrustedDomain

Testing EnumTrustedDomainsEx

Testing CreateTrustedDomainEx for 12 domains
skipping CreateTrustedDomainEx trusted domain auth tests against samba4
skipping CreateTrustedDomainEx trusted domain auth tests against samba4
skipping CreateTrustedDomainEx trusted domain auth tests against samba4
skipping CreateTrustedDomainEx trusted domain auth tests against samba4
skipping CreateTrustedDomainEx trusted domain auth tests against samba4
skipping CreateTrustedDomainEx trusted domain auth tests against samba4

Testing EnumTrustDom

Testing OpenTrustedDomain, OpenTrustedDomainByName and QueryInfoTrustedDomain

Testing OpenTrustedDomain, OpenTrustedDomainByName and QueryInfoTrustedDomain

Testing OpenTrustedDomain, OpenTrustedDomainByName and QueryInfoTrustedDomain

Testing EnumTrustedDomainsEx

Testing CreateTrustedDomainEx2 for 12 domains
(../source4/torture/rpc/lsa.c:3351:check_pw_with_krb5) password[x12345678x] old_password[(null)]
(../source4/torture/rpc/lsa.c:3351:check_pw_with_krb5) password[12345678InV0] old_password[12345678InV00]
UNEXPECTED(error): samba4.rpc.lsa.trusted.domains with .lsa.TrustedDomains (samba.subunit.RemotedTestCase)(ad_dc_ntvfs)
REASON: Exception: Exception: was started but never finished!
UNEXPECTED(error): samba4.rpc.lsa.trusted.domains with .lsa.TrustedDomains(ad_dc_ntvfs) (samba.subunit.RemotedTestCase)
REASON: was started but never finished!

FAILED (0 failures, 2 errors and 0 unexpected successes in 0 testsuites)

A summary with detailed information can be found in:
  /data/tmp/samba-master4-test/summary
/home/metze/devel/samba/4.0/master4-test/selftest/selftest.pl: PID[2021]: Got SIGPIPE teardown environments.
teardown_env(ad_dc_ntvfs)
samba: EOF on stdin - PID 2143 terminating
Bad talloc magic value - unknown value
smb_panic(): calling panic action [/home/metze/devel/samba/4.0/master4-test/selftest/gdb_backtrace 2147]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00002aeef4101a0c in __libc_waitpid (pid=2235, stat_loc=stat_loc at entry=0x7ffec5ce7600, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
31	../sysdeps/unix/sysv/linux/waitpid.c: Datei oder Verzeichnis nicht gefunden.
#0  0x00002aeef4101a0c in __libc_waitpid (pid=2235, stat_loc=stat_loc at entry=0x7ffec5ce7600, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = -197126432
#1  0x00002aeef4087232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x2aeef40874d0 <cancel_handler>, __arg = 0x7ffec5ce75d0, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = -976325072
        save = <optimized out>
        pid = 2235
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7ffec5ce77a0}
        omask = {__val = {6784, 3865300897647639040, 47205784519496, 47205777431360, 140732217063248, 47205777367220, 0, 47205776492864, 1, 72104799826349696, 206158430224, 140732217063264, 140732217063056, 3865300897647639040, 140732217063264, 47205779886208}}
#2  0x00002aeef384de73 in smb_panic_default (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:141
        result = 10990
        pidstr = "2147\000*\000\000`\365K\376\356*\000\000\000\365K\376"
        cmdstring = "/home/metze/devel/samba/4.0/master4-test/selftest/gdb_backtrace 2147\000\177\000\000\000:I\352\257N\244\065\000\000\000\000\000\000\000\000\250\r\223\363\356*\000\000P8\022\376", '\000' <repeats 12 times>, "`\333e\375\356*\000\000\327\000\000\000\000\000\000\000\200\377h\365\356*\000\000pi\263\375\356*\000\000 at x\316\305\376\177\000\000\000\000\000\000\000\000\000\000pi\263\375\356*\000\000\320i\263\375\356*\000\000\350\000\000\000\000\000\000\000\240?\376\356*\000\000x\367h\365\356*\000"
        __FUNCTION__ = "smb_panic_default"
#3  0x00002aeef384e013 in smb_panic (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:169
No locals.
#4  0x00002aeef392ab9b in talloc_abort (reason=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/talloc/talloc.c:406
No locals.
#5  0x00002aeef392ac49 in talloc_abort_unknown_value () at ../lib/talloc/talloc.c:421
No locals.
#6  0x00002aeef392ad12 in talloc_chunk_from_ptr (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:440
        pp = 0x2aeefd96b040 "\340\236\342\366\356*"
        tc = 0x2aeefd96afe0
#7  0x00002aeef392d2c5 in __talloc_get_name (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:1463
        tc = 0x7ffec5ce7bc0
#8  0x00002aeef392d4ec in _talloc_get_type_abort (ptr=0x2aeefd96b040, name=0x2aeef38fd0f8 "struct poll_event_context", location=0x2aeef38fd148 "../lib/tevent/tevent_poll.c:230") at ../lib/talloc/talloc.c:1520
        pname = 0x7ffec5ce7c2d "*"
#9  0x00002aeef38f4cb3 in poll_event_fd_destructor (fde=0x2aeefeca4ab0) at ../lib/tevent/tevent_poll.c:229
        ev = 0x2aeef6e29ee0
        poll_ev = 0x2aeefeca4ab0
        del_idx = 21
#10 0x00002aeef392c18c in _tc_free_internal (tc=0x2aeefeca4a50, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1055
        d = 0x2aeef38f4c56 <poll_event_fd_destructor>
        ptr_to_free = 0x0
        ptr = 0x2aeefeca4ab0
#11 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefd65dad0, ptr=0x2aeefd65db30, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefeca4ab0
        new_parent = 0x2aeef6e085b0
#12 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefd65dad0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefd65db70
        ptr = 0x2aeefd65db30
#13 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefdc12e60, ptr=0x2aeefdc12ec0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefd65db30
        new_parent = 0x2aeef6e085b0
#14 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefdc12e60, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x0
        ptr = 0x2aeefdc12ec0
#15 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefe279490, ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefdc12ec0
        new_parent = 0x2aeef6e085b0
#16 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefdceb6f0
        ptr = 0x2aeefe2794f0
#17 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeefe279490
#18 0x00002aeef392c0e1 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1025
        is_child = 1
        ptr_to_free = 0x2aeefe87b500
        ptr = 0x2aeefe2794f0
#19 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e29e80, ptr=0x2aeef6e29ee0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefe2794f0
        new_parent = 0x2aeefdc12ec0
#20 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e29e80, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeef6e2c9a0
        ptr = 0x2aeef6e29ee0
#21 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e0a9e0, ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeef6e29ee0
        new_parent = 0x2aeef6e085b0
#22 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e0a9e0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefe96b8e0
        ptr = 0x2aeef6e0aa40
#23 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeef6e0a9e0
#24 0x00002aeef392dc31 in _talloc_free (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1693
        tc = 0x2aeef6e0a9e0
#25 0x00002aeef3930523 in talloc_autofree () at ../lib/talloc/talloc.c:2694
No locals.
#26 0x00002aeef407d1a9 in __run_exit_handlers (status=0, listp=0x2aeef43ff6c8 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
#27 0x00002aeef407d1f5 in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#28 0x00002aeef381667e in standard_pipe_handler (event_ctx=0x2aeef6e29ee0, fde=0x2aeefdf999d0, flags=1, private_data=0x0) at ../source4/smbd/process_standard.c:67
        __FUNCTION__ = "standard_pipe_handler"
#29 0x00002aeef38f5f89 in poll_event_loop_poll (ev=0x2aeef6e29ee0, tvalp=0x7ffec5ce8320) at ../lib/tevent/tevent_poll.c:605
        idx = 1
        pfd = 0x2aeefe1238c8
        flags = 1
        poll_ev = 0x2aeefd96b040
        pollrtn = 1
        timeout = 458
        poll_errno = 0
        fde = 0x2aeefdf999d0
        next = 0x2aeefd60f5c0
        i = 10990
#30 0x00002aeef38f6237 in poll_event_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_poll.c:662
        tval = {tv_sec = 0, tv_usec = 457689}
#31 0x00002aeef38f0b54 in _tevent_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:721
        ret = 0
        nesting_stack_ptr = 0x0
#32 0x00002aeef38f0edd in tevent_common_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:844
        ret = 0
#33 0x00002aeef38f8ede in std_event_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_standard.c:145
        glue_ptr = 0x2aeef6e2a020
        glue = 0x2aeef6e2a020
        ret = 0
#34 0x00002aeef38f0fa9 in _tevent_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:863
No locals.
#35 0x00002aeef3817137 in standard_new_task (ev=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", new_task=0x2aeef3921892 <task_server_callback>, private_data=0x2aeefde72040) at ../source4/smbd/process_standard.c:364
        pid = 2147
        state = 0x0
#36 0x00002aeef3921a77 in task_server_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", model_ops=0x2aeef3819b60 <standard_ops>, task_init=0x2aeef9c1ce45 <dcesrv_task_init>) at ../source4/smbd/service_task.c:114
samba child process 2143 exited with value 0
        state = 0x2aeefde72040
#37 0x00002aeef391fbcc in server_service_init (name=0x2aeef6e0d080 "rpc", event_context=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model_ops=0x2aeef3819b60 <standard_ops>) at ../source4/smbd/service.c:63
        srv = 0x2aeef6e27d00
#38 0x00002aeef391fd38 in server_service_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model=0x2aeef6e087b0 "standard", server_services=0x2aeef6e0cf10) at ../source4/smbd/service.c:95
        status = {v = 0}
        i = 0
        model_ops = 0x2aeef3819b60 <standard_ops>
        __FUNCTION__ = "server_service_startup"
#39 0x00002aeef379b0c6 in binary_smbd_main (binary_name=0x2aeef379b9e1 "samba", argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:489
        opt_daemon = false
        opt_interactive = true
        opt = -1
        pc = 0x2aeef6e08220
        static_init = {0x2aeef391f925 <server_service_auth_init>, 0x2aeef3922490 <server_service_echo_init>, 0x0}
        shared_init = 0x2aeef6e55b50
        event_ctx = 0x2aeef6e29ee0
        stdin_event_flags = 1
        status = {v = 0}
        model = 0x2aeef6e087b0 "standard"
        max_runtime = 14400
        st = {st_dev = 8, st_ino = 4151074, st_nlink = 1, st_mode = 4480, st_uid = 10000, st_gid = 10000, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_mtim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_ctim = {tv_sec = 1475655635, tv_nsec = 449751395}, __glibc_reserved = {0, 0, 0}}
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef4040340 <poptHelpOptions>, val = 0, descrip = 0x2aeef379bba4 "Help options:", argDescrip = 0x0}, {longName = 0x2aeef379bbb2 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x2aeef379bbb9 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x2aeef379bbd3 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x2aeef379bbe0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x2aeef379bbff "model", shortName = 77 'M', argInfo = 1, arg = 0x0, val = 1002, descrip = 0x2aeef379bc05 "Select process model", argDescrip = 0x2aeef379bc1a "MODEL"}, {longName = 0x2aeef379bc20 "maximum-runtime", shortName = 0 '\000', argInfo = 2, arg = 0x7ffec5ce8650, val = 0, descrip = 0x2aeef379bc30 "set maximum runtime of the server process, till autotermination", argDescrip = 0x2aeef379bc70 "seconds"}, {longName = 0x2aeef379bc78 "show-build", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x2aeef379bc83 "show build info", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e200 <popt_common_samba4>, val = 0, descrip = 0x2aeef379bc93 "Common Samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e3c0 <popt_common_version4>, val = 0, descrip = 0x2aeef379bca9 "Version options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "binary_smbd_main"
#40 0x00002aeef379b18c in main (argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:512
No locals.

Thread 1 (Thread 0x2aeef6e05800 (LWP 2147)):
#0  0x00002aeef4101a0c in __libc_waitpid (pid=2235, stat_loc=stat_loc at entry=0x7ffec5ce7600, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = -197126432
#1  0x00002aeef4087232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x2aeef40874d0 <cancel_handler>, __arg = 0x7ffec5ce75d0, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = -976325072
        save = <optimized out>
        pid = 2235
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7ffec5ce77a0}
        omask = {__val = {6784, 3865300897647639040, 47205784519496, 47205777431360, 140732217063248, 47205777367220, 0, 47205776492864, 1, 72104799826349696, 206158430224, 140732217063264, 140732217063056, 3865300897647639040, 140732217063264, 47205779886208}}
#2  0x00002aeef384de73 in smb_panic_default (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:141
        result = 10990
        pidstr = "2147\000*\000\000`\365K\376\356*\000\000\000\365K\376"
        cmdstring = "/home/metze/devel/samba/4.0/master4-test/selftest/gdb_backtrace 2147\000\177\000\000\000:I\352\257N\244\065\000\000\000\000\000\000\000\000\250\r\223\363\356*\000\000P8\022\376", '\000' <repeats 12 times>, "`\333e\375\356*\000\000\327\000\000\000\000\000\000\000\200\377h\365\356*\000\000pi\263\375\356*\000\000 at x\316\305\376\177\000\000\000\000\000\000\000\000\000\000pi\263\375\356*\000\000\320i\263\375\356*\000\000\350\000\000\000\000\000\000\000\240?\376\356*\000\000x\367h\365\356*\000"
        __FUNCTION__ = "smb_panic_default"
#3  0x00002aeef384e013 in smb_panic (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:169
No locals.
#4  0x00002aeef392ab9b in talloc_abort (reason=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/talloc/talloc.c:406
No locals.
#5  0x00002aeef392ac49 in talloc_abort_unknown_value () at ../lib/talloc/talloc.c:421
No locals.
#6  0x00002aeef392ad12 in talloc_chunk_from_ptr (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:440
        pp = 0x2aeefd96b040 "\340\236\342\366\356*"
        tc = 0x2aeefd96afe0
#7  0x00002aeef392d2c5 in __talloc_get_name (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:1463
        tc = 0x7ffec5ce7bc0
#8  0x00002aeef392d4ec in _talloc_get_type_abort (ptr=0x2aeefd96b040, name=0x2aeef38fd0f8 "struct poll_event_context", location=0x2aeef38fd148 "../lib/tevent/tevent_poll.c:230") at ../lib/talloc/talloc.c:1520
        pname = 0x7ffec5ce7c2d "*"
#9  0x00002aeef38f4cb3 in poll_event_fd_destructor (fde=0x2aeefeca4ab0) at ../lib/tevent/tevent_poll.c:229
        ev = 0x2aeef6e29ee0
        poll_ev = 0x2aeefeca4ab0
        del_idx = 21
#10 0x00002aeef392c18c in _tc_free_internal (tc=0x2aeefeca4a50, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1055
        d = 0x2aeef38f4c56 <poll_event_fd_destructor>
        ptr_to_free = 0x0
        ptr = 0x2aeefeca4ab0
#11 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefd65dad0, ptr=0x2aeefd65db30, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefeca4ab0
        new_parent = 0x2aeef6e085b0
#12 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefd65dad0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefd65db70
        ptr = 0x2aeefd65db30
#13 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefdc12e60, ptr=0x2aeefdc12ec0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefd65db30
        new_parent = 0x2aeef6e085b0
#14 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefdc12e60, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x0
        ptr = 0x2aeefdc12ec0
#15 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefe279490, ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefdc12ec0
        new_parent = 0x2aeef6e085b0
#16 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefdceb6f0
        ptr = 0x2aeefe2794f0
#17 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeefe279490
#18 0x00002aeef392c0e1 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1025
        is_child = 1
        ptr_to_free = 0x2aeefe87b500
        ptr = 0x2aeefe2794f0
#19 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e29e80, ptr=0x2aeef6e29ee0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefe2794f0
        new_parent = 0x2aeefdc12ec0
#20 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e29e80, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeef6e2c9a0
        ptr = 0x2aeef6e29ee0
#21 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e0a9e0, ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeef6e29ee0
        new_parent = 0x2aeef6e085b0
#22 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e0a9e0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefe96b8e0
        ptr = 0x2aeef6e0aa40
#23 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeef6e0a9e0
#24 0x00002aeef392dc31 in _talloc_free (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1693
        tc = 0x2aeef6e0a9e0
#25 0x00002aeef3930523 in talloc_autofree () at ../lib/talloc/talloc.c:2694
No locals.
#26 0x00002aeef407d1a9 in __run_exit_handlers (status=0, listp=0x2aeef43ff6c8 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
#27 0x00002aeef407d1f5 in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#28 0x00002aeef381667e in standard_pipe_handler (event_ctx=0x2aeef6e29ee0, fde=0x2aeefdf999d0, flags=1, private_data=0x0) at ../source4/smbd/process_standard.c:67
        __FUNCTION__ = "standard_pipe_handler"
#29 0x00002aeef38f5f89 in poll_event_loop_poll (ev=0x2aeef6e29ee0, tvalp=0x7ffec5ce8320) at ../lib/tevent/tevent_poll.c:605
        idx = 1
        pfd = 0x2aeefe1238c8
        flags = 1
        poll_ev = 0x2aeefd96b040
        pollrtn = 1
        timeout = 458
        poll_errno = 0
        fde = 0x2aeefdf999d0
        next = 0x2aeefd60f5c0
        i = 10990
#30 0x00002aeef38f6237 in poll_event_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_poll.c:662
        tval = {tv_sec = 0, tv_usec = 457689}
#31 0x00002aeef38f0b54 in _tevent_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:721
        ret = 0
        nesting_stack_ptr = 0x0
#32 0x00002aeef38f0edd in tevent_common_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:844
        ret = 0
#33 0x00002aeef38f8ede in std_event_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_standard.c:145
        glue_ptr = 0x2aeef6e2a020
        glue = 0x2aeef6e2a020
        ret = 0
#34 0x00002aeef38f0fa9 in _tevent_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:863
No locals.
#35 0x00002aeef3817137 in standard_new_task (ev=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", new_task=0x2aeef3921892 <task_server_callback>, private_data=0x2aeefde72040) at ../source4/smbd/process_standard.c:364
        pid = 2147
        state = 0x0
#36 0x00002aeef3921a77 in task_server_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", model_ops=0x2aeef3819b60 <standard_ops>, task_init=0x2aeef9c1ce45 <dcesrv_task_init>) at ../source4/smbd/service_task.c:114
        state = 0x2aeefde72040
#37 0x00002aeef391fbcc in server_service_init (name=0x2aeef6e0d080 "rpc", event_context=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model_ops=0x2aeef3819b60 <standard_ops>) at ../source4/smbd/service.c:63
        srv = 0x2aeef6e27d00
#38 0x00002aeef391fd38 in server_service_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model=0x2aeef6e087b0 "standard", server_services=0x2aeef6e0cf10) at ../source4/smbd/service.c:95
        status = {v = 0}
        i = 0
        model_ops = 0x2aeef3819b60 <standard_ops>
        __FUNCTION__ = "server_service_startup"
#39 0x00002aeef379b0c6 in binary_smbd_main (binary_name=0x2aeef379b9e1 "samba", argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:489
        opt_daemon = false
        opt_interactive = true
        opt = -1
        pc = 0x2aeef6e08220
        static_init = {0x2aeef391f925 <server_service_auth_init>, 0x2aeef3922490 <server_service_echo_init>, 0x0}
        shared_init = 0x2aeef6e55b50
        event_ctx = 0x2aeef6e29ee0
        stdin_event_flags = 1
        status = {v = 0}
        model = 0x2aeef6e087b0 "standard"
        max_runtime = 14400
        st = {st_dev = 8, st_ino = 4151074, st_nlink = 1, st_mode = 4480, st_uid = 10000, st_gid = 10000, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_mtim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_ctim = {tv_sec = 1475655635, tv_nsec = 449751395}, __glibc_reserved = {0, 0, 0}}
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef4040340 <poptHelpOptions>, val = 0, descrip = 0x2aeef379bba4 "Help options:", argDescrip = 0x0}, {longName = 0x2aeef379bbb2 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x2aeef379bbb9 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x2aeef379bbd3 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x2aeef379bbe0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x2aeef379bbff "model", shortName = 77 'M', argInfo = 1, arg = 0x0, val = 1002, descrip = 0x2aeef379bc05 "Select process model", argDescrip = 0x2aeef379bc1a "MODEL"}, {longName = 0x2aeef379bc20 "maximum-runtime", shortName = 0 '\000', argInfo = 2, arg = 0x7ffec5ce8650, val = 0, descrip = 0x2aeef379bc30 "set maximum runtime of the server process, till autotermination", argDescrip = 0x2aeef379bc70 "seconds"}, {longName = 0x2aeef379bc78 "show-build", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x2aeef379bc83 "show build info", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e200 <popt_common_samba4>, val = 0, descrip = 0x2aeef379bc93 "Common Samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e3c0 <popt_common_version4>, val = 0, descrip = 0x2aeef379bca9 "Version options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "binary_smbd_main"
#40 0x00002aeef379b18c in main (argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:512
No locals.
resultvar = 18446744073709551104
oldtype = -197126432
A debugging session is active.

	Inferior 1 [process 2147] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
smb_panic(): action returned status 0
PANIC: Bad talloc magic value - unknown value
samba child process 2143 isn't here any more
SAMBA LOG of: LOCALDC pid 2143
s4_tevent: multiplex fde for fd[17] is already multiplexed
s4_tevent: epoll_add_multiplex_fd failed (File exists) replay[0] - calling panic_fallback
samba: EOF on stdin - PID 2143 terminating
Bad talloc magic value - unknown value
smb_panic(): calling panic action [/home/metze/devel/samba/4.0/master4-test/selftest/gdb_backtrace 2147]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00002aeef4101a0c in __libc_waitpid (pid=2235, stat_loc=stat_loc at entry=0x7ffec5ce7600, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
31	../sysdeps/unix/sysv/linux/waitpid.c: Datei oder Verzeichnis nicht gefunden.
#0  0x00002aeef4101a0c in __libc_waitpid (pid=2235, stat_loc=stat_loc at entry=0x7ffec5ce7600, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = -197126432
#1  0x00002aeef4087232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x2aeef40874d0 <cancel_handler>, __arg = 0x7ffec5ce75d0, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = -976325072
        save = <optimized out>
        pid = 2235
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7ffec5ce77a0}
        omask = {__val = {6784, 3865300897647639040, 47205784519496, 47205777431360, 140732217063248, 47205777367220, 0, 47205776492864, 1, 72104799826349696, 206158430224, 140732217063264, 140732217063056, 3865300897647639040, 140732217063264, 47205779886208}}
#2  0x00002aeef384de73 in smb_panic_default (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:141
        result = 10990
        pidstr = "2147\000*\000\000`\365K\376\356*\000\000\000\365K\376"
        cmdstring = "/home/metze/devel/samba/4.0/master4-test/selftest/gdb_backtrace 2147\000\177\000\000\000:I\352\257N\244\065\000\000\000\000\000\000\000\000\250\r\223\363\356*\000\000P8\022\376", '\000' <repeats 12 times>, "`\333e\375\356*\000\000\327\000\000\000\000\000\000\000\200\377h\365\356*\000\000pi\263\375\356*\000\000 at x\316\305\376\177\000\000\000\000\000\000\000\000\000\000pi\263\375\356*\000\000\320i\263\375\356*\000\000\350\000\000\000\000\000\000\000\240?\376\356*\000\000x\367h\365\356*\000"
        __FUNCTION__ = "smb_panic_default"
#3  0x00002aeef384e013 in smb_panic (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:169
No locals.
#4  0x00002aeef392ab9b in talloc_abort (reason=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/talloc/talloc.c:406
No locals.
#5  0x00002aeef392ac49 in talloc_abort_unknown_value () at ../lib/talloc/talloc.c:421
No locals.
#6  0x00002aeef392ad12 in talloc_chunk_from_ptr (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:440
        pp = 0x2aeefd96b040 "\340\236\342\366\356*"
        tc = 0x2aeefd96afe0
#7  0x00002aeef392d2c5 in __talloc_get_name (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:1463
        tc = 0x7ffec5ce7bc0
#8  0x00002aeef392d4ec in _talloc_get_type_abort (ptr=0x2aeefd96b040, name=0x2aeef38fd0f8 "struct poll_event_context", location=0x2aeef38fd148 "../lib/tevent/tevent_poll.c:230") at ../lib/talloc/talloc.c:1520
        pname = 0x7ffec5ce7c2d "*"
#9  0x00002aeef38f4cb3 in poll_event_fd_destructor (fde=0x2aeefeca4ab0) at ../lib/tevent/tevent_poll.c:229
        ev = 0x2aeef6e29ee0
        poll_ev = 0x2aeefeca4ab0
        del_idx = 21
#10 0x00002aeef392c18c in _tc_free_internal (tc=0x2aeefeca4a50, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1055
        d = 0x2aeef38f4c56 <poll_event_fd_destructor>
        ptr_to_free = 0x0
        ptr = 0x2aeefeca4ab0
#11 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefd65dad0, ptr=0x2aeefd65db30, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefeca4ab0
        new_parent = 0x2aeef6e085b0
#12 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefd65dad0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefd65db70
        ptr = 0x2aeefd65db30
#13 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefdc12e60, ptr=0x2aeefdc12ec0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefd65db30
        new_parent = 0x2aeef6e085b0
#14 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefdc12e60, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x0
        ptr = 0x2aeefdc12ec0
#15 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefe279490, ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefdc12ec0
        new_parent = 0x2aeef6e085b0
#16 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefdceb6f0
        ptr = 0x2aeefe2794f0
#17 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeefe279490
#18 0x00002aeef392c0e1 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1025
        is_child = 1
        ptr_to_free = 0x2aeefe87b500
        ptr = 0x2aeefe2794f0
#19 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e29e80, ptr=0x2aeef6e29ee0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefe2794f0
        new_parent = 0x2aeefdc12ec0
#20 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e29e80, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeef6e2c9a0
        ptr = 0x2aeef6e29ee0
#21 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e0a9e0, ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeef6e29ee0
        new_parent = 0x2aeef6e085b0
#22 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e0a9e0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefe96b8e0
        ptr = 0x2aeef6e0aa40
#23 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeef6e0a9e0
#24 0x00002aeef392dc31 in _talloc_free (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1693
        tc = 0x2aeef6e0a9e0
#25 0x00002aeef3930523 in talloc_autofree () at ../lib/talloc/talloc.c:2694
No locals.
#26 0x00002aeef407d1a9 in __run_exit_handlers (status=0, listp=0x2aeef43ff6c8 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
#27 0x00002aeef407d1f5 in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#28 0x00002aeef381667e in standard_pipe_handler (event_ctx=0x2aeef6e29ee0, fde=0x2aeefdf999d0, flags=1, private_data=0x0) at ../source4/smbd/process_standard.c:67
        __FUNCTION__ = "standard_pipe_handler"
#29 0x00002aeef38f5f89 in poll_event_loop_poll (ev=0x2aeef6e29ee0, tvalp=0x7ffec5ce8320) at ../lib/tevent/tevent_poll.c:605
        idx = 1
        pfd = 0x2aeefe1238c8
        flags = 1
        poll_ev = 0x2aeefd96b040
        pollrtn = 1
        timeout = 458
        poll_errno = 0
        fde = 0x2aeefdf999d0
        next = 0x2aeefd60f5c0
        i = 10990
#30 0x00002aeef38f6237 in poll_event_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_poll.c:662
        tval = {tv_sec = 0, tv_usec = 457689}
#31 0x00002aeef38f0b54 in _tevent_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:721
        ret = 0
        nesting_stack_ptr = 0x0
#32 0x00002aeef38f0edd in tevent_common_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:844
        ret = 0
#33 0x00002aeef38f8ede in std_event_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_standard.c:145
        glue_ptr = 0x2aeef6e2a020
        glue = 0x2aeef6e2a020
        ret = 0
#34 0x00002aeef38f0fa9 in _tevent_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:863
No locals.
#35 0x00002aeef3817137 in standard_new_task (ev=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", new_task=0x2aeef3921892 <task_server_callback>, private_data=0x2aeefde72040) at ../source4/smbd/process_standard.c:364
        pid = 2147
        state = 0x0
#36 0x00002aeef3921a77 in task_server_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", model_ops=0x2aeef3819b60 <standard_ops>, task_init=0x2aeef9c1ce45 <dcesrv_task_init>) at ../source4/smbd/service_task.c:114
        state = 0x2aeefde72040
#37 0x00002aeef391fbcc in server_service_init (name=0x2aeef6e0d080 "rpc", event_context=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model_ops=0x2aeef3819b60 <standard_ops>) at ../source4/smbd/service.c:63
        srv = 0x2aeef6e27d00
#38 0x00002aeef391fd38 in server_service_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model=0x2aeef6e087b0 "standard", server_services=0x2aeef6e0cf10) at ../source4/smbd/service.c:95
        status = {v = 0}
        i = 0
        model_ops = 0x2aeef3819b60 <standard_ops>
        __FUNCTION__ = "server_service_startup"
#39 0x00002aeef379b0c6 in binary_smbd_main (binary_name=0x2aeef379b9e1 "samba", argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:489
        opt_daemon = false
        opt_interactive = true
        opt = -1
        pc = 0x2aeef6e08220
        static_init = {0x2aeef391f925 <server_service_auth_init>, 0x2aeef3922490 <server_service_echo_init>, 0x0}
        shared_init = 0x2aeef6e55b50
        event_ctx = 0x2aeef6e29ee0
        stdin_event_flags = 1
        status = {v = 0}
        model = 0x2aeef6e087b0 "standard"
        max_runtime = 14400
        st = {st_dev = 8, st_ino = 4151074, st_nlink = 1, st_mode = 4480, st_uid = 10000, st_gid = 10000, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_mtim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_ctim = {tv_sec = 1475655635, tv_nsec = 449751395}, __glibc_reserved = {0, 0, 0}}
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef4040340 <poptHelpOptions>, val = 0, descrip = 0x2aeef379bba4 "Help options:", argDescrip = 0x0}, {longName = 0x2aeef379bbb2 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x2aeef379bbb9 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x2aeef379bbd3 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x2aeef379bbe0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x2aeef379bbff "model", shortName = 77 'M', argInfo = 1, arg = 0x0, val = 1002, descrip = 0x2aeef379bc05 "Select process model", argDescrip = 0x2aeef379bc1a "MODEL"}, {longName = 0x2aeef379bc20 "maximum-runtime", shortName = 0 '\000', argInfo = 2, arg = 0x7ffec5ce8650, val = 0, descrip = 0x2aeef379bc30 "set maximum runtime of the server process, till autotermination", argDescrip = 0x2aeef379bc70 "seconds"}, {longName = 0x2aeef379bc78 "show-build", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x2aeef379bc83 "show build info", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e200 <popt_common_samba4>, val = 0, descrip = 0x2aeef379bc93 "Common Samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e3c0 <popt_common_version4>, val = 0, descrip = 0x2aeef379bca9 "Version options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "binary_smbd_main"
#40 0x00002aeef379b18c in main (argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:512
No locals.

Thread 1 (Thread 0x2aeef6e05800 (LWP 2147)):
#0  0x00002aeef4101a0c in __libc_waitpid (pid=2235, stat_loc=stat_loc at entry=0x7ffec5ce7600, options=options at entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31
        resultvar = 18446744073709551104
        oldtype = -197126432
#1  0x00002aeef4087232 in do_system (line=<optimized out>) at ../sysdeps/posix/system.c:148
        __result = <optimized out>
        _buffer = {__routine = 0x2aeef40874d0 <cancel_handler>, __arg = 0x7ffec5ce75d0, __canceltype = 0, __prev = 0x0}
        _avail = 1
        status = -976325072
        save = <optimized out>
        pid = 2235
        sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7ffec5ce77a0}
        omask = {__val = {6784, 3865300897647639040, 47205784519496, 47205777431360, 140732217063248, 47205777367220, 0, 47205776492864, 1, 72104799826349696, 206158430224, 140732217063264, 140732217063056, 3865300897647639040, 140732217063264, 47205779886208}}
#2  0x00002aeef384de73 in smb_panic_default (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:141
        result = 10990
        pidstr = "2147\000*\000\000`\365K\376\356*\000\000\000\365K\376"
        cmdstring = "/home/metze/devel/samba/4.0/master4-test/selftest/gdb_backtrace 2147\000\177\000\000\000:I\352\257N\244\065\000\000\000\000\000\000\000\000\250\r\223\363\356*\000\000P8\022\376", '\000' <repeats 12 times>, "`\333e\375\356*\000\000\327\000\000\000\000\000\000\000\200\377h\365\356*\000\000pi\263\375\356*\000\000 at x\316\305\376\177\000\000\000\000\000\000\000\000\000\000pi\263\375\356*\000\000\320i\263\375\356*\000\000\350\000\000\000\000\000\000\000\240?\376\356*\000\000x\367h\365\356*\000"
        __FUNCTION__ = "smb_panic_default"
#3  0x00002aeef384e013 in smb_panic (why=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/util/fault.c:169
No locals.
#4  0x00002aeef392ab9b in talloc_abort (reason=0x2aeef3930da8 "Bad talloc magic value - unknown value") at ../lib/talloc/talloc.c:406
No locals.
#5  0x00002aeef392ac49 in talloc_abort_unknown_value () at ../lib/talloc/talloc.c:421
No locals.
#6  0x00002aeef392ad12 in talloc_chunk_from_ptr (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:440
        pp = 0x2aeefd96b040 "\340\236\342\366\356*"
        tc = 0x2aeefd96afe0
#7  0x00002aeef392d2c5 in __talloc_get_name (ptr=0x2aeefd96b040) at ../lib/talloc/talloc.c:1463
        tc = 0x7ffec5ce7bc0
#8  0x00002aeef392d4ec in _talloc_get_type_abort (ptr=0x2aeefd96b040, name=0x2aeef38fd0f8 "struct poll_event_context", location=0x2aeef38fd148 "../lib/tevent/tevent_poll.c:230") at ../lib/talloc/talloc.c:1520
        pname = 0x7ffec5ce7c2d "*"
#9  0x00002aeef38f4cb3 in poll_event_fd_destructor (fde=0x2aeefeca4ab0) at ../lib/tevent/tevent_poll.c:229
        ev = 0x2aeef6e29ee0
        poll_ev = 0x2aeefeca4ab0
        del_idx = 21
#10 0x00002aeef392c18c in _tc_free_internal (tc=0x2aeefeca4a50, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1055
        d = 0x2aeef38f4c56 <poll_event_fd_destructor>
        ptr_to_free = 0x0
        ptr = 0x2aeefeca4ab0
#11 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefd65dad0, ptr=0x2aeefd65db30, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefeca4ab0
        new_parent = 0x2aeef6e085b0
#12 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefd65dad0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefd65db70
        ptr = 0x2aeefd65db30
#13 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefdc12e60, ptr=0x2aeefdc12ec0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefd65db30
        new_parent = 0x2aeef6e085b0
#14 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefdc12e60, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x0
        ptr = 0x2aeefdc12ec0
#15 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeefe279490, ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefdc12ec0
        new_parent = 0x2aeef6e085b0
#16 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefdceb6f0
        ptr = 0x2aeefe2794f0
#17 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeefe2794f0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeefe279490
#18 0x00002aeef392c0e1 in _tc_free_internal (tc=0x2aeefe279490, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1025
        is_child = 1
        ptr_to_free = 0x2aeefe87b500
        ptr = 0x2aeefe2794f0
#19 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e29e80, ptr=0x2aeef6e29ee0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeefe2794f0
        new_parent = 0x2aeefdc12ec0
#20 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e29e80, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeef6e2c9a0
        ptr = 0x2aeef6e29ee0
#21 0x00002aeef392d757 in _tc_free_children_internal (tc=0x2aeef6e0a9e0, ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1570
        child = 0x2aeef6e29ee0
        new_parent = 0x2aeef6e085b0
#22 0x00002aeef392c3c0 in _tc_free_internal (tc=0x2aeef6e0a9e0, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1081
        ptr_to_free = 0x2aeefe96b8e0
        ptr = 0x2aeef6e0aa40
#23 0x00002aeef392c666 in _talloc_free_internal (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1151
        tc = 0x2aeef6e0a9e0
#24 0x00002aeef392dc31 in _talloc_free (ptr=0x2aeef6e0aa40, location=0x2aeef3931107 "../lib/talloc/talloc.c:2694") at ../lib/talloc/talloc.c:1693
        tc = 0x2aeef6e0a9e0
#25 0x00002aeef3930523 in talloc_autofree () at ../lib/talloc/talloc.c:2694
No locals.
#26 0x00002aeef407d1a9 in __run_exit_handlers (status=0, listp=0x2aeef43ff6c8 <__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
        atfct = <optimized out>
        onfct = <optimized out>
        cxafct = <optimized out>
        f = <optimized out>
#27 0x00002aeef407d1f5 in __GI_exit (status=<optimized out>) at exit.c:104
No locals.
#28 0x00002aeef381667e in standard_pipe_handler (event_ctx=0x2aeef6e29ee0, fde=0x2aeefdf999d0, flags=1, private_data=0x0) at ../source4/smbd/process_standard.c:67
        __FUNCTION__ = "standard_pipe_handler"
#29 0x00002aeef38f5f89 in poll_event_loop_poll (ev=0x2aeef6e29ee0, tvalp=0x7ffec5ce8320) at ../lib/tevent/tevent_poll.c:605
        idx = 1
        pfd = 0x2aeefe1238c8
        flags = 1
        poll_ev = 0x2aeefd96b040
        pollrtn = 1
        timeout = 458
        poll_errno = 0
        fde = 0x2aeefdf999d0
        next = 0x2aeefd60f5c0
        i = 10990
#30 0x00002aeef38f6237 in poll_event_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_poll.c:662
        tval = {tv_sec = 0, tv_usec = 457689}
#31 0x00002aeef38f0b54 in _tevent_loop_once (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:721
        ret = 0
        nesting_stack_ptr = 0x0
#32 0x00002aeef38f0edd in tevent_common_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:844
        ret = 0
#33 0x00002aeef38f8ede in std_event_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent_standard.c:145
        glue_ptr = 0x2aeef6e2a020
        glue = 0x2aeef6e2a020
        ret = 0
#34 0x00002aeef38f0fa9 in _tevent_loop_wait (ev=0x2aeef6e29ee0, location=0x2aeef3817988 "../source4/smbd/process_standard.c:364") at ../lib/tevent/tevent.c:863
No locals.
#35 0x00002aeef3817137 in standard_new_task (ev=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", new_task=0x2aeef3921892 <task_server_callback>, private_data=0x2aeefde72040) at ../source4/smbd/process_standard.c:364
        pid = 2147
        state = 0x0
#36 0x00002aeef3921a77 in task_server_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, service_name=0x2aeef9c1d075 "rpc", model_ops=0x2aeef3819b60 <standard_ops>, task_init=0x2aeef9c1ce45 <dcesrv_task_init>) at ../source4/smbd/service_task.c:114
        state = 0x2aeefde72040
#37 0x00002aeef391fbcc in server_service_init (name=0x2aeef6e0d080 "rpc", event_context=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model_ops=0x2aeef3819b60 <standard_ops>) at ../source4/smbd/service.c:63
        srv = 0x2aeef6e27d00
#38 0x00002aeef391fd38 in server_service_startup (event_ctx=0x2aeef6e29ee0, lp_ctx=0x2aeef6e094a0, model=0x2aeef6e087b0 "standard", server_services=0x2aeef6e0cf10) at ../source4/smbd/service.c:95
        status = {v = 0}
        i = 0
        model_ops = 0x2aeef3819b60 <standard_ops>
        __FUNCTION__ = "server_service_startup"
#39 0x00002aeef379b0c6 in binary_smbd_main (binary_name=0x2aeef379b9e1 "samba", argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:489
        opt_daemon = false
        opt_interactive = true
        opt = -1
        pc = 0x2aeef6e08220
        static_init = {0x2aeef391f925 <server_service_auth_init>, 0x2aeef3922490 <server_service_echo_init>, 0x0}
        shared_init = 0x2aeef6e55b50
        event_ctx = 0x2aeef6e29ee0
        stdin_event_flags = 1
        status = {v = 0}
        model = 0x2aeef6e087b0 "standard"
        max_runtime = 14400
        st = {st_dev = 8, st_ino = 4151074, st_nlink = 1, st_mode = 4480, st_uid = 10000, st_gid = 10000, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_mtim = {tv_sec = 1475655635, tv_nsec = 449751395}, st_ctim = {tv_sec = 1475655635, tv_nsec = 449751395}, __glibc_reserved = {0, 0, 0}}
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef4040340 <poptHelpOptions>, val = 0, descrip = 0x2aeef379bba4 "Help options:", argDescrip = 0x0}, {longName = 0x2aeef379bbb2 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x2aeef379bbb9 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x2aeef379bbd3 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x2aeef379bbe0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x2aeef379bbff "model", shortName = 77 'M', argInfo = 1, arg = 0x0, val = 1002, descrip = 0x2aeef379bc05 "Select process model", argDescrip = 0x2aeef379bc1a "MODEL"}, {longName = 0x2aeef379bc20 "maximum-runtime", shortName = 0 '\000', argInfo = 2, arg = 0x7ffec5ce8650, val = 0, descrip = 0x2aeef379bc30 "set maximum runtime of the server process, till autotermination", argDescrip = 0x2aeef379bc70 "seconds"}, {longName = 0x2aeef379bc78 "show-build", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x2aeef379bc83 "show build info", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e200 <popt_common_samba4>, val = 0, descrip = 0x2aeef379bc93 "Common Samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x2aeef379e3c0 <popt_common_version4>, val = 0, descrip = 0x2aeef379bca9 "Version options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "binary_smbd_main"
#40 0x00002aeef379b18c in main (argc=6, argv=0x7ffec5ce8a18) at ../source4/smbd/server.c:512
No locals.
resultvar = 18446744073709551104
oldtype = -197126432
A debugging session is active.

	Inferior 1 [process 2147] will be detached.

Quit anyway? (y or n) [answered Y; input not from terminal]
smb_panic(): action returned status 0
PANIC: Bad talloc magic value - unknown value
perl(2021)---pstree(2262)
/home/metze/devel/samba/4.0/master4-test/selftest/selftest.pl: PID[2021]: Exiting...
TOP 10 slowest tests
test: running (/usr/bin/perl /home/metze/devel/samba/4.0/master4-test/selftest/selftest.pl --target=samba --prefix=/data/tmp/samba-master4-test --srcdir=/home/metze/devel/samba/4.0/master4-test --exclude=/home/metze/devel/samba/4.0/master4-test/selftest/skip --testlist="/usr/bin/python /home/metze/devel/samba/4.0/master4-test/selftest/tests.py|" --testlist="/usr/bin/python /home/metze/devel/samba/4.0/master4-test/source3/selftest/tests.py|" --testlist="/usr/bin/python /home/metze/devel/samba/4.0/master4-test/source4/selftest/tests.py|"  --exclude=/home/metze/devel/samba/4.0/master4-test/selftest/slow --socket-wrapper-keep-pcap --nss_wrapper_so_path=/home/metze/devel/samba/4.0/master4-test/bin/default/lib/nss_wrapper/libnss-wrapper.so --resolv_wrapper_so_path=/home/metze/devel/samba/4.0/master4-test/bin/default/lib/resolv_wrapper/libresolv-wrapper.so --socket_wrapper_so_path=/home/metze/devel/samba/4.0/master4-test/bin/default/lib/socket_wrapper/libsocket-wrapper.so --uid_wrapper_so_path=/home/metze/devel/samba/4.0/master4-test/bin/default/lib/uid_wrapper/libuid-wrapper.so --use-dns-faking --socket-wrapper samba4.rpc.lsa.trusted.domains && touch /data/tmp/samba-master4-test/st_done) | /usr/bin/python -u /home/metze/devel/samba/4.0/master4-test/selftest/filter-subunit --expected-failures=/home/metze/devel/samba/4.0/master4-test/selftest/knownfail --flapping=/home/metze/devel/samba/4.0/master4-test/selftest/flapping --fail-immediately | tee /data/tmp/samba-master4-test/subunit | /usr/bin/python -u /home/metze/devel/samba/4.0/master4-test/selftest/format-subunit --prefix=/data/tmp/samba-master4-test --immediate
ERROR: test failed with exit code 1
make: *** [test] Fehler 1


More information about the samba-technical mailing list