Changeset 921 in svn


Ignore:
Timestamp:
2012-06-23T18:37:22Z (3 years ago)
Author:
Xuefer
Message:

collect more info in minidump

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r919 r921  
    33753375
    33763376        /* write the dump */
    3377         ok = dbghelp_MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), fileHandle, MiniDumpNormal, &exceptionInformation, NULL, NULL);
     3377        ok = dbghelp_MiniDumpWriteDump(GetCurrentProcess(), GetCurrentProcessId(), fileHandle, MiniDumpNormal|MiniDumpWithDataSegs|MiniDumpFilterMemory, &exceptionInformation, NULL, NULL);
    33783378        CloseHandle(fileHandle);
    33793379        if (ok) {
     
    34393439        }
    34403440    }
    3441     sprintf(crash_dumpPath, "%s\\php-%s-xcache-%s-%lu.dmp", xc_coredump_dir, phpVersion, XCACHE_VERSION, (unsigned long) GetCurrentProcessId());
     3441    sprintf(crash_dumpPath, "%s\\php-%s-xcache-%s-%lu-%lu.dmp", xc_coredump_dir, phpVersion, XCACHE_VERSION, (unsigned long) time(NULL), (unsigned long) GetCurrentProcessId());
    34423442
    34433443    oldFilter = SetUnhandledExceptionFilter(&miniDumperFilter);
Note: See TracChangeset for help on using the changeset viewer.