madTraceProcess64.exe produces invalid report

delphi package - automated exception handling
Post Reply
marcin
Posts: 5
Joined: Thu Jan 28, 2016 8:42 am

madTraceProcess64.exe produces invalid report

Post by marcin »

Seems like this tool is tracing itself...
I am running this tool as administrator.

What may be the cause?
Attachments
no call stacks
no call stacks
call stacks.png (26.05 KiB) Viewed 7858 times
Traced executable is build with Delphi XE8<br />I for sure do not have 131029GB of memory!
Traced executable is build with Delphi XE8
I for sure do not have 131029GB of memory!
general.png (42.18 KiB) Viewed 7858 times
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: madTraceProcess64.exe produces invalid report

Post by madshi »

You can press Ctrl+C to copy the bug report to the clipboard, btw, so you don't have to do screenshots. Here's what I'm getting when running madTraceProcess64 on a Delphi x64 process. Seems to work fine for me:

Code: Select all

date/time          : 2016-01-28, 10:11:47, 671ms
computer name      : DEV-PC
user name          : madshi
registered owner   : madshi
operating system   : Windows 8.1 x64 build 9600
system language    : German
system up time     : 11 hours 43 minutes
program up time    : 9 seconds
processors         : 8x Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
physical memory    : 28511/32644 MB (free/total)
free disk space    : (C:) 11,94 GB (D:) 186,40 GB
display mode       : 1680x1050, 32 bit
process id         : $1760
allocated memory   : 21,60 MB
largest free block : 131025,99 GB
executable         : Project1.exe
exec. date/time    : 2016-01-28 10:11
version            : 1.0.0.0
compiled with      : Delphi XE7
madExcept version  : 4.0.14
callstack crc      : $bdc26422, $ab81f15a, $ab81f15a

main thread ($23f0):
0076a3f5 +165 Project1.exe Vcl.Forms 10962 +39 TApplication.Idle
00768eb3 +023 Project1.exe Vcl.Forms 10382  +1 TApplication.HandleMessage
0076933f +0ef Project1.exe Vcl.Forms 10520 +26 TApplication.Run
00786dac +05c Project1.exe Project1     18  +4 initialization
7ffd29b7 +020 KERNEL32.DLL                     BaseThreadInitThunk
7ffd2a10 +032 ntdll.dll                        RtlUserThreadStart

thread $ac:
7ffd29b7 +20 KERNEL32.DLL  BaseThreadInitThunk
7ffd2a10 +32 ntdll.dll     RtlUserThreadStart

thread $2068:
7ffd29b7 +20 KERNEL32.DLL  BaseThreadInitThunk
7ffd2a10 +32 ntdll.dll     RtlUserThreadStart

