Windows error 0x0000001D, 29

Detailed Error Information

WRITE_FAULT[1]

MessageThe system cannot write to the specified device.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x8007001D.

NO_SPIN_LOCK_AVAILABLE[2]

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

HRESULT analysis[3]

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[3][1]
DescriptionThe default facility code.[3][1]
Error Code29 (0x001d)

Questions

6votes
1answer

How to find the source of an 'Access Violation'

To put in a nutshell, I have a C# application doing lots of mciSendString calls ( via dllimport ) to control wav files playback ( essentially open, play, pause, stop, status, close ). And after running for a while, the application crashes without notice with an 'access violation'. Even though [...] read more
windbg
access-violation
winmm
mci
windows-error-reporting
6votes
1answer

Trouble displaying C# stack trace in WinDbg

I have a handle leak in a C# program. I'm trying to diagnose it using WinDbg using !htrace, roughly as presented in this answer, but when I run !htrace -diff in WinDbg I'm presented with stack traces that don't show the names of my C# functions (or even my .net [...] read more
c#
windbg
stack-trace
handle-leak
4votes
0answers

How to find what is causing heap corruption (error 0xC0000374) in my Windows Store C# app?

My Win8 app started crashing out of blue due to a native exception. I then enabled the mixed (native + managed) debugger mode in VS and noticed the following: * Before the app crashes, I get in the Output toolwindow the following message: Critical error detected c0000374. * Then I [...] read more
c#
xaml
windows-store-apps
3votes
3answers

Strange behavior with << operator

When dealing with the C# shift operators, I encountered a unexpected behavior of the shift-left operator. Then I tried this simple function: for (int i = 5; i >= -10; i--) { int s = 0x10 << i; Debug.WriteLine(i.ToString().PadLeft(3) + " " + s.ToString("x8")); } With this result: 5 00000200 [...] read more
c#
bit-shift
3votes
2answers

Debugging Java JVM Crashes - Native Code Access

