Windows error 0x00000013, 19

Detailed Error Information

WRITE_PROTECT[1]

MessageThe media is write protected.
Declared inwinerror.h

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

EMPTY_THREAD_REAPER_LIST[2]

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

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 Code19 (0x0013)

Questions

40votes
4answers

I updated my CentOS 7 system. Why is Meltdown/Spectre only partially mitigated?

Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and reboot: kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 I have two CentOS 7 systems on which I've installed these packages and rebooted. According [...] read more
security
centos7
rhel7
vulnerabilities
33votes
4answers

Indexing .PDF, .XLS, .DOC, .PPT using Lucene.NET

I've heard of Lucene.Net and I've heard of Apache Tika. The question is - how do I index these documents using C# vs Java? I think the issue is that there is no .Net equivalent of Tika which extracts relevant text from these document types. UPDATE - Feb 05 2011 [...] read more
.net
asp.net
lucene
solr
lucene.net
15votes
4answers

Android - failure on loading library

I have a similar problem to this question, but slightly different. I have compiled a .so library to use with JNI. Because it is large (15 MB), I am putting it on the SDCard instead of in the standard application place. The file is called libSample.so and it's located at [...] read more
java
android
jni
native
6votes
0answers

android error dynamically loading libc++.so native library

I am trying to build a proof-of-concept android application which uses OpenSSH code to establish a SSH session with a server. For that I am using android sources to build the required libraries and then pull them up to an AndroidStudio native project where everything should be packed and installed [...] read more
android
c++
jni
native
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
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
6votes
3answers

Android NDK produce unreasonable big binaries, how to optimize .so size?

I have notice that Android NDK (r6b in my case) produce unreasonable big resulting .so files. For example, in my case I have ~150-200 lines of C++ code (6 native methods and 3 C++ simplest classes) and this native code produce 60kb (!) .so with enabled exceptions and RTTI or [...] read more
android
android-ndk
5votes
1answer

How to use SetupIterateCabinet with C#

I am attempting to write code to extract the contents of a CAB file, however I am having trouble using the SetupIterateCabinet routine. Please see doc here http://msdn.microsoft.com/en-us/library/aa377404(v=vs.85).aspx I can import it properly like this private const uint SPFILENOTIFY_CABINETINFO = 0x00000010; private const uint SPFILENOTIFY_FILEINCABINET = 0x00000011; private const uint [...] read more
c#
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
3answers

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
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
2answers

Smartcard PKCS11 AES Key Gen Failure

I am attempting to create an AES 256 key on an ACOS5-64 smartcard and OMNIKEY 3121 card reader, using PKCS11 in python (using the PyKCS11 library). So far, all the "standard" operations seem to work with regards to asymmetric crypto. I have run plenty of code samples and pkcs11-tool commands, [...] read more
python
aes
smartcard
pkcs#11
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
6answers

Android's GNU STL shared library can't be found with System.loadLibrary

I've compiled a shared library with android-cmake and the NDK against libstdc++, and as per android-ndk-r7/docs/CPLUSPLUS-SUPPORT.html I'm trying to load gnustl_shared before loading my library: static { System.loadLibrary("gnustl_shared"); System.loadLibrary("MathTest"); } I can see this being done for instance here but I get an exception: 01-03 20:02:42.307: E/AndroidRuntime(569): Caused by: java.lang.UnsatisfiedLinkError: [...] read more
android
stl
android-ndk
3votes
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

Change display format of DirectX "Object Table"

While debugging with VS 2012 Graphic's Debugger, I want to look at an index buffer, but the format that is showing it in is as float. This means the numbers are different than they would be with an int or short format. Does somebody know how to change this? Here [...] read more
visual-studio-2012
hlsl
directx-11
3votes
4answers

Need help debugging why a shared library fails to load. Android NDK

I am trying to load a shared library using: System.loadLibrary("sharedC"); sharedC is dependent on 2 other shared libraries sharedA and sharedB, all three were made using the standalone toolchain and are included as prebuilt shared libraries. I load sharedA and sharedB before sharedC and I know of no other dependencies. [...] read more
android
android-ndk
shared-libraries
3votes
2answers

EXC_BAD_ACCESS in CFAttributedStringSetAttribute and NSNumber?

I am getting an infuriating EXC_BAD_ACCESS error in an objective c app I am working on. Any help you could offer would be much appreciated. I have tried the normal debug methods for this error (turning on NSZombieEnabled, checking retain/release/autorelease to make sure I'm not trying to access a deallocated [...] read more
iphone
objective-c
exc-bad-access
2votes
0answers

Android NDK: Call to System.loadLibrary Results in SIGSEGV Code=1

I have a massive C/C++ library that I'm trying to use through JNI for an Android project. It's comprised of several classes that were originally written for MFC and we've ported them over for execution on the Android environment. The library builds fine (at least according to ndk-build). The size [...] read more
c++
android-ndk
jni
sigsegv
loadlibrary
2votes
0answers

Loading C library in Android

I have little to no understanding how low-level programming languages work, so please bear with me. I need to load compiled C (.so file) library into android 6.0+ (SdkVersion: 23+) Using: static { System.loadLibrary("dsdrv"); } I get an error: FATAL EXCEPTION: main Process: com.logicants.scanner3, PID: 11415 java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.logicants.scanner3-1/lib/arm/libdsdrv.so" [...] read more
android
c
android-ndk
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
1answer

How to diagnose a corrupted suffix pattern in a mixed managed/unmanaged x32 .NET application

I've got a .NET application that pinvokes several libraries, all 32 bit (the application is 32 bit as well). I recently started getting crash bugs that occurred when the GC started freeing memory, and when I attached I saw that it was an access violation. After some web searches, I [...] read more
c#
pinvoke
windbg
unmanaged
2votes
1answer

App crash then startup for apple

I'm new of stack overflow. I have a big problem to send an app to apple. when i test my app to my iPhone 5 or simulator everything is ok but apple reject for 2 times my app, they told me that my app crash then the splash screen and [...] read more
ios6
crash
crash-reports
abaddressbook
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

ARM Undefined Instruction error

I'm getting an Undefined Instruction error while running an embedded system, no coprocessor, no MMU, Atmel 9263. The embedded system has memory in the range 0x20000000 - 0x23FFFFFF. I've had two cases so far: 1. SP 0x0030B840, LR 2000AE78 - the LR points at valid code, so I'm not sure [...] read more
exception
debugging
arm
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

Receiving "Illegal Instruction" when executing glibc's ld-2.6.1.so

Background "OS": Stripped down Linux, very customized, no internet access (no yum, apt-get, etc) Kernel: 2.6.19.1 Target: 32-bit, armv5te Current LibC: 2.3.6 Target LibC: 2.6.1 Issue Received an .ipk from a 3rd party vendor containing an updated version of glibc. Started by investigating the compatibility of the shared objects contained [...] read more
linux
ld
glibc
illegal-instruction
1vote
1answer

Need help loading Cortana VCD file on using C++ DirectX/XAML

I am adding Cortana to a DirectX/XAML Windwos 10 game. Every example I can find is given in C#, not C++. Normally this wouldn't be a problem, but apparently I'm not implementing it correctly in C++ and need some help with this one. The purpose of this chunk of code [...] read more
c++
windows-10
cortana
1vote
0answers

Win32 SetupComm function throwing media is write protected error

I am writing a program in C++ to read and write from a serial port. One issue that I have not been able to fix is, after calling SetupComm it fails. Using GetLastError() tells me that it was error 0x00000013, "The media is write-protected" is the definition of that error [...] read more
c++
winapi
serial-port
1vote
1answer

How to Edit COM Library to Provide Method Access

In our header file we have the class definition where GroupInit, EditInit were protected. I want to be able to access these methods by adding a reference to the generated GrpSvr.tlb file from a C# solution so I changed these to public... #if !defined(AFX_GRPCALL_H__FFB54BC3_B15E_11D1_99BC_0000E803C444__INCLUDED_) #define AFX_GRPCALL_H__FFB54BC3_B15E_11D1_99BC_0000E803C444__INCLUDED_ #if _MSC_VER >= 1000 [...] read more
c++
com
interop
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
2answers

What does this crash log means?

I have already done some research on identifying crash logs but couldn't find solution: Here are my references: http://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs http://developer.apple.com/library/ios/#qa/qa1747/_index.htmlHow to view crash report on xcode 4.2 I do come to know that it is because of Memory Issue but how to find that particular? In my project there are [...] read more
ios
ipad
crash
crash-reports
1vote
1answer

How to export all methods in an unmanaged dll to managed c#?

I have a c++ dll with 10 methods and 12 properties, is there any way or any application to export the p/invoke format of the methods to be used in c# ? I have use OLE Viewer to inspect all the methods, for example : > [id(0x00000013)] BSTR GetCPUID( short [...] read more
c#
.net
dll
unmanaged
1vote
2answers

Can not load shared libraries because major number is given as a part of the library dependency

I have been creating a set of shared libraries to run on an android phone. When I try to load them in they are failing and it looks to me as if the libraries that my shared library depends on have been named with their major number. I should explain [...] read more
android
gcc
linker
android-ndk
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

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
1answer

NSS Secret (symmetric) Key Import

I am trying to figure out how to import a symmetric key into NSS for use with encryption at the core crypto boundary. These functions are described https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Reference/NSS_cryptographic_module/FIPS_mode_of_operation I have been able to do every other type of crypto operation by following the documentation because it mirrors PKCS 11 described [...] read more
cryptography
fips
nss
0votes
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
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

java.lang.unsatisfiedLinkError lib not found :(failed to link mylib.so)

i've successfully cross compiled a c++ library to the android plateform using the android ndk standalone toolchain. i've created a new android application project into Eclipse with a jni dolder and Android.mk file and when i do an ndk-build the building goes well and it adds mylib.so to libs/armeabi folder [...] read more
android
c++
android-ndk
cross-compiling
0votes
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
0votes
1answer

How to find out Interval from RecurrenceItem in EWS

i created a function which gets all Informations of an appointment item from EWS. I also need the Interval of an RecurrenceItem but it doesnt work. This is what i did: ExtendedPropertyDefinition PidLidCleanGlobalObjectId = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Meeting, 0x00000023, MapiPropertyType.Binary); ExtendedPropertyDefinition PidLidDayInterval = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Appointment, 0x00000011, MapiPropertyType.Integer); ExtendedPropertyDefinition PidLidWeekInterval = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Appointment, [...] read more
c#
visual-studio-2010
web-services
exchangewebservices
0votes
1answer

