Search the web
Sign In
New User? Sign Up
dmalloc · Debug Malloc Library (dmalloc) Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want your group to be featured on the Yahoo! Groups website? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
[hercules@lokigames.com: Evil update]   Message List  
Reply | Forward Message #106 of 529 |
I had been suffering with some very nasty problems in my large C++
app, and our lead coder recently uncovered what they are. They
manifested most obviously with large STL code bases.

----- Begin forwarded message -----

dmalloc calls vfprintf on startup of your program, if you have a
logfile. fprintf saves errno. For multithreaded applications, errno is
a pointer to an area on the stack, which is not initialized by pthreads
at the very start of a program.

The innocuous line:
save_errno = errno;
causes a crash.

----- End forwarded message -----

Sam will send you a patch soon.

m.

--
Programmer "I wrote a song about dental floss,
Loki Entertainment Software but did anyone's teeth get cleaner?"
http://lokigames.com/~briareos/ - Frank Zappa, re: the PMRC



Sat Nov 13, 1999 2:03 am

briareos@...
Send Email Send Email

Forward
Message #106 of 529 |
Expand Messages Author Sort by Date

I had been suffering with some very nasty problems in my large C++ app, and our lead coder recently uncovered what they are. They manifested most obviously...
Michael Vance
briareos@...
Send Email
Nov 13, 1999
2:00 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help