Windows error 0x80000004, -2147483644

Detailed Error Information

E_NOINTERFACE[1]

MessageNo such interface supported
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code4 (0x0004)

Questions

34votes
2answers

Random app crashes on Android Wear 5.0.X

I have a question regarding the newest Android Wear release (5.0.2): Debugging apps with that version really is a pain because very often the apps crash directly on startup (or soon after that). It doesn't matter how complex / simple the launched activity is. Launching an activity via voice command [...] read more
android
wear-os
10votes
1answer

papi_avail: No events available

I want to get into PAPI. I have Version 5.3.2.0 on Debian GNU/Linux. papi_avail just tells me that no hardware events are available: $ papi_avail Available events and hardware information. -------------------------------------------------------------------------------- PAPI Version : 5.3.2.0 Vendor string and code : GenuineIntel (1) Model string and code : Intel(R) Core(TM) i3-5010U [...] read more
papi
6votes
2answers

Automatically a debug process from C# code and read register values

I'm looking for a way to read the edx registry at a certain address like asked in this question: Read eax register Although my solution needs to be in C# and I tried to make it, what I got at this moment is: public static IntPtr GetEdx(IntPtr address, Process process) [...] read more
c#
windows
debugging
winapi
process
6votes
1answer

cpuid instruction on i5-2500k: MMX, SSE, SSE2 bits are not set

Is this expected? I expected my Sandy Bridge CPU to report that it can handle MMX, SSE, and SSE2 instructions. Are these bits not set because these "old" instruction sets have been "superceded" by some of the newer ones? I used this code here to put CPU detection into my [...] read more
c++
cpu
intel
instruction-set
cpuid
5votes
5answers

How can I erase the traces of Folder Redirection from the Default Domain Policy

I've taken over from an IT outsourcer and have found a struggle now that we're starting a migration to windows 7. Someone decided that they would setup Folder redirection in the Default Domain Policy. I've since configured redirection in another policy at an OU level. No matter what I do, [...] read more
windows-server-2008
group-policy
5votes
1answer

DLR Routing failure in Kannel in a situation where there is a separate receiver and transceiver bind

I have a Kannel gateway with multiple SMPP binds ( one operator requires separate transmitter and receiver binds while another permits transceiver binds ). The transceiver binds do not display this problem, so I will not delve into more detail on those. In the separate receiver / transmitter bind scenario, [...] read more
sms
sms-gateway
smpp
kannel
5votes
4answers

Accessing scratch pad memory from C

That might be a little bit an exotic problem, but I hope somebody can still help me out a bit ;). I would like to execute a standard C program, however, at some point during program execution I would like that a certain number of instructions, which are stored in [...] read more
c
assembly
scratch-memory
4votes
2answers

Android Mediarecorder setNextOutputFile IllegalStateException

I am trying to split my audio recording with android mediarecorder into multiple files, but whenever I set the next output file, I got an illegalstate exception. Here's the code: private void getMediaRecorderReady(String filePath, FileDescriptor nextFile) { bufferSize = 88200; recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(MediaRecorder.OutputFormat.AAC_ADTS); recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); recorder.setAudioEncodingBitRate(64000); recorder.setAudioSamplingRate(44100); recorder.setAudioChannels(1); [...] read more
android
mediarecorder
3votes
1answer

AudioRecord not enough memory for AudioTrack

I am trying to build an Android application that records X number of seconds and saves the file in .wav format The problem is that if I input more than 47 seconds ( 48 and above) I get the following errors: 11-29 10:58:39.315 399-1548/? V/audio_hw_primary: disable_audio_route: exit 11-29 10:58:39.315 399-1548/? [...] read more
android
audio
wav
audiorecord
audiotrack
3votes
3answers

How to get CPU brand information in ARM64?

