Windows error 0x00000102, 258

Detailed Error Information

DPC_WATCHDOG_TIMEOUT[1]

This is a Blue Screen of Death stop code. More information is available in the Knowledge Base article Bug Check 0x102: DPC_WATCHDOG_TIMEOUT.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][3]
DescriptionThe default facility code.[2][3]
Error Code258 (0x0102)

Questions

22votes
4answers

Cancelling a pending task synchronously on the UI thread

Sometimes, once I have requested the cancellation of a pending task with CancellationTokenSource.Cancel, I need to make sure the task has properly reached the cancelled state, before I can continue. Most often I face this situation when the app is terminating and I want to cancel all pending task gracefully. [...] read more
c#
.net
multithreading
task-parallel-library
async-await
10votes
1answer

CoWaitForMultipleHandles API doesn't behave as documented

This was triggered by another question I was looking at. It might be too long to read, so please bear with me. Apparently, CoWaitForMultipleHandles does not behave as documented on MSDN. The code below (based upon the original question) is a console app, which starts an STA thread with a [...] read more
c#
.net
windows
winapi
com
6votes
3answers

AddressBook Crash, only with some contacts

My app crashes, it is a problem that arises from the AddressBook API, it only happens with some contacts. Here is the log: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000102, 0x316ebd38 Crashed Thread: 0 Thread 0 Crashed: 0 CoreFoundation 0x00001cfe CFRetain + 90 1 AddressBook 0x00004b2c ABCMultiValueCopyValueAtIndex + 28 2 [...] read more
iphone
api
ios
addressbook
contact
4votes
2answers

How to properly wait to check if an Excel instance has closed after attempting to?

I'm using the Python standard library modules and the pythoncom and win32com.client modules from the PyWin32 package to interact with Microsoft Excel. I get a list of the running Excel instances as COM object references and then when I want to close the Excel instances I first iterate through the [...] read more
python
excel
pywin32
win32com
pythoncom
4votes
1answer

How to diagnose EXC_BREAKPOINT (SIGTRAP) crash in iPad iPhone app?

I am getting a crash with an iPad app that is (at least to me) non-specific. It's an Exception Type: EXC_BREAKPOINT. I am thinking a double memory release or attempting to access a released variable but I hoping someone can shed more light as I hunt through the code. The [...] read more
iphone
ipad
crash
4votes
1answer

EXC_BREAKPOINT (SIGTRAP) On Application Startup

I have an application that pulls in some RSS Feeds. I first load the app delegate which in turn loads a SplashScreenViewContoller which then figures out which feeds to pull in based on date. This is all great. Everything has been working fine in the Simulator/iPad when running in Debug [...] read more
objective-c
ios
xcode
ipad
crash
3votes
0answers

The strangest docker fault I've ever seen

I am using Docker with docker-mailserver on one of my servers. Very strange trouble appeared after migrating some services from legacy Debian Jessie server to Ubuntu 16.04 LTS server. Parameters of servers: Legacy: someuser@legacyserver:~$ uname -r 3.16.0-4-amd64 someuser@legacyserver:~$ dpkg -l | grep systemd ...215-17+deb8u7... someuser@legacyserver:~$ cat /proc/cmdline root=ZFS=rpool/ROOT/debian-1 ro boot=zfs [...] read more
linux
docker
systemd
docker-compose
3votes
1answer

Check if multiple bits are set or cleared

I wish to check if multiple bits in a 32-bit register are set or cleared for the purpose of manipulating hardware. I adopt the following approach to check if the desired bits (bit 8 and bit 1) of an uint32_t-variable called statusRegister are set: if ((statusRegister & 0x00000102) == 0x00000102) [...] read more
c
bit-manipulation
3votes
0answers

In Linux SD/MMC driver, It prints "Timeout waiting for hardware interrupt" for many times during boot

I'm programing with the linux kernel SD/MMC driver, and I know few about it . The kernel print the regesters logs below . From the dump regester log , I cannot detect what's the problem of the MMC driver or MMC hardware . If there's anyone fimiliar about it and [...] read more
linux
driver
3votes
0answers

