| Windows 7: Using Windbg for dmp from encrypted app |
08 Dec 2009
|
#1 | | |
Using Windbg for dmp from encrypted app Here are the steps that I currently follow.
1. Compile to Create appname.exe and appname.pdb
2. Encrypt appname.exe to get appname-enc.exe
3. Ship appname-enc.exe to customers
4. Customer runs appname-enc.exe to get crashdump.dmp and sends it to me. ( Crashdump using minidumpwritedump)
5. I use crashdump.dmp, appname.pdb,appname-enc.exe in windbg to view the call stack.
This is not working. It says it cannot find debug symbols for appname-enc.exe
what should i do ? I cannot use appname.exe it produces the same error. Also, I have to encrypt my app, I cannot send it without security wrapper.
Please let me know if anybody have encountered the same problem. Any workaround would be greatly appreciated.
NOTE: I am sure, its not with the architecture. I am using the same architecture as the client to debug and still no result.
Thanks,
Krishna | My System Specs |
| |
08 Dec 2009
|
#2 | | |
MS servers aren't going to have debug symbols for something encrypted.
Architecture is irrelevant.
Do you have a correct symbol path set in WinDbg? | My System Specs | | System Manufacturer/Model Number self built OS 7600.20510 x86 CPU P4 550 3.4 GHz HT running at 3.5 GHz Motherboard MSI PM8M3-V (MS-7211 v1.x) Micro-ATX mainboard Memory OCZ 2 GB(2x1GB) DDR400mHz running @ 414 mHz Graphics Card HIS Radeon HD 3850 IceQ 3 Turbo HDMI Dual DL-DVI AGP Sound Card MOTU Traveler firewire studio interface 192 kHz 24 bit Monitor(s) Displays 22" widescreen Acer X223W LCD, 17" Compaq P75 CRT Screen Resolution 1680x1050 and 1280x1024 Keyboard Logitch Classical Keyboard 200 Mouse Logitech Mediaplay cordless PSU 350W generic Case Cybertronpc, it glows blue Cooling stock cpu fan, Ice-Q 3 gpu and system, many case fans Hard Drives SATA I x2 WD, 400 GB and 120 GB, SATA 2 WD Caviar Black 1 TB Internet Speed 1792/448 kbits/sec Other Info SATA II PCI fake RAID adapter, 1 GB Readyboost, original ATI Remote Wonder (even works with WMC perfectly), Logitech Rumblepad 2 game controller x2 |
08 Dec 2009
|
#3 | | |
Yes, I guess I have the correct Path set. I have
srv*C:\websymbols* Symbol information
and the path to where my pdb, exe and dmp is stored ( All are in the same folder ) | My System Specs | | |
08 Dec 2009
|
#4 | | |
Yeah, then it's the encryption throwing things off. | My System Specs | | System Manufacturer/Model Number self built OS 7600.20510 x86 CPU P4 550 3.4 GHz HT running at 3.5 GHz Motherboard MSI PM8M3-V (MS-7211 v1.x) Micro-ATX mainboard Memory OCZ 2 GB(2x1GB) DDR400mHz running @ 414 mHz Graphics Card HIS Radeon HD 3850 IceQ 3 Turbo HDMI Dual DL-DVI AGP Sound Card MOTU Traveler firewire studio interface 192 kHz 24 bit Monitor(s) Displays 22" widescreen Acer X223W LCD, 17" Compaq P75 CRT Screen Resolution 1680x1050 and 1280x1024 Keyboard Logitch Classical Keyboard 200 Mouse Logitech Mediaplay cordless PSU 350W generic Case Cybertronpc, it glows blue Cooling stock cpu fan, Ice-Q 3 gpu and system, many case fans Hard Drives SATA I x2 WD, 400 GB and 120 GB, SATA 2 WD Caviar Black 1 TB Internet Speed 1792/448 kbits/sec Other Info SATA II PCI fake RAID adapter, 1 GB Readyboost, original ATI Remote Wonder (even works with WMC perfectly), Logitech Rumblepad 2 game controller x2 |
08 Dec 2009
|
#5 | | |
How can I workaround this ? I thought most of the apps are encrypted. There must be a workaround. | My System Specs | | System Manufacturer/Model Number self built OS 7600.20510 x86 CPU P4 550 3.4 GHz HT running at 3.5 GHz Motherboard MSI PM8M3-V (MS-7211 v1.x) Micro-ATX mainboard Memory OCZ 2 GB(2x1GB) DDR400mHz running @ 414 mHz Graphics Card HIS Radeon HD 3850 IceQ 3 Turbo HDMI Dual DL-DVI AGP Sound Card MOTU Traveler firewire studio interface 192 kHz 24 bit Monitor(s) Displays 22" widescreen Acer X223W LCD, 17" Compaq P75 CRT Screen Resolution 1680x1050 and 1280x1024 Keyboard Logitch Classical Keyboard 200 Mouse Logitech Mediaplay cordless PSU 350W generic Case Cybertronpc, it glows blue Cooling stock cpu fan, Ice-Q 3 gpu and system, many case fans Hard Drives SATA I x2 WD, 400 GB and 120 GB, SATA 2 WD Caviar Black 1 TB Internet Speed 1792/448 kbits/sec Other Info SATA II PCI fake RAID adapter, 1 GB Readyboost, original ATI Remote Wonder (even works with WMC perfectly), Logitech Rumblepad 2 game controller x2 Using Windbg for dmp from encrypted app problems? All times are GMT -5. The time now is 03:29 PM. | |