modules:
00400000 Project1.exe         1.0.0.0             D:\Desktop\64bittest\Win64\Debug
18000000 ADvdDiscHlp64.dll    7.5.1.10            C:\Program Files (x86)\SlySoft\AnyDVD
7ffd1556 FaultRep.dll         6.3.9600.17550      C:\WINDOWS\SYSTEM32
7ffd16f0 dbghelp.dll          6.3.9600.17787      C:\WINDOWS\SYSTEM32
7ffd1d97 wsock32.dll          6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd1edd ntmarta.dll          6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd20be propsys.dll          7.0.9600.17415      C:\WINDOWS\system32
7ffd244a winspool.drv         6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd24ad version.dll          6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd2511 comctl32.dll         6.10.9600.18006     C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.18006_none_623f33d3ecbe86e8
7ffd2554 dwmapi.dll           6.3.9600.17415      C:\WINDOWS\system32
7ffd2574 SHCORE.DLL           6.3.9600.17666      C:\WINDOWS\SYSTEM32
7ffd25dc wtsapi32.dll         6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd25eb uxtheme.dll          6.3.9600.17415      C:\WINDOWS\system32
7ffd260a kernel.appcore.dll   6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd264a WINSTA.dll           6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd270d bcryptPrimitives.dll 6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd271f SspiCli.dll          6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd2722 CRYPTBASE.dll        6.3.9600.17415      C:\WINDOWS\SYSTEM32
7ffd2737 KERNELBASE.dll       6.3.9600.18007      C:\WINDOWS\system32
7ffd2754 CFGMGR32.dll         6.3.9600.17415      C:\WINDOWS\system32
7ffd2777 sechost.dll          6.3.9600.17734      C:\WINDOWS\SYSTEM32
7ffd277d msvcrt.dll           7.0.9600.17415      C:\WINDOWS\system32
7ffd2788 combase.dll          6.3.9600.17415      C:\WINDOWS\system32
7ffd27aa NSI.dll              6.3.9600.17415      C:\WINDOWS\system32
7ffd27ab clbcatq.dll          2001.12.10530.17415 C:\WINDOWS\SYSTEM32
7ffd27b7 ole32.dll            6.3.9600.17905      C:\WINDOWS\system32
7ffd27d1 RPCRT4.dll           6.3.9600.17919      C:\WINDOWS\system32
7ffd27e6 advapi32.dll         6.3.9600.18007      C:\WINDOWS\system32
7ffd27f1 shell32.dll          6.3.9600.18038      C:\WINDOWS\system32
7ffd2944 SHLWAPI.dll          6.3.9600.17415      C:\WINDOWS\system32
7ffd294a MSCTF.dll            6.3.9600.17706      C:\WINDOWS\system32
7ffd2961 user32.dll           6.3.9600.17415      C:\WINDOWS\system32
7ffd2979 WS2_32.dll           6.3.9600.17415      C:\WINDOWS\system32
7ffd297f gdi32.dll            6.3.9600.17925      C:\WINDOWS\system32
7ffd299d oleaut32.dll         6.3.9600.17560      C:\WINDOWS\system32
7ffd29aa comdlg32.dll         6.3.9600.17415      C:\WINDOWS\system32
7ffd29b7 KERNEL32.DLL         6.3.9600.17415      C:\WINDOWS\system32
7ffd29cb IMM32.DLL            6.3.9600.17415      C:\WINDOWS\system32
7ffd29ea SETUPAPI.dll         6.3.9600.17415      C:\WINDOWS\system32
7ffd2a0f ntdll.dll            6.3.9600.18007      C:\WINDOWS\SYSTEM32

