Home » U++ Library support » U++ MT-multithreading and servers » WebSSL memory leak problem.
Re: WebSSL memory leak problem. [message #26620 is a reply to message #26619] |
Sun, 16 May 2010 18:59 |
|
Oblivion wrote on Sun, 16 May 2010 17:42 |
I've successfully installed the latest stable release (2361-lucid-i386) of upp via ubuntu "stable" ppa yesterday. But I'm getting heap leaks with the WebSSL package all the time.
|
Hi Oblivion,
Glad to hear the PPA works
I can't help you with the memory leak, but I know how to fix the valgrind. The command line syntax was apparently changed lately. Quick fix (in ide/Valgrind.cpp): void Ide::Valgrind()
{
if(!IsValgrind())
return;
static String ValgrindLogFile;
if(IsNull(ValgrindLogFile)) {
StringStream ss;
CreateHostRunDir()->Execute("valgrind --help", ss);
String txt = ss;
if(txt.Find("--log-file-exactly") > 0)
ValgrindLogFile = "--log-file-exactly=";
else
ValgrindLogFile = "--log-file=";
if(txt.Find("--xml-file") > 0) // Added
ValgrindLogFile = "--xml-file="; // Added
}
... But this requires recompiling theide... If you don't want to do that, I would recommend you to use nightly PPA. I believe someone will commit this or better fix in one or two days.
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Sun May 05 21:05:27 CEST 2024
Total time taken to generate the page: 0.01495 seconds
|