Your message dated Sun, 18 Oct 2009 14:58:21 -0400 with message-id <[email protected]> and subject line Re: Bug#551509: libtbb2-dbg: libtbbmalloc crashes during initialization has caused the Debian Bug report #551509, regarding libtbb2-dbg: libtbbmalloc crashes during initialization 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.) -- 551509: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=551509 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libtbb2-dbg Version: 2.2+r004-1 Severity: normal $ cat > 1.cpp int main () { return 0; } $ g++ 1.cpp /usr/lib/debug/usr/lib/libtbbmalloc.so.2 -lpthread -ldl $ ./a.out Segmentation fault -- System Information: Debian Release: 5.0.3 APT prefers stable APT policy: (990, 'stable'), (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libtbb2-dbg depends on: ii libtbb2 2.2+r004-1 parallelism library for C++ - runt libtbb2-dbg recommends no packages. libtbb2-dbg suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---On Sun, Oct 18, 2009 at 10:26:09PM +0400, Gaydov Victor wrote: > Package: libtbb2-dbg > Version: 2.2+r004-1 > Severity: normal > > $ cat > 1.cpp > int main () { return 0; } > > $ g++ 1.cpp /usr/lib/debug/usr/lib/libtbbmalloc.so.2 -lpthread -ldl > $ ./a.out > Segmentation fault > You cannot use a debug library in that way. The way it works is that you write some program that uses some symbols from libtbbmalloc.so.2. You make sure that libtbb-dev is installed, then you compile like this: g++ foo.cpp -g -ltbbmalloc -lpthread -ldl Then, if you also happen to have libtbb2-dbg, you can simply use this: gdb ./a.out When you begin stepping through your program, you will have source information, even when you drop into the libtbbmalloc.so.2 part. Since this is not really a bug, but the way that -dbg library packaeges are supposed to work, I am closing this bug report. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
signature.asc
Description: Digital signature
--- End Message ---

