You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thread 1 "tests" received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
76 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or directory.
(gdb) bt
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:76
#1 0x00007ffff68e438e in add_pax_attr (value=0x0, key=0x7ffff68f5d0c "path", as=0x5555559f50e8) at libarchive/archive_write_set_format_pax.c:311
#2 archive_write_pax_header (a=0x5555558b2f10, entry_original=0x555555a54fa0) at libarchive/archive_write_set_format_pax.c:1014
#3 0x00007ffff68c51a0 in _archive_write_header (_a=0x5555558b2f10, entry=0x555555a54fa0) at libarchive/archive_write.c:775
When using archive_entry_set_pathname instead of archive_entry_set_pathname_utf8 there is no segfault but I only get a bricked archive since the paths aren't handled properly.
Do I do something wrong in here? And is there another way to provide full UTF8 support when reading/writing archives? (Ideally a solution that also works for older versions of libarchive)
The text was updated successfully, but these errors were encountered:
In the small chance that it still doesn't work, please reopen and provide details more details. Output of locale, available locales present on the system, example archive, OS and filesystem details, etc.
Hi,
I'm on libarchive 3.7.2 (6468cd1) (but see a similar crash in 3.6.2)
and want to create archives with non-ASCII paths containing non-ASCII files.
With C and Qt I do something similar to
But it crashes on the line of
with the following backtrace
When using
archive_entry_set_pathname
instead ofarchive_entry_set_pathname_utf8
there is no segfault but I only get a bricked archive since the paths aren't handled properly.Do I do something wrong in here? And is there another way to provide full UTF8 support when reading/writing archives? (Ideally a solution that also works for older versions of libarchive)
The text was updated successfully, but these errors were encountered: