Comments (4)
Alternative server for tests: ftp://internat.freebsd.org/
from farmanager.
Far could do better here, not dying suddenly :)
Unfortunately, not really.
The stack basically says that:
- netbox called strncpy_s with some invalid parameters
- strncpy_s validated the parameters, detected the issue and called the invalid parameter handler
- the invalid parameter handler forced the process to commit suicide ASAP.
Far does set up its own invalid parameter handler and is able to intercept such failures, but... only if they happen in its own code, far.exe. Plugins are linked with their own runtimes and have their own CRT state, invisible to Far, so it can't replace their error handlers. It can't stop them from explicitly and directly suiciding the process either.
If you still want such errors to be handled by Far, the easiest way is to override the default handler in Netbox code and call RaiseException(STATUS_ASSERTION_FAILURE, ...)
there instead of terminating the process. Far will handle SEH gracefully.
The ultimate solution would be implementing the error handler as an external process, constantly attached to far.exe as a debugger and monitoring its state. It's more robust by definition and would be able to intercept these too but an extra process... Imagine always working with WinDBG attached, all day, every day. Ugh.
PS: there is also a bunch of
Those are just Lua and C++ exceptions being thrown and caught, likely BAU and not related in any way to this one.
from farmanager.
The code in stack seems completely from WinSCP, not sure if its exception handler can be overridden, but I've got your point, thank you :)
from farmanager.
It should work as long as it's within the same binary.
from farmanager.
Related Issues (20)
- Can create CON and NUL files but cannot rename to that names HOT 2
- Viewer: кое что можно что то улучшить? HOT 1
- QuickView enters an unstoppable loop
- при просмотре файла в режиме UTF-8 видны элементы прежних элементов на панели HOT 4
- Crash related to NetBox HOT 6
- Crash in NetBox after some inactivity HOT 10
- Чекбокс для обратного поиска в файле HOT 11
- Problem with ALT+z short-cut HOT 6
- GUID для Groups of masks
- ZIP created with ArcLite faled to decompress (by 3rd party) HOT 2
- Internal editor, new insert feature HOT 2
- Include relevant changelog on Release page HOT 2
- crash on opening of a .zip file HOT 1
- Сдвиг строк редактора при использовании креста HOT 9
- Error when compressing with zip (arclite) HOT 3
- Batch operation indication
- Commit "Properly align color structures" breaks C++/CLI compilation of plugin.hpp HOT 3
- Conflict between Alt+F4 FAR hotkeys and Windows Terminal HOT 2
- DI_FIXEDIT problems
- Arclite does not process symlinked files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from farmanager.