Author Topic: comments, questions. first time using mac version  (Read 7724 times)

0 Members and 1 Guest are viewing this topic.

Offline macgeek

  • Newbie
  • *
  • Posts: 10
comments, questions. first time using mac version
« on: August 01, 2008, 07:59:55 AM »
I see the err 13 is a permissions error. how about

Err 42146

Err 200

Err 42110


also, I cant update the virus defs... get the spinning beach ball every time and have to force quit. is there a way to get this without using the app?


Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: comments, questions. first time using mac version
« Reply #1 on: August 07, 2008, 07:06:25 AM »
I see the err 13 is a permissions error. how about

Err 42146

Err 200

Err 42110

also, I cant update the virus defs... get the spinning beach ball every time and have to force quit. is there a way to get this without using the app?


Hallo,
since the next version, all errnos will be 1) supressed by default and 2) made verbose. For now, look at the end of this post for an errno-list.

The update probably works, but your internet connection is quite slow and it takes time (please check with net activity monitor or tcpdump whether the 400.vps is downloaded or not).

There are basically 2 kind of errors - small numbers (= system errors), and numbers >42000 (avast's internal error set). Here's their exact meaning:

1) System errors (permissions, resources etc.):

1               /* Operation not permitted */
2               /* No such file or directory */
3               /* No such process */
4               /* Interrupted system call */
5               /* Input/output error */
6               /* Device not configured */
7               /* Argument list too long */
8               /* Exec format error */
9               /* Bad file descriptor */
10              /* No child processes */
11              /* Resource deadlock avoided */
12              /* Cannot allocate memory */
13              /* Permission denied */
14              /* Bad address */
15              /* Block device required */
16              /* Device busy */
17              /* File exists */
18              /* Cross-device link */
19              /* Operation not supported by device */
20              /* Not a directory */
21              /* Is a directory */
22              /* Invalid argument */
23              /* Too many open files in system */
24              /* Too many open files */
25              /* Inappropriate ioctl for device */
26              /* Text file busy */
27              /* File too large */
28              /* No space left on device */
29              /* Illegal seek */
30              /* Read-only file system */
31              /* Too many links */
32              /* Broken pipe */
33              /* Numerical argument out of domain */
34              /* Result too large */
35              /* Resource temporarily unavailable */
35          /* Operation would block */
36              /* Operation now in progress */
37              /* Operation already in progress */
38              /* Socket operation on non-socket */
39              /* Destination address required */
40              /* Message too long */
41              /* Protocol wrong type for socket */
42              /* Protocol not available */
43              /* Protocol not supported */
44              /* Socket type not supported */
45              /* Operation not supported */
45 /* Operation not supported on socket */
46              /* Protocol family not supported */
47              /* Address family not supported by protocol family */
48              /* Address already in use */
49              /* Can't assign requested address */
50              /* Network is down */
51              /* Network is unreachable */
52              /* Network dropped connection on reset */
53              /* Software caused connection abort */
54              /* Connection reset by peer */
55              /* No buffer space available */
56              /* Socket is already connected */
57              /* Socket is not connected */
58              /* Can't send after socket shutdown */
59              /* Too many references: can't splice */
60              /* Operation timed out */
61              /* Connection refused */
62              /* Too many levels of symbolic links */
63              /* File name too long */
64              /* Host is down */
65              /* No route to host */
66              /* Directory not empty */
67              /* Too many processes */
68              /* Too many users */
69              /* Disc quota exceeded */
70              /* Stale NFS file handle */
71              /* Too many levels of remote in path */
72              /* RPC struct is bad */
73              /* RPC version wrong */
74              /* RPC prog. not avail */
75              /* Program version wrong */
76              /* Bad procedure for program */
77              /* No locks available */
78              /* Function not implemented */
79              /* Inappropriate file type or format */
80              /* Authentication error */
81              /* Need authenticator */
82      /* Device power is off */
83      /* Device error, e.g. paper out */
84              /* Value too large to be stored in data type */
85      /* Bad executable */
86      /* Bad CPU type in executable */
87      /* Shared library version mismatch */
88      /* Malformed Macho file */
89              /* Operation canceled */
90              /* Identifier removed */
91              /* No message of desired type */
92              /* Illegal byte sequence */
93              /* Attribute not found */
94              /* Bad message */
95              /* Reserved */
96              /* No message available on STREAM */
97              /* Reserved */
98              /* No STREAM resources */
99              /* Not a STREAM */
100             /* Protocol error */
101             /* STREAM ioctl timeout */
102             /* Operation not supported on socket */
102             /* Must be equal largest errno */

2) Avast's errors (mainly accessibility, archive properties, etc.):

