#15 Problems starting KeePass on laptop running XP

KeePass_1.x
closed
nobody
None
5
2014-08-02
2004-11-23
Danny
No

I have version 0.97c installed on an iomega Micro Mini
USB drive. I have problems launching KeePass on my new
work computer which is an IBM ThinkPad T41p running XP
Professional SP1. When I start the application,
nothing seems to happen for several minutes.
KeePass.exe shows up in Windows Task Manager Processes
tab, but it is not visible in the Applications tab nor
in the Alt-Tab app switcher window. After
approximately 2-3 minutes, the master password dialog
will finally show up. When I type in my password
sometimes the workspace opens up correctly and
sometimes I have to reclick the task bar icon and
retype my password before it works correctly. I've
tried copying my KeePass directory (program and
database) onto my hard drive to make sure it's not a
problem with the USB drive, but still see the same
behavior. This only seems to happen on my new laptop.
I've used this copy of KeePass from this USB drive
from perhaps 5 other computers without any problems.

Discussion

1 2 > >> (Page 1 of 2)
  • Dominik Reichl

    Dominik Reichl - 2004-11-23

    Logged In: YES
    user_id=853915

    We had this problem already...
    https://sourceforge.net/tracker/index.php?func=detail&aid=1063339&group_id=95013&atid=609909

    Anyway, we didn't find a solution yet. I asked him for more
    details, but didn't get an answer up to now...

    Do you have any other programs running? Using any
    special/restricted rights account?

    I've moved this to the support requests, since it doesn't
    seem to be a bug of KeePass alone (as you said yourself on
    other computers it works fine).

    Best regards,
    Dominik

     
  • Danny

    Danny - 2004-11-24

    Logged In: YES
    user_id=1164963

    Oops, I opened a discussion thread before I saw this. Sorry
    about that. I have no doubt that it is some sort of
    interaction problem. I work at IBM, and our laptops come
    with a whole bunch of standard preinstalled stuff including
    things like software firewalls, and various different
    clients for inventory tracking and security testing, etc. I
    don't think I can remove or even disable many of these
    clients. Is there anything we can do to try to track down
    the source of the interaction problem?

    If I can possibly find the time, I'll try building the
    source and seeing if I can step through the initialization
    code to figure out where the delay is. If you have the time
    to create a special version with debug printf's in the
    initialization code, I'll be happy to try running it.

     
  • Dominik Reichl

    Dominik Reichl - 2005-01-13

    Logged In: YES
    user_id=853915

    Have you tried it up to now?

    Best regards,
    Dominik

     
  • Danny

    Danny - 2005-01-13

    Logged In: YES
    user_id=1164963

    I didn't see that you released .98a until I got notification
    about this update. I use KeePass fairly regularly and only
    sporadically see the start-up problem. I've found that once
    I encounter this problem, I'm stuck with it until I restart
    my machine. I'll pull down .98a to see if I still see the
    problem.

     
  • Nobody/Anonymous

    Logged In: NO

    I had this problem yesterday on my hp notebook. Problem
    dissappeared when I changed my energy properties. ie. from
    Laptop to desktop.

    maybe it has somthing to do with new handling of stepping in
    Winxp.

    See also: http://www.diefer.de/speedswitchxp/

    Greetings,

    IT_SEC

     
  • Nobody/Anonymous

    Logged In: NO

    I have a Thinkpad T41 as well and I have this problem when I
    run on battery. If I plug into a wall socket it's OK again.
    Weird, seems to be some sort of powersaving "feature" or
    something?

     
  • Nobody/Anonymous

    Logged In: NO

    I still see the problem with the .exe in KeePass-050326.zip.
    This morning it took several minutes after launching
    KeePass before the UI became visible. Since then I have
    rebooted my machine and tried starting KeePass again. This
    time it came right up. I have no clues for when I will get
    the delay vs when I won't.

     
  • Danny

    Danny - 2005-04-05

    Logged In: YES
    user_id=1164963

    By the way, that last comment was submitted by me. I forgot
    to login to SourceForge before submitting it.

     
  • Dominik Reichl

    Dominik Reichl - 2005-11-19

    Logged In: YES
    user_id=853915

    Has this problem solved itself in the meantime? :) (KeePass
    1.03)

    Best regards
    Dominik

     
  • Danny

    Danny - 2005-12-02

    Logged In: YES
    user_id=1164963

    I was going to say that I hadn't seen the problem very
    frequently, but when I attempted to launch KeePass to verify
    which version I was running, it took almost 2 minutes before
    the initial UI showed up. It turns out that I was running
    0.98c. I upgraded to 1.03, and the two times I've launched
    it, there was about 10-15 seconds delay between launch and
    the inital login panel. I'll have to try it again after
    rebooting my laptop which seems to be the best way to make
    this delay go away. Unless the 10-15 second delay is normal
    with the new release, I'd have to say that this problem has
    not solved itself.

     
  • Nobody/Anonymous

    Logged In: NO

    I've installed v1.05 on WinXP Prof. 2002 SP2.
    My PC is a HP/Compaq nc6000.
    If I start KeePass when PC is not connected to
    LAN/Internet, it takes more than 5 minutes to show the
    login window.
    In my settings, I've disabled the 'Check for update at
    startup'.
    Could you please help?

    Regards.

     
  • Danny

    Danny - 2006-10-10

    Logged In: YES
    user_id=1164963

    I am now on version 1.04 of KeePass. I still see the
    startup delays on my ThinkPad. The delays do not always
    happen. Also, I've discovered that if KeePass appears that
    it will be doing a delayed startup, if I unplug and replug
    my ThinkPad from the AC adapter that KeePass will pop up
    immediately after that. I can't think of any other software
    or applications that might be causing interference. It's
    almost like KeePass is using some sort of API related to
    power management and toggling the AC power state unblocks
    it. I'm sure that's way off the mark, but that's what the
    behavior would lead one to believe.

     
  • Danny

    Danny - 2006-10-10

    Logged In: YES
    user_id=1164963

    I just noticed that 1.05 is available. I have downloaded
    and will see if that changes the startup behavior. I'll try
    to remember to report back here in a few days.

     
  • Monaco

    Monaco - 2006-10-10

    Logged In: YES
    user_id=1617362

    Friends,

    could you also check if being attached to Internet or not
    makes the difference?
    So it appears to me.

    Ciao,
    Monaco

     
  • Danny

    Danny - 2006-10-10

    Logged In: YES
    user_id=1164963

    Usually I want to access KeePass to retrieve my user ID and
    password for the various Internet sites I use. So, I think
    it is safe to assume that almost every time I launch
    KeePass, I am connected to a network with access to the
    Internet. Therefore, I do not think that Internet
    connectivity (or lack of it) has any affect on the delay
    that I am experiencing.

     
  • Monaco

    Monaco - 2006-10-11

    Logged In: YES
    user_id=1617362

    Dear dlevenson and all,

    I confirm on my PC too (HP/Cmpaq nc6000, WInXP Prof 2002
    SP2, KeePass 1.05) that if I unplug the power, when I plug
    it again, the window pops up immdiately and from then on no
    more problems, until the next time it freezes again ...
    maybe after a standby? I'll pay attention if this is the case.

    See you,
    Monaco

     
  • Monaco

    Monaco - 2006-10-12

    Logged In: YES
    user_id=1617362

    To me the problem appears definitely linked to the power
    mgmt of the PC.
    When PC is on batteries, not plugged to AC, the KeePass
    window opens just after 5-6 minutes.
    I've never seen this malfunction with other applications.
    Any feedback from support?

    Regards

     
  • Dominik Reichl

    Dominik Reichl - 2006-10-12

    Logged In: YES
    user_id=853915

    I still don't know what could cause this problem...

     
  • Danny

    Danny - 2006-10-13

    Logged In: YES
    user_id=1164963

    Unfortunately, I just experienced the startup delay with
    version 1.05. As before, if I unplug and replug the AC
    adapter, KeePass pops right up.

     
  • Dominik Reichl

    Dominik Reichl - 2006-10-13

    Logged In: YES
    user_id=853915

    Could you download the source code of 1.05, build the debug
    version, run it and stop it between the delay using the
    debugger? This way we'd know which function causes the delay...

    Best regards
    Dominik

     
  • Danny

    Danny - 2006-10-13

    Logged In: YES
    user_id=1164963

    I haven't programmed in C or C++ for years, and the last
    time I did so was for an embedded system. I do not have any
    Windows C++ tools available to use.

     
  • Dominik Reichl

    Dominik Reichl - 2006-10-13

    Logged In: YES
    user_id=853915

    Ok, please download this:
    http://keepass.sourceforge.net/filepool/KeePass-061013-TimeLog.zip

    Try to start this on your computer. Do NOT do the AC adapter
    trick, wait for it to open. After it has opened, you should
    find a file "TimeLog.txt" somewhere on your disk (most
    probably in the same directory where KeePass is). Please
    send me this file.

    Best regards
    Dominik

     
  • Danny

    Danny - 2006-10-13

    Logged In: YES
    user_id=1164963

    I was able to recreate the problem with the TimeLog build.
    I just sent an e-mail with two attachments to dreichl at
    users.sourceforge.net using a regular e-mail client. If
    that's not a valid way to send files to you, please tell me
    how to do so.

     
  • Dominik Reichl

    Dominik Reichl - 2006-10-13

    Logged In: YES
    user_id=853915

    We've tracked down the delays to this code in the class that
    draws the XP-style menus (BCMenu):

    for(int i=0;i<BitMap.bmWidth;++i){
    for(int j=0;j<BitMap.bmHeight;++j){
    col=ddc.GetPixel(i,j);
    if(col!=bgcol)ddc.SetPixel(i,j,shadowcol);
    }
    }

    I don't have a solution yet but will try to find one.

    Best regards
    Dominik

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.