Comments (4)
It's most definitely a weird file name and for some reason nobody has encountered this before. Congrats! :)
FWIW, I did, but I thought this was my problem, so I ran convmv
on an affected folder, and this fixed it for me. I should have reported this earlier, yes :(.
from dwarfs.
Hi and thanks for your report.
It's most definitely a weird file name and for some reason nobody has encountered this before. Congrats! :)
I reckon some of the files originate from Windows or from a system using a non-UTF-8 locale. Given that it's just 170 files, it should be relatively easy to spot.
I can easily reproduce this here with a specially crafted file name:
$ ls tmp
''$'\334''berraschung'
$ ./mkdwarfs -i tmp -o /dev/null --force
I 23:11:49.632683 scanning "/home/mhx/git/github/dwarfs/build-clang/tmp"
I 23:11:49.632794 assigning directory and link inodes...
I 23:11:49.632806 waiting for background scanners...
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
0 dirs, 0/0 soft/hard links, 0/0 files, 0 other
original size: 0 B, hashed: 0 B (0 files, 0 B/s)
scanned: 0 B (0 files, 0 B/s), categorizing: 0 B/s
saved by deduplication: 0 B (0 files), saved by segmenting: 0 B
filesystem: 0 B in 0 blocks (0 chunks, 0 fragments, 0/0 inodes)
compressed filesystem: 0 blocks/0 B written
▏ ▏ 0% 🌑
terminate called after throwing an instance of 'utf8::invalid_utf8'
what(): Invalid UTF-8
*** Aborted at 1707174709 (Unix time, try 'date -d @1707174709') ***
*** Signal 6 (SIGABRT) (0x3e8000057ce) received by PID 22478 (pthread TID 0x7fb19d5ff6c0) (linux TID 22479) (maybe from PID 22478, UID 1000) (code: -6), stack trace: ***
@ 0000000000526622 folly::symbolizer::(anonymous namespace)::signalHandler(int, siginfo_t*, void*)
/home/mhx/git/github/dwarfs/folly/folly/experimental/symbolizer/SignalHandler.cpp:449
@ 00000000000397cf (unknown)
@ 00000000000881fc (unknown)
@ 0000000000039731 raise
@ 00000000000224ec abort
@ 00000000000a0c8f (unknown)
@ 00000000000b3145 (unknown)
@ 00000000000b31b0 std::terminate()
@ 00000000000b33f2 __cxa_throw
@ 0000000000519cc0 __cxa_throw
/home/mhx/git/github/dwarfs/folly/folly/experimental/exception_tracer/ExceptionTracerLib.cpp:159
@ 0000000000357642 unsigned int utf8::next<char const*>(char const*&, char const*)
@ 00000000003567ea dwarfs::utf8_display_width(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
@ 00000000001a8d2d dwarfs::console_writer::update(dwarfs::progress&, bool)
@ 00000000002ab25b std::thread::_State_impl<std::thread::_Invoker<std::tuple<dwarfs::progress::progress(folly::Function<void (dwarfs::progress&, bool)>&&, unsigned int)::$_0> > >::_M_run()
I'm not entirely sure about the best way to fix this yet, but it's certainly not going to take long.
from dwarfs.
In the meantime, a workaround is to use the --no-progress
flag. This should prevent the crash.
from dwarfs.
Fixed in v0.9.1.
from dwarfs.
Related Issues (20)
- Add support for Ubuntu HOT 2
- Version 0.7 added a spamming permission error. HOT 9
- Add integrity check from dwarfsextract to mount as well HOT 8
- UIDs/GIDs truncated to 16 bits HOT 6
- Command line option (for windows) to set a folder where writable files go [] HOT 10
- how do I use you software? HOT 3
- Consider supporting zstd dictionaries HOT 4
- [Feature Request] Create DWARFS Archive From TAR/STDIN HOT 6
- Trouble compiling: 'utf8cpp/utf8.h' file not found HOT 6
- dwarfs 0.7.3 doesn't use section index properly HOT 3
- error initializing file system: unsupported compression type: ZSTD HOT 8
- Issues when building into different architectures and on musl HOT 3
- Kernel level implementation HOT 1
- Build fails when tests enabled HOT 14
- Ability to view files in the archive HOT 8
- null_decompressor not implemented (core dumped) HOT 3
- Ricepp tries to add nonexistent googletest directory even if -DPREFER_SYSTEM_GTEST=ON is set HOT 2
- failed opening file: The system cannot find the file specified. (windows) HOT 3
- Idea: LZAV compression algorithm HOT 2
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 dwarfs.