Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » SetRect "MegaRect" support...
Re: SetRect "MegaRect" support... [message #60974 is a reply to message #60970] Tue, 15 October 2024 23:56 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Tue, 15 October 2024 03:02
Lance wrote on Mon, 14 October 2024 17:37
ok. please see attached.


Thanks it, hopefully getting close... More logs added, so please repeat after pulling "logs" branch...

Also, I have potential fix included, but I really would like to get freezed log first to confirm my theory...

After that, you can try to activate the fix, uncomment / #if 1

CtrlCore/CtrlPos.cpp:157
CtrlCore/CtrlDraw.cpp:52

Mirek


I have actived the tentative fix. I am about to start testing the fix.
Re: SetRect "MegaRect" support... [message #60977 is a reply to message #60974] Wed, 16 October 2024 09:48 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Tue, 15 October 2024 23:56
mirek wrote on Tue, 15 October 2024 03:02
Lance wrote on Mon, 14 October 2024 17:37
ok. please see attached.


Thanks it, hopefully getting close... More logs added, so please repeat after pulling "logs" branch...

Also, I have potential fix included, but I really would like to get freezed log first to confirm my theory...

After that, you can try to activate the fix, uncomment / #if 1

CtrlCore/CtrlPos.cpp:157
CtrlCore/CtrlDraw.cpp:52

Mirek


I have actived the tentative fix. I am about to start testing the fix.


Oops, no, I would really like to see the new log before the fix! (Just to confirm I am fixing the right problem this time).
Re: SetRect "MegaRect" support... [message #60979 is a reply to message #60977] Wed, 16 October 2024 15:17 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Wed, 16 October 2024 03:48
Lance wrote on Tue, 15 October 2024 23:56
mirek wrote on Tue, 15 October 2024 03:02
Lance wrote on Mon, 14 October 2024 17:37
ok. please see attached.


Thanks it, hopefully getting close... More logs added, so please repeat after pulling "logs" branch...

Also, I have potential fix included, but I really would like to get freezed log first to confirm my theory...

After that, you can try to activate the fix, uncomment / #if 1

CtrlCore/CtrlPos.cpp:157
CtrlCore/CtrlDraw.cpp:52

Mirek


I have actived the tentative fix. I am about to start testing the fix.


Oops, no, I would really like to see the new log before the fix! (Just to confirm I am fixing the right problem this time).


Razz That's exactly what I did. See the post prior to that for the attached zipped log file. Thanks.
Re: SetRect "MegaRect" support... [message #60981 is a reply to message #60973] Wed, 16 October 2024 15:26 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Tue, 15 October 2024 15:21
Caught one. Please see attached.


Cool. It is consistent with the attempt at fixing it...
icon14.gif  Re: SetRect "MegaRect" support... [message #60983 is a reply to message #60981] Wed, 16 October 2024 15:36 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Wed, 16 October 2024 09:26
Lance wrote on Tue, 15 October 2024 15:21
Caught one. Please see attached.


Cool. It is consistent with the attempt at fixing it...


Great! Please apply it in the main branch. I will test in both theide and my application continuously for 2 weeks to verify it.
Re: SetRect "MegaRect" support... [message #60987 is a reply to message #60983] Thu, 17 October 2024 01:15 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
No rush. I likely had another freeze but I am not 100% sure. Would it be possible for you to log a indicator version number etc in the log file?

Just in case, please see attached for the log file.

[Updated on: Wed, 23 October 2024 20:08]

Report message to a moderator

Re: SetRect "MegaRect" support... [message #60988 is a reply to message #60987] Thu, 17 October 2024 10:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Thu, 17 October 2024 01:15
No rush. I likely had another freeze but I am not 100% sure. Would it be possible for you to log a indicator version number etc in the log file?


Pushed to logs, I have also "fortified" the fix a bit... It is now active in the branch.

Mirek
Re: SetRect "MegaRect" support... [message #61006 is a reply to message #60988] Thu, 17 October 2024 21:02 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
Caught another one. Please see attached.

[Updated on: Wed, 23 October 2024 20:08]

Report message to a moderator

Re: SetRect "MegaRect" support... [message #61011 is a reply to message #61006] Sat, 19 October 2024 09:41 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Thu, 17 October 2024 21:02
Caught another one. Please see attached.


Uh oh... More logs added to "logs". Please keep testing.
Re: SetRect "MegaRect" support... [message #61012 is a reply to message #61011] Sat, 19 October 2024 09:48 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Any context BTW? I mean any action performed before it got stuck? Maximise/minimise/moving window or something like that?
Re: SetRect "MegaRect" support... [message #61017 is a reply to message #61012] Sat, 19 October 2024 13:50 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Sat, 19 October 2024 03:48
Any context BTW? I mean any action performed before it got stuck? Maximise/minimise/moving window or something like that?


That's the toughest part. No easy pattern can be spotted that leads to a freeze. Sometimes it goes like many hours and mutiple suspension & resume without a problem. Sometimes it happens quite often like a few times in half an hour's frame.

Moving around, minimizing & maximizing definitely have no problems at all. If I must point something out, it possibly has a positive correlation with moving windows between minitors, switching to other window and leave theide in the background. But really, I am not sure.
Re: SetRect "MegaRect" support... [message #61018 is a reply to message #61011] Sat, 19 October 2024 13:52 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Sat, 19 October 2024 03:41
Lance wrote on Thu, 17 October 2024 21:02
Caught another one. Please see attached.


Uh oh... More logs added to "logs". Please keep testing.


Takes many hours, and eventually I have this.

[Updated on: Wed, 23 October 2024 20:08]

Report message to a moderator

Re: SetRect "MegaRect" support... [message #61031 is a reply to message #61018] Mon, 21 October 2024 02:13 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
My local copy of uppsrc got screwed up. I have recreated it, but that may mean the previous freeze reports might be faulty (and log file invalid).

I have recompiled logs/ide, and started testing. Sorry for possibly unnecessary frustrations it might have caused.
Re: SetRect "MegaRect" support... [message #61036 is a reply to message #61031] Mon, 21 October 2024 13:06 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
I can pretty much be sure the bug is still around. theide hasn't failed yet, but my application compiled with the logs branch u++ libary failed just now.
Re: SetRect "MegaRect" support... [message #61037 is a reply to message #61036] Mon, 21 October 2024 13:17 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Mon, 21 October 2024 13:06
I can pretty much be sure the bug is still around. theide hasn't failed yet, but my application compiled with the logs branch u++ libary failed just now.


And what about logs? Smile

Mirek
Re: SetRect "MegaRect" support... [message #61040 is a reply to message #61037] Mon, 21 October 2024 18:00 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Mon, 21 October 2024 07:17

And what about logs? Smile

Mirek


Oh, I though the one generated while running theide is more desirable. Please see attached.

[Updated on: Wed, 23 October 2024 20:08]

Report message to a moderator

Re: SetRect "MegaRect" support... [message #61044 is a reply to message #61040] Mon, 21 October 2024 23:12 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Mon, 21 October 2024 18:00
mirek wrote on Mon, 21 October 2024 07:17

And what about logs? Smile

Mirek


Oh, I though the one generated while running theide is more desirable. Please see attached.


From the log it seems like it was "frozen" since the start. Is that correct?
Re: SetRect "MegaRect" support... [message #61046 is a reply to message #61044] Mon, 21 October 2024 23:59 Go to previous messageGo to next message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
No. It was fine. But after it froze, I left it unkilled for a while, afraid of another run will erase the log file. OK, here I got a log file from ide.

It has been in good condition after many suspension-resume sessions. Just now I decided to give it some focus. I moved it from one monitor to another, dragged another window from another monitor to the one ide resided, and on top of ide, keeping mouse down and adjusting its position until I saw a color changing in ide underneath the window I was playing with, signalling possibly negotiating drag-n-drop(?). It successfuly brought down ide. It doesn't always. But it seems this set of actions is dangerous to ide. It breaks under other totally unrelated, unrecorded sequence of actions too.


BTW, please feel free to delete used log files from uppweb to free up resouces. Or maybe I shall do that?

[Updated on: Wed, 23 October 2024 20:09]

Report message to a moderator

Re: SetRect "MegaRect" support... [message #61047 is a reply to message #61046] Tue, 22 October 2024 10:19 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Lance wrote on Mon, 21 October 2024 23:59
No. It was fine. But after it froze, I left it unkilled for a while, afraid of another run will erase the log file. OK, here I got a log file from ide.

It has been in good condition after many suspension-resume sessions. Just now I decided to give it some focus. I moved it from one monitor to another, dragged another window from another monitor to the one ide resided, and on top of ide, keeping mouse down and adjusting its position until I saw a color changing in ide underneath the window I was playing with, signalling possibly negotiating drag-n-drop(?). It successfuly brought down ide. It doesn't always. But it seems this set of actions is dangerous to ide. It breaks under other totally unrelated, unrecorded sequence of actions too.


BTW, please feel free to delete used log files from uppweb to free up resouces. Or maybe I shall do that?


By "brought down" do you mean crash or (the usual) repainting stopped?

If the second one, it starts to look like yet another xwayland bug (assuming you run wayland - I think you do). Log clearly shows that I call gdk_window_invalidate_rect with proper parameters (it is the INVALIDATE word in the log), after which gtk is supposed to call me back and do the repaint (GtkDraw in the log). Log shows the repaint properly happens at the beginning, but then stops doing so near the end of log....

Anyway, I have added even more logging, so please one last time pull logs branch and keep testing...
Re: SetRect "MegaRect" support... [message #61050 is a reply to message #61047] Tue, 22 October 2024 18:24 Go to previous messageGo to previous message
Lance is currently offline  Lance
Messages: 656
Registered: March 2007
Contributor
mirek wrote on Tue, 22 October 2024 04:19

By "brought down" do you mean crash or (the usual) repainting stopped?

repainting stopped.

Quote:

If the second one, it starts to look like yet another xwayland bug (assuming you run wayland - I think you do). Log clearly shows that I call gdk_window_invalidate_rect with proper parameters (it is the INVALIDATE word in the log), after which gtk is supposed to call me back and do the repaint (GtkDraw in the log). Log shows the repaint properly happens at the beginning, but then stops doing so near the end of log....

Glad to know the culprit is pinpointed. Guess there is not much we can do on u++ side.

Quote:

Anyway, I have added even more logging, so please one last time pull logs branch and keep testing...

Test going on.

PS[Wed, 23 October 2024 14:11]: whatever you have done last time has made u++ more resistant to freeze problem. I cannot tell it's completely fixed but so far both logs-ide and my app build with logs-branch u++ have been fine while master branch ones having failed multiple times. I will keep watching.

[Fri, 25 October 2024 17:22] so far no problem.

[Updated on: Fri, 25 October 2024 23:23]

Report message to a moderator

Previous Topic: 2024rc1
Next Topic: DarkTheme function parameters changed
Goto Forum:
  


Current Time: Thu Jun 12 20:22:14 CEST 2025

Total time taken to generate the page: 0.07510 seconds