Exception when closing channel on WIP_CEV_ERR

TRACES:

void clientEventHandler(wip_event_t *ev, void *context)
{
	switch (ev->kind)
	{
		case WIP_CEV_OPEN:
			TRACE((TCP_TRACE_LEVEL, "Client ready to receive data"));
			break;
		case WIP_CEV_READ:
			TRACE((TCP_TRACE_LEVEL, "Client received %d bytes", ev->content.read.readable));
			break;
		case WIP_CEV_WRITE:
			TRACE((TCP_TRACE_LEVEL, "Client ready to write, %d bytes can be written", ev->content.write.writable));
			break;
		case WIP_CEV_PEER_CLOSE:
			TRACE((TCP_TRACE_LEVEL, "Peer closed connection with client"));
			wip_close(ev->channel);  // TODO: What to do with bytes in buffer?
			break;
		case WIP_CEV_ERROR:
			TRACE((TCP_TRACE_LEVEL, "Client error:"));
			TRACE((TCP_TRACE_LEVEL, debug_getWipErrText(ev->content.error.errnum)));
			break;
		default:
			TRACE((TCP_TRACE_LEVEL, "Client got an unexpected event: %d", ev->kind));
	}
}

Am I doing something wrong?

I would suggest increasing your stack size.

Because this:

has as result this:

best regards,
Gregor

I put the stack size to 64000 bytes already, I thought this was a lot (but how much do I really know?)
Does it seem plausible that my stack size is too small? It’s just a small application with the WIP and Location plugin included and I am not even really using the Location plugin yet.

I do not have interrupt handler stack sizes defined though

I’m not sure, but I think HLH is High Level Handler which refers to the high level interrupt handler context.

Try setting some default values like 1024 for the interrupt handlers.
See “irq_measure.c” example.