Index: src/libcfa/concurrency/kernel.c
===================================================================
--- src/libcfa/concurrency/kernel.c	(revision bbf3fdad94d81a92cc995074c21218db29cd0fbe)
+++ src/libcfa/concurrency/kernel.c	(revision 01963dfa3760cf41cdf4471fc638f355a8f15a09)
@@ -627,5 +627,5 @@
 	__cfaabi_dbg_bits_write( abort_text, len );
 
-	if ( thrd != TL_GET( this_coroutine ) ) {
+	if ( get_coroutine(thrd) != TL_GET( this_coroutine ) ) {
 		len = snprintf( abort_text, abort_text_size, " in coroutine %.256s (%p).\n", TL_GET( this_coroutine )->name, TL_GET( this_coroutine ) );
 		__cfaabi_dbg_bits_write( abort_text, len );
