Forum: open-discussion

Monitor Forum | Start New Thread Start New Thread
[Fixed] RE: WinPT crashes (IDEA?) [ Reply ]
By: Greg Matyola on 2006-01-28 01:47
[forum:124]
The problem I had seems to be resolved, too.

Thanks, Timo.

RE: WinPT crashes (IDEA?) [ Reply ]
By: Le Prechaun on 2006-01-27 15:09
[forum:123]
All right! The problem is gone, WinPT now launches with every single secret key of mine, including the old v3 RSA key. I hope the others can confirm this, too.

Good work, thank you very much!

RE: WinPT crashes (IDEA?) [ Reply ]
By: Timo Schulz on 2006-01-27 10:29
[forum:122]
Please could you test the new 0.11.7 release?

RE: WinPT crashes (IDEA?) [ Reply ]
By: Le Prechaun on 2006-01-26 22:04
[forum:121]
I have this very same problem, too, WinPT crashes right away. And I think Greg is on the track here. I don't know if it's the internal IDEA cypher or what, but after reading this thread I made some experiments:

First I removed secring.gpg from my keyring directory. After that, WinPT started normally (but naturally without my secret keys), so the problems seemed to be there.

As I also have one of those old PGP 2.6 -made RSA-keys in my keyring, the next thing I tried was that I removed just this particular key from the keyring. And lo and behold, WinPT launched again like nothing. It definitely seems that WinPT has some problem with such keys. And yes, I have the IDEA plugin (actually I have compiled GnuPG 1.4.2 myself with the idea.c included).

I got excited with my experimentation, so I tested some of the earlier versions of WinPT to see when this problem first showed up. It seems that 0.11.2 is the last version that starts normally with all my secret keys.

There seems to be no bug report about this in the tracker. Should we file one?

Here's what Dr.Watson reports after the crash:

*----> State Dump for Thread Id 0x780 <----*

eax=003e8dc8 ebx=00000000 ecx=00000001 edx=00bf35d0 esi=00000000 edi=00000001
eip=00441acd esp=0022f6c8 ebp=0022f6e0 iopl=0 nv up ei pl zr na po nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000246

*** ERROR: Module load completed but symbols could not be loaded for E:\Programs\WinPT\WinPT.exe
function: WinPT
00441ab3 31c0 xor eax,eax
00441ab5 8d1400 lea edx,[eax+eax]
00441ab8 89f8 mov eax,edi
00441aba 83e0fd and eax,0xfffffffd
00441abd 09d0 or eax,edx
00441abf 8b55e8 mov edx,[ebp-0x18]
00441ac2 884210 mov [edx+0x10],al
00441ac5 8b45f0 mov eax,[ebp-0x10]
00441ac8 31db xor ebx,ebx
00441aca 8b7024 mov esi,[eax+0x24]
FAULT ->00441acd 803e00 cmp byte ptr [esi],0x0 ds:0023:00000000=??
00441ad0 eb05 jmp WinPT+0x41ad7 (00441ad7)
00441ad2 43 inc ebx
00441ad3 803c1e00 cmp byte ptr [esi+ebx],0x0
00441ad7 75f9 jnz WinPT+0x41ad2 (00441ad2)
00441ad9 50 push eax
00441ada 50 push eax
00441adb 8d4301 lea eax,[ebx+0x1]
00441ade 50 push eax
00441adf 6a01 push 0x1
00441ae1 e83a860100 call WinPT+0x5a120 (0045a120)

