¡Hola Carlos!
I am trying to set up this program, and I am getting unexpected errors. So I tried with the more barebones I can use, i.e. telnet localhost 110, but the result is worse: I get the "+OK POP3 server ready" invite, but when I press any key in the telnet window, the program ends up abruptly with unhandled exception 5.
I attached what I believe are the relevant debugging aids:
- I am using pop2owa v.1.36, straight from SF (the behaviour is the same with 1.22), running on Win2000 workstation
- config.xml is the default one with only one change: I changed the scheme from https: to http:
- as far as I know there is nothing special with my telnet program, and it certainly works with any other POP3 server I can test
- running with or without being member of the Admins group does change anything (I usually run as non-Admin)
- I ran pop2owa.exe -v 3
- the logfile is attached (it won't help you much)
- %windir%/Debug/UserMode/usermode.log is attached; it says there is a problem with "RegisterGPNotification: CreateEvent"
- I tried under WinDbg as well, so I attached the bare session log, and also the stack trace just after the exception is raised: the bottom line is that the offense comes from pop2owa+0x1b452
logfile for pop2owa
WinDbg session log
File Added: WinDBG.TXT
File Added: StackTrace.TXT
stack trace
Very interesting... but I can't reproduce the error.
I not use WinDbg :( and I don't know how I can't help you. Maybe you can help me with a little how to.
PDB file from compiled .EXE can help you?.
I'll compile a new version of pop2owa with more info at pop2owa.log that maybe help you. Wait 3 hours (I'm at work)
Un saludo
Carlos Garcés
Two thingies:
- yes, with the PDB the stack trace would be easier to read...;
- the stuff about usermode.log is unrelated, forget about it.
Since I wrote I noticed 2038780 (https://sourceforge.net/tracker/index.php?func=detail&aid=2038780&group_id=152204&atid=783596), are they duplicates?
¿Did you try the telnet under Win2000?
I realize chances are you have no informations since August from "nobody" and the best way to handle 2038780 might be to close the case...
Anyway, this afternoon I'll test under XP when I get a moment to do it.
Two thingies:
- yes, with the PDB the stack trace would be easier to read...;
- the stuff about usermode.log is unrelated, forget about it.
Since I wrote I noticed 2038780 (https://sourceforge.net/tracker/index.php?func=detail&aid=2038780&group_id=152204&atid=783596), are they duplicates?
¿Did you try the telnet under Win2000?
I realize chances are you have no informations since August from "nobody" and the best way to handle 2038780 might be to close the case...
Anyway, this afternoon I'll test under XP when I get a moment to do it.
Hi!
I have added exe and pdb file.
Send me a private message to help me with windgb and StackTrace.TXT, I don't know who use it
Thanks for the .PDB, and sorry for the delay before answering.
According to the .PDB, the problem seems to occurs in
pop2owa!CSocketMaster::WndProc+0x62 [C:\Desarrollo\pop2owa\CSocketMaster.cls @ 171]
If I get a look at the code, I end near
Public Sub WndProc(ByVal hwnd As Long, ByVal uMsg As Long, ByVal wParam As Long, ByVal lParam As Long)
Select Case uMsg
Case RESOLVE_MESSAGE
PostResolution wParam, HiWord(lParam)
Case SOCKET_MESSAGE
PostSocket LoWord(lParam), HiWord(lParam)
End Select
End Sub
... looks like the window handler of the socket receives a unexpected message.
Hi!
Please check the new attached file. Maybe fix your problem
Un saludo
Carlos Garcés
Sorry, I do not see any change (still under Win2000, since last week I did not have a moment to test it under XP).
Hi!
Now I understand the bug.
Telnet send each char typed... email clients send the commands as entire string.
The bug is confirmed, but postponed... I need to implement one buffer to store the chars send before CRLF char... but I need time lo test it.
You can see the pop3 commands using the log features of you email client or installing a small email client for testing, I use http://ultrafunk.com/products/popcorn/
Un saludo
Carlos Garcés
Okay, look like reasonable to postpone it and decrease priority; now I need to seek another way to check why POP2OWA does not work on the first place with my machine...
Thanks for the quick reaction.
Amicalement,
Antoine
Changed the title to making it more clear.
telnet localhost 110
Hi!
Please test the compiled version attached, it should work.
Server state not is implemented (should be implemented), and QUIT command disconnect from server and force to close the Telnet session (my pop3 serve don't do it).
Un saludo
Carlos Garcés
Pop2owa develop version