Windows error 0x00000015, 21

Detailed Error Information

NOT_READY[1]

MessageThe device is not ready.
Declared inwinerror.h

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

LAST_CHANCE_CALLED_FROM_KMODE[2]

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

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 Code21 (0x0015)

Questions

6votes
1answer

Fastest way to draw a MediaCodec-decoded video frame to screen?

I'm looking for the fastest way to take an image frame received from the MediaCodec decoder and draw it to the Android device screen. The important constraints and explanations are: 1. Cannot use MediaPlayer. No intermediate app allowed. 2. Must draw output frames from the MediaCodec decoder to the screen [...] read more
android
surfaceview
yuv
decoder
android-mediacodec
6votes
2answers

Cross-Compiled GNU ARM (BeagleBoneBlack) from Windows. Runtime Error on *.elf: "No such file or directory"

I'm in the (very) early stages of developing a UAV flight controller on a BeagleBone Black. I should mention that I'm quite the novice when it comes to the BBB, Linux and embedded systems.My academic focus has been on control theory - this is my first attempt at a practical [...] read more
c++
linux
cross-compiling
beagleboneblack
toolchain
5votes
4answers

gcc arm executable "no such file orr directory", wrong dynamic lib

I am trying to make a usable setup for gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 on windows. Something happens at dynamic link: $(CC)-gcc -o test main.c -Wall -lc The program compiles fine, but when deployed to ARM shows: "No such file or directory" Searching the issue, seems that static build works but executable is huge: [...] read more
gcc
5votes
1answer

When using ExitWindowsEx, logoff works, but shutdown and restart do not

When I call logoff, it works. But shutdown and restart don't work. Everything looks OK. I looked at other examples on SO and else where and the code looks pretty uniform across most places. So I'm thinking it might be something other than the code. I'm running as admin and [...] read more
c#
winforms
5votes
1answer

Source column numbers in DWARF line table

For any element in a C/C++ source file, I would like to be able to determine the corresponding memory location within its compiled executable. Compiling with debug, and using the resulting DWARF information goes a long way towards this, but falls just short of my goal. GCC seems to generate [...] read more
c
debugging
gcc
dwarf
5votes
3answers

Making sense of the 'leaks' command line utility for finding memory leaks

