Re: [Factor-talk] Listener on Windows - UI Corruption

2016-05-12 Thread Alexander Ilin
Hello! 11.05.2016, 01:22, "John Benediktsson" :Could you open an issue on github with links to the videos for us to track fixing this? I'll do it a little later, busy right now. ---=---Александр 

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-05-10 Thread John Benediktsson
Could you open an issue on github with links to the videos for us to track
fixing this?

It's easier than using the mailing list.

Thanks,
John.

On Tue, May 10, 2016 at 2:50 PM, Alexander Ilin  wrote:

> Hello!
>
>   The experiments with calling GC gave no useful results: no additional
> corruption was triggered. After working in that same Factor instance for
> many days and after having its memory grow up to 1.2Gb I saw nothing more
> than the broken End button. That video was recorded 2 weeks ago, on April
> 26th.
>
>   As I was working on my code, I naively used the B word in a gadget's UI
> gesture implementation, and the Listener was no longer useful. That lead me
> to restarting Factor.
>
>   After but a couple of minutes in the new instance I got to capture this
> video with even more impressive UI corruption:
> https://youtu.be/wtpF0my_YfE
>
>   What I'm doing in the video is making different selections with the left
> mouse button. Also, see the video description on Youtube.
>
> ---=---
>  Александр
>
>
> --
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
> untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-05-10 Thread Alexander Ilin
Hello!

  The experiments with calling GC gave no useful results: no additional 
corruption was triggered. After working in that same Factor instance for many 
days and after having its memory grow up to 1.2Gb I saw nothing more than the 
broken End button. That video was recorded 2 weeks ago, on April 26th.

  As I was working on my code, I naively used the B word in a gadget's UI 
gesture implementation, and the Listener was no longer useful. That lead me to 
restarting Factor.

  After but a couple of minutes in the new instance I got to capture this video 
with even more impressive UI corruption: https://youtu.be/wtpF0my_YfE

  What I'm doing in the video is making different selections with the left 
mouse button. Also, see the video description on Youtube.

---=---
 Александр

--
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-05-03 Thread Alexander Ilin
Hello!

30.04.2016, 18:27, "Björn Lindqvist" :
>>    How do I go about hunting for that kind of bug in Factor?
>
> You can never exclude anything, but it seems very unlikely that the GC
> would be the problem. The GC copies objects so it is vulnerable to
> shadow data bugs. That is, some references might no be updated to
> point to the newly copied to location for the object. In the listener,
> you can run the minor-gc and gc words and see if there is a pattern or
> if you are able to trigger the bug that way.

  Great, I'll give that a try.

> You can also recompile Factor to run in debug mode:
>
>   nmake /f Nmakefile x86-64 DEBUG=1

  I don't think I have the toolchain for that, but if it comes to the worst...

> Also I see that you are running Factor in compatibility mode because
> the fonts are all blurry. That is automatically enabled in Windows for
> Factor if you have a high dpi screen.

  That's not the case here, Björn. The blur was added by Youtube re-encoding of 
the video clip.
  The original video is sharp.

  After a few more days of work in that same instance of Factor I see no more 
additional corruptions. Only the End button shows the wrong text.
  Either I'm not doing as memory-intensive work as before, or the issue is more 
likely to manifest itself in 32-bit environment, where I saw it regularly every 
few days.

  I'll try to trigger the GC more often and report back.

---=---
 Александр

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-30 Thread Björn Lindqvist
>   Having said all that, I suspect GC to be the source of problems. Did any of 
> you experience similar issues on other platforms besides Windows?
>   How do I go about hunting for that kind of bug in Factor?

You can never exclude anything, but it seems very unlikely that the GC
would be the problem. The GC copies objects so it is vulnerable to
shadow data bugs. That is, some references might no be updated to
point to the newly copied to location for the object. In the listener,
you can run the minor-gc and gc words and see if there is a pattern or
if you are able to trigger the bug that way. You can also recompile
Factor to run in debug mode:

  nmake /f Nmakefile x86-64 DEBUG=1

Also I see that you are running Factor in compatibility mode because
the fonts are all blurry. That is automatically enabled in Windows for
Factor if you have a high dpi screen. You can try and disable it by
right-clicking the .exe file and go: Properties -> Compatibility ->
Inactivate scaling when using High DPI.


-- 
mvh/best regards Björn Lindqvist

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-28 Thread Alexander Ilin
Hello!

28.04.2016, 19:08, "John Benediktsson" :
> What version of Windows are you running?
>
> Could be an issue with 32-bit factor.

  Windows 8.1 64-bit, but same issue was in WinXP 32-bit.

  As seen in the video, Factor v0.98 x86.64.

---=---
 Александр

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-28 Thread John Benediktsson
What version of Windows are you running?

Could be an issue with 32-bit factor. 


