Help → Problem with POPFile 1.1.0 RC2

Problem with POPFile 1.1.0 RC2

I am running Windows Vista Business, with POPFile 1.1.0 RC2 and Thunderbird 2.0.0.16.

POPFle was installed over v1.0.1 which had been trouble-free. My usual practice is to leave both POPFile and Thunderbird running, and automatically check for mail every two minutes.

Since installing RC2, I have been receiving mail OK, but I have been getting the following message, after about 30 minutes to an hour with no indication that a message was coming in:

"POPFile has stopped working.

A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

Close program"

After closing the program, I can load it again and get mail safisfactorily until the next time. The following is the problem report generated by Vista:

Product
POPFile

Problem
Stopped working

Date
24/08/2008 19:56

Status
Report Sent

Problem signature
Problem Event Name: APPCRASH
Application Name: popfileib.exe
Application Version: 1.1.0.0
Application Timestamp: 45fe3932
Fault Module Name: StackHash?_ed91
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 00000000
Exception Code: c0000005
Exception Offset: 030a79f0
OS Version: 6.0.6001.2.1.0.256.6
Locale ID: 3081
Additional Information 1: ed91
Additional Information 2: 6a69795ef7cd06a8c62b6e32dd6f7ab5
Additional Information 3: 585a
Additional Information 4: af3444dfe4f93e01f5986c409de76d76

Extra information about the problem
Bucket ID: 898978195

Regards...

Bernard

  • Message #341

    I have just fired up the Message Capture Utility, since logging the previous message, and here is the log:


    POPFile Message Capture Utility v0.1.9


    POPFILE_ROOT = C:\PROGRA~1\POPFile
    POPFILE_USER = C:\Users\Bernard\AppData?\Roaming\POPFile
    Using 'popfileif.exe' to run POPFile


    (report started 25-Aug-2008 @ 09:21:46)


    POPFile Engine loading

    Loading...

    {core: windows}
    {core: config history logger mq}
    {classifier: bayes wordmangle}
    {interface: html}
    {proxy: pop3}
    {services:}

    POPFile Engine v1.1.0 starting

    Initializing...

    {core: config history logger mq windows}
    {classifier: bayes wordmangle}
    {interface: html}
    {proxy: pop3

    A copy of POPFile appears to be running.

    Attempting to signal the previous copy.
    Waiting 10 seconds for a reply.

    The other POPFile (3660) failed to signal back, starting new copy (9500)
    }

    {services:}

    Starting...

    {core: config history logger mq windows}
    {classifier: bayes wordmangle}
    {interface: html}
    {proxy: pop3}
    {services:}

    POPFile Engine v1.1.0 running
    Use of uninitialized value in length at C:\PROGRA~1\POPFile/Classifier/MailParse.pm line 2453, <GEN3> line 11.
    Use of uninitialized value in length at C:\PROGRA~1\POPFile/Classifier/MailParse.pm line 2423, <GEN3> line 11.

    Regards...

    Bernard

    • Message #342

      Hi Bernard

      Can you take the POPFile log with logger_level 2?

      http://getpopfile.org/docs/troubleshooting:preparelog

      POPFle was installed over v1.0.1 which had been trouble-free.

      You have not experienced the same error with POPFile v1.0.1?
      And are you using any other POP3 proxies such as anti-virus software?

      I have just fired up the Message Capture Utility, since logging the previous message, and here is the log:

      <snip>
      Use of uninitialized value in length at C:\PROGRA~1\POPFile/Classifier/MailParse.pm line 2453, <GEN3> line 11.
      Use of uninitialized value in length at C:\PROGRA~1\POPFile/Classifier/MailParse.pm line 2423, <GEN3> line 11.

      Thanks for the Message Capture log.
      These are just the warnings so it does not seem that they are the cause of the crash.
      Anyway I'll fix these annoying warnings.

      Naoki

      • Message #343

        Use of uninitialized value in length at C:\PROGRA~1\POPFile/Classifier/MailParse.pm line 2453, <GEN3> line 11.
        Use of uninitialized value in length at C:\PROGRA~1\POPFile/Classifier/MailParse.pm line 2423, <GEN3> line 11.


        Thanks for the Message Capture log.
        These are just the warnings so it does not seem that they are the cause of the crash.
        Anyway I'll fix these annoying warnings.

        Fixed. See [3339].

        Naoki

      • Message #344

        Hello Naoki...


        Can you take the POPFile log with logger_level 2?

        http://getpopfile.org/docs/troubleshooting:preparelog

        I have set up logger_level 2, and restarted POPFile, but it is not obvious where the log file resides. Can you please advise? Also, I presume you want a log file after POPFile has stopped working, yes? It might be quite large. How do I attach it to a message in this forum?


        POPFle was installed over v1.0.1 which had been trouble-free.


        You have not experienced the same error with POPFile v1.0.1?

        POPFile v1.0.1 never gave any problems at all. It was rock solid. That was why I was ready to give a RC a try.

        And are you using any other POP3 proxies such as anti-virus software?

        I am running CA Antivirus (latest version), and it gave no problems with v1.0.1.

        Hope this helps.

        Regards...

        Bernard

        • Message #345

          I have set up logger_level 2, and restarted POPFile, but it is not obvious where the log file resides. Can you please advise?

          You can find the log files in the POPFile data folder.
          For more information about the log files, see:

          http://getpopfile.org/docs/faq:popfilelog

          And you can use the PFI Diagnostic utility to find your data folder:

          http://getpopfile.org/docs/howtos:pfidiagnostic

          Also, I presume you want a log file after POPFile has stopped working, yes? It might be quite large. How do I attach it to a message in this forum?

          Yes. And please send me zipped log file via e-mail.
          My e-mail address is amatubu _at_ mac com.
          The log file with logger_level 2 contains the whole message you've received.
          You don't have to send me the whole log file. I think the last few lines of
          your log file may help us debugging.

          Additionally, can you send me the Dr. Watson's log file?

          You have not experienced the same error with POPFile v1.0.1?


          POPFile v1.0.1 never gave any problems at all. It was rock solid. That was why I was ready to give a RC a try.

          Thanks.

          I am running CA Antivirus (latest version), and it gave no problems with v1.0.1.

          Ok.

          Then, I think the cause of the problem may be either of:

          1) We've updated some Perl modules with v1.1.0 RC. Either of the updated modules may have caused the problem.

          2) We've started to use the new database engine (SQLite3). The module may have caused the problem.

          Naoki

          • Message #351

            Additionally, can you send me the Dr. Watson's log file?

            Sorry.
            I didn't know that Windows Vista has no Dr. Watson.

            Please check out the detail of the problem.
            Open Control Panel and click 'System and Maintenance' and then click
            'Problem Reports and Solutions'.
            And click 'View problem history' in the left pane and right-click
            the POPFile's crash record and choose 'View Problem Details'.
            In the problem details is there a link titled 'View a temporary copy of these files'?

            Naoki

            • Message #353

              Hello Naoki...

              Please check out the detail of the problem.
              Open Control Panel and click 'System and Maintenance' and then click
              'Problem Reports and Solutions'.
              And click 'View problem history' in the left pane and right-click
              the POPFile's crash record and choose 'View Problem Details'.
              In the problem details is there a link titled 'View a temporary copy of these files'?

              Sorry , no such link.

              The Problem Report file I included is the output from the Vista 'View Problem Details' utility. However, I have found an advanced setting to allow the system to send more detail, and I have turned that on. Next time POPFile stops, I shall send you a copy of the resulting report.

              Regards...

              Bernard

              • Message #355

                Sorry , no such link.

                Never mind.

                The Problem Report file I included is the output from the Vista 'View Problem Details' utility. However, I have found an advanced setting to allow the system to send more detail, and I have turned that on. Next time POPFile stops, I shall send you a copy of the resulting report.

                Thanks. That sounds good.
                I hope the detailed report will help us.

                Naoki

                • Message #358

                  Hello Naoki...

                  Here is the expanded Problem Report. It seems to have about 5 extra lines.

                  Hope it helps.
                  ===========================================================================
                  Product
                  POPFile

                  Problem
                  Stopped working

                  Date
                  29/08/2008 15:20

                  Status
                  Report Sent

                  Problem signature
                  Problem Event Name: APPCRASH
                  Application Name: popfileif.exe
                  Application Version: 1.1.0.0
                  Application Timestamp: 45fe3932
                  Fault Module Name: perl58.dll
                  Fault Module Version: 5.8.8.822
                  Fault Module Timestamp: 46aff16d
                  Exception Code: c0000005
                  Exception Offset: 0000172a
                  OS Version: 6.0.6001.2.1.0.256.6
                  Locale ID: 3081
                  Additional Information 1: 4104
                  Additional Information 2: 24ef687a8dc329c8d6756d95cd18df62
                  Additional Information 3: 4a0f
                  Additional Information 4: 65f565641ab7d155abfa68046a6c28ee

                  Extra information about the problem
                  Bucket ID: 902282266
                  =========================================================================

                  Regards...

                  Bernard

                  • Message #360

                    Hi

                    Here is the expanded Problem Report. It seems to have about 5 extra lines.

                    Thanks.

                    <snip>
                    Fault Module Name: perl58.dll
                    <snip>
                    Exception Code: c0000005
                    Exception Offset: 0000172a

                    The exception code 'c000005' and the offset '0000172a' is same as another crash log posted to other thread:

                    Exception number: c0000005 (access violation)
                    <snip>
                    FAULT ->2800172a f6430980 test byte ptr [ebx+0x9],0x80 ds:0023:596f2b59=??

                    http://www.getpopfile.org/discussion/1/99#352

                    Do you enable the concurrent POP3 connections option?
                    If so, please disable it temporarily and check if the problem still exists.

                    Hope it helps.

                    Thanks for your helpful report.

                    It seems that Win32::GUI module (which is used to handle the system tray icon) causes the problem.
                    I'll look into why Win32::GUI causes the crash.

                    Naoki

                    • Message #361

                      Hello Naoki...

                      Do you enable the concurrent POP3 connections option?
                      If so, please disable it temporarily and check if the problem still exists.

                      Yes. Have just disabled it. Will keep you posted.

                      Regards...

                      Bernard

                      • Message #363

                        Hello Naoki...

                        Good news so far!

                        After disabling concurrent POP3 connections, I restarted POPFile using the Message Capture Utility. This was run at 23:45 on 29 Aug local time. It is now 12:03 on 31 August local time, and POPFile has not crashed in that time.

                        I am hopeful you have found the answer.

                        Regards...

                        Bernard

                        • Message #386

                          Hi Bernard

                          We've released POPFile v1.1.0 RC3.
                          Can you try this new version?

                          http://getpopfile.org/discussion/3/106

                          Naoki

                        • Message #365

                          Hi Bernard,

                          Good news so far!

                          After disabling concurrent POP3 connections, I restarted POPFile using the Message Capture Utility. This was run at 23:45 on 29 Aug local time. It is now 12:03 on 31 August local time, and POPFile has not crashed in that time.

                          Thanks for your report!
                          That's a good news.

                          I am hopeful you have found the answer.

                          Yes, I think so.
                          I've committed a small patch to fix the problem.
                          It will be included in the next RC of POPFile.
                          I hope it will solve the problem.

                          Naoki

                          • Message #393

                            Hello Naoki...

                            I have been using RC3 for two days now, with no problems. I am about to re-enable concurrent POP3 connections, to see if you have solved that problem.

                            Regards...

                            Bernard

                            • Message #395

                              Not good news, I'm afraid.

                              POPFile with concurrent POP3 connections stopped working this afternoon.

                              I have sent a logfile and a Problem Report to your private address.

                              Regards...

                              Bernard

                              • Message #403

                                Hi Bernard

                                Not good news, I'm afraid.

                                POPFile with concurrent POP3 connections stopped working this afternoon.

                                Thanks for your report again.

                                I have sent a logfile and a Problem Report to your private address.

                                I've checked it out.
                                The exception offset (0000172a) is same as the previous your report.
                                Unfortunately it seems that the problem has not been solved yet.

                                I've post another workaround to solve the problem:
                                http://getpopfile.org/browser/branches/b0_22_2/engine/Platform/MSWin32.pm?rev=3346

                                Please download the new file from the 'Original Format' at the bottom of the page
                                and copy to the 'Platform' folder in your POPFile program folder (by default it is
                                C:\Program Files\POPFile), and then restart POPFile.

                                If the new version does not solve your problem, I'll try to update the Win32::GUI module.

                                Naoki

                                • Message #425

                                  Hello Naoki...

                                  If this goes on much longer, we'll be getting only one letter per line. :)

                                  However, hopeful news. I have been using your latest patch for 2 days now, with concurrent POP3 enabled, and so far so good. POPFile has been trouble-free (crossed fingers).

                                  Regards...

                                  Bernard

                                  • Message #426

                                    Hi Bernard

                                    If this goes on much longer, we'll be getting only one letter per line. :)

                                    I hope we can solve the problem early. :)

                                    Naoki

  • Message #452

    Hello Naoki...

    Not good news, I'm afraid...

    I've been runing RC3, with the patch you provided to support concurrent POP3 connections for about 5 days now.

    Initially I thought you had solved the problem. However, POPFile has been shutting down with increasing regularity, to the point this morning where it shut down as soon as it started twice. On the third restart, I managed to get going, and immediately turned concurrent connections off, and since then POPFile has been stable.

    I am not sure if there is anything useful I can send you to help diagnose this, but if there is, please let me know.

    Regards...

    Bernard

    • Message #462

      Hi Bernard

      Thanks for the report.
      I'm sorry that I've not solved the problem yet.

      Initially I thought you had solved the problem. However, POPFile has been shutting down with increasing regularity, to the point this morning where it shut down as soon as it started twice. On the third restart, I managed to get going, and immediately turned concurrent connections off, and since then POPFile has been stable.

      You mean POPFile crashed even if your mail client didn't connect to POPFile?
      If so, the new version is even worse than RC3.

      I am not sure if there is anything useful I can send you to help diagnose this, but if there is, please let me know.

      The exception offset is same as your previous reports (0000172a)?

      I'll ask Brian to update the module (which I'm using for handling
      the trayicon) and build a new installer.

      Naoki

      • Message #473

        Hello Naoki...

        You mean POPFile crashed even if your mail client didn't connect to POPFile?
        If so, the new version is even worse than RC3.

        The timing was a bit hard to judge. I had used the Message Capture Utility to restart POPFile, and the email client (Thunderbird) was up and running at the time, and seemed to be trying to download mail.

        ...

        The exception offset is same as your previous reports (0000172a)?

        Yes.

        I'll ask Brian to update the module (which I'm using for handling
        the trayicon) and build a new installer.

        I noticed RC4 is there now. I shall download it and give it a try.

        Regards...

        Bernard

        • Message #479

          Hi Bernard

          The timing was a bit hard to judge. I had used the Message Capture Utility to restart POPFile, and the email client (Thunderbird) was up and running at the time, and seemed to be trying to download mail.

          I see.

          I noticed RC4 is there now. I shall download it and give it a try.

          Thanks.
          RC4 includes the latest version of Win32::GUI.
          I hope the new version is more stable than the old version.

          Naoki

          • Message #498

            I've been running RC4 for 5 days now, and it has been solid.

            I have not had concurrent POP3 connections turned on though.

            I shall turn it on now, but I am about to leave for a 2 week holiday early tomorrow morning, so will not be able to report for a while. I hope some of the other users can keep you informed.

            Regards...

            Bernard

            • Message #499

              Hi Bernard

              I've been running RC4 for 5 days now, and it has been solid.

              Thanks for the report.

              I shall turn it on now, but I am about to leave for a 2 week holiday early tomorrow morning, so will not be able to report for a while. I hope some of the other users can keep you informed.

              Never mind. I can wait.
              I wrote a test script which connects to the POP3 proxy every one seconds.
              The script has accessed POPFile over 60,000 times and POPFile has never crashed.

              Naoki

              • Message #556

                Hello Naoki...

                Just touching base, really.

                I have been running RC5 for three weeks now with concurrent POP3 connections enabled, and no problems at all.

                It looks as if you've nailed it.

                Regards...

                Bernard

                • Message #561

                  Hi Bernard

                  I have been running RC5 for three weeks now with concurrent POP3 connections enabled, and no problems at all.

                  It looks as if you've nailed it.

                  I'm so glad to hear that!
                  Thanks for testing.

                  Naoki