Xcode symbolication error

I have a small app made with SpriteKit and i receive EXC_RESOURCE error all the time and i really don't know. I want to see crash log , but Xcode doesn't symbolicate correct. I need to see Thread 0 , but it is the only one who isn't symbolicate. Exception [...] read more
ios
xcode
sprite-kit
symbolicate
0votes
1answer

AVL Tree Insertion - Access Violation Reading Location (Unable to read memory)

Any help would be much appreciated. :) Here is the error I am getting at run-time: Unhandled exception at 0x000D87D6 in FinalProject.exe: 0xC0000005: Access violation reading location 0x00000013. When I try to insert the third word, it breaks here:http://i.imgur.com/30brTkl.png See where it says "Unable to read memory"? I can't figure [...] read more
c++
memory
insert
tree
0votes
1answer

ARM Memory Addresses

I am running into problems when trying to write to memory addresses on an older LPC2148 microntroller. I have tried writing to several different parts of the memory map (Section 6.4) from http://www.keil.com/dd/docs/datashts/philips/lpc2141_42_44_46_48.pdf such as on-board non-volatile, static, etc. I have also tried STMDB to the stack (0x40000000?) but the [...] read more
assembly
arm
microcontroller
0votes
1answer

import error running picam on a raspberry pi

I am trying to run picam on my raspberry pi. Unfortunately I am not getting around the following import error: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-ae50f21e1c18> in <module>() ----> 1 import picam 2 import time /usr/local/lib/python2.7/dist-packages/picam/__init__.py in <module>() 1 # Copyright (c) 2013 Sean Ashton 2 # Licensed [...] read more
python
raspberry-pi
importerror
0votes
1answer

Constant buffer members access the same memory

I'm using a constant buffer to pass data to my shaders at every frame, and I'm running into an issue where the values of some of the members of the buffer point to the same memory. When I use the Visual Studio 2012 debugging tools, it looks like the data [...] read more
c++
directx
buffer
hlsl
directx-11
0votes
1answer

Eclipse(spring tool suite) Shuts Downs automatically on Server Startup (Eclipse Log File included)

I am using spring tool suite, i have successfully integrated jsf + primefaces + spring + hibernate(jpa)...however while running the project on server(tomcat) the IDE shuts down automatically..The COPY OF ECLIPSE LOG : # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) [...] read more
eclipse
spring
tomcat
0votes
9answers

Converting char to int [C]

I have a char byte that I want to convert to an int. Basically I am getting the value (which is 0x13) from a file using the fopen command and storing it into a char buffer called buff. I am doing the following: //assume buff[17] = 0x13 v->infoFrameSize = (int)buff[17] [...] read more
c
-1votes
1answer

GDB - see what have accessed the address/break on it

I am trying to overwrite the function vtable: Here it is done: Before memcpy (gdb) x/100x 0xb7993150 0xb7993150: 0xb6eae130 0xb6eae130 0x41414141 0x41414141 0xb7993160: 0x41414141 0x41414141 0x41414141 0x41414141 0xb7993170: 0x00000000 0x00000000 0x00000030 0x00000023 0xb7993180: 0x6c707061 0x74616369 0x2f6e6f69 0x6574636f 0xb7993190: 0x74732d74 0x6d616572 0x00000000 0x0000001b 0xb79931a0: 0x00000001 0x00000001 0xb7993078 0x00000000 0xb79931b0: 0x00000000 0x0000002b [...] read more
gdb
exploit
-2votes
1answer

How to read Hexadecimal value from registry string

I am having one Delphi XE2 Project to check one Hexadecimal Value from Registry Key MyCompanyName\1. If the Hexadecimal Value is 13, then some message will be there else some other message will be there.MyProject [https://i.stack.imgur.com/wWJUQ.jpg] So I have defined the following codes: procedure TMainForm.BitBtn01Click(Sender: TObject); var RegistryEntry : TRegistry; [...] read more
delphi

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