Changeset e1075d1 in git


Ignore:
Timestamp:
2012-06-23T18:37:22Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
7871ef9
Parents:
36d9fcf
Message:

collect more info in minidump

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@921 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    r6ae47f3 re1075d1  
    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.