I'm working on tracking down some difficult to find memory leaks in my iPhone program. I'm running a quick test on an app which leaks an NSString object with the following intentionally -incorrect- code: -(void)applicationDidFinishLaunching:(NSNotification *)notification; { NSMutableString *test = [[NSMutableString alloc] init]; [test appendString:@"Testing 1"]; [test appendString:@"\nTesting 2"]; NSLog(@"%@", [...] read more
iphone
objective-c
cocoa
cocoa-touch
memory-leaks
4votes
4answers

From a huge enumeration, I try to make a function to apply the right action without using a switch body by using some template tricks

I have an enum type with 1223 elements. I had a function with 1222 cases and a default case in a switch block. If I want to modify some elements in the enum type, I also need to modify that function. Worse, I may have more than one function with [...] read more
c++
templates
c++11
4votes
0answers

How to get right MIPS libc toolchain for embedded device

I've run into a problem (repetitively) with various company's' embedded linux products where GPL source code from them does not match what is actually running on a system. It's "close", but not quite right, especially with respect to the standard C library they use. Isn't that a violation of the [...] read more
linux
gcc
embedded
cross-compiling
libc
3votes
1answer

scanner no longer working windows 7

I have a Windows 7 Professional x64 machine that no longer works with a Brother all-in-one printer/scanner when I try to scan. This happened seemingly out of nowhere. Printing still works, but when I try to scan from Photoshop, Photoshop crashes. When I try to scan from Devices and Printers [...] read more
windows-7
printer
printing
scanning
3votes
1answer

How to Migrate LPAR between 2 power trough SAN from VIOs mapped LUN to NPIV

I'm trying to migrate LPAR from a power to another. Since my company doesn't have any IBM licence for their migration solution I have to do it trough SAN (using IBM SVC and brocade SAN switches). A quick view of the current structure : .-----------------. .-----------------. | OLD_POWER | | [...] read more
ibm
aix
2votes
1answer

Opendaylight Can't Connect to HP Aruba SDN Switch

My lab recently procure an HP (Aruba) 2920 24G and I was told to test it out on an OpenDaylight controller. First, I setup the OpenDaylight Carbon (0.7.2) with dlux features, odl-mdsal-apidocs, odl-restconf, and odl-l2switch-switch installed. The Opendaylight can communicate with my other switches including an SBC running an Open [...] read more
sdn
opendaylight
2votes
0answers

cross compilation from ubuntu to Raspberry Pi error: undefined symbol

i'm running Qt Creator 3.0.1 (Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)) on Ubuntu 14.4 64bit on VirtualBox on Windows 7 64bit I'm trying to cross compile to Raspberry Pi and run very simple program: MainWindow.h: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class [...] read more
c++
qt
raspberry-pi
cross-platform
cross-compiling
2votes
2answers

C Returned char from GetSaveFileName() contains null characters

I'm using the following code to get the filepath to save to for use with tinyxml2: OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.hwndOwner = NULL; ofn.lpstrFilter = (LPCWSTR)L"XML Files (*.xml)\0*.xml\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | [...] read more
c++
char
savefiledialog
2votes
2answers

Trouble printing Map/Filter/Reduce functions in C

I'm having a really hard time understanding why I keep getting an exception, when my function returns the value with ease, but once i try to printf the result it gives me an unhandled exception error(see below) I'm new to C so I've been looking at everything from a java [...] read more
c++
c
visual-studio-2008
unhandled-exception
1vote
1answer

How to debug an RPM that will not uninstall

I've built an RPM using redline rpm library for java. When I try to uninstall the rpm it says it was removed but when I do a list it is still there and says it is still installed. Here is the results of my uninstall with as much debug as [...] read more
rpm
1vote
1answer

Updating a single file in a CPIO archive

I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks: DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000" 120 0x78 ASCII cpio archive [...] read more
disk-image
cpio
1vote
0answers

Nativescript - iOS build fails with error code 2

I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information 1. Sidekick Version: 1.19.2-v.2019.11.18.2 (latest) 2. NativeScript CLI version: 6.2.2 3. CLI extension nativescript-cloud version: 1.19.3 4. CLI extension nativescript-starter-kits version: [...] read more
ios
nativescript
nativescript-angular
1vote
1answer

Enum with Enum elements in Python3

I'm setting an enumeration "A" of possible commands in my Python code. I would also create another enumeration "B" listing some specific commands "A". Thus I tried : class all_commands(IntEnum): SET_ELEMENT_A = 0x00000001 GET_ELEMENT_A = 0x00000007 GET_ELEMENT_B = 0x0000000E SET_ELEMENT_C = 0x00000010 GET_ELEMENT_C = 0x00000011 GET_ELEMENT_D = 0x00000015 class getter_commands(IntEnum): [...] read more
python-3.x
list
enums
1vote
1answer

Linux: Buffer overflow of simple C program is giving SIGBUS

I am a beginner in binary exploitation, and I'm training for the exploitation of buffer overflows. I made a useless short C program: #include <stdio.h> #include <stdlib.h> int main(void) { setbuf(stdout, NULL); char buffer[64]; puts("\nWELCOME TO THE REMOTE TEMP CLEANER SERVICE\n"); printf("Please enter a password: "); gets(buffer); puts("\n"); if(strcmp(buffer, "securepassword1234") [...] read more
c
gdb
stack-overflow
buffer-overflow
exploit
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
0answers

Access denied in SharePoint 2010

Some of the users are getting following access denied error upon looking in sharepoint logs. These users were earlier able to access the SharePoint site. But all of sudden they are getting "An Unexpected error has occured". PermissionMask check failed. asking for 0x00000005, have 0x400000300C231061 PermissionMask check failed. asking for [...] read more
sharepoint-2010
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

Cross Compiling GSL for Android

CROSS COMPILING GSL FOR ANDROID I am attempting to cross compile the GNU Scientific Library (GSL) for Android 4.1 using Autotools. My build and host are as follows: build="i386-apple-darwin10.8.0" host="arm-linux-androideabi" Autotools versions: GNU Automake version 1.11.3 GNU Autoconf version 2.68 GNU Libtool version 2.4.2 My goal is to compile an [...] read more
android
android-ndk
cross-compiling
elf
gsl
1vote
1answer

Accessing COM Interface from C++ COM Server that doesn't register via C#

I've been asked to integrate with an already-shipped product that is a COM server. Along with this product was provided a .tlb file. I've used tlbimp to export the tlb to primary assembly and I've included that in my C# project. When I attempt to execute my COM client I [...] read more
c#
c++
visual-studio-2012
com
1vote
1answer

sqlite3 bus error

I'm writing an app that uses sqlite3. For some very bizarre reason, it crashes only on some machines. I was unable to reproduce the error, but a couple beta testers are reporting it. When the app is opened it automatically quits. It says it crashed because of a bus error. [...] read more
c
macos
cocoa
sqlite
bus-error
1vote
1answer

Java Swing not working

Whenever I try to launch any of my java apps that display a gui, I get an error. I have tried with both java 6 and java 7. Neither of these work, I have tried older and newer nvidia drivers. I'm not sure if this is an issue with Java [...] read more
java
swing
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
1vote
2answers

Error in my logout section of my program in C#, can i get some help?

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Microsoft.Win32; using System.Runtime.InteropServices; [Flags] public enum ExitWindows : uint { LogOff = 0x00, Force = 0x04, } [Flags] enum ShutdownReason : uint { MajorApplication = 0x00040000, MajorHardware = 0x00010000, MajorLegacyApi = 0x00070000, MajorOperatingSystem [...] read more
c#
.net
windows
winapi
logout
1vote
2answers

EXC_BAD_ACCESS Crash when displaying AdWhirl ad on iPhone

I am using AdWhirl in my app and got a suspicious crash mid-game. It appears to crash in the animationDidStop:finished: function which I didn't create. Could this be a bug in AdWhirl? I can't find this file referenced in the log: (MMHTMLAdView.m:123) This is the log: Date/Time: 2010-10-21 09:54:14.861 +0200 [...] read more
iphone
exc-bad-access
adwhirl
1vote
2answers

Cross-compiling for Android

I'm trying to cross-compile dropbear for android. The files appear to compile find, but when executed give "program : not found." I did a find and the libraries marked NEEDED appear to be located in the cross-compile environment. I have compiled other programs with this toolchain. arm-none-linux-gnueabi-readelf -d dropbear Dynamic [...] read more
android
0votes
0answers

cancel disk while extracting in rufus

recently i want to make a bootable disk for my flashdisk. I've done this ton of times, but today while doing so my flashdisk is ejecting by it self. Rufus is stuck at extracting so i cancel the operation. ( still around 400 mb ). But now my flash disk [...] read more
usb
partitioning
mbr
format
rufus
0votes
0answers

Win 10 doesn't upgrade to November update or Redstone

I have an one year old ASUS laptop, which originally shipped with Win 8.1. When Windows 10 was released I upgraded without hassle to Windows 10. Trying to update to November update (Threshold-2) or more recently Redstone just doesn't work. The upgrade starts and finally Windows is restarting. Then after [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
0votes
0answers

Convert bmp into a correct RGB array in Python3

I can not write the array correctly. I don't know why python has such a issue. import sys,os import numpy as np from PIL import Image from bitmap import BitMap src=os.getcwd() #get the current working diretory print(src) path=src+"\\Se.bmp" img=Image.open(path,"r") width, height=img.size print(f"width={width}") print(f"height={height}") #turn it into RGB vlaue array array=np.array(list(img.getdata())) [...] read more
python
0votes
1answer

PostgreSQL (pg_hba.conf / postgresql.conf) The connection to the server was lost. Attempting reset: Failed

I have a problem with Postgres that others seem to have found but the solutions that are given somehow do not work for me. I explain: WHAT I USE * MacOS 10.15.6 * Installed through Homebrew * PostgreSQL 12.2 on x86_64-apple-darwin, compiled by Apple LLVM version 6.0 (clang-600.0.54) (based on [...] read more
postgresql
pg-hba.conf
postgresql.conf
0votes
1answer

Segfault in qemu user emulation of Android binary

I'm running qemu on an Ubuntu 18.04 x64 host and trying to do user emulation of dynamic binaries built for Android (for aarch64 or i386) using the Android NDK, but I always get a segfault. For example: Build $ i686-linux-android28-clang hello_world.c -o hello_world Check dependecies and paths $ file ./hello_world [...] read more
android
segmentation-fault
emulation
qemu
0votes
2answers

Porting a simple MIPS32 program to MIPS64

I am having some difficulty porting the following MIPS32 assembly program to a 64-bit equivalent. The main issue that I am facing is the following line: bgtz $s2, loop ; Branch from "loop" on "$s2" greater than zero. I am not sure why this line causes an error? The instruction [...] read more
assembly
porting
mips32
mips64
edumips64
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
0answers

EXCEPTION_ACCESS_VIOLATION while printing pdfs

Some (~4 of many) of our customers have the problem that while trying to print some documents (pdfs) with our software that the application crashes without any exception. The problem occurs only on windows and I can't find any coherences. All in all it's a very curious bug. Here is [...] read more
java
windows
intellij-idea
printing
0votes
1answer

Reading Assembly Code (Bomb lab phase 5 help)

I have to decode this assembly language for the bomb lab: Dump of assembler code for function phase_5: 0x08048e79 <+0>: push %ebx 0x08048e7a <+1>: sub $0x28,%esp 0x08048e7d <+4>: lea 0x1c(%esp),%eax 0x08048e81 <+8>: mov %eax,0xc(%esp) 0x08048e85 <+12>: lea 0x18(%esp),%eax 0x08048e89 <+16>: mov %eax,0x8(%esp) 0x08048e8d <+20>: movl $0x804a9de,0x4(%esp) 0x08048e95 <+28>: mov 0x30(%esp),%eax [...] read more
assembly
x86
reverse-engineering
0votes
1answer

Creating buttons that event handle with a visual c++ program

I will try to explain this the best that I can. I currently have a program that at the moment just cycles through menus by clicking some button graphics that I have created. I am also using CE emulator to have an emulation of what the program will be on. [...] read more
xml
visual-c++
windows-ce
device-emulation
0votes
1answer

Deciphering a Crash Report - iOS - xCode

I am trying to replicate a bug in my app which is happening for users occasionally. I have the below crash report. Am I right in thinking the app is crashing due to an NSDictionary not having a value for a specific key ? And is there anything else I [...] read more
ios
objective-c
xcode
crash
crash-reports
0votes
1answer

What these numbers mean in Kannel SMSC logs?

What does these numbers represent ? What does their mean ? > 2013-06-27 10:39:42 [9446] [6] DEBUG: SMPP PDU 0x7f8364000a50 dump: > > 2013-06-27 10:39:42 [9446] [6] DEBUG: type_name: enquire_link > > 2013-06-27 10:39:42 [9446] [6] DEBUG: command_id: 21 = 0x00000015 > > 2013-06-27 10:39:42 [9446] [6] DEBUG: command_id: 21 [...] read more
sms
sms-gateway
kannel
0votes
1answer

Exception Codes: KERN_INVALID_ADDRESS at 0x0000003d

I am using address book framework for my application and I have got crashes on that code. That code is shown below +(NSMutableArray *)getcontactdetails { [self current_function_name:@"Inside getcontactdetails"]; NSMutableArray *list = [[NSMutableArray alloc] init]; ABAddressBookRef addressBook; CFArrayRef allSources; addressBook = ABAddressBookCreate(); ABRecordRef source = ABAddressBookCopyDefaultSource(addressBook); allSources = ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(addressBook, source, kABPersonFirstNameProperty); [...] read more
iphone
addressbook
-2votes
1answer

Interpret Mac OS X crash report

I just really need some help deciphering this crash report: Process: Farm Hand [616] Path: /Applications/Farm Hand.app/Contents/MacOS/Farm Hand Identifier: Farm Hand Version: 1.0 (1) Code Type: X86-64 (Native) Parent Process: Instruments [386] Responsible: Instruments [386] User ID: 501 Date/Time: 2014-10-12 00:13:17.116 +0100 OS Version: Mac OS X 10.10 (14A388a) Report [...] read more
objective-c
macos
crash
stack-overflow
crash-reports

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