processes:
0000 Idle                         0 0    0
0004 System                       0 0    0
016c smss.exe                     0 0    0
023c csrss.exe                    0 0    0
02a8 wininit.exe                  0 0    0
02b0 csrss.exe                    1 0    0
02e0 services.exe                 0 0    0
02e8 lsass.exe                    0 0    0
0330 svchost.exe                  0 0    0
0358 svchost.exe                  0 0    0
03a0 winlogon.exe                 1 0    0
03fc nvvsvc.exe                   0 0    0
014c nvSCPAPISvr.exe              0 0    0
0210 nvxdsync.exe                 1 0    0
0244 nvvsvc.exe                   1 0    0
02ec atiesrxx.exe                 0 0    0
037c svchost.exe                  0 0    0
0424 svchost.exe                  0 0    0
044c svchost.exe                  0 0    0
0470 svchost.exe                  0 0    0
04bc atieclxx.exe                 1 0    0
04e0 igfxCUIService.exe           0 0    0
05a4 svchost.exe                  0 0    0
066c spoolsv.exe                  0 0    0
0690 svchost.exe                  0 0    0
0708 armsvc.exe                   0 0    0
0718 Agile1pService.exe           0 0    0
0730 AppleMobileDeviceService.exe 0 0    0
075c BSQLServer.exe               0 0    0
07a8 mDNSResponder.exe            0 0    0
07b8 CpuLoadService.exe           0 0    0
07d4 svchost.exe                  0 0    0
07f0 dasHost.exe                  0 0    0
07fc GfExperienceService.exe      0 0    0
074c ibguard.exe                  0 0    0
07d0 IpOverUsbSvc.exe             0 0    0
081c mdm.exe                      0 0    0
0834 mbbService.exe               0 0    0
086c svchost.exe                  0 0    0
0880 NvNetworkService.exe         0 0    0
08c0 NvStreamService.exe          0 0    0
08e4 svchost.exe                  0 0    0
0900 RzWizardService.exe          0 0    0
0940 sqlwriter.exe                0 0    0
0950 svchost.exe                  0 0    0
0978 vmnat.exe                    0 0    0
09ac MsMpEng.exe                  0 0    0
09d4 vmnetdhcp.exe                0 0    0
09e4 vmware-usbarbitrator64.exe   0 0    0
0a1c vmware-authd.exe             0 0    0
0c0c speedfan.exe                 1 0    0
0c14 taskhostex.exe               1 18   18  normal C:\WINDOWS\system32
0dec ibserver.exe                 0 0    0
0ee0 svchost.exe                  0 0    0
0f14 WUDFHost.exe                 0 0    0
0c48 PresentationFontCache.exe    0 0    0
0bf8 Explorer.EXE                 1 1518 642 normal C:\WINDOWS
07c0 NvStreamNetworkService.exe   0 0    0
1018 igfxEM.exe                   1 16   18  normal C:\WINDOWS\system32
1100 ClassicStartMenu.exe         1 9    4   normal C:\Program Files\Classic Shell
128c SearchIndexer.exe            0 0    0
1394 NvStreamUserAgent.exe        1 0    0
13ac conhost.exe                  1 0    0
1034 NvBackend.exe                1 14   8   normal C:\Program Files (x86)\NVIDIA Corporation\Update Core
1188 nvtray.exe                   1 81   4   normal C:\Program Files\NVIDIA Corporation\Display
15d0 madHcCtrl.exe                1 78   31  normal D:\Desktop\madVR
1334 RtkNGUI64.exe                1 22   28  normal C:\Program Files\Realtek\Audio\HDA
16a8 iTunesHelper.exe             1 15   9   normal C:\Program Files\iTunes
1578 fdm.exe                      1 431  267 normal C:\Program Files (x86)\Free Download Manager
1820 AnyDVDtray.exe               1 52   40  high   C:\Program Files (x86)\SlySoft\AnyDVD
1838 uTorrent.exe                 1 230  147 normal D:\Eigene Dateien\AppData\uTorrent
186c ADvdDiscHlp64.exe            1 9    2   normal C:\Program Files (x86)\SlySoft\AnyDVD
1878 conhost.exe                  1 20   1   normal C:\WINDOWS\system32
18a4 iPodService.exe              0 0    0
1960 Dropbox.exe                  1 57   46  normal D:\Eigene Dateien\AppData\Dropbox\bin
1974 Agile1pAgent.exe             1 37   28  normal C:\Program Files (x86)\1Password
1990 pdf24.exe                    1 18   6   normal C:\Program Files (x86)\PDF24
19d4 MOM.exe                      1 9    10  normal C:\Program Files (x86)\AMD\ATI.ACE\Core-Static
1a78 CCC.exe                      1 54   92  normal C:\Program Files (x86)\AMD\ATI.ACE\Core-Static
04b4 chrome.exe                   1 93   74  normal C:\Program Files (x86)\Google\Chrome\Application
1550 chrome.exe                   1 14   7   normal C:\Program Files (x86)\Google\Chrome\Application
176c chrome.exe                   1 0    0   normal C:\Program Files (x86)\Google\Chrome\Application
158c chrome.exe                   1 0    0   normal C:\Program Files (x86)\Google\Chrome\Application
0f44 chrome.exe                   1 0    0   normal C:\Program Files (x86)\Google\Chrome\Application
0fd8 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
04f4 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1c2c chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1c74 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1d04 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1d58 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1d60 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1dbc chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1df0 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1e38 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1e94 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1ebc chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1f10 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1f54 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1ff8 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
0158 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
0a58 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1f04 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1f3c chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
0b10 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
0c90 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
0ff8 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
17c8 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
09cc chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1a74 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1a40 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1be0 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
17f8 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
2070 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
20e8 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
2260 dwm.exe                      1 0    0
0194 chrome.exe                   1 0    0   idle   C:\Program Files (x86)\Google\Chrome\Application
1948 audiodg.exe                  0 0    0
21ac SearchProtocolHost.exe       0 0    0
1794 SearchFilterHost.exe         0 0    0
1760 Project1.exe                 1 38   28  normal D:\Desktop\64bittest\Win64\Debug
20a0 madTraceProcess64.exe        1 44   24  normal C:\Sources\Madshi

hardware:
+ {1ed2bbf9-11f0-4084-b21f-ad83a8e6dcdc}
  - Fax
  - HP Universal Printing PCL 6
  - Microsoft XPS Document Writer
  - PDF24 Fax
  - PDF24 PDF
  - Stammdruckwarteschlange
+ {36fc9e60-c465-11cf-8056-444553540000}
  - Generic USB Hub
  - Generic USB Hub
  - Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E26 (driver 9.3.0.1011)
  - Intel(R) 7 Series/C216 Chipset Family USB Enhanced Host Controller - 1E2D (driver 9.3.0.1011)
  - Intel(R) USB 3.0 eXtensible-Hostcontroller - 0100 (Microsoft)
  - USB-Massenspeichergerät
  - USB-Root-Hub
  - USB-Root-Hub
  - USB-Root-Hub (xHCI)
+ {4d36e965-e325-11ce-bfc1-08002be10318}
  - HL-DT-ST BDDVDRW GGC-H20L USB Device
+ {4d36e966-e325-11ce-bfc1-08002be10318}
  - ACPI x64-basierter Computer
+ {4d36e967-e325-11ce-bfc1-08002be10318}
  - SAMSUNG HD103UJ
  - Samsung SSD 840 PRO Series
+ {4d36e968-e325-11ce-bfc1-08002be10318}
  - AMD Radeon HD 7700 Series (driver 15.200.1062.1004)
  - Intel(R) HD Graphics 4000 (driver 10.18.10.4276)
  - NVIDIA GeForce GTX 960 (driver 10.18.13.6143)
+ {4d36e96a-e325-11ce-bfc1-08002be10318}
  - Intel(R) 7 Series/C216 Chipset Family SATA AHCI Controller - 1E02 (driver 9.3.0.1011)
+ {4d36e96b-e325-11ce-bfc1-08002be10318}
  - Cherry GmbH-Tastatur (USB)
+ {4d36e96c-e325-11ce-bfc1-08002be10318}
  - AMD High Definition Audio Device (driver 9.0.0.9909)
  - Intel(R) Display-Audio (driver 6.16.0.3154)
  - NVIDIA High Definition Audio (driver 1.3.34.4)
  - NVIDIA Virtual Audio Device (Wave Extensible) (WDM) (driver 1.2.31.0)
  - Realtek High Definition Audio (driver 6.0.1.6657)
+ {4d36e96e-e325-11ce-bfc1-08002be10318}
  - PnP-Monitor (Standard)
  - PnP-Monitor (Standard)
+ {4d36e96f-e325-11ce-bfc1-08002be10318}
  - HID-konforme Maus
+ {4d36e972-e325-11ce-bfc1-08002be10318}
  - Controller der Familie Realtek PCIe GBE #2
  - Microsoft Kerneldebugger-Netzwerkadapter
  - Microsoft-ISATAP-Adapter
  - Microsoft-ISATAP-Adapter #2
  - Microsoft-ISATAP-Adapter #3
  - Teredo Tunneling Pseudo-Interface
  - VMware Virtual Ethernet Adapter for VMnet1 (driver 4.2.3.0)
  - VMware Virtual Ethernet Adapter for VMnet8 (driver 4.2.3.0)
+ {4d36e97b-e325-11ce-bfc1-08002be10318}
  - Microsoft-Controller für Speicherplätze
