Ingnomia icon indicating copy to clipboard operation
Ingnomia copied to clipboard

UI become non-responsive after very long pause

Open comaldave opened this issue 4 years ago • 5 comments

I was trying to find some bugs but everything seemed to be working fine, then I paused the game and fell asleep.

Seven hours later, I went back to the game, the UI was not responsive, Mouse display was correct and working. There was no memory leak. After several minutes of mouse clicking and keyboard typing, I closed the program as it never responded at that time.

Sorry, no clue what happened.

Running the latest Steam version on Solus Linux with Plasma desktop using Proton on AMD hex core 8GB RAM.

comaldave avatar Jan 04 '21 11:01 comaldave

To debug such issues, we would require a memory dump or at least a trace.

Unfortunately, a dump captured under Proton/Wine is quite tricky to debug, so this only works for a native build (be it Windows or Linux). You should be able to capture a trace natively from Proton though?

Ext3h avatar Jan 04 '21 13:01 Ext3h

After 50 years of programming, 30 of it in C++,

On Mon, Jan 4, 2021 at 7:12 AM Andreas Ringlstetter < [email protected]> wrote:

To debug such issues, we would require a memory dump or at least a trace.

Unfortunately, a dump captured under Proton/Wine is quite tricky to debug, should this only works for a native build (be it Windows or Linux). You should be able to capture a trace natively from Proton though?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rschurade/Ingnomia/issues/135#issuecomment-753966915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYCWBIRHAJP6CD3SCYW33SYG5EXANCNFSM4VS5KMFQ .

--

Respectfully submitted, [image: photo] David Lynn Skinner Secretary, Davsk Ltd Co 1-501-436-9086 | 1-870-617-2770 | [email protected] https://blog.davsk.net 650 S 5th St Apt 88 Arkadelphia AR 71923 | 1-501-201-0414 [image: Social icon] http://stackoverflow.com/users/3886366/david-skinner [image: Social icon] http://github.com/ComalDave/ [image: Social icon] http://facebook.com/david.lynn.skinner/ [image: Social icon] http://www.instagram.com/david.lynn.skinner/ [image: Social icon] http://www.linkedin.com/in/david-l-skinner/ [image: Social icon] http://twitter.com/SkinnerDavidL [image: Social icon] http://youtube.com/c/DavidSkinnerDavsk [image: Social icon] http://www.pinterest.com/skinnerdavid/

IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. [image: App Green Footer Image] Be like me, be Carbon free - don't print this and save a tree

"Education is what remains after one has forgotten what one has learned in school." - Albert Einstein. &nbsp https://conf.davsk.net/david [image: App Video Meeting Image] https://conf.davsk.net/david Meet me on Zoom https://conf.davsk.net/david &nbsp https://conf.davsk.net/david Check out my blog [image: arrow] https://blog.davsk.net Create your own email signature https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=

comaldave avatar Jan 04 '21 17:01 comaldave

After 50 years of programming, 30 of it in C++, the last 9 years in Go. I have never learned how to debug a program. I always used unit testing of orthogonal units to verify things.

I shall put compiling a native version for Linux on my list of things to do and try to figure out how to do a memory dump.

Feel free to ask me to test any specific features. I totally love what you and your team have created here.

On Mon, Jan 4, 2021 at 11:11 AM David Skinner [email protected] wrote:

After 50 years of programming, 30 of it in C++,

On Mon, Jan 4, 2021 at 7:12 AM Andreas Ringlstetter < [email protected]> wrote:

To debug such issues, we would require a memory dump or at least a trace.

Unfortunately, a dump captured under Proton/Wine is quite tricky to debug, should this only works for a native build (be it Windows or Linux). You should be able to capture a trace natively from Proton though?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rschurade/Ingnomia/issues/135#issuecomment-753966915, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYCWBIRHAJP6CD3SCYW33SYG5EXANCNFSM4VS5KMFQ .

--

Respectfully submitted, [image: photo] David Lynn Skinner Secretary, Davsk Ltd Co 1-501-436-9086 | 1-870-617-2770 | [email protected] https://blog.davsk.net 650 S 5th St Apt 88 Arkadelphia AR 71923 | 1-501-201-0414 [image: Social icon] http://stackoverflow.com/users/3886366/david-skinner [image: Social icon] http://github.com/ComalDave/ [image: Social icon] http://facebook.com/david.lynn.skinner/ [image: Social icon] http://www.instagram.com/david.lynn.skinner/ [image: Social icon] http://www.linkedin.com/in/david-l-skinner/ [image: Social icon] http://twitter.com/SkinnerDavidL [image: Social icon] http://youtube.com/c/DavidSkinnerDavsk [image: Social icon] http://www.pinterest.com/skinnerdavid/

IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. [image: App Green Footer Image] Be like me, be Carbon free - don't print this and save a tree

"Education is what remains after one has forgotten what one has learned in school." - Albert Einstein. &nbsp https://conf.davsk.net/david [image: App Video Meeting Image] https://conf.davsk.net/david Meet me on Zoom https://conf.davsk.net/david &nbsp https://conf.davsk.net/david Check out my blog [image: arrow] https://blog.davsk.net Create your own email signature https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=

--

Respectfully submitted, [image: photo] David Lynn Skinner Secretary, Davsk Ltd Co 1-501-436-9086 | 1-870-617-2770 | [email protected] https://blog.davsk.net 650 S 5th St Apt 88 Arkadelphia AR 71923 | 1-501-201-0414 [image: Social icon] http://stackoverflow.com/users/3886366/david-skinner [image: Social icon] http://github.com/ComalDave/ [image: Social icon] http://facebook.com/david.lynn.skinner/ [image: Social icon] http://www.instagram.com/david.lynn.skinner/ [image: Social icon] http://www.linkedin.com/in/david-l-skinner/ [image: Social icon] http://twitter.com/SkinnerDavidL [image: Social icon] http://youtube.com/c/DavidSkinnerDavsk [image: Social icon] http://www.pinterest.com/skinnerdavid/

IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. [image: App Green Footer Image] Be like me, be Carbon free - don't print this and save a tree

"Education is what remains after one has forgotten what one has learned in school." - Albert Einstein. &nbsp https://conf.davsk.net/david [image: App Video Meeting Image] https://conf.davsk.net/david Meet me on Zoom https://conf.davsk.net/david &nbsp https://conf.davsk.net/david Check out my blog [image: arrow] https://blog.davsk.net Create your own email signature https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=

comaldave avatar Jan 04 '21 17:01 comaldave

Before you spend too much time trying to replicate the issue - did you by chance have hibernation state enabled on your machine? Should your machine have gone to sleep during these 7 hours, it's likely to have broken the OpenGL context.

Ext3h avatar Jan 04 '21 17:01 Ext3h

I do not use hibernation. CPU use was low, I was thinking it may be a multithreaded race lockup. I can, however, duplicate the text each night when I go to bed. I might check to see if the Plasma screensaver is causing the problem. So far the workaround is simple, save the game before going to sleep.

On Mon, Jan 4, 2021 at 11:30 AM Andreas Ringlstetter < [email protected]> wrote:

Before you spend too much time trying to replicate the issue - did you by chance have hibernation state enabled on your machine? Should your machine have gone to sleep during these 7 hours, it's likely to have broken the OpenGL context.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rschurade/Ingnomia/issues/135#issuecomment-754109079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYCWCBOVHOBEDZHSKRXLLSYH3LVANCNFSM4VS5KMFQ .

--

Respectfully submitted, [image: photo] David Lynn Skinner Secretary, Davsk Ltd Co 1-501-436-9086 | 1-870-617-2770 | [email protected] https://blog.davsk.net 650 S 5th St Apt 88 Arkadelphia AR 71923 | 1-501-201-0414 [image: Social icon] http://stackoverflow.com/users/3886366/david-skinner [image: Social icon] http://github.com/ComalDave/ [image: Social icon] http://facebook.com/david.lynn.skinner/ [image: Social icon] http://www.instagram.com/david.lynn.skinner/ [image: Social icon] http://www.linkedin.com/in/david-l-skinner/ [image: Social icon] http://twitter.com/SkinnerDavidL [image: Social icon] http://youtube.com/c/DavidSkinnerDavsk [image: Social icon] http://www.pinterest.com/skinnerdavid/

IMPORTANT: The contents of this email and any attachments are confidential. They are intended for the named recipient(s) only. If you have received this email by mistake, please notify the sender immediately and do not disclose the contents to anyone or make copies thereof. [image: App Green Footer Image] Be like me, be Carbon free - don't print this and save a tree

"Education is what remains after one has forgotten what one has learned in school." - Albert Einstein. &nbsp https://conf.davsk.net/david [image: App Video Meeting Image] https://conf.davsk.net/david Meet me on Zoom https://conf.davsk.net/david &nbsp https://conf.davsk.net/david Check out my blog [image: arrow] https://blog.davsk.net Create your own email signature https://www.wisestamp.com/create-own-signature/?utm_source=promotion&utm_medium=signature&utm_campaign=create_your_own&srcid=

comaldave avatar Jan 04 '21 18:01 comaldave