diff options
| author | Aura Linden <aura@lindenlab.com> | 2014-01-23 17:04:33 -0800 | 
|---|---|---|
| committer | Aura Linden <aura@lindenlab.com> | 2014-01-23 17:04:33 -0800 | 
| commit | 33b0ae6ebf8a085a8795a9e5b02455fb7ebf0e6f (patch) | |
| tree | c0ee93b7f434fbc1445ad0dee83b1bf2d423dbe9 /indra/llcommon | |
| parent | efc41f95bb1dd79248f9bc6b2389b35d15ba5c49 (diff) | |
Debugging changes.  fixed broken pipe.
Diffstat (limited to 'indra/llcommon')
| -rwxr-xr-x | indra/llcommon/llapp.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/indra/llcommon/llapp.cpp b/indra/llcommon/llapp.cpp index dabed2ba7c..7ef4e7fb92 100755 --- a/indra/llcommon/llapp.cpp +++ b/indra/llcommon/llapp.cpp @@ -339,16 +339,17 @@ void LLApp::setupErrorHandling()  	{  		llwarns << "adding breakpad exception handler" << llendl; -		const std::wstring wpipe_name(wstringize(getPid())); -		const std::string pipe_name(stringize(wpipe_name)); +		std::wstring wpipe_name; +		wpipe_name =  mCrashReportPipeStr + wstringize(getPid());  		::Sleep(3000);  //HACK hopefully a static wait won't blow up in my face before google fixes their implementation. +		const std::wstring wdump_path(wstringize(mDumpPath));  		//HACK this for loop is ueless.  Breakpad dumbly returns success when the OOP handler isn't initialized.  		for (int retries=0;retries<5;++retries)  		{  			mExceptionHandler = new google_breakpad::ExceptionHandler( -														wstringize(mDumpPath),		 +														wdump_path,		  														NULL,		//No filter  														windows_post_minidump_callback,  														0, | 
