4 ms·
> they are often the 1 out of 100 runs kind Can you share an example? In my whole career, I have only seen one or two of them, but most of my work is CRUD typ
by throwaway2037 2y ago
> they are often the 1 out of 100 runs kind
Can you share an example? In my whole career, I have only seen one or two of them, but most of my work is CRUD type of stuff, not really gaming or systems programming where such a thing might happen.
- arter4 2y agoLet's say your application talks to a database. You reuse connections with a connection pool, but you accidentally reuse connections with different privileges and scopes. As a result, sometimes you get to read some data you shouldn't read and sometimes you don't. Or, concurrency bugs. You don't properly serialize transactions and sometimes two transactions overlap in time leading to conflicts.
- seanmcdirmid 2y agoIn Android they are way too common. Like an animation that decides to fire after the UI element it was made for has been destroyed, or a race condition in destroying a resource, or VE logging.