flat assembler
Message board for the users of flat assembler.

Index > IDE Development > Problems with fasmw.exe? [Vista64 no response due to tablet]

Author
Thread Post new topic Reply to topic
bobsobol



Joined: 31 May 2010
Posts: 18
Location: U.K.
bobsobol 15 Jul 2010, 19:02
After this weeks blast of Vista x64 updates, fasmw (which I get the feeling many of you don't use) seems to be permanently looping, without giving CPU time back to process the message queue.

Specifically... it takes 30-80 sec to load a 5 line file, then won't respond to keyboard input in less than 2 mins, and won't even respond to Window move / resize, the menu or even the close box or Alt + F4 in a timely fashion.

It also consumes +/- 24% CPU time, consistently... on a Quad core, that suggests all CPU time for the Core with which it has affinity to me.

Any ideas how this could be "fixed" as I quite like the little editor. XD
Post 15 Jul 2010, 19:02
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20356
Location: In your JS exploiting you and your system
revolution 15 Jul 2010, 19:30
See here for the same issue and a resolution.
Post 15 Jul 2010, 19:30
View user's profile Send private message Visit poster's website Reply with quote
bobsobol



Joined: 31 May 2010
Posts: 18
Location: U.K.
bobsobol 16 Jul 2010, 06:25
Awesome... yes, I'm running Vista x64, and I plugged my G-Pen 450 in semi-permanently last week also.

Yes, the fixed version of fasmw.exe works with no caret Sad and no lock up Smile.

I'm not sure how bug reports go, but you can add another user to the list who can confirm the bug exists, the circumstances are Vista and Tablet input devices. Quite possibly it's related to the IME Alternate Input method that Vista allows.

You know how any text entry control on any device can be controlled via the handwriting recognition tool? It sits docked at the side, but you can pull it out and scribble something in, and it will "type it" in the active control under the handwriting box... rather like a virtual keyboard... but for a pen.

I do actually use it a fair bit, for IMs and email and stuff, though I got the tablet for drawing and graphic design that goes into my programs. XD

So, if I can just get a caret back... all will be shiny. I found the source to FASMW... I'll see if I can reproduce the patch. If I can, and can then re-implement the "caret" can I submit a "bugfix" for official consideration? How would I do that?

--- EDIT ---
See attached include. I just commented out the line that hides the caret, as well as one of the ones that shows it. Now I can see caret, and FASMW doesn't lock up.

I'm sure that just blindly removing a couple of commands is not the best fix, but it does the job... if anyone on the FASM team knows how to better place them so they shouldn't cause this lock up, but still allow normal operation with a tablet attached, I'm happy to try out your fix... for now, here is mine, and it seems sufficient.


Description: Modification to allow FASMW.exe to work with Tablet attached to Vista x64 PC AND continue to see the Caret.
Download
Filename: ASMEDITinc.zip
Filesize: 9.15 KB
Downloaded: 727 Time(s)



Last edited by bobsobol on 16 Jul 2010, 06:52; edited 1 time in total
Post 16 Jul 2010, 06:25
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20356
Location: In your JS exploiting you and your system
revolution 16 Jul 2010, 06:42
bobsobol wrote:
I'll see if I can reproduce the patch. If I can, and can then re-implement the "caret" can I submit a "bugfix" for official consideration? How would I do that?
If/when you can make a working patch for it that keeps the caret then you can just post it here. In this thread will be fine.

Although this thread is kind of torn between the Compiler Internals and the Windows topics. I am inclined to move it to Internals, so if you can't find it here, look in there.
Post 16 Jul 2010, 06:42
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20356
Location: In your JS exploiting you and your system
revolution 16 Jul 2010, 06:50
I have added this to the FAQ
Post 16 Jul 2010, 06:50
View user's profile Send private message Visit poster's website Reply with quote
bobsobol



Joined: 31 May 2010
Posts: 18
Location: U.K.
bobsobol 16 Jul 2010, 06:54
I have found a solution and attached it to my last post. -.-
Post 16 Jul 2010, 06:54
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20356
Location: In your JS exploiting you and your system
revolution 16 Jul 2010, 07:03
I have moved to Compiler Internals and made it sticky. Hopefully Tomasz can take a look sometime later.
Post 16 Jul 2010, 07:03
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 16 Jul 2010, 08:59
revolution: you did not pay enough attention. The thread you are referring to was resolved with releasing a patch that fixed the problem. If you look into the current FASMW sources, they do not contain the lines that bobsobol commented out - he is using some older sources and the patched ASMEDIT.INC posted here is based on an old version (probably 1.68 package), from before that fix.
Post 16 Jul 2010, 08:59
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 16 Jul 2010, 09:02
Well, this reminds me I planned to do this - it's time to finally drop 1.68 from the Download page.
Post 16 Jul 2010, 09:02
View user's profile Send private message Visit poster's website Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20356
Location: In your JS exploiting you and your system
revolution 16 Jul 2010, 10:38
Tomasz Grysztar wrote:
revolution: you did not pay enough attention.
Okay. You are right.

Let's kill 1.68 and move to 1.70
Post 16 Jul 2010, 10:38
View user's profile Send private message Visit poster's website Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 8356
Location: Kraków, Poland
Tomasz Grysztar 16 Jul 2010, 11:19
It won't be 1.70 until I finish AVX support. But till then 1.69.14 is going the be a "temporary stable" release, as I stated in that other thread.
Post 16 Jul 2010, 11:19
View user's profile Send private message Visit poster's website Reply with quote
bobsobol



Joined: 31 May 2010
Posts: 18
Location: U.K.
bobsobol 17 Jul 2010, 23:57
You're right... I'm using what was posted as the current stable... I'm too new to FASM to risk bumping in to Beta issues with the assembler, I would usually assume it was my fault. XD

So I should probably get 1.69.14 for a proper fix? (not my shabby hack XD)
Post 17 Jul 2010, 23:57
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.