Anyone have any ideas what is causing the below JVM crash? I'm using java 6 and Windows 32 bit. I'm trying to access native (JNI) C APIs. I can access some of them, but a few cause the below crash. C APIs Referenced in crashes below: int wrapOpenSession1(int two, char [...] read more
java
debugging
java-native-interface
2votes
1answer

Analyze ESP32 backtrace on NodeMCU

I'm debugging some crashes on the dev-esp32 branch of the NodeMCU Lua firmware. How do you other NodeMCU devs analyze the backtraces? During normal ESP32 dev the idf monitor handles decoding the backtrace. I've tried to use the IDF monitor with my NodeMCU build (unsuccessfully). I've also tried https://github.com/me-no-dev/EspExceptionDecoder with [...] read more
esp32
nodemcu
esp-idf
2votes
0answers

Using PubSubClient from within a custom class

I'm building a library that I can reuse for multiple devices to save me setting up the same functions in my code over and over again. I'm having issues when trying to publish a message, and I'm hoping you can help! The code is targeting an ESP32 with BLE and [...] read more
c++
arduino
mqtt
2votes
0answers

Xamarin Android Mvvmcross app crashed on MvxBootstrapRunner

Sometimes (1/7) my app crashes on android 4.0.4 on splash screen with SIGSEGV error in MvxBootstrapRunner class in stacktrace, and then can start after 'force stop' only. If application crashed once endless splash screen will be displayed every next time (before force stop). MvvmCross version 3.5.1 I/mvx(15933): 0.50 Setup: MvvmCross [...] read more
android
xamarin
mvvmcross
segmentation-fault
1vote
2answers

Exchange 2010: Receiving "You can't send a message on behalf of this user..." error when trying to configure delegate access

I am trying to give someone (John Doe) delegate access to another account (Jane Doe) in our test environment. However, I receive the following error from Exchange: *Subject:* Undeliverable: You have been designated as a delegate for Jane Dow *To:* Jane Dow Delivery has failed to these recipients or groups: [...] read more
email
exchange
exchange-2010
1vote
0answers

ESP32: Guru Meditation Error: Core 1 panic'ed (StoreProhibited)

I've been working on a LED strip lately trying to create all kinds of animations. But one of them has caused quite a lot of trouble. It's meant to be a kind of firework. It usually runs once and when the loop starts a second time the following error comes [...] read more
arduino
esp32
fastled
1vote
0answers

What is the difference between address space size and the "bound" when using base and bounds?

Tool used: relocation.py From the homework of chapter 15 - Operating Systems three easy pieces (last page): > 3. Run with these flags:-s 1 -n 10 -l 100. What is the maximum value that > base can be set to, such that the address space still fits into physical > [...] read more
operating-system
virtual-memory
1vote
0answers

application creating muant handles and never frees them

My c++ application is creating mutant handles. I couldn't find where the handle is being created, so I used Windbg and with !htrace. It doesnt give the exact function name. All my symbol files are loaded and the application is built in debug mode. !htrace shows open handles but the [...] read more
windbg
handle
resource-leak
1vote
0answers

C - Get File Bytes as Unsigned Int

I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
c
1vote
1answer

GDB command 'info sharedlibrary' can't show all the libraries

I am doing cross compile debugging. My build server CPU is amd64. My device CPU is MIPS. When I am trying to do debug the elf file compiled by myself. The gdb can only show ld.so.1 (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x7704f9c0 0x7706c490 Yes (*) [...] read more
c
debugging
gdb
cross-compiling
1vote
1answer

libusb - How to select an alternate setting of a usb-soundcard for stereo recording?

I have a USB sound card that has the following setup and allows for stereo recording with 48000hz 2 channels 16 bit, so I'm trying to set it up that way: UsbConfiguration[mId=1,mName=null, mAttributes=160, mMaxPower=50, mInterfaces=[ UsbInterface[mId=0,mAlternateSetting=0,mName=null,mClass=1,mSubclass=1,mProtocol=0, mEndpoints=[] UsbInterface[mId=1,mAlternateSetting=0,mName=null,mClass=1,mSubclass=2,mProtocol=0, mEndpoints=[] UsbInterface[mId=1,mAlternateSetting=1,mName=null,mClass=1,mSubclass=2,mProtocol=0, mEndpoints=[UsbEndpoint[mAddress=4,mAttributes=9,mMaxPacketSize=384,mInterval=1]] UsbInterface[mId=1,mAlternateSetting=2,mName=null,mClass=1,mSubclass=2,mProtocol=0, mEndpoints=[UsbEndpoint[mAddress=4,mAttributes=9,mMaxPacketSize=576,mInterval=1]] UsbInterface[mId=1,mAlternateSetting=3,mName=null,mClass=1,mSubclass=2,mProtocol=0, mEndpoints=[UsbEndpoint[mAddress=4,mAttributes=9,mMaxPacketSize=192,mInterval=1]] UsbInterface[mId=2,mAlternateSetting=0,mName=null,mClass=1,mSubclass=2,mProtocol=0, mEndpoints=[] UsbInterface[mId=2,mAlternateSetting=1,mName=null,mClass=1,mSubclass=2,mProtocol=0, mEndpoints=[UsbEndpoint[mAddress=138,mAttributes=5,mMaxPacketSize=196,mInterval=1]] UsbInterface[mId=2,mAlternateSetting=2,mName=null,mClass=1,mSubclass=2,mProtocol=0, [...] read more
android
audio
java-native-interface
usb
libusb
1vote
2answers

Android's InputMethodService - how to get unicode characters?

I'm trying to make a keyboard... int code = 29; // Key code constant: 'A' key. Constant Value: 29 (0x0000001d) KeyEvent k = new KeyEvent(KeyEvent.ACTION_UP, code); InputConnection ic = getCurrentInputConnection(); ic.sendKeyEvent(k); This code nicely send letter "A" to the application, as it is associated with the code "29", as from [...] read more
android
1vote
1answer

long long int values are incorrectly printed

When I cross compile an application for target with an Armv7 core, variables with 'long long int' are incorrectly printed. typedef long long int vmm_int64; typedef unsigned long long int vmm_uint64; int main(int argc, char *argv[]) { vmm_int64 a, b, result; a = 5; b = 24; result = 0; [...] read more
c
embedded
arm
gcc4.7
0votes
1answer

Exchange server: send mail using alias

I use different domain addresses (ie a@aa.com a@bb.com), alias of the same exchange mailbox. DNS MX records for 'aa.com' and 'bb.com' points to the same exchange server. Receiving mails works perfect, the issue is sending mails. How can we setup outlook and/or exchange to allow us to send mails, using [...] read more
exchange
exchange-2010
exchange-2007
outlook
outlook-2010
0votes
1answer

Abnormally high memory usage Windows 2008 R2

I have a problem with my MS Windows Server 2008 R2 - every one-two days server causes BSOD with error 0x0000001d with tcpip.sys driver. There is abnormal huge amount of nonpaged pool bytes in poolmon. I tried to troubleshoot this strange behavior - poolmon said me that there is a [...] read more
windows
memory
bsod
windows-server-2008-r2
0votes
1answer

Linux: How can I run multiple wine versions in a multilib enviroment?

I'm running Slackware 64 14.0 with 32 bit multilibs. Numerous sites have explained that it is impossible to run multiple versions of wineserver and that the solution is to kill the old version of wineserver to use the new version. A select few sites have mentioned that it is possible [...] read more
linux
64-bit
wine
0votes
1answer

Fastled not enough CPU power?

I was wondering if someone could help me out? I have a 5M ledstrip (300 leds) and running the following code on my ESP32. The code will make a led light spinning around! void spinningwheel(){ int random_number; int spin_speed; for(int i =0; i < 1; i++){ random_number = random(NUM_LEDS); } [...] read more
error-handling
arduino
esp32
fastled
0votes
2answers

ESP8266-12F WiFi soft AP config.authmode failed

For a project I try do use the ESP8266 RTOS SDK. First step I install the tools and the toolchain. The hello_world example and the other gpio example works fine. I try the softAP example and get a Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled Error. I [...] read more
esp8266
freertos
rtos
access-point
0votes
1answer

ESP32 Guru Meditation Error while using .substring method

So I have written a function for my ESP32 using the Arduino IDE, and I needed to write a function to take a combined string of hex values like this: ffffff0000ffff0000 And split it into an array, like this: {"ffffff","0000ff","ff0000"} So far, I've written this: String colorIndex[] = {}; void [...] read more
arduino
esp32
0votes
1answer

Fastcall function crashes

trying to call a process function using fastcall convention from my program, but got a crash everytime trying to. Have passed so much time on it and can't solve that... need some help please... Here's all needed informations and my trying: enter image description here [https://i.stack.imgur.com/DV4yO.png] The picture shows the [...] read more
windows
function
memory
crash
fastcall
0votes
1answer

StoreProhibited Error on ESP32 when calling i2s_read function

I am trying to use a microphone sensor on my esp32 microcontroller. Currently, it is running the ESP-IDF framework. The microphone is the sph0645lm4h-b. I am using the I2S protocol to connect to the sensor. I2S config is shown below: void i2s_init() { i2s_config_t i2s_config = { .mode = I2S_MODE_MASTER [...] read more
c
microcontroller
microphone
esp32
0votes
1answer

As can get available templates from CA by name on .NET?

I have the desired result through utility the certutil: PS C:\>> certutil -config "dev.root.ad\Dev Issuing CA" –Catemplates –v | select-string displayname displayName = DEMO AnyConnect 4 years displayName = ECS User But on C# I have problems. This my code: using CERTADMINLib; using CERTCLILib; namespace Services { public class CATemplates [...] read more
c#
.net
0votes
1answer

STM32F7 - Execute code from RAM and flash

I believe I have a problem with my linker script but I'm not sure if that's the true culprit here. Background: I'm using an STM32F730 on a project. The uC has 64K flash and 256K of ram. Of that, 64K is TCM, 192k is regular RAM. The project will exceed [...] read more
c
linker
ram
0votes
1answer

TrueType Font cmap table Format 0 not serializing

Here is the data I am using to construct the table: { version: { type: 'USHORT', value: 0 }, numTables: { type: 'USHORT', value: 1 }, platformID: { type: 'USHORT', value: 0 }, encodingID: { type: 'USHORT', value: 0 }, offset: { type: 'ULONG', value: 12 }, format: { type: [...] read more
fonts
truetype
0votes
1answer

iOS app crash - SIGBUS - BUS_ADRALN

My app is crashing on iPhone 4 iOS 7.1.3. On iOS 9 and iP6 everything is ok. It's caused by instantiating rather complex generic class with two generic types. I can provide details about implementation but the class has several hundreds lines. Code: override init() { chartFrameManager = CDFM<ChartDataPointStructure, ChartDataPointStructureLegend>() [...] read more
ios
iphone
swift
crash
sigbus
0votes
1answer

WFS_CMD_CDM_RESET results in WFS_SYSE_HARDWARE_ERROR

ATM is Wincor/Nixdorf model ProCash 1500xe USB. i use CDM320.exe tool to test the dispense of the ATM. when i run Reset command under ExecuteAdmin menu i get the following output: [10:23:54] WFSAsyncExecute ( WFS_CMD_CDM_RESET (321) ) returned WFS_SUCCESS (0) [ReqID: 87] [10:24:04] Event WFS_SYSE_HARDWARE_ERROR (2) arrived RequestID: 0 hService: [...] read more
cen-xfs
0votes
1answer

How to fill all fields from a form with uiautomator

Currently I'm trying to fill all fields from a form using Python + uiautomator My Code: d = UIDevice(adb.deviceList[0].device) last_item_exists = d(text='Memo').exists while not last_item_exists: print "Searching for fields on screen" fields = d(className = 'android.widget.EditText', focusable = True) for field in fields: if not (field.text == '0' or field.text [...] read more
python
android-uiautomator
0votes
1answer

Unfortunately app has stopped - When OnClick event is run

I have tried to run my code and when I run the startTheGame onClick event it crashes and shows the following logs. I have tried looking online but I have no idea what error I am looking for within the log files. 03-13 14:22:57.810 1490-1490/com.example.sensational.timetopress W/EGL_genymotion﹕ eglSurfaceAttrib not implemented 03-13 [...] read more
android
0votes
1answer

MIPS assembly program ERROR Exception 4 [Address error in inst/data fetch]

I am trying to convert MIPS code into ARM code, this is not an issue its that I am getting a gnarly exception I'm hoping someone can explain whats wrong and what to do about it. the program is passed a0 which is a pointer to the mips binary instruction [...] read more
mips
-2votes
1answer

0xC0000374: A heap has been corrupted (parameters: 0x77AAB960)

The code bellow sometimes throws exceptions similar to: Exception thrown at 0x779CC19E (ntdll.dll) in Matriks.exe: 0xC0000005: Access violation reading location 0x0000001D. I'm new to C and just learned to use pointers. Any tips ? Are there other problems in my code that are worth criticizing ? #include <stdio.h> #include <stdlib.h> [...] read more
c

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0