+ {4d36e97d-e325-11ce-bfc1-08002be10318}
  - ACPI-Einschaltknopf
  - ACPI-Lüfter
  - ACPI-Lüfter
  - ACPI-Lüfter
  - ACPI-Lüfter
  - ACPI-Lüfter
  - ACPI-Schalter
  - ACPI-Thermozone
  - ACPI-Thermozone
  - Busenumerator für Verbundgeräte
  - DMA-Controller
  - Enumerator für virtuelle NDIS-Netzwerkadapter
  - Geräte-Redirectorbus für Remotedesktop
  - Hauptplatinenressourcen
  - Hauptplatinenressourcen
  - Hauptplatinenressourcen
  - Hauptplatinenressourcen
  - Hauptplatinenressourcen
  - High Definition Audio Bus (driver 9.2.0.0)
  - High Definition Audio-Controller
  - High Definition Audio-Controller
  - Hochpräzisionsereigniszeitgeber
  - Intel(R) 7 Series/C216-Chipsatzfamilie - PCI Express-Stammport 1 - 1E10
  - Intel(R) 7 Series/C216-Chipsatzfamilie - PCI Express-Stammport 4 - 1E16
  - Intel(R) 7 Series/C216-Chipsatzfamilie - SMBus-Hostcontroller - 1E22
  - Intel(R) 82802 Firmwarehub
  - Intel(R) Management Engine Interface  (driver 8.1.0.1263)
  - Intel(R) Z77 Express-Chipsatz - LPC-Controller - 1E44
  - IWD Bus Enumerator (driver 4.5.65.0)
  - Microsoft ACPI-konformes System
  - Microsoft Basic Display Driver
  - Microsoft Basic Render Driver
  - Microsoft virtueller Datenträgerenumerator
  - Microsoft Windows-Verwaltungsschnittstelle für ACPI
  - Microsoft-Systemverwaltungs-BIOS-Treiber
  - Numerischer Coprozessor
  - PnP-Softwaregeräte-Enumerator
  - Programmierbarer Interruptcontroller
  - Stammkomplex für PCI-Express
  - System CMOS/Echtzeituhr
  - Systemplatine
  - Systemplatine
  - Systemzeitgeber
  - UMBus-Stamm-Busenumerator
  - UMBusenumerator
  - VMware VMCI Host Device (driver 9.7.1.0)
  - Volume-Manager
  - Xeon(R)-Prozessor E3-1200 v2/Core-Prozessor der dritten Generation - DRAM-Controller - 0150
  - Xeon(R)-Prozessor E3-1200 v2/Core-Prozessor der dritten Generation - PCI Express-Stammport - 0151
  - Xeon(R)-Prozessor E3-1200 v2/Core-Prozessor der dritten Generation - PCI Express-Stammport - 0155
+ {50127dc3-0f36-415e-a6cc-4cb3be910b65}
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
  - Intel(R) Core(TM) i7-3770T CPU @ 2.50GHz
+ {5175d334-c371-4806-b3ba-71fd53c9258d}
  - Microsoft Visual Studio Location Simulator Sensor (driver 11.0.0.0)
+ {533c5b84-ec70-11d2-9505-00c04f79deaf}
  - Standard-Volumeschattenkopie
  - Standard-Volumeschattenkopie
  - Standard-Volumeschattenkopie
+ {62f9c741-b25a-46ce-b54c-9bccce08b6f2}
  - AVM FRITZ!Mediaserver
  - INTELSDP: eric:
  - INTELSDP: madshi:
  - Microsoft Device Association Root Enumerator
  - Microsoft-Übergangsadapterbus von IPv4 nach IPv6
+ {6bdd1fc6-810f-11d0-bec7-08002be2092f}
  - HP CLJ CM1312 Scan (driver 3.0.0.1)
