kwm@crashalot:~/cvs/marcus/ports/devel/glib20/work/glib-2.32.3/gio/tests> gdb741 .libs/tls-interaction GNU gdb (GDB) 7.4.1 [GDB v7.4.1 for FreeBSD] Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-portbld-freebsd10.0". For bug reporting instructions, please see: ... Reading symbols from /usr/home/kwm/cvs/marcus/ports/devel/glib20/work/glib-2.32.3/gio/tests/.libs/tls-interaction...done. (gdb) break g_tls_interaction_invoke_ask_password Breakpoint 1 at 0x401a04 (gdb) r Starting program: /usr/home/kwm/cvs/marcus/ports/devel/glib20/work/glib-2.32.3/gio/tests/.libs/tls-interaction /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e807000, password=0x2e808800, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 warning: Source file is more recent than executable. 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) c Continuing. OK /tls-interaction/ask-password/invoke-with-loop/async-implementation-success: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e807040, password=0x2e8088a0, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) c Continuing. OK /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e807080, password=0x2e808940, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) c Continuing. OK /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e8070c0, password=0x2e8089e0, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) c Continuing. OK /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e807100, password=0x2e808a80, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) c Continuing. OK /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e807140, password=0x2e808b20, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) c Continuing. OK /tls-interaction/ask-password/invoke-without-loop/async-implementation-success: Breakpoint 1, g_tls_interaction_invoke_ask_password (interaction=0x2e807180, password=0x2e808b70, cancellable=0x0, error=0x7fffffffd350) at gtlsinteraction.c:325 325 g_return_val_if_fail (G_IS_TLS_INTERACTION (interaction), G_TLS_INTERACTION_UNHANDLED); (gdb) n 326 g_return_val_if_fail (G_IS_TLS_PASSWORD (password), G_TLS_INTERACTION_UNHANDLED); (gdb) n 327 g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), G_TLS_INTERACTION_UNHANDLED); (gdb) n 329 closure = invoke_closure_new (interaction, G_OBJECT (password), cancellable); (gdb) n 331 klass = G_TLS_INTERACTION_GET_CLASS (interaction); (gdb) n 332 if (klass->ask_password) (gdb) n 338 else if (klass->ask_password_async) (gdb) n 340 g_return_val_if_fail (klass->ask_password_finish, G_TLS_INTERACTION_UNHANDLED); (gdb) n 341 g_main_context_invoke (interaction->priv->context, (gdb) n 349 if (g_main_context_acquire (interaction->priv->context)) (gdb) n 351 while (!closure->complete) (gdb) s 353 g_mutex_unlock (&closure->mutex); (gdb) s g_mutex_unlock (mutex=0x2e84e520) at gthread-posix.c:227 warning: Source file is more recent than executable. 227 if G_UNLIKELY ((status = pthread_mutex_unlock (g_mutex_get_impl (mutex))) != 0) (gdb) s g_mutex_get_impl (mutex=0x2e84e520) at gthread-posix.c:119 119 pthread_mutex_t *impl = mutex->p; (gdb) s 121 if G_UNLIKELY (impl == NULL) (gdb) s 129 return impl; (gdb) s 130 } (gdb) s g_mutex_unlock (mutex=0x2e84e520) at gthread-posix.c:228 228 g_thread_abort (status, "pthread_mutex_unlock"); (gdb) print status $5 = 1 (gdb)