FreeBSD Bugzilla – Attachment 187040 Details for
Bug 222891
/usr/bin/tar exits with INTERNAL ERROR: Function 'archive_read_disk_open'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Details of the sourrce code
err (text/plain), 2.88 KB, created by
papowell
on 2017-10-10 03:22:47 UTC
(
hide
)
Description:
Details of the sourrce code
Filename:
MIME Type:
Creator:
papowell
Created:
2017-10-10 03:22:47 UTC
Size:
2.88 KB
patch
obsolete
>+ cd / >+ /usr/bin/tar -vczf files.tgz -T /tmp/rmis_save.tmp49784 >a etc/rc.conf >a etc/hosts >a etc/ntp.conf >a etc/crontab >a etc/resolv.conf >a etc/nsswitch.conf >a etc/syslog.conf >a etc/newsyslog.conf >tar: etc/namedb/named.conf: Cannot stat: No such file or directory >tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 >tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 >tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 >tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 >tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 >tar: INTERNAL ERROR: Function 'archive_read_disk_open' invoked with archive structure in state 'header', should be in state 'new/closed': Unknown error: -1 > >/usr/src/contrib/libarchive/libarchive/archive_read_disk_posix.c > >line 874 or 2673 > > >static int >next_entry(struct archive_read_disk *a, struct tree *t, > struct archive_entry *entry) >{ > const struct stat *st; /* info to use for this entry */ > const struct stat *lst;/* lstat() information */ > const char *name; > int descend, r; > > st = NULL; > lst = NULL; > t->descend = 0; > do { > switch (tree_next(t)) { > case TREE_ERROR_FATAL: > archive_set_error(&a->archive, t->tree_errno, > "%s: Unable to continue traversing directory tree", > tree_current_path(t)); > a->archive.state = ARCHIVE_STATE_FATAL; > tree_enter_initial_dir(t); > return (ARCHIVE_FATAL); > case TREE_ERROR_DIR: > archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC, > "%s: Couldn't visit directory", > tree_current_path(t)); > tree_enter_initial_dir(t); > return (ARCHIVE_FAILED); > case 0: > tree_enter_initial_dir(t); > return (ARCHIVE_EOF); > case TREE_POSTDESCENT: > case TREE_POSTASCENT: > break; > case TREE_REGULAR: > lst = tree_current_lstat(t); > if (lst == NULL) { > archive_set_error(&a->archive, errno, > "%s: Cannot stat", > tree_current_path(t)); > tree_enter_initial_dir(t); > return (ARCHIVE_FAILED); >************** This should return a status which will cause the >************** either the archive to fail or the file >************** to be skipped (FreeBSD 10.3 behaviour) > } > break; > } > } while (lst == NULL); > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 222891
: 187040