------- Comment #2 from oliver dot kellogg at eads dot com 2009-02-27 09:28 ------- FWIW, pressing Ctrl-C in gdb when the program blocks shows following trace:
Program received signal SIGINT, Interrupt. 0x0805bbd1 in system.soft_links.task_lock_nt () at s-soflin.adb:295 295 procedure Task_Lock_NT is (gdb) bt #0 0x0805bbd1 in system.soft_links.task_lock_nt () at s-soflin.adb:295 #1 0x08053104 in system.file_io.close (file_ptr=0xbfffea7c, <file_ptrF>=2) at s-fileio.adb:220 #2 0x080532db in system.file_io.finalize (v=(prev => 0x0, next => 0x8076b60)) at s-fileio.adb:379 #3 0x0805461f in system.finalization_implementation.finalize_list (l=0x8076b94) at s-finimp.adb:361 #4 0x080546d9 in system.finalization_implementation.finalize_global_list () at s-finimp.adb:327 #5 0x0804ad12 in main (argc=1, argv=(system.address) 0xbfffed54, envp=(system.address) 0xbfffed5c) at /home/kellogg/ada/shared_lib/testuser/b~appl_main.adb:188 #6 0xb7ea2fe0 in __libc_start_main () from /lib/libc.so.6 #7 0x0804a951 in _start () -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38832