*----> Stack Back Trace <----*
WARNING: Stack unwind information not available. Following frames may be wrong.
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\USER32.dll -
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -
ChildEBP RetAddr Args to Child
0022f6e0 00428b14 003e5470 003e5248 004d0000 WinPT+0x41acd
0022f740 0040abcd 003e9088 003e6030 00000001 WinPT+0x28b14
0022f980 77d48734 0006029e 00000110 00050274 WinPT+0xabcd
0022f9ac 77d5418d 0040aaa0 0006029e 00000110 USER32!GetDC+0x6d
0022fa18 77d53fd9 00000000 0040aaa0 0006029e USER32!PrivateExtractIconExW+0x2b2
0022fa60 77d5b82a 00000000 00000110 00050274 USER32!PrivateExtractIconExW+0xfe
0022fa90 77d54e28 00798e00 007c2698 00050274 USER32!RegisterUserApiHook+0x9b
0022fb48 77d561b3 00000000 00798e00 00000000 USER32!GetWindowTextLengthW+0x547
0022fb7c 77d56208 00400000 004940d8 000302a0 USER32!DrawStateW+0x1df
0022fb9c 77d6b168 00400000 004940d8 000302a0 USER32!DialogBoxIndirectParamAorW+0x36
0022fbc8 0041ec46 00400000 00000076 000302a0 USER32!DialogBoxParamA+0x4c
0022fc08 0041fb22 0000000c 00000000 01000000 WinPT+0x1ec46
0022fee8 00456c88 00400000 00000000 0024237e WinPT+0x1fb22
0022ff68 004011a4 00000001 003e2820 003e2a78 WinPT+0x56c88
0022ffa0 00401203 00000002 00000000 7c90e64e WinPT+0x11a4
0022ffc0 7c816d4f 0006a2ac 00000018 7ffdb000 WinPT+0x1203
0022fff0 00000000 004011f0 00000000 78746341 kernel32!RegisterWaitForInputIdle+0x49

RE: WinPT crashes (IDEA?) [ Reply ]
By: Greg Matyola on 2006-01-22 09:46
[forum:120]
The problem is the cypher that's internal was done with IDEA instead of 3DES, CAST5, or similar. (The key in question was done back in the days of PGP 2.6), and while GPG 1.4.2 can read it, I think WinPT happens to be choking on it.

The keys that follow are sample public and private keys that will cause post-11.2 to crash. Password on them is "password", if anyone really cares, and they're _not_ my usual ones, obviously.

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.2 (MingW32)

mQBNA0PTQQ8AAAECANR7zZtJikcTTvzt7Qc+ibH8UJz+2ZTIwWOYkx4Y9UmWPuJv
aoxQIExTnwIgFbeRo/MT1BkNWwAx/HJgwvC0h0UABRG0CFRlc3QgS2V5iQBVAwUQ
Q9NE8vxyYMLwtIdFAQFU0QIAhSTCDoM9AN9xs43w25bXwlYG+caiXMqKj6myeLpc
padq+z+2kRAQT/6d7BlHXfjVEwo9pO3ZU6WU8iig9AdKUA==
=ajct
-----END PGP PUBLIC KEY BLOCK-----
-----BEGIN PGP PRIVATE KEY BLOCK-----
Version: GnuPG v1.4.2 (MingW32)

lQEAA0PTQQ8AAAECANR7zZtJikcTTvzt7Qc+ibH8UJz+2ZTIwWOYkx4Y9UmWPuJv
aoxQIExTnwIgFbeRo/MT1BkNWwAx/HJgwvC0h0UABREBznD57XYJAiMB/gCUJRN7
8qycfT9YeAGRDRPe5B/mMI4KGX/H97O2NzG/0I8TUb47Vhk0SlSXI46C9p0vPTsK
49ckdvc2eahLvxYBALP6MaBiuEBhyT5/S3sim3F1vzBF2ZVRqEQVeohKGDUUAQDy
SDzApikl4KT8GJ61f0zRkG4M/mcbOZgNYoGjlakMXQD/cKSUkKP536j1ueeju+Zr
aPxb7mYmbO7JZHPwQOO7ACNPqLQJbnVsbEBudWxstAhUZXN0IEtleQ==
=N/VY
-----END PGP PRIVATE KEY BLOCK-----


RE: WinPT crashes (IDEA?) [ Reply ]
By: Super Daby on 2006-01-21 17:27
[forum:117]
I think it is not a problem with the IDEA algorithm.

The key I tried to install is a DSA/ELG-key (4096). And this key crashs WinPT.

For you it can be usefull to try the unofficial idea-plugin for gpg. Look at google... I don't know details about this.

@the developer team: I forgot to mention, that the last version of WinPT, I used, was v0.9.92 with gnupt2.6.2.1, gpg1.4.1, gpgrelay0.959. This version did not made any problems with my secret key...

RE: WinPT crashes (IDEA?) [ Reply ]
By: Greg Matyola on 2006-01-21 16:28
[forum:116]
Oops.

Further information gained...

Here's the properties of a key that crashes the newer WinPT kit:
Type: Key Pair
Key ID: 0x518A6991
Algorithm: RSA
Size: 1024
Created: 1996-06-19
Expires: Never
Validity: None
Cipher: IDEA

...
Okay, I think that it's definitely a problem with the internal cypher of the key being IDEA algorithm.

RE: WinPT crashes at startup XP-SP2 [ Reply ]
By: Greg Matyola on 2006-01-21 15:48
[forum:115]
Timo:

Are you testing Cypher:RSA/RSA secret keys?

I think this is the showstopper for at least some of us.

Or after extensive debugging, it's my showstopper.

RE: WinPT crashes at startup XP-SP2 [ Reply ]
By: Super Daby on 2006-01-20 17:08
[forum:114]
I have the same problem, but Erik's work-around does not work on my system (XP Prof SP2 German).
A lot of un-installations, restarts and new-installations were done.

WinPT (v0.11.6) does not accept my secring.gpg, only my public key(s).

WinPT works only with a new generated secret key, but if I import the backup of my old secret key and restart WinPT, the programm crashs with the following error:
"WinPT: WinPT.exe - Error in Application: The Call "0x00441acd" points to memory in "0x00000000" Execution "read" couldn't be done in memory."

No restart is possible (without the error). Only if I delete the secring.gpg in the directory, where WinPT saves the key-files, WinPT starts normal with the dialog "No useable secret key was found.". If you click OK, WinPT is there - but with no secret key :-(((

I really need help...

RE: WinPT crashes at startup XP-SP2 [ Reply ]
By: Erik Harren on 2005-12-23 08:04
[forum:70]
Well, i tried all 0.11.x versions of winPT, but there was no change. I managed to figure out, that i had to create a new key at startup after deleting/saving all databases. At second step i imported my full keys. After deleting the test-key, winPT crashes again but started right now with my own fullkeys. That's it.

As a result i tested it again on an other machine and made out the following steps when upgrading:

1. Export pub/sec-keys and backup
2. delete all DBs
3. uninstall winPT n-1
4. install WinPT n
5. create testkey
6. import own keys (pub/sec)
7. delete testkey
8. being satisfied
9. wish Merry Christmas.

solong,
Erik.

RE: WinPT crashes at startup XP-SP2 [ Reply ]
By: Greg Matyola on 2005-12-22 16:52
[forum:69]
Did you try using WinPT 0.11.2?
Try moving your secret keys file somewhere else to test that?

You might be having the same bug/error as I am, where WinPT 0.11.3 seems to dislike my secret keys file.

- g

WinPT crashes at startup XP-SP2 [ Reply ]
By: Erik Harren on 2005-12-20 13:02
[forum:66]
Hi out there,

as i try to startup my system WinPT crashes with dr.watson and the result-log at the end. I use the gnupt-2.7.6_gpg1.4.3-wpt0.11.3-gpgrelay0.959 - package without the relay-stuff.

Whats up with my installation? Any suggestions?

solong,
Erik.

<?xml version="1.0" encoding="UTF-16"?>
<DATABASE>
<EXE NAME="WinPT.exe" FILTER="GRABMI_FILTER_PRIVACY">
<MATCHING_FILE NAME="libgpg-error-0.dll" SIZE="22016" CHECKSUM="0x8D69CCF9" BIN_FILE_VERSION="1.2.0.0" BIN_PRODUCT_VERSION="1.2.0.0" PRODUCT_VERSION="1.2-cvs" FILE_DESCRIPTION="libgpg-error - Common error codes" COMPANY_NAME="g10 Code GmbH" PRODUCT_NAME="libgpg-error" FILE_VERSION="1.2-cvs" ORIGINAL_FILENAME="libgpg-error.dll" INTERNAL_NAME="libgpg-error" LEGAL_COPYRIGHT="Copyright © 2005 g10 Code GmbH" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0xED69" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="1.2.0.0" UPTO_BIN_PRODUCT_VERSION="1.2.0.0" LINK_DATE="11/12/2005 17:48:49" UPTO_LINK_DATE="11/12/2005 17:48:49" />
<MATCHING_FILE NAME="libgpgme-11.dll" SIZE="99328" CHECKSUM="0x389A34BF" BIN_FILE_VERSION="16.5.0.0" BIN_PRODUCT_VERSION="1.2.0.0" PRODUCT_VERSION="1.2.0-cvs" FILE_DESCRIPTION="GPGME - GnuPG Made Easy" COMPANY_NAME="g10 Code GmbH" PRODUCT_NAME="GPGME" FILE_VERSION="16.5.0.0" ORIGINAL_FILENAME="gpgme.dll" INTERNAL_NAME="gpgme" LEGAL_COPYRIGHT="Copyright © 2005 g10 Code GmbH" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0x1F286" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="16.5.0.0" UPTO_BIN_PRODUCT_VERSION="1.2.0.0" LINK_DATE="11/23/2005 06:56:30" UPTO_LINK_DATE="11/23/2005 06:56:30" />
<MATCHING_FILE NAME="PTD.dll" SIZE="147968" CHECKSUM="0x663778C6" BIN_FILE_VERSION="0.8.1.0" BIN_PRODUCT_VERSION="0.8.1.0" PRODUCT_VERSION="0.8.1" FILE_DESCRIPTION="PTD - Privacy Tray Dynamic" COMPANY_NAME="" PRODUCT_NAME="PTD" FILE_VERSION="0.8.1" ORIGINAL_FILENAME="PTD.dll" INTERNAL_NAME="PTD" LEGAL_COPYRIGHT="Copyright © 2005 Timo Schulz" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x28484" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="0.8.1.0" UPTO_BIN_PRODUCT_VERSION="0.8.1.0" LINK_DATE="12/14/2005 09:14:03" UPTO_LINK_DATE="12/14/2005 09:14:03" VER_LANGUAGE="Deutsch (Deutschland) [0x407]" />
<MATCHING_FILE NAME="WinPT.exe" SIZE="615424" CHECKSUM="0xAD99A789" BIN_FILE_VERSION="0.11.3.0" BIN_PRODUCT_VERSION="0.11.3.0" PRODUCT_VERSION="0.11.3" FILE_DESCRIPTION="Windows Privacy Tray (WinPT)" COMPANY_NAME="" PRODUCT_NAME="Windows Privacy Tray" FILE_VERSION="0.11.3" ORIGINAL_FILENAME="WinPT.exe" INTERNAL_NAME="WinPT" LEGAL_COPYRIGHT=" Copyright (C) 2005 Timo Schulz" VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x1" MODULE_TYPE="WIN32" PE_CHECKSUM="0xA1896" LINKER_VERSION="0x10000" UPTO_BIN_FILE_VERSION="0.11.3.0" UPTO_BIN_PRODUCT_VERSION="0.11.3.0" LINK_DATE="12/14/2005 09:13:46" UPTO_LINK_DATE="12/14/2005 09:13:46" VER_LANGUAGE="Englisch (USA) [0x409]" />
</EXE>
<EXE NAME="kernel32.dll" FILTER="GRABMI_FILTER_THISFILEONLY">
<MATCHING_FILE NAME="kernel32.dll" SIZE="1057280" CHECKSUM="0xD52AA7B7" BIN_FILE_VERSION="5.1.2600.2180" BIN_PRODUCT_VERSION="5.1.2600.2180" PRODUCT_VERSION="5.1.2600.2180" FILE_DESCRIPTION="Client-DLL für Windows NT-Basis-API" COMPANY_NAME="Microsoft Corporation" PRODUCT_NAME="Betriebssystem Microsoft® Windows®" FILE_VERSION="5.1.2600.2180 (xpsp_sp2_rtm.040803-2158)" ORIGINAL_FILENAME="kernel32" INTERNAL_NAME="kernel32" LEGAL_COPYRIGHT="© Microsoft Corporation. Alle Rechte vorbehalten." VERFILEDATEHI="0x0" VERFILEDATELO="0x0" VERFILEOS="0x40004" VERFILETYPE="0x2" MODULE_TYPE="WIN32" PE_CHECKSUM="0x108430" LINKER_VERSION="0x50001" UPTO_BIN_FILE_VERSION="5.1.2600.2180" UPTO_BIN_PRODUCT_VERSION="5.1.2600.2180" LINK_DATE="08/04/2004 07:57:08" UPTO_LINK_DATE="08/04/2004 07:57:08" VER_LANGUAGE="Deutsch (Deutschland) [0x407]" />
</EXE>
</DATABASE>