注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

mie

 
 
 

日志

 
 

蓝屏 BUGCHECK_STR: 0x1a_3451 (MEMORY_MANAGEMENT)  

2011-01-09 15:54:11|  分类: 驱动 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |
蓝屏信息(BSOD information):

*******************************************************************************
*                                                                             *
*                        Bugcheck Analysis                                    *
*                                                                             *
*******************************************************************************

MEMORY_MANAGEMENT (1a)
    # Any other values for parameter 1 must be individually examined.
Arguments:
Arg1: 00003451, The PTEs of an outswapped kernel thread stack are corrupt.
Arg2: c07b3840
Arg3: 81cb18d0
Arg4: 00000000

Debugging Details:
------------------






BUGCHECK_STR:  0x1a_3451

DEFAULT_BUCKET_ID:  DRIVER_FAULT

PROCESS_NAME:  System

CURRENT_IRQL:  2

LAST_CONTROL_TRANSFER:  from 808253e7 to 8086c81c

STACK_TEXT:  
f790e930 808253e7 00000003 00003451 00000000 nt!RtlpBreakWithStatusInstruction
f790e97c 808262bc 00000003 007ffff8 c07b3840 nt!KiBugCheckDebugBreak+0x19
f790ed14 80826659 0000001a 00003451 c07b3840 nt!KeBugCheck2+0x5b2
f790ed34 80847bf9 0000001a 00003451 c07b3840 nt!KeBugCheckEx+0x1b
f790ed68 80847c5f 81cb18d0 f790ed78 f670c000 nt!MiInPageSingleKernelStack+0x175
f790ed8c 80881912 81cb18d0 00000000 8298e660 nt!MmInPageKernelStack+0x39
f790eda4 80881e4c 81cb1930 8094095c 00000000 nt!KiInSwapKernelStacks+0x16
f790edac 8094095c 00000000 00000000 00000000 nt!KeSwapProcessOrStack+0x7c
f790eddc 8088757a 80881dd0 00000000 00000000 nt!PspSystemThreadStartup+0x2e
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16


STACK_COMMAND:  kb

FOLLOWUP_IP:
nt!MiInPageSingleKernelStack+175
80847bf9 6a00            push    0

SYMBOL_STACK_INDEX:  4

SYMBOL_NAME:  nt!MiInPageSingleKernelStack+175

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: nt

DEBUG_FLR_IMAGE_TIMESTAMP:  42435b14

IMAGE_NAME:  memory_corruption

FAILURE_BUCKET_ID:  0x1a_3451_nt!MiInPageSingleKernelStack+175

BUCKET_ID:  0x1a_3451_nt!MiInPageSingleKernelStack+175

Followup: MachineOwner
---------


