libgmalloc bug
Salvatore Domenick Desiano
sal at ri.cmu.edu
Mon Mar 5 14:27:57 PST 2007
Excellent. Thank you.
-- Sal
smile.
--------------
Salvatore Domenick Desiano
Doctoral Candidate
Robotics Institute
Carnegie Mellon University
On Mon, 5 Mar 2007, David MacMahon wrote:
o FWIW, my MacBook Pro gets a segfault running your test program with
o DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib in the environment, too.
o
o Dave
o
o On Mar 5, 2007, at 12:24 , Salvatore Domenick Desiano wrote:
o
o > I'm not sure if this is a libgmalloc bug, a gcc bug, or a iostream bug, but
o > I just spent 20 hours boiling a crash in opencv down to ten lines of code.
o > Can somebody else on a MacBook Pro run the following and see if they get a
o > seg fault? Input from a PPC based processor also welcome.
o >
o > If this is a problem, I'm not even sure how to go back and fix the OpenCV
o > port, but if it's not, but at least I'll know I'm working on a real problem.
o >
o > So frustrating!
o >
o > Thanks!
o >
o > -- Sal
o > smile.
o >
o >
o > cat > bug.cpp
o > #include <iostream>
o >
o > void test ()
o > {
o > for(unsigned i = 1; i < 3; ++i )
o > {
o > std::cout << "HELLO";
o > }
o > }
o >
o > int main (int argn, char * argv)
o > {
o > test();
o > return 0;
o > }
o > ^D
o > g++ -Wall -fomit-frame-pointer -O1 -o bug bug.cpp
o > setenv DYLD_INSERT_LIBRARIES /usr/lib/libgmalloc.dylib
o > ./bug
o >
o >
o >
o > --------------
o > Salvatore Domenick Desiano
o > Doctoral Candidate
o > Robotics Institute
o > Carnegie Mellon University
o > _______________________________________________
o > macports-dev mailing list
o > macports-dev at lists.macosforge.org
o > http://lists.macosforge.org/mailman/listinfo/macports-dev
o
o _______________________________________________
o macports-dev mailing list
o macports-dev at lists.macosforge.org
o http://lists.macosforge.org/mailman/listinfo/macports-dev
o
More information about the macports-dev
mailing list