In Windows X86, the CPU brand can be queried with cpuid intrinsic function. Here is a sample of the code: #include <stdio.h> #include <intrin.h> int main(void) { int cpubrand[4 * 3]; __cpuid(&cpubrand[0], 0x80000002); __cpuid(&cpubrand[4], 0x80000003); __cpuid(&cpubrand[8], 0x80000004); char str[48]; memset(str, 0, sizeof str); memcpy(str, cpubrand, sizeof cpubrand); printf("%s\n", str); } [...] read more
c
windows
intrinsics
arm64
3votes
1answer

Broken CPUID brand string?

I am printing some information about CPU in my OS using CPUID instruction. Reading and printing vendor string(GenuineIntel) works well, but reading brand string gives me little strange string. ok cpu-info <= Run command CPU Vendor name: GenuineIntel <= Vendor string is good CPU Brand: D: l(R) Core(TMD: CPU MD: [...] read more
c++
assembly
x86-64
masm
uefi
3votes
1answer

Using grub in floppy image file to start your own kernel inside bochs

Basically I've followed the instructions here http://sig9.com/bochs-grub to create a bare image file which does nothing but lets the BIOS start GRUB. The problems are: * The kernel I am writing will be 32-bit, using http://www.jamesmolloy.co.uk/tutorial_html/index.html for a start, but my host (physical) machine is x86_64 with bochs configured like [...] read more
assembly
x86
osdev
grub
bochs
3votes
1answer

Second stage bootLoader not loading in bochs, LINUX (ubuntu 16.04), Brokenthorn osdev series

I am following brokenthorn OS development series, until now I am able sucessfully run bootloader stage1 but there is some issue with loading second stage bootloader from FAT12 floppy in bochs emulator on linux machine(ubuntu 16.04) (It works fine in virtual box though). Here is my stage1 boot loader: bits [...] read more
assembly
x86
bootloader
osdev
bochs
2votes
1answer

OSPF: quagga and HP ProCurve not talking

This question is related to a previous one on OSPF routing. Based on the advice give to the previous question, I have now made myself a network diagram, identified the backbone area and all other areas and started configuring OSPF on the various routers. All the HP ProCurve 7102dl routers [...] read more
routing
hp
ospf
quagga
2votes
2answers

Why unrelated files get corrupted after a blue screen of death caused by audio drivers?

Yesterday while hibernating my Windows 7 computer, I got BSOD which complained about Creative sound card driver (ctoss2k.sys). I have been using this system for two years already and I haven't had any issues before. After a full hard drive scan with Windows built-in utility. I saw many corrupted files. [...] read more
ntfs
bsod
file-corruption
2votes
1answer

Why is paging not working and getting physical address not available error on Bochs

I have the following assembly code to set up paging for long mode. org 0x7e00 bits 32 mov eax, 0x08000008 mov cr3, eax pml4t: mov dword [0x8000], 0x0900000f mov dword [0x8004], 0x0 pdpt: mov dword [0x9000], 0x0a00000f mov dword [0x9004], 0x0 pdt: mov dword [0xa000], 0x0b00000f mov dword [0xa004], 0x0 [...] read more
assembly
x86
paging
bootloader
2votes
6answers

Memory mapping addresses using simple preprocessor define

I have a simple memory mapped interface, and I would like to write through this values to two registers and then read them back. The following code example works fine: volatile int *reg1 = (int *) 0x80000000; volatile int *reg2 = (int *) 0x80000004; *reg1 = 12; *reg2 = 23; [...] read more
c
c-preprocessor
2votes
1answer

Total Cache misses fewer than data cache misses (PAPI_L1_DCM > PAPI_L1_TCM)

For my application (SpMV) I have more data cache misses (PAPI_L1_DCM) than total cache misses (PAPI_L1_TCM) in level 1 cache. How can that be? For Level 2 the values are ok. That is, what the PAPI counters offer: [PAPI_L1_ICM ][PAPI_L1_DCM ][PAPI_L1_TCM ][PAPI_L2_ICM ][PAPI_L2_DCM ][PAPI_L2_TCM ] 1256 3388225 1442386 1007 2389903 [...] read more
caching
papi
2votes
3answers

over-release without a calltrace (using ARC), bad acces in main

I've recently converted to using ARC. However, i'm having a weird crash now, and the crashlogs are really unhelpful. During one of my application initialization processes (getting data from server, parsing it, setting up views), i get a bad_access. This is the error log from the device: Incident Identifier: 7CE05452-7C5D-424A-8529-AE7B17C9FEBC [...] read more
iphone
objective-c
automatic-ref-counting
xcode
2votes
3answers

Bootloader crash

I'm currently developing my bootloader, but I have problem. I use Bochs to test bootloader, I compile bootloader and make disk image with: rm disk.bin rm boot.bin rm post.bin nasm bootloader.asm -o boot.bin nasm postmbr.asm -o post.bin cat boot.bin post.bin > disk.bin This is bootloader.asm: [BITS 16] ;Tells the assembler [...] read more
assembly
x86
nasm
osdev
bochs
1vote
2answers

Why is my tape drive so slow?

I have bought a used Quantum Ultrium LTO-4 tape drive and attached it to an HP Smart Array P400 SAS controller in my HP ProLiant N54l. I use FreeBSD 11 as my operating system. Now I have inserted a tape and ran the benchmark of Bacula's btape command: $ btape [...] read more
freebsd
sas
scsi
tape
1vote
1answer

Blue screen error with windows 7

I formatted my computer using a Windows XP cd, then I decided to install Windows 7 Pro. After some downtime, the blue screen appeared. This time just restarted the computer. Thinking it would be a mistake on the version of Windows installed, I installed Windows 7 Ultimate. After a few [...] read more
windows-7
windows
bsod
windows-error-reporting
1vote
1answer

MSVC++ inline assembly unhandled exception 0x80000004: Single step

I am writing a code using inline asm with VC++ 2019 32bit. I have written a function to switch coroutine.This is the source code : I tested it and it works well. The argument is a uintptr_t array that contains the register value. This function will exchagne register value except [...] read more
c++
exception
assembly
visual-c++
coroutine
1vote
1answer

How to get physical and virtual address bits with C/C++ by CPUID command

I'm getting physical and virtual address bits size with C by using CPUID command in windows. I can get the processor information this way, but I'm confused by getting the address bits. Looks like I should you the 80000008 instruction but I do this way, only 7-8 digits change continuously [...] read more
visual-c++
x86
operating-system
bit
cpuid
1vote
0answers

Why does Bochs crash on simple mov instruction

I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more
assembly
x86
qemu
bootloader
bochs
1vote
1answer

How to correctly parse nested json with Python where several keys are equal

I have a problem with flatten / json_normalize functions. There's a nested json with 6 "receipts" in it, but flattening this json gives me only 1 row with 1 receipt, which is also last, I need all 6 in my pandas dataframe. [ { "_index": "packets-2020-02-03", "_type": "receipts_file", "_score": null, [...] read more
json
python-3.x
pandas
normalization
flatten
1vote
1answer

MOVS with LSL Carry Flag

I'm learning The Arm System Developers Guide and I am wondering about one of the examples in the book: cpsr = nzcvqiFt_USER // capital indicates flag is set r0 = 0x00000000 r1 = 0x80000004 MOVS r0, r1, LSL #1 cpsr = nzCvqiFt_USER // capital indicates flag is set r0 = [...] read more
arm
1vote
1answer

iOS will reboot on iPhone XS when play video streaming(iOS 12.0.1)

I'm a newbie iOS developer, recently there is a strange issue happened in iOS 12.0.1, our app is a video streaming app and codec protocol using h.264. We using VideoToolBox to decode the streaming, and get the decode buffer to display on screen, but sometimes the console log will show [...] read more
ios
iphone
video-streaming
ios12
1vote
1answer

How to release microphone from pocketsphynx in Android

I'm using pocketsphynx library on Android for keyword spotting, and it serves its purpose great. However, when I am trying to release microphone to make use of it in another component of the app, I am unable to do so. I get the following error in logcat: 12-11 10:19:55.827 255-30344/? [...] read more
android
microphone
android-audiomanager
android-audiorecord
pocketsphinx-android
1vote
0answers

BSOD 0x8E STATUS_SINGLE_STEP

I have a BSOD 0x8E every day on five devices in same times on Windows 7. Allways exception code - 04 - STATUS_SINGLE_STEP as example: 1: kd> !analyze -v ******************************************************************************* * * * Bugcheck Analysis * * * ******************************************************************************* KERNEL_MODE_EXCEPTION_NOT_HANDLED_M (1000008e) This is a very common bugcheck. Usually the exception [...] read more
c#
.net
driver
bsod
kaspersky
1vote
2answers

How is a string represented in IA32 assembly?

A string is represented as an array of char. For example, if I have a string "abcdef" at address 0x80000000, is the following correct? 0x80000008 0x80000004: 00 00 46 45 0x80000000: 44 43 42 41 (In stack, it grows down so I have address decreasing) read more
c
assembly
1vote
0answers

How to Scan iBeacon in Android Wear (Ambient Mode)

I'm trying to detect in-door location in Android Wear. First, I am using iBeacon to detecting where I am. And I succeed to get location in interactive mode. Next, I would like to continue searching iBeacons in ambient mode. But I can't search because Application ends. Please help me ;( [...] read more
android
bluetooth-lowenergy
wear-os
ibeacon
1vote
1answer

Only 14 RAPI events are available on Xeon Phi. Why so few?

I'm trying to use RAPI to monitor the performance of my Xeon Phi code. I just compiled and installed a native version of RAPI follwoing the documentation. And the following list is what I get when I execute "rapi_avail" on my Xeon Phi which shall display all available events. Surprisingly, [...] read more
intel
performancecounter
xeon-phi
rapi
1vote
1answer

Kannel "0: Accepted for delivery" but not sent

I've always used smslib to connect to my SMS provider. My SMS provider has a SMSC, and I connect in transmitter mode (not transceiver). I'm trying to connect via Kannel, with this configuration: group = core admin-port = 13000 smsbox-port = 13001 wapbox-port = 13002 admin-password = dad admin-deny-ip = [...] read more
kannel
1vote
0answers

Unsigned int behaves differently in Release Mode

I have a weird problem, in Debug Mode this code works fine: char* PCInformation::GetCPUName() { if (CPUName[0] == '\0') { _memset(CPUName, 0, 0x3F); // Get extended ids. int CPUInfo[4] = {-1}; __cpuid(CPUInfo, 0x80000000); unsigned int nExIds = CPUInfo[0]; printf(3, "%d\n%d\n", nExIds, 0x80000000); // Get the information associated with each extended [...] read more
c++
visual-studio-2012
unsigned-integer
cpuid
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

OSPF - default-information originate : multiple routers

basic network [https://i.stack.imgur.com/ibFOc.gif] I receive a default route via iBGP from R1. On both R2 and R3 I have default-information originate configured. On R4 I only see one default route in the OSPF database; either to R2 or R3. When I shutdown one of the links from R2 / R3 [...] read more
networking
cisco
0votes
3answers

System Error Code 0x32 when trying to attach debugger to calc.exe

I am currently learning how debuggers function and I am trying to program one myself following the book 'Gray Hat Python' by Justin Seitz. I am quite new to python and using the Windows API so any help is appreciated. I am using python 2.7 and Windows 10 64bit (in [...] read more
python
ctypes
0votes
0answers

Getting "Unfortunately, GluonMobile" stopped working

I am getting "Unfortunately, GluonMobile stopped working" every time I try to run my application on android. First of all, I am using gluon-mobile to make android apps that is writted in javafx (java) for GUI app development. I am also using the latest version of Intellij Idea while I [...] read more
java
android
javafx
gluon
gluon-mobile
0votes
1answer

How do I compile this assembly file with GCC or others?

I copied a sample assembly code from wiki: .section .data s0 : .asciz "Processor Brand String: %.48s\n" err : .asciz "Feature unsupported.\n" .section .text .global main .type main,@function .align 32 main: pushq %rbp movq %rsp, %rbp subq $48, %rsp pushq %rbx movl $0x80000000, %eax cpuid cmpl $0x80000004, %eax jl error [...] read more
linux
gcc
assembly
0votes
1answer

Buffer Overflow in C++ while reading virtual memory

I've got a program which is reading processes virtual memory and some registers for some data, then making amendments to it. Here I pass the contents of eax register to my function (this seems to work fine, but I thought it might demonstrate what types of data are being involved) [...] read more
c++
debugging
virtual-memory
0votes
1answer

How to use this in ffi

std::string __cpuid() { char VendorName[49] = {0}; char VendorID[13] = {0}; unsigned int a, b, c, d; __asm xor EBX, EBX; __asm xor ECX, ECX; __asm xor EDX, EDX; __asm mov EAX, 0x80000002; __asm cpuid; __asm mov a, EAX; __asm mov b, EBX; __asm mov c, ECX; __asm mov d, [...] read more
assembly
lua
jit
luajit
0votes
0answers

CryptoJS is not defined at

I am trying to use DES encryption/decryption on Google chrome. In my folder I have three files. 1. tripledes.js 2. mode-ecb.js 3. CryptoJS-DES.html The scripts in my html file is defined as follows :- <script type="text/javascript" src="tripledes.js"></script> <script type="text/javascript" src="mode-ecb.js"></script> and another script file which is :- function encryptByDES(message, key) [...] read more
javascript
html
node.js
cryptojs
0votes
0answers

Sometimes getting null value for windows version and processor type

For the most part, the function below works but in rare cases returns a null value: DWORD WinVerMinor() { OSVERSIONINFO osvi; ZeroMemory(&osvi, sizeof(OSVERSIONINFO)); osvi.dwOSVersionInfoSize = sizeof(OSVERSIONINFO); GetVersionEx(&osvi); return osvi.dwMinorVersion; } Also cpustr below sometimes ends up being null. For example, from an executable app cpustr stores the correct string while [...] read more
c++
c
windows
version
processor
0votes
1answer

Why is the output of this expression different when the variable is replaced with what it is calculating anyways?

Here's the code segment. It's performing x/2^n, rounding towards 0. The first print statement calculates the correct value (-7 in this case), but the second statement, which is just the first statement with bias replaced with ((x>>31) & ((1<<n)+0xffffffff)) (what bias is calculating anyways) and produces 9. What's going on [...] read more
c
bit-manipulation
0votes
1answer

Powershell access lists in Active Directory

I have a function GrantGenericRead that works when I create an object $ouUnixGroups in the same run. I'm trying to figure out how to get an object out of AD that I can run GrantGenericRead on, but it seems when I try this every way I know how (adsi, lookup [...] read more
.net
windows
powershell
active-directory
0votes
1answer

Java JNI Crashing on Some C Functions With Particular Signatures

I'm testing out my JNI dll and I'm getting system crashes when executing certain calls to my C based functions. Some calls work (see below getSession 1-5) and some cause crashes (see below getSession 6-8). Below is a list of my testing findings. I've removed all logic from the C [...] read more
java
c
java-native-interface
swig
-2votes
1answer

why does C++, DevStudio, array indices work?

#include <windows.h> #include <stdio.h> WCHAR *HiveName[4] = {L"HKCR", L"HKCU", L"HKLM", L"HKU"}; int wmain( INT argc, WCHAR **argv ) { for ( DWORD i = 0x80000000; i < 0x80000004; i++ ) wprintf(L"%lu %s\n", i, HiveName[i]); return 0; } Output: > 2147483648 HKCR > > 2147483649 HKCU > > 2147483650 HKLM > [...] read more
c++
arrays

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0