S60系統出錯問題匯總

來源:互聯網
上載者:User

S60系統都會出現系統出錯,其實我們解決的方法很簡單:建立一個名為“ErrRd”的空文字檔,放到C:\system\bootdata這個目錄下,讓系統在出錯時能顯示出錯代碼。如果不能成功可以嘗試在PKG檔案中加入"ErrRd.txt" -"c:\Resource\ErrRd"語句。

當然這時我們就知道了這個錯誤碼的原因了:

Symbian錯誤碼

以下是Generic Errors代碼說明:

KErrNone 0
KErrNotFound -1 找不到指定的物件
KErrGeneral -2 一般(無指定)錯誤
KErr   ncel -3 操作被取消
KErrNoMemory -4 不夠記憶體
KErrNotSupported -5 不支援所要求的操作
KErrArgument -6 錯誤的要求
KErrTotalLossOfPrecision -7 精確的失去總和(直接翻譯)
KErrBadHandle -8 錯誤的物件
KErrOverflow -9 超出限定的界限
KErrUnderflow -10 少於限定的界限
KErrAlreadyExists -11 已經有了
KErrPathNotFound -12 找不到指定的檔案夾
KErrDied -13 關閉
KErrInUse -14 指定的物件正被其他程式使用中
KErrServerTerminated -15 伺服器關閉了
KErrServerBusy -16 伺服器正忙著
KErrCompletion -17 完成的過程中出現錯誤
KErrNotReady -18 還沒準備好
KErrUnknown -19 不知名的錯誤
KErrCorrupt -20 壞了
KErrAccessDenied -21 拒絕接受
KErrLocked -22 鎖了
KErrWrite -23 讀寫失敗
KErrDisMounted -24 錯誤的disk
KErrEof -25 出乎預料的檔案到了尾端
KErrDiskFull -26 Disk滿了
KErrBadDriver -27 壞了的器材驅動
KErrBadName -28 不允許的名稱
KErrCommsLineFail -29 Comms線失敗
KErrCommsFrame -30 Comms框框錯誤
KErrCommsOverrun -31 Comms 超頻錯誤
KErrCommsParity -32 Comms同位錯誤
KErrTimedOut -33 時間到了
KErrCouldNotConnect -34 串連失敗
KErrCouldNotDisconnect -35 斷串連失敗
KErrDisconnected -36 斷了
KErrBadLibraryEntryPoint -37 損壞的資料庫存取點
KErrBadDescriptor -38 損壞的描述訊息塊
KErrAbort -39 被打斷了
KErrTooBig -40 太大了
KErrDivideByZero -41 除於零
KErrBadPower -42 電池快沒電了
KErrDirFull -43 檔案夾滿了
KErrHardwareNotAvailable -44
KErrSessionClosed -45
KErrPermissionDenied -46 

Error codes

From Forum Nokia Wiki

Global error codes from e32err.h. Note that each constant is defined as an
integer like this:

const TInt KErrNone;

Also note that all of these codes indicate an error in the environment, or
in user input from which a program may recover.

Error code

Value

Description

KErrNone

0

No error.

KErrNotFound

-1

Item not found.

KErrGeneral

-2

An error that has no specific categorisation.

KErrCancel

-3

Indicates an operation that has been cancelled.

KErrNoMemory

-4

An attempt to allocate memory has failed.

KErrNotSupported

-5

Some functionality is not supported in a given context.

There may be many reasons for this; for example, a device may not
support some specific behaviour.

KErrTotalLossOfPrecision

-6

An argument is out of range.

KErrNotFound

-7

A calculation has lost precision.

This error arises when converting from an internal 96-bit real
representation to a TReal32; the exponent of the internal representation is
so small that the 32-bit real cannot contain it.

KErrBadHandle

-8

An invalid handle has been passed.

A function involving a resource owned by a server or the kernel has
specified an invalid handle.

KErrOverflow

-9