PDPT Pointer Bits

I am trying to boot a custom build of Appleā€™s XNU kernel (sources). The boot is dying due to an unhandled page fault. I have traced the cause of the crash to the BootPDPT symbol. The job of the BootPDPT is to point to the page-table entries in the BootPDT [...] read more
kernel
3votes
1answer

EXC_BREAKPOINT on iOS5

I've got EXC_BREAKPOINT exception occurred in the middle of work. Date/Time: 2011-10-20 15:19:05.089 +0400 OS Version: iPhone OS 5.0 (9A334) Report Version: 104 Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000102, 0x355cf020 Crashed Thread: 11 Thread 11 Crashed: 0 CoreFoundation 0x355cefdc CFHash + 8 1 CoreFoundation 0x3564ac10 __CFDictionaryStandardHashKey + 16 2 [...] read more
crash
ios5
2votes
1answer

How do I diagnose differences in GNU ld linker behaviour over time?

I have a small x86-64 assembly program which I compiled and linked in 2018. I am now trying to reproduce the build, but at the point of linking I get different results in the final binaries. Both files were assembled and linked using the following command: $ nasm -f elf64 [...] read more
assembly
x86-64
ld
memory-alignment
2votes
0answers

How to write machine language commands directly to ELF executable

I'm currently using NASM to take some assembly code commands, make a .o file, and then using ld to link it to an ELF executable. My assembly file ok.asm: section .text global _start ;must be declared for linker (ld) _start: ;tells linker entry point mov edx,len ;message length mov ecx,msg [...] read more
assembly
nasm
elf
machine-code
machine-language
2votes
2answers

Run userspace process from tasklet

Hello I am trying to run userspace process using call_usermodehelper_exec from tasklet that is created in kernel module for ARM board (from Olimex) with Allwinner SOC. my code is prety simple: #include <linux/kernel.h> #include <linux/module.h> char my_tasklet_data[]="tasklet executed"; static int umh_test(void) { struct subprocess_info *sub_info; char *argv[] = { "/usr/bin/logger", [...] read more
c
linux
linux-kernel
arm
linux-device-driver
2votes
3answers

How to use the standard Windows defines in a C# program

In C# program I have an implementation of the following function: int Test(); Which is defined in the native part of a program (which is written in C++) as follows: HRESULT Test(); or possibly: DWORD Test(); So while implementing the functions I need to return HRESULT and other standard Windows [...] read more
c#
c++
winapi
native
1vote
0answers

microSD card suddenly inaccessible

I have a microSd card with an adapter and suddenly it was inaccesible in my computer... I would like to recover the data and the micro sd card :( the output of dmesg command: [ 3431.211177] mmc0: error -110 whilst initialising SD card [ 3441.240046] mmc0: Timeout waiting for hardware [...] read more
sdhc
1vote
1answer

How do I load an assembly with BouncyCastle.crypto.dll dependency into SQL Server 2014?

With VS2017, I have created a SQL CLR dll (for SQL Server 2014) that indirectly uses BouncyCastle.Crypto.dll, but am unable to CREATE ASSEMBLY for it. It gives a warning (I hope) but fails with > Msg 10332, Level 16, State 1, Line 85 > Assembly "BouncyCastle.Crypto" was built using version [...] read more
.net
sql-server
sql-server-2014
bouncycastle
sqlclr
1vote
0answers

Driver - "Scheduling while atomic" in copy_to/from_user(), but not holding any locks

Quick background: I'm developing drivers for our hardware compression engine. One driver handles the PCI interactions, many thousands of 32K packets per second. That driver is working solidly. Now I'm working on a character driver and that's looking pretty good, my test app is running hundreds of threads without issues [...] read more
linux-kernel
1vote
2answers

How to set property as PT_BINARY (and not PT_MV_LONG) when using Redemption?

Update: This issue was fixed in Redemption 5.2: > Previously, named MAPI properties in the "string" namespace specified in the > DASL format ... always assumed to be of string type (PT_UNICODE or > PT_STRING8). > > It is now possible to explicitly specify the property type, e.g. PT_LONG (=3): [...] read more
outlook-redemption
1vote
0answers

PHP SMPP delivery report deliver_sm_resp not receiving?

<?php /* File : smppclass.php Implements : SMPPClass() Description : This class can send messages via the SMPP protocol. Also supports unicode and multi-part messages. License : GNU Lesser Genercal Public License: http://www.gnu.org/licenses/lgpl.html Commercial advertisement: Contact info@chimit.nl for SMS connectivity and more elaborate SMPP libraries in PHP and other languages. [...] read more
php
0votes
1answer

Vista VM cannot connect to printer shared from Win 7 VM - Error code 0x00000102

I'm running two OS's using Oracle VM Virtual Machine. One has Windows 7 Pro x64, the other Windows Vista Business x86. I have to try and connect a printer installed via USB and shared inside of the Windows 7 VM using Vista, and so far, I can get Vista to [...] read more
windows-7
windows-vista
virtual-machine
network-printer
0votes
2answers

How to turn on LED on stm32 board using assembly language that generated by llvm?

My English skill is poor because I'm not a native English speaker. Please understand. I compiled some test code that operating alright in IAR with LLVM infra but the generated code was not operated on my test board. Detail are as follows. TEST GOAL I want to see operating the [...] read more
makefile
llvm
cortex-m3
segger-jlink
stm32l152
0votes
0answers

Total pages printed on python and winspool.drv

Recently I had copied this code (Thanks CristiFati): Python- How to communicate with printer While its working on its own, I can't figure out how can I get total page counting to work, I added it to DEFAULT_FIELDS var and to NotifyData method, without luck as follow: def NotifyData(self): if [...] read more
python
ctypes
pywin32
0votes
1answer

LD and NOLOAD sections: Understanding strange LMA value

I'm writing a baremetal kernel, and I have trouble understanding the output of ld in the case of a NOLOAD section. I am declaring symbols that only exists with MMU activated, so the VMA and LMA are not the same. I used to declaring such a section like this: _foobar_start [...] read more
linker
ld
linker-scripts
0votes
0answers

Bad file descriptor message when creating compressed file with gzip.exe on Windows, using Visual FoxPro9 and WINAPI functions

What i'm trying to do is write text to gzip.exe StdIn and redirect its StdOut to a file, all this using WINAPI functions and visual Foxpro 9. The problem is that I always get "Stdin: Bad file descriptor" error and no output. What I expect to have is the file [...] read more
winapi
visual-foxpro
0votes
1answer

Calling spi_write periodically in a linux driver

I am writing a driver for an LCD display. According to the application note, I need to write a dummy SPI write to the command periodically to maximize its contrast. To accomplish this, I set up a timer and attempt to write the contrast-maximizing 2-byte dummy command from the timer [...] read more
c
linux
driver
atomic
periodic-task
0votes
1answer

USB Serial Virtual COM Port : Read not working but write works

I use embedded hardware (by TI : Piccolo Control Stick xxx69) which uses FTDI usb to serial converter hardware. On PC, I have simple VC++ application which tries to communicate to hardware over Virtual COM port (VCOM : typically COM7). * I am able to connect to port properly. * [...] read more
c++
windows
serial-port
usb
virtual-serial-port
0votes
2answers

Twitter for iOS 5 causing app to crash on presentViewController: call

I have a strange problem. this method is called without any problem on the simulator but when on real device it cashes at: [self presentViewController:twitter animated:YES completion:nil]; this is the method: - (IBAction)DeveloperTwitter:(id)sender { NSString* tweet = @"some tweet goes here.."; if ([TWTweetComposeViewController canSendTweet]) { TWTweetComposeViewController *twitter = [[TWTweetComposeViewController alloc] [...] read more
iphone
twitter
crash

Comments

Leave a comment

(plain text only)

Sources

  1. https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-code-reference2
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  3. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0