Home » U++ Library support » TopWindow&PopUp, TrayIcon » Freezing bare application on Windows XP
Freezing bare application on Windows XP [message #24086] |
Sat, 26 December 2009 10:05  |
qapko
Messages: 55 Registered: October 2007 Location: Slovakia
|
Member |
|
|
Hello,
I've discovered one issue in method Ctrl::GuiSleep0 (used by TopWindow::Run()). Namely, Upp application may freeze on line ExitLoopEvent().Wait() just after starting it on Windows XP. I've seen it by providing debug logging to the sources of Upp. Then I experimented and removed the line and the bug dissapeared. I don't see deeply in the internals of event loop of Upp, so I am not sure what the line is doing here at all. Is there anybody, who understands the issue and may provide some fix? The problem is appearing with my regular Upp applications also. It's sad, that Upp (or something below it?) has such an instability in the core of itself.
I'm attaching my testsuite that I've created to make the problem more frequent to see.
I also noticed that Ctrl::ProcessEvent and Ctrl::ProcessEvents have no GuiLock at the start of the methods in Windows version, but X11 version have ones. Is it OK? Can't it freeze the application while running? One of my customers is complaining that GUI of the Upp application, that we are developing for him, is freezeng occasionaly, but he can see that all the threads of the application behind GUI work fine in the situation (but the threads are written in Python, not in Upp).
I'm prepared to test the issue further with some instructions from you.
Thank you for your help.
Have a happy new year with this outstanding framework! 
Gabi
-
Attachment: kmedis.zip
(Size: 1.68KB, Downloaded 434 times)
|
|
|
 |
|
Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 10:05
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 14:46
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 19:08
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 20:51
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 21:15
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 21:40
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sat, 26 December 2009 21:53
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 22:09
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sat, 26 December 2009 22:58
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sun, 27 December 2009 00:27
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sun, 27 December 2009 00:30
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sun, 27 December 2009 08:48
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Sun, 27 December 2009 19:49
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Sun, 27 December 2009 21:31
|
 |
|
Re: Freezing bare application on Windows XP
By: mirek on Tue, 29 December 2009 14:14
|
 |
|
Re: Freezing bare application on Windows XP
By: qapko on Wed, 30 December 2009 08:50
|
Goto Forum:
Current Time: Sun May 11 00:19:07 CEST 2025
Total time taken to generate the page: 0.03257 seconds
|