进程信息:
kd> !process
PROCESS 82999610  SessionId: none  Cid: 0004    Peb: 00000000  ParentCid: 0000
    DirBase: 00593000  ObjectTable: e1001cc0  HandleCount: 307.
    Image: System
    VadRoot 81e8ee10 Vads 3 Clone 0 Private 3. Modified 1980. Locked 0.
    DeviceMap e1000058
    Token                             e10006e0
    ElapsedTime                       00:04:46.015
    UserTime                          00:00:00.000
    KernelTime                        00:00:00.984
    QuotaPoolUsage[PagedPool]         0
    QuotaPoolUsage[NonPagedPool]      0
    Working Set Sizes (now,min,max)  (73, 0, 345) (292KB, 0KB, 1380KB)
    PeakWorkingSetSize                545
    VirtualSize                       1 Mb
    PeakVirtualSize                   3 Mb
    PageFaultCount                    5537
    MemoryPriority                    BACKGROUND
    BasePriority                      8
    CommitCharge                      7

        THREAD 829993a0  Cid 0004.0008  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a4920  SynchronizationEvent
            808a5a80  NotificationTimer

        THREAD 829984d8  Cid 0004.0010  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82998268  Cid 0004.0014  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82997020  Cid 0004.0018  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82997db0  Cid 0004.001c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82997b40  Cid 0004.0020  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 829978d0  Cid 0004.0024  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82997660  Cid 0004.0028  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 829973f0  Cid 0004.002c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82996020  Cid 0004.0030  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82996db0  Cid 0004.0034  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a76c0  QueueObject

        THREAD 82996b40  Cid 0004.0038  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 829968d0  Cid 0004.003c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 82996660  Cid 0004.0040  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 829963f0  Cid 0004.0044  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 82995020  Cid 0004.0048  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 82995db0  Cid 0004.004c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 82995b40  Cid 0004.0050  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a76fc  QueueObject

        THREAD 829958d0  Cid 0004.0054  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a7738  QueueObject

        THREAD 82995660  Cid 0004.0058  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f78fed78  NotificationTimer
            808a76a0  SynchronizationEvent
            808a7690  SynchronizationEvent

        THREAD 8298edb0  Cid 0004.005c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            808a45c4  Semaphore Limit 0x7fffffff
            808a4590  NotificationEvent

        THREAD 8298eb40  Cid 0004.0060  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a4480  NotificationEvent
            8089fe80  NotificationEvent

        THREAD 8298e8d0  Cid 0004.0064  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f790ad78  SynchronizationTimer
            808a4470  SynchronizationEvent

        THREAD 8298e660  Cid 0004.0068  Teb: 00000000 Win32Thread: 00000000 RUNNING on processor 0
        THREAD 8298f9d8  Cid 0004.006c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            8089db40  QueueObject

        THREAD 8298f768  Cid 0004.0070  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            8089db68  QueueObject

        THREAD 8297b9c0  Cid 0004.0074  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            808a40c0  NotificationEvent

        THREAD 8297b538  Cid 0004.0078  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f7372290  NotificationEvent
            f7372280  NotificationEvent

        THREAD 829ae680  Cid 0004.007c  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f725fbe0  Semaphore Limit 0x7fffffff

        THREAD 829539b0  Cid 0004.0080  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f70cf2dc  QueueObject

        THREAD 828d4148  Cid 0004.0084  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            82969008  SynchronizationEvent
            82969018  SynchronizationEvent
            82969028  SynchronizationEvent
            82969038  SynchronizationEvent

        THREAD 8229f278  Cid 0004.00a8  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f725fbe0  Semaphore Limit 0x7fffffff

        THREAD 82289020  Cid 0004.00ac  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f725fbe0  Semaphore Limit 0x7fffffff

        THREAD 82289db0  Cid 0004.00b0  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f725fbe0  Semaphore Limit 0x7fffffff

        THREAD 82289b40  Cid 0004.00b4  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f725fbe0  Semaphore Limit 0x7fffffff

        THREAD 8231eb40  Cid 0004.00b8  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f6e9d3d0  SynchronizationEvent
            f6e9d3b0  SynchronizationEvent

        THREAD 8227fdb0  Cid 0004.00c4  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            8299b604  NotificationEvent

        THREAD 8224e5a0  Cid 0004.00f0  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            829a0604  NotificationEvent

        THREAD 82168db0  Cid 0004.00f8  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            8294bd88  NotificationEvent
            82168e28  NotificationTimer

        THREAD 82125a60  Cid 0004.00fc  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f780a050  NotificationEvent

        THREAD 81f6c210  Cid 0004.0164  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            81f74d18  NotificationEvent

        THREAD 81f6b7e0  Cid 0004.0168  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f6aad908  QueueObject

        THREAD 81f6b300  Cid 0004.0170  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f6aad86c  QueueObject

        THREAD 81f69020  Cid 0004.0174  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f6aad95c  NotificationEvent
            81f69098  NotificationTimer

        THREAD 81f666c8  Cid 0004.0180  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) UserMode Non-Alertable
            82990fe8  Semaphore Limit 0x7fffffff

        THREAD 81e026b0  Cid 0004.0448  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            f6aad7d0  QueueObject
            81e02728  NotificationTimer

        THREAD 81da09a0  Cid 0004.05c4  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            81da0a18  NotificationTimer

        THREAD 822f54d8  Cid 0004.0470  Teb: 00000000 Win32Thread: 00000000 WAIT: (Unknown) KernelMode Non-Alertable
            822ef014  Semaphore Limit 0x400
            822f5550  NotificationTimer

分析/Analysis:
个人认为,应该是线程上下文切换导致的。由于代码执行了某些违规或者危险操作,这些操作可能要求在执行过程中,不应该出现线程切换。而一旦发生了线程切换,由于线程堆栈无法正常保存,导致线程上下文无法正常保存并切换,进而导致BSOD。
如果可以使用类似原子操作的方法,或许可以解决问题。自旋锁可能不行,它只是一个锁。

http://www.make-pc-faster.com/stop-0x0000001a.html
这里认为,是内存不足导致的。

http://www.technologyquestions.com/technology/windows-vista/58257-stop-0x0000001a-memory_management-bsod-2.html
这里证实了,和内存无关。

我将程序分配的内存从4KB(刚好一个页面的大小)改为100字节。此后,过了很长时间才出现同样的蓝屏错误。看样子,似乎是内存没有回收!然而,我确确实实地回收了内存啊。当然,也可能是内存回收失败了。

http://en.community.dell.com/support-forums/desktop/f/3514/t/18897466.aspx
  评论这张
 
阅读(2147)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2016