question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

SEHException thrown after disposal and reopen

See original GitHub issue

Example 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:closed
  • Created 3 years ago
  • Comments:27 (14 by maintainers)

github_iconTop GitHub Comments

2reactions
fassadlrcommented, May 10, 2021

Hi, we are also seeing this exact problem. Any comments from the developers?

0reactions
theolivenbaumcommented, Jun 28, 2022

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!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found