+ {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
  - Cherry GmbH-Tastatur (USB)
  - Razer DeathAdder 3.5G Black (driver 6.2.9200.16415)
+ {c166523c-fe0c-4a94-a586-f1a80cfbbf3e}
  - Lautsprecher (Realtek High Definition Audio)
  - Realtek Digital Output (Realtek High Definition Audio)

disassembling:
[...]
0076a3e7         test    al, al
0076a3e9         jz      loc_76a3ef
0076a3eb 10958   mov     byte ptr [rbp+$47], 0
0076a3ef 10962   cmp     byte ptr [rbp+$47], 0
0076a3f3         jz      loc_76a3fa
0076a3f5       > call    -$34bc5a ($41e7a0)     ; Winapi.Windows.WaitMessage
0076a3fa         nop
0076a3fb 10963   lea     rcx, [rbp+$28]
0076a3ff         mov     edx, 2
0076a405         call    -$35b59a ($40ee70)     ; System.@UStrArrayClr
0076a40a         lea     rsp, [rbp+$58]
[...]
marcin
Posts: 5
Joined: Thu Jan 28, 2016 8:42 am

Re: madTraceProcess64.exe produces invalid report

Post by marcin »

Here is mine:

Code: Select all

date/time          : 2016-01-28, 11:58:35, 836ms
operating system   : Windows 10 x64 build 10240
system language    : English
system up time     : 7 days 23 hours
program up time    : 3 seconds
processors         : 8x Intel(R) Xeon(R) CPU W3520 @ 2.67GHz
physical memory    : 4198/12286 MB (free/total)
free disk space    : (C:) 135.69 GB (V:) 226.21 GB
display mode       : 1680x1050, 32 bit
process id         : $3774
allocated memory   : 50.11 MB
largest free block : 131029.99 GB
executable         : madTraceProcess64.exe
exec. date/time    : 2015-09-14 07:32
compiled with      : Delphi XE2
madExcept version  : 4.0.12
callstack crc      : will be calculated soon
exception number   : 1
exception class    : Unknown
exception message  : Unknown.

thread $0:
>> stack not accessible, exception location:
00000000 +ffffffffffbb7410 madTraceProcess64.exe madStackTrace +0 StackAddrToStr

main thread ($157c): <priority:15>
>> internal error

thread $1540:
>> internal error

thread $33c8:
>> internal error

thread $189c:
>> internal error

thread $f88:
>> internal error

thread $2f8c:
>> internal error

disassembling:
>> will be calculated soon
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: madTraceProcess64.exe produces invalid report

Post by madshi »

When you start madTraceProcess, does the tool offer you a list of processes to trace? And is the one you want to trace listed? Which one is that? Is that a 64bit Delphi application you wrote yourself? Have you tried running madTraceProcess with admin rights?
marcin
Posts: 5
Joined: Thu Jan 28, 2016 8:42 am

Re: madTraceProcess64.exe produces invalid report

Post by marcin »

I am running tool as Administrator (as always).
My process is listed (along with other my 64 bit processes) and all produce similar wrong result.
I compile it in Delphi XE8. I enabled madExcept using madExcept wizard.
Everything works fine for 32bit processes.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: madTraceProcess64.exe produces invalid report

Post by madshi »

Well, on my PC it seems to work fine, so it's hard for me to debug what's going on on your PC.

Does normal exception handling and reporting work fine for your x64 processes?

The source code of madTraceProcess is included in the commercial madExcept version. Maybe you can compile madTraceProcess yourself and have a look in the debugger to see where it fails? Judging by your bug report text it seems madTraceProcess is analyzing itself instead of the selected target process. So it seems that maybe opening the target process' process handle fails, or something like that?
marcin
Posts: 5
Joined: Thu Jan 28, 2016 8:42 am

Re: madTraceProcess64.exe produces invalid report

Post by marcin »

I can see only madTraceProcess.dpr with no x64 target. If I add it cannot compile because I have no madRemote :(.
Is this the right project?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: madTraceProcess64.exe produces invalid report

Post by madshi »

That's the right project. You can create the x64 target yourself. I forgot about madRemote, but I don't think it's really needed. Simply delete it from the uses clause, then rename "CreateRemoteThreadEx" to "CreateRemoteThread", I think it should compile then.
marcin
Posts: 5
Joined: Thu Jan 28, 2016 8:42 am

Re: madTraceProcess64.exe produces invalid report

Post by marcin »

If I comment out madRemote there is no:
RemoteExecute
TDAProcess
EnumProcesses
Is64bitProcess
tkunicki
Posts: 3
Joined: Fri Feb 19, 2016 8:41 pm

Re: madTraceProcess64.exe produces invalid report

Post by tkunicki »

The error is in madTraceProcess

CreateFileMapping(dword(-1).....

Should be replaced with

CreateFileMapping(INVALID_HANDLE_VALUE....

Because handles are 64 bit long but dword is only 32 bit. Please fix it in next release.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: madTraceProcess64.exe produces invalid report

Post by madshi »

You're right - thanks for letting me know!!

I've fixed all these kinds of things inside of madExcept itself for madExcept 3.0, but it seems I missed madTraceProcess. I'm sorry for the trouble.
Post Reply