Your message dated Thu, 02 Jan 2014 17:18:42 +0000 with message-id <[email protected]> and subject line Bug#282068: fixed in ltrace 0.7.3-1 has caused the Debian Bug report #282068, regarding ltrace doesn't work with pthread programs to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 282068: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=282068 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: ltrace Version: 0.3.35.1 Severity: important When a program uses pthread_create() to start a new thread, a managment thread is created by default to handle the new threads(). When a program is running under ltrace, the program receives SIG32 I suspect that this signal is used by pthreads to indicate that a thread status has changed. The main thread then blocks indefinately waiting for a thread, which is suspect to be the managment thread. Colin S. Miller Session Transcript follows- me@debian /local/home/me $ cat thread.c #include <pthread.h> #include <unistd.h> void *thread(void *i) { pthread_t t2,t3; printf("In thread\n"); printf("thread PID %d\n", getpid()); sleep(10); pthread_exit(0); } int main(int argc, char **argv) { pthread_t t; printf("main PID %d\n", getpid()); pthread_create(&t, NULL, thread, NULL); pthread_join(t, NULL); return 0; } me@debian ~ $ gcc -g thread.c -lpthread $ ltrace ./a.out __libc_start_main(0x8048533, 1, 0xbffff894, 0x80485a0, 0x8048600 <unfinished ...> getpid() = 13422 printf("main PID %d\n", 13422main PID 13422 ) = 15 pthread_create(0xbffff834, 0, 0x80484f4, 0, 0x400164a0 <unfinished ...> --- UNKNOWN_SIGNAL (Unknown signal 32) --- <... pthread_create resumed> ) = 0 pthread_join(16386, 0, 0x80484f4, 0, 0x400164a0 (another shell) $ ps auxfwww | grep a\.out me 13421 0.0 0.1 1652 608 pts/3 S+ 13:56 0:00 | | \_ ltrace ./a.out me 13422 0.0 0.0 3852 444 pts/3 S+ 13:56 0:00 | | \_ ./a.out me 13423 0.0 0.0 0 0 pts/3 Z+ 13:56 0:00 | | \_ [a.out] <defunct> me 13429 0.0 0.0 180 96 pts/4 R+ 13:57 0:00 | | \_ grep a.out -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.4.25-1-386 Locale: LANG=en_GB, LC_CTYPE=en_GB Versions of packages ltrace depends on: ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an ii libelfg0 0.8.5-1 an ELF object file access library -- no debconf information
--- End Message ---
--- Begin Message ---Source: ltrace Source-Version: 0.7.3-1 We believe that the bug you reported is fixed in the latest version of ltrace, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Juan Cespedes <[email protected]> (supplier of updated ltrace package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Thu, 02 Jan 2014 18:00:05 +0100 Source: ltrace Binary: ltrace Architecture: source amd64 Version: 0.7.3-1 Distribution: unstable Urgency: low Maintainer: Juan Cespedes <[email protected]> Changed-By: Juan Cespedes <[email protected]> Description: ltrace - Tracks runtime library calls in dynamically linked programs Closes: 282068 457696 537781 548400 591412 593639 614018 645615 675607 678721 724253 Changes: ltrace (0.7.3-1) unstable; urgency=low . * New upstream release (closes: #675607), including: + support dlopen()'d libraries (closes: #537781) + support PIE binaries (closes: #614018) + fix -T option (closes: #548400) + use $HOST_CPU instead of $(uname -m) (closes: #457696) + don't hardcode gcc or assume -liberty and -lsupc++ exist (closes: #593639) + support threaded programs (closes: #282068, #591412) * Fix "free(): invalid pointer" crash (closes: #724253) * Fix FTBFS on alpha (closes: #678721) # Added "s390x" to the list of supported archs (closes: #645615) * Fixed dpkg-shlibdeps warning: don't link against libstdc++ or libsupc++ if we have libiberty * Switch to 3.0 (quilt) source format * Standards-Version: 3.9.5 * Lintian clean Checksums-Sha1: 311d73720c50ec5c649865179975f42523f57d9b 1192 ltrace_0.7.3-1.dsc 8df2acc8bc135a229917de6ef814f416d38124ca 482658 ltrace_0.7.3.orig.tar.bz2 5def0514a0a43bdeee571876e3fb31048c0d667a 10712 ltrace_0.7.3-1.debian.tar.gz 581dd9208b22118d8b7c727c1b5ab66ee4dd7fec 149992 ltrace_0.7.3-1_amd64.deb Checksums-Sha256: fcac1519b710d91af3e1d66f4b28a65099f145d1a667a5101615016d31d9a795 1192 ltrace_0.7.3-1.dsc 0e6f8c077471b544c06def7192d983861ad2f8688dd5504beae62f0c5f5b9503 482658 ltrace_0.7.3.orig.tar.bz2 9997f76540f3982300c211af4880cba1e5078aa41b7b334c28a67cddee61369e 10712 ltrace_0.7.3-1.debian.tar.gz 921d6ddabdb53392c5b8f5b8eab5cd958b28ebcd9ac0ba974bb5b17d00997a76 149992 ltrace_0.7.3-1_amd64.deb Files: d37e77cf90ffcb647199b0879357b301 1192 utils optional ltrace_0.7.3-1.dsc b3dd199af8f18637f7d4ef97fdfb9d14 482658 utils optional ltrace_0.7.3.orig.tar.bz2 7334bfdd01259b48c4a0d550c01fca08 10712 utils optional ltrace_0.7.3-1.debian.tar.gz e6c210beb309fd16a24f46552a07eaad 149992 utils optional ltrace_0.7.3-1_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlLFm0sACgkQepWluYh4RwMWzwCgwaJh91DaAujC/KiOUonQMLva 3cQAoOOKB27myuQAq0En5JBr9u/WFKjR =IOEL -----END PGP SIGNATURE-----
--- End Message ---