ERR_ENGINEBASE "Unknown error",
ERR_ENGINE1 "Invalid engine license",
ERR_ENGINE2 "Expired engine license",
ERR_INTERNAL "Internal program error",
ERR_ENGINE4 "Cannot create folder",
ERR_ENGINE5 "Error occurred during data compression",
ERR_ENGINE6 "File is offline - it is currently not available",
ERR_ENGINE7 "Object is unknown in current context",
ERR_ENGINE8 "File is too small to be processed",
ERR_ENGINE9 "Installation of avast! is invalid",
ERR_ENGINE10 "File is not packed",
ERR_ENGINE11 "Operation was stopped",
ERR_ENGINE16 "File was skipped because of scanner settings",
ERR_ENGINE17 "License string is not valid",
ERR_ENGINE19 "Skipped due to exclusions settings",
ERR_ENGINE30 "Unknown scanner error",
ERR_ENGINE31 "Unknown internal object type",
ERR_ENGINE40 "VPS file was destroyed",
ERR_ENGINE43 "VPS file was updated illegally",
ERR_ENGINE50 "Unknown packer error",
ERR_ENGINE51 "Unknown packer version",
ERR_ENGINE52 "Archive is corrupted",
ERR_ENGINE53 "Unknown compression format",
ERR_ENGINE54 "Archive is probably damaged",
ERR_ENGINE55 "Compression failed",
ERR_ENGINE56 "Archive is password protected",
ERR_ENGINE57 "Compressed file is too big to be processed",
ERR_ENGINE58 "Not enough disk space in TEMP directory to uncompress the file",
ERR_ENGINE60 "The file was not repaired",
ERR_ENGINE61 "The file may have been repaired",
ERR_ENGINE70 "MAPI attachment skipped due to unknown store method",
ERR_ENGINE71 "MAPI attachment skipped due to unresolved reference",
ERR_ENGINE72 "MAPI attachment skipped (it contains reference only)",
ERR_ENGINE73 "MAPI attachment skipped due to embedded message",
ERR_ENGINE74 "MAPI attachment is OLE",
ERR_ENGINE75 "MAPI attachment skipped due to unknown error",
ERR_ENGINE100 "Exception in polymorph viruses code",
ERR_ENGINE101 "Error in polymorph viruses code",
ERR_ENGINE102 "Exception in macro viruses code",
ERR_ENGINE103 "Probably damaged OLE document",
ERR_ENGINE120 "ARJ archive is corrupted",
ERR_ENGINE121 "EXE archive is corrupted",
ERR_ENGINE122 "MAPI (PST) archive is corrupted",
ERR_ENGINE123 "MIME archive is corrupted",
ERR_ENGINE124 "Streams archive is corrupted",
ERR_ENGINE125 "ZIP archive is corrupted",
ERR_ENGINE126 "RAR archive is corrupted",
ERR_ENGINE127 "CAB archive is corrupted",
ERR_ENGINE128 "TAR archive is corrupted",
ERR_ENGINE129 "GZIP archive is corrupted",
ERR_ENGINE130 "BZIP2 archive is corrupted",
ERR_ENGINE131 "ACE archive is corrupted",
ERR_ENGINE132 "UPX archive is corrupted",
ERR_ENGINE133 "ARC archive is corrupted",
ERR_ENGINE134 "ZOO archive is corrupted",
ERR_ENGINE135 "LHA archive is corrupted",
ERR_ENGINE136 "CHM archive is corrupted",
ERR_ENGINE137 "CPIO archive is corrupted",
ERR_ENGINE138 "RPM archive is corrupted",
ERR_ENGINE139 "7ZIP archive is corrupted",
ERR_ENGINE140 "DEB archive is corrupted",
ERR_ENGINE141 "ISO archive is corrupted",
ERR_ENGINE142 "DBX archive is corrupted",
ERR_ENGINE143 "SIS archive is corrupted",
ERR_ENGINE144 "Notes database is corrupted",
ERR_ENGINE145 "OLE archive is corrupted",
ERR_ENGINE146 "Installer archive is corrupted",
ERR_ENGINE110 "The file is a decompression bomb",
ERR_ENGINE111 "The operation is not supported for this type of archive"

regards,
pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)

Offline zilog

  • Avast team
  • Advanced Poster
  • *
  • Posts: 957
  • or #f0; daa; add a,#a0; adc a,#40
Re: comments, questions. first time using mac version
« Reply #2 on: August 07, 2008, 07:24:13 AM »
I see the err 13 is a permissions error. how about

Err 42146

Err 200

Err 42110


also, I cant update the virus defs... get the spinning beach ball every time and have to force quit. is there a way to get this without using the app?


... and that 200 is some unknown error - it is in the system range, but "too high" for anything common (common errors tend to be <128 because the value from exit() in only 8-bit wide).

pc
May's Law: Software efficiency halves every 18 months, compensating Moore's Law. (David May, INMOS)