Giter VIP home page Giter VIP logo

Comments (5)

susam avatar susam commented on May 27, 2024

Hi @n00bmind, Thanks for reporting this issue. Without reproducing the issue myself, I can only speculate. One such speculation that comes to my mind: Is it possible that there is another tool running on the system that is also attaching a keyboard hook and that messes with what keystrokes Uncap can see? This is just a wild guess.

Uncap can be run in debug mode with uncap -d. If you are willing to troubleshoot this issue, you could keep uncap -d running as a foreground process and keep an eye on the debug logs to get a sense of what the debug logs look like during normal operation. Once the issue occurs, you could check the debug logs again to see if Uncap is receiving any keystrokes.

from uncap.

n00bmind avatar n00bmind commented on May 27, 2024

I've been running as a frontend process with uncap -d (just a normal cmd window that I kept open), and lo & behold even across a few days of putting the computer to sleep at night etc. the issue didn't happen a single time..
Yesterday I fully rebooted my computer so the normal background process was started again and today it broke again as usual..

If I add the '-d' flag to my batch file, its command window remains open instead of closing immediately, so I presume this will work. However I dont love the solution tbh..

Is there any way to tell uncap to log its debug output to a file instead or something like this?

from uncap.

n00bmind avatar n00bmind commented on May 27, 2024

Ok, so this is interesting..
I did add the '-d' flag to my batch file, and even though the console window has remained open this entire time, it did stop working after a while too.
Now when I press any keys at all no new lines appear in the debug log (even with the console window fully in focus).. seems like the process stopped receiving input for some reason?

Capture

from uncap.

n00bmind avatar n00bmind commented on May 27, 2024

I went ahead and created a .dmp file for the running process, in case it's of any help to you..
If you point me to a .pdb file maybe I could connect to it with the debugger myself and have a look around.

uncap.zip

from uncap.

susam avatar susam commented on May 27, 2024

Thanks for the debug output. The observations you have shared is what I had suspected. It does look like for some reason the keyboard hook that Uncap sets to receive key strokes becomes ineffective at some point. It is unclear what causes it but I suspect it could be because some other program is setting a keyboard hook that is interfering with Uncap.

Unfortunately, I don't have a PDB file for this binary. It would have been nice to keep one, however, I haven't kept one. If you have a compiler with you, you might be able to build Uncap from source and get a PDB file for yourself. There are some instructions in the dev/ folder about it. However, I doubt whether the dump is going to be useful. Uncap only reacts to keyboard events it receives and since Uncap does not receive any events when this issue occurs, not much can be found in the dump.

from uncap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.