> On Apr 28, 2016, at 7:27 AM, Alexander Ilin  wrote:
> 
> Here's the relevant part about the End button (the com-end word):
>  
> listener-gadget "toolbar" f {
> { f restart-listener }
> { T{ key-down f { A+ } "u" } com-auto-use }
> { T{ key-down f { A+ } "k" } clear-output }
> { T{ key-down f { A+ } "K" } clear-stack }
> { T{ key-down f { C+ } "d" } com-end }
> { T{ key-down f f "F1" } com-help }
> } define-command-map
>  
> From basis\ui\tools\listener\listener.factor
>  
> ---=---
> Александр
>  
> --
> Find and fix application performance issues faster with Applications Manager
> Applications Manager provides deep performance insights into multiple tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-28 Thread Alexander Ilin
Here's the relevant part about the End button (the com-end word): listener-gadget "toolbar" f {    { f restart-listener }    { T{ key-down f { A+ } "u" } com-auto-use }    { T{ key-down f { A+ } "k" } clear-output }    { T{ key-down f { A+ } "K" } clear-stack }    { T{ key-down f { C+ } "d" } com-end }    { T{ key-down f f "F1" } com-help }} define-command-map From basis\ui\tools\listener\listener.factor ---=---Александр 

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-28 Thread Alexander Ilin
Hello! 28.04.2016, 06:52, "John Benediktsson" :That is odd, I've not seen anything like it. The "End" button that shows up doesn't seem like it comes from any of the windows Factor ships with.  Is that something from one of your UI's?  Could it be related to some code you've written?  Either by mis-using OpenGL, or by exposing a bug that we haven't run into? The End button is something I see every time I run (vanilla) Factor, it's not my addition. It has C+d shortcut associated with it, and it apparently ends the Listener in some way (see attached screenshot). BTW, clicking it and then using Restart Listener did not solve the issue described in the previous report. The new Listener instance displayed the same End-button problem as seen in the video. Let me reiterate that UI corruptions were seen in standard/clean Factor distributions, and they don't necessarily involve the End button, although when they do happen, at least some of the toolbar is usually affected. I did not write any code involving OpenGL or UI/gadgets in general until a week or two ago, and such corruptions I described happened to me as far back as at least a year. For the time being I kept that instance of Factor running to post more videos when UI gets more corrupted. ---=---Александр --
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


Re: [Factor-talk] Listener on Windows - UI Corruption

2016-04-27 Thread John Benediktsson
That is odd, I've not seen anything like it.

The "End" button that shows up doesn't seem like it comes from any of the
windows Factor ships with.  Is that something from one of your UI's?  Could
it be related to some code you've written?  Either by mis-using OpenGL, or
by exposing a bug that we haven't run into?

On Tue, Apr 26, 2016 at 9:14 AM, Alexander Ilin  wrote:

> Hello, you guys!
>
>   I made a screencast of UI corruption that I regularly see after a long
> work session in Factor Listener, see video description:
>   https://youtu.be/uqdERZRTJ4Y
>
>   Have you experienced anything similar, or is it just me?
>
>   The Factor version, as you can see in the video, is a fairly recent
> development build.
>   I've been seeing this kind of issues on at least three different PCs
> (Windows XP 32-bit and Windows 8.1 64-bit). Both in the most recent stable
> build of Factor, and in several recent development builds.
>
>   The issue seems to be a kind of memory corruption. It usually happens
> after I have the Listener open for a long time (days) or after a short time
> of memory-intensive work. There is no reliable way to reproduce the issue,
> and the corruption is random in the specific gadgets it affects. The
> toolbar is affected most often, but other contents of the Listener can have
> switched texts. You work for some time, and suddenly screen gadgets display
> the wrong text or character. Usually you can see where that text comes
> from, i.e. it's not completely random, but rather existing text pieces get
> mixed around and randomly redistributed between gadgets. If a gadget reacts
> to mouse interactions, you can usually see the previous, "normal" text,
> like in the video.
>
>   Having said all that, I suspect GC to be the source of problems. Did any
> of you experience similar issues on other platforms besides Windows?
>   How do I go about hunting for that kind of bug in Factor?
>
> ---=---
>  Александр
>
>
> --
> Find and fix application performance issues faster with Applications
> Manager
> Applications Manager provides deep performance insights into multiple
> tiers of
> your business applications. It resolves application problems quickly and
> reduces your MTTR. Get your free trial!
> https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
> ___
> Factor-talk mailing list
> Factor-talk@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk


[Factor-talk] Listener on Windows - UI Corruption

2016-04-26 Thread Alexander Ilin
Hello, you guys!

  I made a screencast of UI corruption that I regularly see after a long work 
session in Factor Listener, see video description:
  https://youtu.be/uqdERZRTJ4Y

  Have you experienced anything similar, or is it just me?

  The Factor version, as you can see in the video, is a fairly recent 
development build.
  I've been seeing this kind of issues on at least three different PCs (Windows 
XP 32-bit and Windows 8.1 64-bit). Both in the most recent stable build of 
Factor, and in several recent development builds.

  The issue seems to be a kind of memory corruption. It usually happens after I 
have the Listener open for a long time (days) or after a short time of 
memory-intensive work. There is no reliable way to reproduce the issue, and the 
corruption is random in the specific gadgets it affects. The toolbar is 
affected most often, but other contents of the Listener can have switched 
texts. You work for some time, and suddenly screen gadgets display the wrong 
text or character. Usually you can see where that text comes from, i.e. it's 
not completely random, but rather existing text pieces get mixed around and 
randomly redistributed between gadgets. If a gadget reacts to mouse 
interactions, you can usually see the previous, "normal" text, like in the 
video.

  Having said all that, I suspect GC to be the source of problems. Did any of 
you experience similar issues on other platforms besides Windows?
  How do I go about hunting for that kind of bug in Factor?

---=---
 Александр

--
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
___
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk