g++ version: 3.2

ERROR: [MISMAT] is desirable: it means mpatrol
   found a deliberate error in the user dll
WARNING: [RNGOVL] is desirable: it means mpatrol
   found a deliberate error in the user exe
Other mpatrol diagnostics are undesirable
"total errors" is desirable; it means mpatrol
   finished writing mpatrol.log

OPTIONS:
   MPATROL_FOR_APP=
   MPATROL_FOR_DLL=LINK_MPATROL_DYNAMIC
malloc returned 0x1080000
About to free   0x1080000
Last line of program executed.
ERROR: [MISMAT]: free: 0x0111FFE9 does not match allocation of 0x0111FFE8
ERROR: [NOTALL]: free: 0x003F2768 has not been allocated

['*' flags bad outcomes]

* yes overlook error in app
  no  overlook error in dll
  no  spurious dtor error
* yes other spurious errors
* yes mpatrol log unfinished
  no  mpatrol.log corrupt

One 'other' spurious error: some ostream thing
  it goes away with CPPFLAGS=-DUSE_PRINTF

OPTIONS:
   MPATROL_FOR_APP=
   MPATROL_FOR_DLL=LINK_MPATROL_STATIC
malloc returned 0x111ff40
About to free   0x111ff40
Last line of program executed.
ERROR: [MISMAT]: free: 0x0111FF31 does not match allocation of 0x0111FF30

* yes overlook error in app
  no  overlook error in dll
  no  spurious dtor error
  no  other spurious errors
* yes mpatrol log unfinished
  no  mpatrol.log corrupt

OPTIONS:
   MPATROL_FOR_APP=LINK_MPATROL_DYNAMIC
   MPATROL_FOR_DLL=
malloc returned 0x3f39d8
About to free   0x3f39d8
Last line of program executed.
WARNING: [RNGOVL]: memcpy: range [0x003F2789,0x003F278F] overlaps [0x003F2788,0x003F278E]
ERROR: [NOTALL]: free: 0x003F4E68 has not been allocated
ERROR: [NOTALL]: free: 0x003F39D8 has not been allocated

  no  overlook error in app
* yes overlook error in dll
* yes spurious dtor error
* yes other spurious errors
* yes mpatrol log unfinished
  no  mpatrol.log corrupt

One 'other' spurious error: some ostream thing
  it goes away with CPPFLAGS=-DUSE_PRINTF

OPTIONS:
   MPATROL_FOR_APP=LINK_MPATROL_DYNAMIC
   MPATROL_FOR_DLL=LINK_MPATROL_DYNAMIC
malloc returned 0x1080028
About to free   0x1080028
Last line of program executed.
WARNING: [RNGOVL]: memcpy: range [0x003F26F9,0x003F26FF] overlaps [0x003F26F8,0x003F26FE]
ERROR: [MISMAT]: free: 0x01080019 does not match allocation of 0x01080018
ERROR: [NOTALL]: free: 0x003F2768 has not been allocated
ERROR: [NOTALL]: free: 0x003F27E8 has not been allocated

  no  overlook error in app
  no  overlook error in dll
  no  spurious dtor error
* yes other spurious errors
* yes mpatrol log unfinished
  no  mpatrol.log corrupt

Two 'other' spurious errors: one looks like some ostream thing
  they both go away with CPPFLAGS=-DUSE_PRINTF

OPTIONS:
   MPATROL_FOR_APP=LINK_MPATROL_DYNAMIC
   MPATROL_FOR_DLL=LINK_MPATROL_STATIC
malloc returned 0x111ff68
About to free   0x111ff68
Last line of program executed.
ERROR: [MISMAT]: f07] overlaps [0x003F2700,0x003F2706]
ERROR: [NOTALL]: free: 0x003F27D8 has not been allocated
ERROR: [NOTALL]: free: 0x0111FF68 has not been allocated

* yes overlook error in app
  no  overlook error in dll
* yes spurious dtor error
* yes other spurious errors
* yes mpatrol log unfinished
* yes mpatrol.log corrupt

One 'other' spurious error: some ostream thing
  it goes away with CPPFLAGS=-DUSE_PRINTF

mpatrol.log is corrupted, e.g.
  ERROR: [MISMAT]: f07] overlaps [0x005A2700,0x005A2706]
                   ^^^

OPTIONS:
   MPATROL_FOR_APP=LINK_MPATROL_STATIC
   MPATROL_FOR_DLL=
malloc returned 0x3f27b8
About to free   0x3f27b8
Last line of program executed.
WARNING: [RNGOVL]: memcpy: range [0x011C6439,0x011C643F] overlaps [0x011C6438,0x011C643E]
ERROR: [NOTALL]: free: 0x003F27B8 has not been allocated
total errors:      1

  no  overlook error in app
* yes overlook error in dll
* yes spurious dtor error
  no  other spurious errors
  no  mpatrol log unfinished
  no  mpatrol.log corrupt

OPTIONS:
   MPATROL_FOR_APP=LINK_MPATROL_STATIC
   MPATROL_FOR_DLL=LINK_MPATROL_DYNAMIC
malloc returned 0x11a6598
About to free   0x11a6598
Last line of program executed.
ERROR: [MISMAT]: f3F] overlaps [0x014A6438,0x014A643E]
ERROR: [NOTALL]: free: 0x011A6598 has not been allocated
ERROR: [NOTALL]: free: 0x003F26F8 has not been allocated
total errors:      1

* yes overlook error in app
  no  overlook error in dll
* yes spurious dtor error
* yes other spurious errors
  no  mpatrol log unfinished
* yes mpatrol.log corrupt

One 'other' spurious error: can't tell what it is
  it goes away with CPPFLAGS=-DUSE_PRINTF

mpatrol.log is corrupted, e.g.
  ERROR: [MISMAT]: f3F] overlaps [0x01676438,0x0167643E]
                   ^^^
That looks like the deliberate error in the dll.

mpatrol.log shows three ERRORS and no WARNINGS, but summary says:
  total warnings:    1
  total errors:      1

OPTIONS:
   MPATROL_FOR_APP=LINK_MPATROL_STATIC
   MPATROL_FOR_DLL=LINK_MPATROL_STATIC
malloc returned 0x11a64e0
About to free   0x11a64e0
Last line of program executed.
WARNING: [RNGOVL]: memcpy: range [0x01486439,0x0148643F] overlaps [0x01486438,0x0148643E]
total errors:      1

  no  overlook error in app
* yes overlook error in dll
* yes spurious dtor error
  no  other spurious errors
  no  mpatrol log unfinished
* yes mpatrol.log corrupt

mpatrol.log is corrupted, e.g. 'NOTALL' is missing here:
   has not been allocated
  ^
Therefore the 'spurious dtor error' isn't found by sed, although
it actually is present.

