Windows 10: PeekNamedPipe unexpected behaviour bug?

Discus and support PeekNamedPipe unexpected behaviour bug? in Windows 10 BSOD Crashes and Debugging to solve the problem; I was recently scratching my head for some time while i was working with named pipes. So in my setup, i had the "reader" and the "writer" ends of a... Discussion in 'Windows 10 BSOD Crashes and Debugging' started by AntonParagas, Aug 22, 2021.

  1. PeekNamedPipe unexpected behaviour bug?


    I was recently scratching my head for some time while i was working with named pipes. So in my setup, i had the "reader" and the "writer" ends of a pipe created in "PIPE_TYPE_MESSAGE PIPE_READMODE_BYTE" mode. The writer called twice the WriteFile api to send some data to the reader. After the second call to WriteFile by the writer, the reader used the PeekNamedPipe to peek at the data written by the writer. To my surprise, i was always getting only the data of the first WriteFile call even though the peek length included both writes. After reading more carefully the documentation, i noticed

    :)
     
    AntonParagas, Aug 22, 2021
    #1
  2. Junaid_A Win User

    Blue Screen - Unexpected Kernal mode trap

    Hi Anne,

    Thank you for writing to Microsoft Community forum.

    This issue may occur when your computer lacks sufficient kernel space to process kernel-mode drivers

    To have a better clarity on the issue and guide you accordingly, respond to the questions listed below.

    1. What is the make and model of the PC?
    2. Were there any changes made on the computer prior to this issue?

    Meanwhile, you may try the troubleshooting steps suggested in the articles listed below and check if it works:

    1. Troubleshoot blue screen errors.
    2. Troubleshoot UNEXPECTED_KERNEL_MODE_TRAP
    3. Bug check: UNEXPECTED_ KERNEL_ MODE_ TRAP

    Regards,
     
    Junaid_A, Aug 22, 2021
    #2
  3. Jack4_335 Win User
    External hard drive ununsual behaviour

    Thank you for getting back so quickly. Unfortunately it displayed the same behaviour any more suggestions would be greatly appreciated.
     
    Jack4_335, Aug 22, 2021
    #3
  4. Phillmont Win User

    PeekNamedPipe unexpected behaviour bug?

    Hibernating laptop changes to sleep behaviour after Windows 10 May 2019 update

    Hi Aditya,

    Thank you for your reply. I have tried the two steps (turning of Hybrid sleep and Fast startup) you suggested but to no avail. Okay, for your two questions:

    1. My laptop is a HP Pavilion 14-bf101tx, and currently running Windows 10 1903 (upgrading from 1809).
    2. Nope. No error messages. I suppose the boot process was successful, however, my battery was reduced. That's why I suggest the post title as "Hibernating changes to sleep behaviour" because the battery level reduction looks like sleep behaviour.

    Please inform me of any diagnostics information you might need. Thank you for your kind assistance.
     
    Phillmont, Aug 22, 2021
    #4
Thema:

PeekNamedPipe unexpected behaviour bug?

Loading...
  1. PeekNamedPipe unexpected behaviour bug? - Similar Threads - PeekNamedPipe unexpected behaviour

  2. Help with unexpected behaviour

    in Windows 10 Gaming
    Help with unexpected behaviour: Hello. Since November 2022, I have experienced issues on my computer. These ranged from freezes and Kernel Panics in Linux and BSODs on Windows during the boot process, after typing in my pin, and while using Windows. It started since I upgraded my hardware in 2022.I went...
  3. Help with unexpected behaviour

    in Windows 10 Software and Apps
    Help with unexpected behaviour: Hello. Since November 2022, I have experienced issues on my computer. These ranged from freezes and Kernel Panics in Linux and BSODs on Windows during the boot process, after typing in my pin, and while using Windows. It started since I upgraded my hardware in 2022.I went...
  4. LSA package is not signed as expected. This can cause unexpected behaviour with Credential...

    in Windows 10 Gaming
    LSA package is not signed as expected. This can cause unexpected behaviour with Credential...: My computer event viewer started displaying: "Credential Guard is configured to run, but is not licensed. Credential Guard was not started." and "LSA package is not signed as expected. This can cause unexpected behaviour with Credential Guard." It has shown this warning...
  5. LSA package is not signed as expected. This can cause unexpected behaviour with Credential...

    in Windows 10 Software and Apps
    LSA package is not signed as expected. This can cause unexpected behaviour with Credential...: My computer event viewer started displaying: "Credential Guard is configured to run, but is not licensed. Credential Guard was not started." and "LSA package is not signed as expected. This can cause unexpected behaviour with Credential Guard." It has shown this warning...
  6. Error 6155 'LSA package is not signed as expected. This can cause unexpected behaviour with...

    in Windows 10 Gaming
    Error 6155 'LSA package is not signed as expected. This can cause unexpected behaviour with...: I have been getting this issue for a few weeks now, where the above mentioned error will occur and my PC will restart.I have attached the DMP file here: https://drive.google.com/file/d/16niG5Ap79OyN-IirrZUE1OsoNxLvwTWq/view?usp=sharingAny help would be much appreciated!I have...
  7. Error 6155 'LSA package is not signed as expected. This can cause unexpected behaviour with...

    in Windows 10 Software and Apps
    Error 6155 'LSA package is not signed as expected. This can cause unexpected behaviour with...: I have been getting this issue for a few weeks now, where the above mentioned error will occur and my PC will restart.I have attached the DMP file here: https://drive.google.com/file/d/16niG5Ap79OyN-IirrZUE1OsoNxLvwTWq/view?usp=sharingAny help would be much appreciated!I have...
  8. Unexpected Crash - Bug Check / Driver Verifier

    in Windows 10 Drivers and Hardware
    Unexpected Crash - Bug Check / Driver Verifier: Greetings, I have been having problems related to seemingly random computer crashes in Windows 10. I have found crashes related to a bug check listed in event viewer and other error reports which revolve around WLAN configuration. This leads me to believe it may be related to...
  9. Weird behaviour

    in Windows 10 Installation and Upgrade
    Weird behaviour: Hi, I have backupped a good working system, installed with everything I'm used to work with (a win pro 64 install from usb stick wich works),..I did this because I knew updating windows to its latest version would give me problems...and yes today I have tried again for the...
  10. Environmental Variables Unexpected Behaviour

    in Windows 10 Support
    Environmental Variables Unexpected Behaviour: I wanted to include some environmental variables today and found some strange goings on. The variable I wanted to change was simply to add a PATH. In the case of changing a user's variables: It would be accepted but when I did a PC restart I was presented with a new blue...