shinyorg / shiny

.NET Framework for Backgrounding & Device Hardware Services (iOS, Android, & Catalyst)
https://shinylib.net
MIT License
1.45k stars 227 forks source link

[Bug]: Object disposed exception in jobs #1380

Closed wesoos closed 9 months ago

wesoos commented 9 months ago

Component/Nuget

Jobs (Shiny.Jobs)

What operating system(s) are effected?

Version(s) of Operation Systems

Android version 14 Have not tested on iOS

Hosting Model

Steps To Reproduce

I can't pin point any specifics on when I receive the exception, but I believe it happens during background processing. And I believe it might be a garbage collection cause. Please see the Sentry log entry below.

I have not supplied a reproducible sample. From the log entry below you will see the faulting class is ShinyJobWorker.cs, line 60...

Expected Behavior

Do not receive exception

Actual Behavior

Receive exception

Exception or Log output

https://tekwave-solutions.sentry.io/share/issue/dd3e8323b28b4cb6bbe64afae1b49ed5/

Code Sample

No response

Code of Conduct

aritchie commented 9 months ago

If you want me to look at this, you do indeed have to supply something reproducible. I'm not going to guess why this is happening within your app.

wesoos commented 9 months ago

Well, I figured since it's thrown in your code you might have an idea. I'm following directions based on your samples.

I'll see what I can do. It's intermittent...

Regards

Wessel Oosthuizen CTO TEKWave Solutions 404.993.2736


From: Allan Ritchie @.> Sent: Sunday, January 28, 2024 10:08:37 PM To: shinyorg/shiny @.> Cc: Wessel Oosthuizen @.>; Author @.> Subject: Re: [shinyorg/shiny] [Bug]: Object disposed exception in jobs (Issue #1380)

If you want me to look at this, you do indeed have to supply something reproducible. I'm not going to guess why this is happening within your app.

— Reply to this email directly, view it on GitHubhttps://github.com/shinyorg/shiny/issues/1380#issuecomment-1913884918, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABXERZUL4B6UKSSYVB2IKVDYQ4HDJAVCNFSM6AAAAABCOSX5PGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTHA4DIOJRHA. You are receiving this because you authored the thread.Message ID: @.***>