SEHException thrown after disposal and reopen
See original GitHub issueExample code is here: https://github.com/leesei/RocksDBExample
It writes data to RocksDb and read data from it after disposing the handle.
While the code works in *nix environment, we face this exception on Windows environment.
Fatal error. System.Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception.
at RocksDbSharp.Native.rocksdb_get(IntPtr, IntPtr, Byte[], Int64, IntPtr ByRef, RocksDbSharp.ColumnFamilyHandle)
at RocksDbSharp.Native.rocksdb_get(IntPtr, IntPtr, Byte[], Int64, RocksDbSharp.ColumnFamilyHandle)
at RocksDbSharp.RocksDb.Get(Byte[], Int64, RocksDbSharp.ColumnFamilyHandle, RocksDbSharp.ReadOptions)
at RocksDbSharp.RocksDb.Get(Byte[], RocksDbSharp.ColumnFamilyHandle, RocksDbSharp.ReadOptions)
at RocksDBExample.Program.Main(System.String[])
Issue Analytics
- State:
- Created 3 years ago
- Comments:27 (14 by maintainers)
Top Results From Across the Web
How should you diagnose the error SEHException
The error was 'caught' by an unhandled exception routine which normally will close down the program, but has an option to ignore and...
Read more >External component has thrown an exception applying ...
We are getting the error above when running with this configuration at one of our locations. The other locations have the same configuration....
Read more >System.Runtime.InteropServices.SEHException
SEHException: 'External component has thrown an exception.' when debugging using Visual StudioClosed - Not Enough Info0 6.
Read more >AccessViolationException / SEHException while calling ...
Basically thousands of connections are opened and closed parallel. Within less than two minutes oracle stops accepting new connection and/or throws Exception ...
Read more >I had error about Microsoft .NET Framework
Runtime.InteropServices.SEHException (0x80004005): External component has thrown an exception. at WRENSDKWrapper.WRENSDKMethods.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, we are also seeing this exact problem. Any comments from the developers?
I think the issue they’re seeing now is actually related to non-ASCII characters on the DB path. I’m trying to fix this with https://github.com/curiosity-ai/rocksdb-sharp/commit/539e7f95fd82c4fe288380a04d82ba75f7e43f3a, let’s see!