Comments (4)
Yeah, at the very least it should be mentioning the path.
Any chance of getting an strace log to help track down the cause?
from bupstash.
My initial debugging plan rested on the assumption that this is some IO error, in which case knowing the file and maybe also the operation in code that failed should be enough to debug it. However, it looks like this error may also come from different operations, for example spawning threads, in which case I'll probably have to do some strace
inspection. I'd like to avoid it if possible though, especially since I think that we should have those error messages anyways.
from bupstash.
Interesting, it could be hitting some resource limits.
from bupstash.
For the error handling, it looks like enabling the "backtrace" feature on the anyhow
crate and then RUST_BACKTRACE=1
should be enough to get source information from all errors. Only thing left to test is if the error printing at the bottom of the main
function also automatically makes use of that information.
For better or for worse, I can't reproduce my original error which prompted this investigation on master anymore. So it must have been fixed between 0.12 and 7082d77 somehow.
from bupstash.
Related Issues (20)
- Add a put option to exclude files and directories that have a particular xattr HOT 4
- Minimum libsodium version
- Verify backup data HOT 5
- Override `bupstash put` tag with `bupstash serve` HOT 2
- Data corruption error - (possibly from stale caches) HOT 20
- Restore hangs instead of aborting on error
- EAGAIN / EWOULDBLOCK when writing logs to stderr, causing failure HOT 10
- Backups of filesystem snapshots should rewrite paths
- Improve error messages. HOT 1
- Use par2 HOT 1
- Intent to package for debian HOT 1
- Change CLI args for tags
- Tag ids cannot contain hyphens, despite documentation claiming they can. HOT 2
- Duplicate tags should trigger an error (or at least a warning), instead of being silently ignored HOT 1
- Request: more detailed documentation of cryptography HOT 1
- Error when backing up with sendlog
- Feature to re-encrypt/re-chunk data
- Restore single file
- bupstash put fails with sqlite error
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 bupstash.