Author: gedmurphy
Date: Sun Aug 17 10:37:54 2008
New Revision: 35408
URL:
http://svn.reactos.org/svn/reactos?rev=35408&view=rev
Log:
Add bug check codes to the translation utility
Added:
trunk/tools/Message Translator/GUI/Resources/bugcheck.xml (with props)
trunk/tools/Message Translator/MsgTrans.Library/bugcheck.cs
Modified:
trunk/tools/Message Translator/GUI/App.config
trunk/tools/Message Translator/GUI/GUI.csproj
trunk/tools/Message Translator/GUI/MainForm.cs
trunk/tools/Message Translator/MsgTrans.Library/ErrorCommand.cs
trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.Library.csproj
trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.cs
Modified: trunk/tools/Message Translator/GUI/App.config
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/GUI/App…
==============================================================================
--- trunk/tools/Message Translator/GUI/App.config [iso-8859-1] (original)
+++ trunk/tools/Message Translator/GUI/App.config [iso-8859-1] Sun Aug 17 10:37:54 2008
@@ -4,6 +4,7 @@
<add key="NtstatusXml" value="Resources\ntstatus.xml" />
<add key="WinerrorXml" value="Resources\winerror.xml" />
<add key="HresultXml" value="Resources\hresult.xml" />
+ <add key="BugcheckXml" value="Resources\bugcheck.xml" />
<add key="WmXml" value="Resources\wm.xml" />
<add key="BugUrl"
value="http://www.reactos.org/bugzilla/show_bug.cgi?id={0}" />
<add key="BugHomepage"
value="http://www.reactos.org/bugzilla"/>
Modified: trunk/tools/Message Translator/GUI/GUI.csproj
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/GUI/GUI…
==============================================================================
--- trunk/tools/Message Translator/GUI/GUI.csproj [iso-8859-1] (original)
+++ trunk/tools/Message Translator/GUI/GUI.csproj [iso-8859-1] Sun Aug 17 10:37:54 2008
@@ -77,6 +77,9 @@
</ItemGroup>
<ItemGroup>
<Content Include="icon.ico" />
+ <Content Include="Resources\bugcheck.xml">
+ <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+ </Content>
<Content Include="Resources\hresult.xml">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
Modified: trunk/tools/Message Translator/GUI/MainForm.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/GUI/Mai…
==============================================================================
--- trunk/tools/Message Translator/GUI/MainForm.cs [iso-8859-1] (original)
+++ trunk/tools/Message Translator/GUI/MainForm.cs [iso-8859-1] Sun Aug 17 10:37:54 2008
@@ -114,6 +114,18 @@
get
{
string optionName = "WmXml";
+ string s = ConfigurationSettings.AppSettings[optionName];
+ VerifyRequiredOption(optionName,
+ s);
+ s = PrependWorkingDirectory(s);
+ return s;
+ }
+ }
+ private static string BugCheckXml
+ {
+ get
+ {
+ string optionName = "BugcheckXml";
string s = ConfigurationSettings.AppSettings[optionName];
VerifyRequiredOption(optionName,
s);
@@ -224,6 +236,7 @@
NtstatusXml,
WinerrorXml,
HresultXml,
+ BugCheckXml,
WmXml,
BugUrl);
string message = msgType + " " + mainErrTxtBox.Text;
@@ -242,6 +255,7 @@
if (cmd.MsgType == MessageType.WinError ||
cmd.MsgType == MessageType.HRESULT ||
cmd.MsgType == MessageType.NTSTATUS ||
+ cmd.MsgType == MessageType.BugCheck ||
cmd.MsgType == MessageType.Custom)
{
if (errMessages != null)
Added: trunk/tools/Message Translator/GUI/Resources/bugcheck.xml
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/GUI/Res…
==============================================================================
--- trunk/tools/Message Translator/GUI/Resources/bugcheck.xml (added)
+++ trunk/tools/Message Translator/GUI/Resources/bugcheck.xml [iso-8859-1] Sun Aug 17
10:37:54 2008
@@ -1,0 +1,312 @@
+<?xml version="1.0" ?>
+<BugCheckList>
+ <BugCheck text="HARDWARE_PROFILE_UNDOCKED_STRING"
value="40010001" />
+ <BugCheck text="HARDWARE_PROFILE_DOCKED_STRING" value="40010002"
/>
+ <BugCheck text="HARDWARE_PROFILE_UNKNOWN_STRING" value="40010003"
/>
+ <BugCheck text="WINDOWS_NT_BANNER" value="4000007E" />
+ <BugCheck text="BUGCHECK_MESSAGE_INTRO" value="4000007F" />
+ <BugCheck text="BUGCODE_ID_DRIVER" value="40000080" />
+ <BugCheck text="PSS_MESSAGE_INTRO" value="40000081" />
+ <BugCheck text="BUGCODE_PSS_MESSAGE" value="40000082" />
+ <BugCheck text="BUGCHECK_TECH_INFO" value="40000083" />
+ <BugCheck text="WINDOWS_NT_CSD_STRING" value="40000087" />
+ <BugCheck text="WINDOWS_NT_INFO_STRING" value="40000088" />
+ <BugCheck text="WINDOWS_NT_MP_STRING" value="40000089" />
+ <BugCheck text="THREAD_TERMINATE_HELD_MUTEX" value="4000008A"
/>
+ <BugCheck text="BUGCODE_PSS_CRASH_INIT" value="4000008B" />
+ <BugCheck text="BUGCODE_PSS_CRASH_PROGRESS" value="4000008C"
/>
+ <BugCheck text="BUGCODE_PSS_CRASH_DONE" value="4000008D" />
+ <BugCheck text="WINDOWS_NT_INFO_STRING_PLURAL" value="4000009D"
/>
+ <BugCheck text="WINDOWS_NT_RC_STRING" value="4000009E" />
+ <BugCheck text="APC_INDEX_MISMATCH" value="00000001" />
+ <BugCheck text="DEVICE_QUEUE_NOT_BUSY" value="00000002" />
+ <BugCheck text="INVALID_AFFINITY_SET" value="00000003" />
+ <BugCheck text="INVALID_DATA_ACCESS_TRAP" value="00000004" />
+ <BugCheck text="INVALID_PROCESS_ATTACH_ATTEMPT" value="00000005"
/>
+ <BugCheck text="INVALID_PROCESS_DETACH_ATTEMPT" value="00000006"
/>
+ <BugCheck text="INVALID_SOFTWARE_INTERRUPT" value="00000007"
/>
+ <BugCheck text="IRQL_NOT_DISPATCH_LEVEL" value="00000008" />
+ <BugCheck text="IRQL_NOT_GREATER_OR_EQUAL" value="00000009"
/>
+ <BugCheck text="IRQL_NOT_LESS_OR_EQUAL" value="0000000A" />
+ <BugCheck text="NO_EXCEPTION_HANDLING_SUPPORT" value="0000000B"
/>
+ <BugCheck text="MAXIMUM_WAIT_OBJECTS_EXCEEDED" value="0000000C"
/>
+ <BugCheck text="MUTEX_LEVEL_NUMBER_VIOLATION" value="0000000D"
/>
+ <BugCheck text="NO_USER_MODE_CONTEXT" value="0000000E" />
+ <BugCheck text="SPIN_LOCK_ALREADY_OWNED" value="0000000F" />
+ <BugCheck text="SPIN_LOCK_NOT_OWNED" value="00000010" />
+ <BugCheck text="THREAD_NOT_MUTEX_OWNER" value="00000011" />
+ <BugCheck text="TRAP_CAUSE_UNKNOWN" value="00000012" />
+ <BugCheck text="EMPTY_THREAD_REAPER_LIST" value="00000013" />
+ <BugCheck text="CREATE_DELETE_LOCK_NOT_LOCKED" value="00000014"
/>
+ <BugCheck text="LAST_CHANCE_CALLED_FROM_KMODE" value="00000015"
/>
+ <BugCheck text="CID_HANDLE_CREATION" value="00000016" />
+ <BugCheck text="CID_HANDLE_DELETION" value="00000017" />
+ <BugCheck text="REFERENCE_BY_POINTER" value="00000018" />
+ <BugCheck text="BAD_POOL_HEADER" value="00000019" />
+ <BugCheck text="MEMORY_MANAGEMENT" value="0000001A" />
+ <BugCheck text="PFN_SHARE_COUNT" value="0000001B" />
+ <BugCheck text="PFN_REFERENCE_COUNT" value="0000001C" />
+ <BugCheck text="NO_SPIN_LOCK_AVAILABLE" value="0000001D" />
+ <BugCheck text="KMODE_EXCEPTION_NOT_HANDLED" value="0000001E"
/>
+ <BugCheck text="SHARED_RESOURCE_CONV_ERROR" value="0000001F"
/>
+ <BugCheck text="KERNEL_APC_PENDING_DURING_EXIT" value="00000020"
/>
+ <BugCheck text="QUOTA_UNDERFLOW" value="00000021" />
+ <BugCheck text="FILE_SYSTEM" value="00000022" />
+ <BugCheck text="FAT_FILE_SYSTEM" value="00000023" />
+ <BugCheck text="NTFS_FILE_SYSTEM" value="00000024" />
+ <BugCheck text="NPFS_FILE_SYSTEM" value="00000025" />
+ <BugCheck text="CDFS_FILE_SYSTEM" value="00000026" />
+ <BugCheck text="RDR_FILE_SYSTEM" value="00000027" />
+ <BugCheck text="CORRUPT_ACCESS_TOKEN" value="00000028" />
+ <BugCheck text="SECURITY_SYSTEM" value="00000029" />
+ <BugCheck text="INCONSISTENT_IRP" value="0000002A" />
+ <BugCheck text="PANIC_STACK_SWITCH" value="0000002B" />
+ <BugCheck text="PORT_DRIVER_INTERNAL" value="0000002C" />
+ <BugCheck text="SCSI_DISK_DRIVER_INTERNAL" value="0000002D"
/>
+ <BugCheck text="DATA_BUS_ERROR" value="0000002E" />
+ <BugCheck text="INSTRUCTION_BUS_ERROR" value="0000002F" />
+ <BugCheck text="SET_OF_INVALID_CONTEXT" value="00000030" />
+ <BugCheck text="PHASE0_INITIALIZATION_FAILED" value="00000031"
/>
+ <BugCheck text="PHASE1_INITIALIZATION_FAILED" value="00000032"
/>
+ <BugCheck text="UNEXPECTED_INITIALIZATION_CALL" value="00000033"
/>
+ <BugCheck text="CACHE_MANAGER" value="00000034" />
+ <BugCheck text="NO_MORE_IRP_STACK_LOCATIONS" value="00000035"
/>
+ <BugCheck text="DEVICE_REFERENCE_COUNT_NOT_ZERO" value="00000036"
/>
+ <BugCheck text="FLOPPY_INTERNAL_ERROR" value="00000037" />
+ <BugCheck text="SERIAL_DRIVER_INTERNAL" value="00000038" />
+ <BugCheck text="SYSTEM_EXIT_OWNED_MUTEX" value="00000039" />
+ <BugCheck text="SYSTEM_UNWIND_PREVIOUS_USER" value="0000003A"
/>
+ <BugCheck text="SYSTEM_SERVICE_EXCEPTION" value="0000003B" />
+ <BugCheck text="INTERRUPT_UNWIND_ATTEMPTED" value="0000003C"
/>
+ <BugCheck text="INTERRUPT_EXCEPTION_NOT_HANDLED" value="0000003D"
/>
+ <BugCheck text="MULTIPROCESSOR_CONFIGURATION_NOT_SUPPORTED"
value="0000003E" />
+ <BugCheck text="NO_MORE_SYSTEM_PTES" value="0000003F" />
+ <BugCheck text="TARGET_MDL_TOO_SMALL" value="00000040" />
+ <BugCheck text="MUST_SUCCEED_POOL_EMPTY" value="00000041" />
+ <BugCheck text="ATDISK_DRIVER_INTERNAL" value="00000042" />
+ <BugCheck text="NO_SUCH_PARTITION" value="00000043" />
+ <BugCheck text="MULTIPLE_IRP_COMPLETE_REQUESTS" value="00000044"
/>
+ <BugCheck text="INSUFFICIENT_SYSTEM_MAP_REGS" value="00000045"
/>
+ <BugCheck text="DEREF_UNKNOWN_LOGON_SESSION" value="00000046"
/>
+ <BugCheck text="REF_UNKNOWN_LOGON_SESSION" value="00000047"
/>
+ <BugCheck text="CANCEL_STATE_IN_COMPLETED_IRP" value="00000048"
/>
+ <BugCheck text="PAGE_FAULT_WITH_INTERRUPTS_OFF" value="00000049"
/>
+ <BugCheck text="IRQL_GT_ZERO_AT_SYSTEM_SERVICE" value="0000004A"
/>
+ <BugCheck text="STREAMS_INTERNAL_ERROR" value="0000004B" />
+ <BugCheck text="FATAL_UNHANDLED_HARD_ERROR" value="0000004C"
/>
+ <BugCheck text="NO_PAGES_AVAILABLE" value="0000004D" />
+ <BugCheck text="PFN_LIST_CORRUPT" value="0000004E" />
+ <BugCheck text="NDIS_INTERNAL_ERROR" value="0000004F" />
+ <BugCheck text="PAGE_FAULT_IN_NONPAGED_AREA" value="00000050"
/>
+ <BugCheck text="PAGE_FAULT_IN_NONPAGED_AREA_M" value="10000050"
/>
+ <BugCheck text="REGISTRY_ERROR" value="00000051" />
+ <BugCheck text="MAILSLOT_FILE_SYSTEM" value="00000052" />
+ <BugCheck text="NO_BOOT_DEVICE" value="00000053" />
+ <BugCheck text="LM_SERVER_INTERNAL_ERROR" value="00000054" />
+ <BugCheck text="DATA_COHERENCY_EXCEPTION" value="00000055" />
+ <BugCheck text="INSTRUCTION_COHERENCY_EXCEPTION" value="00000056"
/>
+ <BugCheck text="XNS_INTERNAL_ERROR" value="00000057" />
+ <BugCheck text="FTDISK_INTERNAL_ERROR" value="00000058" />
+ <BugCheck text="PINBALL_FILE_SYSTEM" value="00000059" />
+ <BugCheck text="CRITICAL_SERVICE_FAILED" value="0000005A" />
+ <BugCheck text="SET_ENV_VAR_FAILED" value="0000005B" />
+ <BugCheck text="HAL_INITIALIZATION_FAILED" value="0000005C"
/>
+ <BugCheck text="UNSUPPORTED_PROCESSOR" value="0000005D" />
+ <BugCheck text="OBJECT_INITIALIZATION_FAILED" value="0000005E"
/>
+ <BugCheck text="SECURITY_INITIALIZATION_FAILED" value="0000005F"
/>
+ <BugCheck text="PROCESS_INITIALIZATION_FAILED" value="00000060"
/>
+ <BugCheck text="HAL1_INITIALIZATION_FAILED" value="00000061"
/>
+ <BugCheck text="OBJECT1_INITIALIZATION_FAILED" value="00000062"
/>
+ <BugCheck text="SECURITY1_INITIALIZATION_FAILED" value="00000063"
/>
+ <BugCheck text="SYMBOLIC_INITIALIZATION_FAILED" value="00000064"
/>
+ <BugCheck text="MEMORY1_INITIALIZATION_FAILED" value="00000065"
/>
+ <BugCheck text="CACHE_INITIALIZATION_FAILED" value="00000066"
/>
+ <BugCheck text="CONFIG_INITIALIZATION_FAILED" value="00000067"
/>
+ <BugCheck text="FILE_INITIALIZATION_FAILED" value="00000068"
/>
+ <BugCheck text="IO1_INITIALIZATION_FAILED" value="00000069"
/>
+ <BugCheck text="LPC_INITIALIZATION_FAILED" value="0000006A"
/>
+ <BugCheck text="PROCESS1_INITIALIZATION_FAILED" value="0000006B"
/>
+ <BugCheck text="REFMON_INITIALIZATION_FAILED" value="0000006C"
/>
+ <BugCheck text="SESSION1_INITIALIZATION_FAILED" value="0000006D"
/>
+ <BugCheck text="SESSION2_INITIALIZATION_FAILED" value="0000006E"
/>
+ <BugCheck text="SESSION3_INITIALIZATION_FAILED" value="0000006F"
/>
+ <BugCheck text="SESSION4_INITIALIZATION_FAILED" value="00000070"
/>
+ <BugCheck text="SESSION5_INITIALIZATION_FAILED" value="00000071"
/>
+ <BugCheck text="ASSIGN_DRIVE_LETTERS_FAILED" value="00000072"
/>
+ <BugCheck text="CONFIG_LIST_FAILED" value="00000073" />
+ <BugCheck text="BAD_SYSTEM_CONFIG_INFO" value="00000074" />
+ <BugCheck text="CANNOT_WRITE_CONFIGURATION" value="00000075"
/>
+ <BugCheck text="PROCESS_HAS_LOCKED_PAGES" value="00000076" />
+ <BugCheck text="KERNEL_STACK_INPAGE_ERROR" value="00000077"
/>
+ <BugCheck text="PHASE0_EXCEPTION" value="00000078" />
+ <BugCheck text="MISMATCHED_HAL" value="00000079" />
+ <BugCheck text="KERNEL_DATA_INPAGE_ERROR" value="0000007A" />
+ <BugCheck text="INACCESSIBLE_BOOT_DEVICE" value="0000007B" />
+ <BugCheck text="BUGCODE_NDIS_DRIVER" value="0000007C" />
+ <BugCheck text="INSTALL_MORE_MEMORY" value="0000007D" />
+ <BugCheck text="SYSTEM_THREAD_EXCEPTION_NOT_HANDLED"
value="0000007E" />
+ <BugCheck text="SYSTEM_THREAD_EXCEPTION_NOT_HANDLED_M"
value="1000007E" />
+ <BugCheck text="UNEXPECTED_KERNEL_MODE_TRAP" value="0000007F"
/>
+ <BugCheck text="UNEXPECTED_KERNEL_MODE_TRAP_M" value="1000007F"
/>
+ <BugCheck text="NMI_HARDWARE_FAILURE" value="00000080" />
+ <BugCheck text="SPIN_LOCK_INIT_FAILURE" value="00000081" />
+ <BugCheck text="DFS_FILE_SYSTEM" value="00000082" />
+ <BugCheck text="OFS_FILE_SYSTEM" value="00000083" />
+ <BugCheck text="RECOM_DRIVER" value="00000084" />
+ <BugCheck text="SETUP_FAILURE" value="00000085" />
+ <BugCheck text="AUDIT_FAILURE" value="00000086" />
+ <BugCheck text="MBR_CHECKSUM_MISMATCH" value="0000008B" />
+ <BugCheck text="KERNEL_MODE_EXCEPTION_NOT_HANDLED"
value="0000008E" />
+ <BugCheck text="KERNEL_MODE_EXCEPTION_NOT_HANDLED_M"
value="1000008E" />
+ <BugCheck text="PP0_INITIALIZATION_FAILED" value="0000008F"
/>
+ <BugCheck text="PP1_INITIALIZATION_FAILED" value="00000090"
/>
+ <BugCheck text="WIN32K_INIT_OR_RIT_FAILURE" value="00000091"
/>
+ <BugCheck text="UP_DRIVER_ON_MP_SYSTEM" value="00000092" />
+ <BugCheck text="INVALID_KERNEL_HANDLE" value="00000093" />
+ <BugCheck text="KERNEL_STACK_LOCKED_AT_EXIT" value="00000094"
/>
+ <BugCheck text="PNP_INTERNAL_ERROR" value="00000095" />
+ <BugCheck text="INVALID_WORK_QUEUE_ITEM" value="00000096" />
+ <BugCheck text="BOUND_IMAGE_UNSUPPORTED" value="00000097" />
+ <BugCheck text="END_OF_NT_EVALUATION_PERIOD" value="00000098"
/>
+ <BugCheck text="INVALID_REGION_OR_SEGMENT" value="00000099"
/>
+ <BugCheck text="SYSTEM_LICENSE_VIOLATION" value="0000009A" />
+ <BugCheck text="UDFS_FILE_SYSTEM" value="0000009B" />
+ <BugCheck text="MACHINE_CHECK_EXCEPTION" value="0000009C" />
+ <BugCheck text="USER_MODE_HEALTH_MONITOR" value="0000009E" />
+ <BugCheck text="DRIVER_POWER_STATE_FAILURE" value="0000009F"
/>
+ <BugCheck text="INTERNAL_POWER_ERROR" value="000000A0" />
+ <BugCheck text="PCI_BUS_DRIVER_INTERNAL" value="000000A1" />
+ <BugCheck text="MEMORY_IMAGE_CORRUPT" value="000000A2" />
+ <BugCheck text="ACPI_DRIVER_INTERNAL" value="000000A3" />
+ <BugCheck text="CNSS_FILE_SYSTEM_FILTER" value="000000A4" />
+ <BugCheck text="ACPI_BIOS_ERROR" value="000000A5" />
+ <BugCheck text="FP_EMULATION_ERROR" value="000000A6" />
+ <BugCheck text="BAD_EXHANDLE" value="000000A7" />
+ <BugCheck text="BOOTING_IN_SAFEMODE_MINIMAL" value="000000A8"
/>
+ <BugCheck text="BOOTING_IN_SAFEMODE_NETWORK" value="000000A9"
/>
+ <BugCheck text="BOOTING_IN_SAFEMODE_DSREPAIR" value="000000AA"
/>
+ <BugCheck text="SESSION_HAS_VALID_POOL_ON_EXIT" value="000000AB"
/>
+ <BugCheck text="HAL_MEMORY_ALLOCATION" value="000000AC" />
+ <BugCheck text="VIDEO_DRIVER_DEBUG_REPORT_REQUEST"
value="400000AD" />
+ <BugCheck text="VIDEO_DRIVER_INIT_FAILURE" value="000000B4"
/>
+ <BugCheck text="BOOTLOG_LOADED" value="000000B5" />
+ <BugCheck text="BOOTLOG_NOT_LOADED" value="000000B6" />
+ <BugCheck text="BOOTLOG_ENABLED" value="000000B7" />
+ <BugCheck text="ATTEMPTED_SWITCH_FROM_DPC" value="000000B8"
/>
+ <BugCheck text="CHIPSET_DETECTED_ERROR" value="000000B9" />
+ <BugCheck text="SESSION_HAS_VALID_VIEWS_ON_EXIT" value="000000BA"
/>
+ <BugCheck text="NETWORK_BOOT_INITIALIZATION_FAILED"
value="000000BB" />
+ <BugCheck text="NETWORK_BOOT_DUPLICATE_ADDRESS" value="000000BC"
/>
+ <BugCheck text="INVALID_HIBERNATED_STATE" value="000000BD" />
+ <BugCheck text="ATTEMPTED_WRITE_TO_READONLY_MEMORY"
value="000000BE" />
+ <BugCheck text="MUTEX_ALREADY_OWNED" value="000000BF" />
+ <BugCheck text="PCI_CONFIG_SPACE_ACCESS_FAILURE" value="000000C0"
/>
+ <BugCheck text="SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION"
value="000000C1" />
+ <BugCheck text="BAD_POOL_CALLER" value="000000C2" />
+ <BugCheck text="BUGCODE_PSS_MESSAGE_SIGNATURE" value="000000C3"
/>
+ <BugCheck text="DRIVER_VERIFIER_DETECTED_VIOLATION"
value="000000C4" />
+ <BugCheck text="DRIVER_CORRUPTED_EXPOOL" value="000000C5" />
+ <BugCheck text="DRIVER_CAUGHT_MODIFYING_FREED_POOL"
value="000000C6" />
+ <BugCheck text="TIMER_OR_DPC_INVALID" value="000000C7" />
+ <BugCheck text="IRQL_UNEXPECTED_VALUE" value="000000C8" />
+ <BugCheck text="DRIVER_VERIFIER_IOMANAGER_VIOLATION"
value="000000C9" />
+ <BugCheck text="PNP_DETECTED_FATAL_ERROR" value="000000CA" />
+ <BugCheck text="DRIVER_LEFT_LOCKED_PAGES_IN_PROCESS"
value="000000CB" />
+ <BugCheck text="PAGE_FAULT_IN_FREED_SPECIAL_POOL"
value="000000CC" />
+ <BugCheck text="PAGE_FAULT_BEYOND_END_OF_ALLOCATION"
value="000000CD" />
+ <BugCheck text="DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS"
value="000000CE" />
+ <BugCheck text="TERMINAL_SERVER_DRIVER_MADE_INCORRECT_MEMORY_REFERENCE"
value="000000CF" />
+ <BugCheck text="DRIVER_CORRUPTED_MMPOOL" value="000000D0" />
+ <BugCheck text="DRIVER_IRQL_NOT_LESS_OR_EQUAL" value="000000D1"
/>
+ <BugCheck text="DRIVER_PORTION_MUST_BE_NONPAGED" value="000000D3"
/>
+ <BugCheck text="SYSTEM_SCAN_AT_RAISED_IRQL_CAUGHT_IMPROPER_DRIVER_UNLOAD"
value="000000D4" />
+ <BugCheck text="DRIVER_PAGE_FAULT_IN_FREED_SPECIAL_POOL"
value="000000D5" />
+ <BugCheck text="DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION"
value="000000D6" />
+ <BugCheck text="DRIVER_PAGE_FAULT_BEYOND_END_OF_ALLOCATION_M"
value="100000D6" />
+ <BugCheck text="DRIVER_UNMAPPING_INVALID_VIEW" value="000000D7"
/>
+ <BugCheck text="DRIVER_USED_EXCESSIVE_PTES" value="000000D8"
/>
+ <BugCheck text="LOCKED_PAGES_TRACKER_CORRUPTION" value="000000D9"
/>
+ <BugCheck text="SYSTEM_PTE_MISUSE" value="000000DA" />
+ <BugCheck text="DRIVER_CORRUPTED_SYSPTES" value="000000DB" />
+ <BugCheck text="DRIVER_INVALID_STACK_ACCESS" value="000000DC"
/>
+ <BugCheck text="POOL_CORRUPTION_IN_FILE_AREA" value="000000DE"
/>
+ <BugCheck text="IMPERSONATING_WORKER_THREAD" value="000000DF"
/>
+ <BugCheck text="ACPI_BIOS_FATAL_ERROR" value="000000E0" />
+ <BugCheck text="WORKER_THREAD_RETURNED_AT_BAD_IRQL"
value="000000E1" />
+ <BugCheck text="MANUALLY_INITIATED_CRASH" value="000000E2" />
+ <BugCheck text="RESOURCE_NOT_OWNED" value="000000E3" />
+ <BugCheck text="WORKER_INVALID" value="000000E4" />
+ <BugCheck text="POWER_FAILURE_SIMULATE" value="000000E5" />
+ <BugCheck text="DRIVER_VERIFIER_DMA_VIOLATION" value="000000E6"
/>
+ <BugCheck text="INVALID_FLOATING_POINT_STATE" value="000000E7"
/>
+ <BugCheck text="INVALID_CANCEL_OF_FILE_OPEN" value="000000E8"
/>
+ <BugCheck text="ACTIVE_EX_WORKER_THREAD_TERMINATION"
value="000000E9" />
+ <BugCheck text="THREAD_STUCK_IN_DEVICE_DRIVER" value="000000EA"
/>
+ <BugCheck text="THREAD_STUCK_IN_DEVICE_DRIVER_M" value="100000EA"
/>
+ <BugCheck text="DIRTY_MAPPED_PAGES_CONGESTION" value="000000EB"
/>
+ <BugCheck text="SESSION_HAS_VALID_SPECIAL_POOL_ON_EXIT"
value="000000EC" />
+ <BugCheck text="UNMOUNTABLE_BOOT_VOLUME" value="000000ED" />
+ <BugCheck text="CRITICAL_PROCESS_DIED" value="000000EF" />
+ <BugCheck text="SCSI_VERIFIER_DETECTED_VIOLATION"
value="000000F1" />
+ <BugCheck text="HARDWARE_INTERRUPT_STORM" value="000000F2" />
+ <BugCheck text="DISORDERLY_SHUTDOWN" value="000000F3" />
+ <BugCheck text="CRITICAL_OBJECT_TERMINATION" value="000000F4"
/>
+ <BugCheck text="FLTMGR_FILE_SYSTEM" value="000000F5" />
+ <BugCheck text="PCI_VERIFIER_DETECTED_VIOLATION" value="000000F6"
/>
+ <BugCheck text="DRIVER_OVERRAN_STACK_BUFFER" value="000000F7"
/>
+ <BugCheck text="RAMDISK_BOOT_INITIALIZATION_FAILED"
value="000000F8" />
+ <BugCheck text="DRIVER_RETURNED_STATUS_REPARSE_FOR_VOLUME_OPEN"
value="000000F9" />
+ <BugCheck text="HTTP_DRIVER_CORRUPTED" value="000000FA" />
+ <BugCheck text="RECURSIVE_MACHINE_CHECK" value="000000FB" />
+ <BugCheck text="ATTEMPTED_EXECUTE_OF_NOEXECUTE_MEMORY"
value="000000FC" />
+ <BugCheck text="DIRTY_NOWRITE_PAGES_CONGESTION" value="000000FD"
/>
+ <BugCheck text="BUGCODE_USB_DRIVER" value="000000FE" />
+ <BugCheck text="BC_BLUETOOTH_VERIFIER_FAULT" value="00000BFE"
/>
+ <BugCheck text="RESERVE_QUEUE_OVERFLOW" value="000000FF" />
+ <BugCheck text="LOADER_BLOCK_MISMATCH" value="00000100" />
+ <BugCheck text="CLOCK_WATCHDOG_TIMEOUT" value="00000101" />
+ <BugCheck text="DPC_WATCHDOG_TIMEOUT" value="00000102" />
+ <BugCheck text="MUP_FILE_SYSTEM" value="00000103" />
+ <BugCheck text="AGP_INVALID_ACCESS" value="00000104" />
+ <BugCheck text="AGP_GART_CORRUPTION" value="00000105" />
+ <BugCheck text="AGP_ILLEGALLY_REPROGRAMMED" value="00000106"
/>
+ <BugCheck text="KERNEL_EXPAND_STACK_ACTIVE" value="00000107"
/>
+ <BugCheck text="THIRD_PARTY_FILE_SYSTEM_FAILURE" value="00000108"
/>
+ <BugCheck text="CRITICAL_STRUCTURE_CORRUPTION" value="00000109"
/>
+ <BugCheck text="APP_TAGGING_INITIALIZATION_FAILED"
value="0000010A" />
+ <BugCheck text="DFSC_FILE_SYSTEM" value="0000010B" />
+ <BugCheck text="FSRTL_EXTRA_CREATE_PARAMETER_VIOLATION"
value="0000010C" />
+ <BugCheck text="WDF_VIOLATION" value="0000010D" />
+ <BugCheck text="VIDEO_MEMORY_MANAGEMENT_INTERNAL"
value="0000010E" />
+ <BugCheck text="RESOURCE_MANAGER_EXCEPTION_NOT_HANDLED"
value="0000010F" />
+ <BugCheck text="DRIVER_INVALID_CRUNTIME_PARAMETER"
value="00000110" />
+ <BugCheck text="RECURSIVE_NMI" value="00000111" />
+ <BugCheck text="MSRPC_STATE_VIOLATION" value="00000112" />
+ <BugCheck text="VIDEO_DXGKRNL_FATAL_ERROR" value="00000113"
/>
+ <BugCheck text="VIDEO_SHADOW_DRIVER_FATAL_ERROR" value="00000114"
/>
+ <BugCheck text="AGP_INTERNAL" value="00000115" />
+ <BugCheck text="VIDEO_TDR_FAILURE" value="00000116" />
+ <BugCheck text="VIDEO_TDR_TIMEOUT_DETECTED" value="00000117"
/>
+ <BugCheck text="NTHV_GUEST_ERROR" value="00000118" />
+ <BugCheck text="VIDEO_SCHEDULER_INTERNAL_ERROR" value="00000119"
/>
+ <BugCheck text="EM_INITIALIZATION_ERROR" value="0000011A" />
+ <BugCheck text="DRIVER_RETURNED_HOLDING_CANCEL_LOCK"
value="0000011B" />
+ <BugCheck text="ATTEMPTED_WRITE_TO_CM_PROTECTED_STORAGE"
value="0000011C" />
+ <BugCheck text="EVENT_TRACING_FATAL_ERROR" value="0000011D"
/>
+ <BugCheck text="TOO_MANY_RECURSIVE_FAULTS" value="0000011E"
/>
+ <BugCheck text="INVALID_DRIVER_HANDLE" value="0000011F" />
+ <BugCheck text="BITLOCKER_FATAL_ERROR" value="00000120" />
+ <BugCheck text="DRIVER_VIOLATION" value="00000121" />
+ <BugCheck text="WHEA_INTERNAL_ERROR" value="00000122" />
+ <BugCheck text="CRYPTO_SELF_TEST_FAILURE" value="00000123" />
+ <BugCheck text="WHEA_UNCORRECTABLE_ERROR" value="00000124" />
+ <BugCheck text="NMR_INVALID_STATE" value="00000125" />
+ <BugCheck text="NETIO_INVALID_POOL_CALLER" value="00000126"
/>
+ <BugCheck text="PAGE_NOT_ZERO" value="00000127" />
+ <BugCheck text="WORKER_THREAD_RETURNED_WITH_BAD_IO_PRIORITY"
value="00000128" />
+ <BugCheck text="WORKER_THREAD_RETURNED_WITH_BAD_PAGING_IO_PRIORITY"
value="00000129" />
+ <BugCheck text="MUI_NO_VALID_SYSTEM_LANGUAGE" value="0000012A"
/>
+ <BugCheck text="FAULTY_HARDWARE_CORRUPTED_PAGE" value="0000012B"
/>
+ <BugCheck text="WINLOGON_FATAL_ERROR" value="C000021A" />
+ <BugCheck text="MANUALLY_INITIATED_CRASH1" value="DEADDEAD"
/>
+</BugCheckList>
Propchange: trunk/tools/Message Translator/GUI/Resources/bugcheck.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/tools/Message Translator/MsgTrans.Library/ErrorCommand.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/MsgTran…
==============================================================================
--- trunk/tools/Message Translator/MsgTrans.Library/ErrorCommand.cs [iso-8859-1]
(original)
+++ trunk/tools/Message Translator/MsgTrans.Library/ErrorCommand.cs [iso-8859-1] Sun Aug
17 10:37:54 2008
@@ -12,12 +12,14 @@
public ErrorCommand(MessageTranslator msgTrans,
string ntstatusXml,
string winerrorXml,
- string hresultXml)
+ string hresultXml,
+ string bugcheckXml)
: base(msgTrans)
{
errorCommands.Add(new WinerrorCommand(msgTrans, winerrorXml));
errorCommands.Add(new NtStatusCommand(msgTrans, ntstatusXml));
errorCommands.Add(new HResultCommand(msgTrans, hresultXml));
+ errorCommands.Add(new BugCheckCommand(msgTrans, bugcheckXml));
errorCommands.Add(new CustomCommand(msgTrans));
}
Modified: trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.Library.csproj
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/MsgTran…
==============================================================================
--- trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.Library.csproj [iso-8859-1]
(original)
+++ trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.Library.csproj [iso-8859-1]
Sun Aug 17 10:37:54 2008
@@ -44,6 +44,7 @@
</Target>
-->
<ItemGroup>
+ <Compile Include="bugcheck.cs" />
<Compile Include="BugCommand.cs" />
<Compile Include="CustomCommand.cs" />
<Compile Include="XmlCommand.cs" />
Modified: trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/MsgTran…
==============================================================================
--- trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.cs [iso-8859-1] (original)
+++ trunk/tools/Message Translator/MsgTrans.Library/MsgTrans.cs [iso-8859-1] Sun Aug 17
10:37:54 2008
@@ -68,6 +68,7 @@
string ntstatusXml,
string winerrorXml,
string hresultXml,
+ string bugcheckXml,
string wmXml,
string bugUrl)
{
@@ -76,7 +77,8 @@
commands.Add(new ErrorCommand(this,
ntstatusXml,
winerrorXml,
- hresultXml));
+ hresultXml,
+ bugcheckXml));
commands.Add(new WMCommand(this, wmXml));
commands.Add(new BugCommand(this, bugUrl));
}
Added: trunk/tools/Message Translator/MsgTrans.Library/bugcheck.cs
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/Message%20Translator/MsgTran…
==============================================================================
--- trunk/tools/Message Translator/MsgTrans.Library/bugcheck.cs (added)
+++ trunk/tools/Message Translator/MsgTrans.Library/bugcheck.cs [iso-8859-1] Sun Aug 17
10:37:54 2008
@@ -1,0 +1,71 @@
+using System;
+using System.Xml;
+
+namespace MsgTrans.Library
+{
+ public class BugCheckCommand : XmlCommand
+ {
+ public BugCheckCommand(MessageTranslator msgTrans,
+ string bugcheckXml)
+ : base(msgTrans, bugcheckXml)
+ {
+ }
+
+ public override string[] AvailableCommands
+ {
+ get { return new string[] { "bugcheck" }; }
+ }
+
+ public override bool Handle(MessageContext context,
+ string commandName,
+ string parameters)
+ {
+ string bugcheckText = parameters;
+ if (bugcheckText.Equals(String.Empty))
+ {
+ return false;
+ }
+
+ NumberParser np = new NumberParser();
+ if (!np.Parse(bugcheckText))
+ {
+ return false;
+ }
+
+ string description = GetBugCheckDescription(np.Decimal);
+ if (description != null)
+ {
+ AddMessage(MessageType.BugCheck,
+ np.Decimal,
+ np.Hex,
+ description,
+ null);
+
+ return true;
+ }
+
+ return false;
+ }
+
+ public override string Help()
+ {
+ return "ntstatus <value>";
+ }
+
+ public string GetBugCheckDescription(long stopcode)
+ {
+ XmlElement root = base.m_XmlDocument.DocumentElement;
+ XmlNode node =
root.SelectSingleNode(String.Format("BugCheck[@value='{0}']",
+
stopcode.ToString("X8")));
+ if (node != null)
+ {
+ XmlAttribute text = node.Attributes["text"];
+ if (text == null)
+ throw new Exception("Node has no text attribute.");
+ return text.Value;
+ }
+ else
+ return null;
+ }
+ }
+}