Indicates an overflow in some operation.

In the context of mathematical or time/date functions, indicates a
calculation that has produced arithmetic overflow exceeding the bounds
allowed by the representation.

In the context of data transfer, indicates that a buffer has over-filled
without being emptied soon enough.

KErrUnderflow

-10

Indicates an underflow in some operation.

In the context of mathematical or time/date functions, indicates a
calculation that has produced a result smaller than the smallest magnitude of
a finite number allowed by the representation.

In the context of data transfer, indicates that a buffer was
under-filled when data was required.

KErrAlreadyExists

-11

An object already exists.

An object of some name/type is to be created, but an object of that
name/type already exists.

KErrPathNotFound

-12

In the context of file operations, a path was not
found.

KErrDied

-13

A handle refers to a thread that has died.

KErrInUse

-14

A requested resource is already in exclusive use.

KErrServerTerminated

-15

Client/server send/receive operation cannot run,
because the server has terminated.

KErrServerBusy

-16

A client/server send/receive operation cannot run,
because the server is busy handling another request.

KErrCompletion

-17

Indicates that an operation is complete, successfully
or otherwise.

This code may be used to indicate that some follow on operation can take
place. It does not necessarily indicate an error condition.

KErrNotReady

-18

Indicates that a device required by an i/o operation is
not ready to start operations.

A common reason for returning this code is because a device has not been
initialised, or has no power.

KErrUnknown

-19

A device is of unknown type.

KErrCorrupt

-20

Indicates that some media is not formatted properly, or
links between sections of it have been corrupted.

KErrAccessDenied

-21

Access to a file is denied, because the permissions on
the file do not allow the requested operation to be performed.

KErrLocked

-22

An operation cannot be performed, because the part of
the file to be read or written is locked.

KErrWrite

-23

During a file write operation, not all the data could
be written.

KErrDisMounted

-24

A volume which was to be used for a file system
operation has been dismounted.

KErrEof

-25

Indicates that end of file has been reached.

Note that RFile::Read() is a higher-level interface. When the end of the
file is reached, it returns zero bytes in the destination descriptor, and a KErrNone
return value. KErrEof is not used for this purpose; other error conditions
are returned only if some other error condition was indicated on the file.

KErrDiskFull

-26

A write operation cannot complete, because the disk is
full.

KErrBadDriver

-27

A driver DLL is of the wrong type.

KErrBadName

-28

A file name or other object name does not conform to
the required syntax.

KErrCommsLineFail

-29

A communication line has failed.

KErrCommsFrame

-30

A frame error has occurred in a communications
operation.

KErrCommsOverrun

-31

An overrun has been detected by a communications
driver.

KErrCommsParity

-32

A parity error has occurred in communications.

KErrTimedOut

-33

An operation has timed out.

KErrCouldNotConnect

-34

A session could not connect.

KErrCouldNotDisconnect

-35

A session could not disconnect.

KErrDisconnected

-36

A function could not be executed because the required
session was disconnected.

KErrBadLibraryEntryPoint

-37

A library entry point was not of the required type.

KErrBadDescriptor

-38

A non-descriptor parameter was passed by a client
interface, when a server expected a descriptor.

KErrAbort

-39

An operation has been aborted.

KErrTooBig

-40

A number was too big.

KErrDivideByZero

-41

A divide-by-zero operation has been attempted.

KErrBadPower

-42

Insufficient power was available to complete an
operation.

KErrDirFull

-43

An operation on a directory has failed.

KErrHardwareNotAvailable

-44

An operation cannot be performed because the necessary
hardware is not available.

KErrSessionClosed

-45

The completion status when an outstanding client/server
message is completed because a shared session has been closed.

KErrPermissionDenied

-46

An operation cannot be performed due to a potential
security violation.

KErrExtensionNotSupported

-47

A requested extension function is not supported by the
object concerned.

KErrCommsBreak

-48

A break has occurred in a communications operation.

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.