Windows error 0x00000008, 8

Detailed Error Information

NOT_ENOUGH_MEMORY[1]

MessageNot enough storage is available to process this command.
Declared inwinerror.h

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

IRQL_NOT_DISPATCH_LEVEL[2]

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

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 Code8 (0x0008)

Questions

31votes
0answers

Getting Symbols from debugged process MainModule

I started writing a debugger in C#, to debug any process on my operating system. For now, it only can handle breakpoints (HW, SW, and Memory), but now I wanted to show the opcode of the process. My first attempt was with nidsasm (NASM), but this is not suitable, because [...] read more
c#
debugging
pinvoke
debug-symbols
19votes
4answers

PowerShell launch script in new instance

I have a Master script that has several options. When you select 1 in the menu, action 1 will be executed and afterwards you'll get back to the menu. This is working fine but I would like to be able to select for example 8, which launches the code block [...] read more
powershell
17votes
7answers

The boot selection failed because a required device is inaccessible 0xc000000e

A family member of mine recently went on vacation and turned off their computer, something they normally do not do, upon returning home it would not turn on and now returns a black screen with the error message in that is shown the code block below. Generally friends and family [...] read more
windows-7
boot
boot-manager
14votes
0answers

Add icon tray on Windows using native Golang API

I'm developing a daemon with no UI apart from a simple icon in the Windows systray. I would like to have no dependencies on any other package(s), so I'm trying to use the syscall package and implement the necessary call(s) by myself. DOCUMENTATION * After some research, I think that [...] read more
windows
go
systray
9votes
0answers

Android MONKEY ANR at android.os.MessageQueue.nativePollOnce

We find a tricky ANR problem when using MONKEY to test our app. CPU and memory using is in the normal level. it seems that the ANR is cause by a Timeout KeyEvent faked by MONKEY sending to our app’s Activity. Below is the part of log: “ ANR: Time: [...] read more
android
monkey
7votes
3answers

Howto write PC relative adressing on arm asm?

I'm using GNU AS as assembler and I'm trying to write a position independent binary and I have some problems writing the PC relative address of an external symbols. Normaly a relative address is loaded with adr r0, symbol but that only works for symbols defined in the same section [...] read more
assembly
arm
6votes
2answers

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command

I have been facing this error quite a long time, My production environment is running Apache 2.4 and php7 on a windows 2008 R2 enterprise platform. My error log is full of these linesVirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command. VirtualFree() failed: [0x000001e7] Attempt to [...] read more
php
wordpress
windows
apache
6votes
1answer

Map network drive programmatically in C# on Windows 10

I followed the approache to map a network drive programmatically in the following link:Mapping Network Drive using C# The drive seems to be connected correctly because I can query directories and files within C#. BUT I do not see the drive on my computer. My target is to map certain [...] read more
c#
network-programming
5votes
2answers

On OS X, what's a double panic?

Can anyone offer a relatively simple explanation of how a double panic differs from other types of kernel panic on a Mac? Simple as in … I'm not a developer, but I wish to understand these things a little better. BACKGROUND A loose description of panics of this type: * [...] read more
macos
mac
kernel-panic
5votes
2answers

I get "Not enough storage is available to process this command" whenever I install a driver

If I try to install any driver(I tried Vmware, Virtualbox and my webcam driver) I get the error > Not enough storage is available to process this command [https://i.imgur.com/BNResXc.png] I tried increasing the IRPStackize as specified here, however that KB is about transferring files from a server to client and [...] read more
windows-7
drivers
vmware
5votes
1answer

"Anomaly" in signed integer in C

I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
c
optimization
integer
arm
bit-manipulation
4votes
1answer

Why is there a memory space between my function local variables in the stack?

I have a C program compiled with gcc on Ubuntu x86. This is a function I am calling from main void addme() { long a = 5; char c = '3'; long array[3]; array[0] = 2; array[1] = 4; array[2] = 8; } If I break at last line, and [...] read more
c++
c
x86
gdb
3votes
2answers

Why might a Macbook Pro be freezing on resume from sleep?

My Macbook Pro (17" 2.2 Ghz Intel Core 2 Duo, OS X 10.4.11) often locks up when it resumes from sleep. I usually know I'm in trouble when the display brightness doesn't adjust right away. Then it runs for a few seconds until it stops responding again. The pointer works, [...] read more
macos
macbook
sleep
freeze
3votes
2answers

PHP x86 Memory Limit

I have a file that I need to base64 encode that is 418 MB but I keep getting memory limit errors. I've set the memory_limit=2048M in my php.ini but I still cannot read it into memory as a base64 string with an x86 CLI version of PHP. The PHP Script [...] read more
php
memory
x86
64-bit
2votes
1answer

Powershell: set Registrykey owner to SYSTEM user

I have to add an exclusions path to Windows Defender registry key. I am aware that there are Cmdlets provided from Windows Defender to use them directly for these kinds of purposes. But unfortunately, in Windows 7 and Powershell v2, they are not available. So I am trying to build [...] read more
powershell
access-control-list
windows-registry
2votes
0answers

VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command

I keep getting the following error in my PHP error text for Xampp on Windows 10. Using WordPress as the CMS. Feeling like I have tried everything but hoping there is at least one person here that can solve it. I have tried changing the INI and Conf setting. Changing [...] read more
windows
php
web-hosting
xampp
virtual-memory
2votes
3answers

sudo very slow after winbind to AD on RHEL6

When I run a sudo command after binding my linux machine to an AD domain using samba/winbind, it takes anywhere between 10 seconds and 2 minutes to respond before prompting for my password. I've checked my /etc/resolv.conf and DNS seems to be set up properly. Commands like dig run without [...] read more
linux
samba
2votes
1answer

QEMU registers and eip are destroyed after moving 0x18 in ds

Im currently learning to build my own bootloader. I was able to setup a gdt and get into protected mode. But when i tried to move 0x18 (third segment in gdt) into ds most of my registers are destroyed and eip gets something random Code that causes error: (im already [...] read more
assembly
x86
qemu
bootloader
protected-mode
2votes
2answers

Why static final int is used in android standard classes avoiding enum?

In standart android classes static final int vars is used to represent different flags. For example, View visability flags: /** @hide */ @IntDef({VISIBLE, INVISIBLE, GONE}) @Retention(RetentionPolicy.SOURCE) public @interface Visibility {} /** * This view is visible. * Use with {@link #setVisibility} and <a href="#attr_android:visibility">{@code * android:visibility}. */ public static final [...] read more
java
android
enums
2votes
2answers

Strange AV while loading an icon from the resource stream

I'm adding icons to my project via Resources and Images dialog, and decided to walk away from TIcon.LoadFromResourceName because it does not perform any error checking. I wrote seemingly equivalent code but does not work as expected. Here is a testcase which fails for me: procedure TForm1.FormCreate(Sender: TObject); const ResName [...] read more
delphi
resources
icons
delphi-xe2
2votes
3answers

Android Getting a int from a edit text?

I am trying to get an int from an edit text set to inputType="number" and then out put it ( i will do something with it later) i cant do it, this is the code i have which i have been told to try but it dose not work Button [...] read more
java
android
string
android-edittext
int
2votes
1answer

Alternative to dynamic creation of variable names

I have a header file (not written by me, which I cannot change) which contains definitions in the following format: #define SPC_TMASK0_NONE 0x00000000 #define SPC_TMASK0_CH0 0x00000001 #define SPC_TMASK0_CH1 0x00000002 #define SPC_TMASK0_CH2 0x00000004 #define SPC_TMASK0_CH3 0x00000008 #define SPC_TMASK0_CH4 0x00000010 #define SPC_TMASK0_CH5 0x00000020 #define SPC_TMASK0_CH6 0x00000040 #define SPC_TMASK0_CH7 0x00000080 #define SPC_TMASK0_CH8 0x00000100 [...] read more
c++
2votes
1answer

c# Windows Shutdown process weirdness

I need help on an issue which is kind of simple but weird. The problem is with the shutdown and restart windows from my app. I know its simple and there are many examples online, but here's the deal. The shutdown/restart performed by these methods like process.start() or win api [...] read more
c#
wpf
windows
wcf
2votes
2answers

Segmentation fault in pthread_cond_signal()

First let me provide some background. There are two threads in the production code and synchronization is done via wait and signal. Basic Structure of the code given below. main.c create the thread. main.c also calls funca() which signals the other thread. The mutex and condition variable is declared and [...] read more
c
linux
pthreads
1vote
2answers

What's the cause of these crashing imapd processes?

We have a Mac OS X 10.5 Leopard Server mail server that recently started getting issues with IMAP mailboxes having "invalid format[s]" this weekend. It turned out that there were some bad block counts on the volume housing IMAP data and the issue has not resurfaced after repairing the volume [...] read more
mac-osx-server
imap
cyrus
1vote
0answers

What TweakNT actually do in the registry?

I want to know what does TweakNT actually do to the registry in the "remove timebomb" operation, so I use regshot to capture the changes as following: *---------------------------------- KEYS ADDED: 57 HKLM\SYSTEM\WPA\MediaCenter HKLM\SYSTEM\WPA\TabletPC HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32 HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedMRU HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU* HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSaveMRU\reg HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.avi HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.avi\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.bmp HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.bmp\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.css HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.css\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.dib HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.dib\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.emf HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.emf\OpenWithProgids HKU\S-1-5-21-2000478354-839522115-854245398-500\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts.gif [...] read more
windows-xp
windows-registry
1vote
1answer

Why wireless adatper stop to work?

today I correctly installed the driver for the TP-LINK TL-WN725N USB wireless adapter on my RaspBerry Pi (I use RaspBian that is a Debian), then I setted up the wifi using the wpa-supplicant as explained in this tutorial: http://www.maketecheasier.com/setup-wifi-on-raspberry-pi/ This worked fine untill this evening. Then suddenly it stopped to [...] read more
linux
networking
wireless-networking
debian
raspberry-pi
1vote
1answer

Macbook kernel panic, esp. during DLs, kernel_task causing page fault

I've owned a 2010 13" Macbook for a little over a year and throughout that time have often downloaded files from sites like MediaFire and RapidShare without any problems. However in the past few months, initiating downloads from these sites has triggered a seemingly increasing number of kernel panics. The [...] read more
macos
kernel-panic
1vote
4answers

Kernel Panic every time I open a print queue

Every time I open any printer queue I get a kernel panic and have to reboot. It's quite frustrating. I've tried removing/adding printers, clearing all caches with Onyx, repairing permissions, all manner of things to no avail. Any tips would be greatly appreciated! ==== CRASH REPORT ==== Interval Since Last [...] read more
macos
printing
osx-leopard
kernel-panic
1vote
1answer

how to authenticate to proxy with wininet.dll?

I have this code for connect a process to proxy, but it returns false: The code works if I do not enter username and password in SetConnectionProxy() and send only the two options PROXY flags and PROXY name. When I add the INTERNET_PER_CONN_OPTION set username and set password, it returns [...] read more
c#
proxy
wininet
1vote
0answers

WM_TOUCH event not received anymore after screen disconnection

I have a C# application handling touch by hooking to the Windows API message loop and listening to WM_TOUCH event. It work perfectly except when the screen is disconnected or switch off. Windows OS still has touch but the application don't receive touch event anymore. Here the code used. On [...] read more
c#
winapi
touch
setwindowshookex
1vote
1answer

How to get process's base address with MODULEENTRY32?

I'm looking to do something in this example: Python - How to get the start/base address of a process?. I'm having the same issue as the person in that topic, in that the pointers cheat engine provides is in reference to the base address of the process itself. I've looked [...] read more
python
memory-address
base
cheat-engine
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
2answers

Prevent WNetAddConnection2 class which allows prohibited user to access shared folder

I had developed C# windows application. OS is Windows 7 Requirement: is to access Network Shared Folder ‘Test’ using code with credentials using WNetAddConnection2 class. Restriction: is some users has access of this shared folder ‘Test’, but for other user,‘deny’ sharing permission is set. in code WNetAddConnection2 validates wrong username/password, [...] read more
c#
windows
networking
directory
shared
1vote
0answers

stderr changes behavior of python's Popen when closing the script

I was using this script on python2 to launch an application and then immediately exit the python script without waiting for the child process to end. This was my code: kwargs = {} if platform.system() == 'Windows': # from msdn [1] CREATE_NEW_PROCESS_GROUP = 0x00000200 # note: could get it from [...] read more
scripting
process
python-3.x
1vote
2answers

How to `SendKeys` to the last active input TextBox after clinking a button in winforms (C#)?

How to SendKeys to the last active input TextBox after clicking a button in winforms (C#)? I'm new to C# and I'm trying to create a winforms application with an on-screen keyboard and I have multiple textboxes. I have searched and tried the guides I found, here's sample that's working [...] read more
c#
winforms
keyboard
1vote
0answers

Created a SQL agent Job to run a package which uses FTP connection

I created a SQL agent Job to run a package which uses FTP connection. The package contains a script task to get run time variable values and create a new output file. package runs locally successfully, When I run through job it throws below error. > CORP\U4PWMCA1. Microsoft (R) SQL [...] read more
sql-server
ssis
runtime-error
script-task
sql-agent
1vote
1answer

Trouble Converting Smart Card Program to UWP

I'm working on converting what was originally a web forms .NET application to UWP. The application is for using company-issued badges to record meeting attendance instead of our current paper sign in sheets. The original program uses an Omnikey 5427 CK in keyboard wedge mode and has no problems. For [...] read more
uwp
raspberry-pi
smartcard
windows-10-iot-core
smartcard-reader
1vote
0answers

MIPS Assembly Calculating memory addresses

I am learning about assembly and am doing assembly computations, particularly with MIPS instructions to calculate the changed registers and memory addresses. The initial address states are here : $t0 = 0x0000000B, $t1 = 0xFFFFFFFF, $t2 = 0xABABABAC This is the code we have to use to calculate: addi $t4, [...] read more
assembly
memory
mips
computation
1vote
1answer

Problem compiling IDL created with OleView

To correct a problem with the name of the value for the enum, after searching, that I need to modify the TLB file of my DLL. The first step that I need to do is to create the IDL file. So I use Oleview to create the file. Before doing [...] read more
idl
typelib
midl
oleview
1vote
1answer

Fatal error: Out of memory when executing composer require cboden/ratchet on symfony project

When installing the package Ratchet, I end up getting an our of memory error. This apparently becomes an issue when lots of packages are installed, however I only have a few libraries installed on my project (like jquery, bootstrap and jqueryui). Also I do not understand the previous messages(VirtualFree(): Attempt [...] read more
php
symfony
composer-php
ratchet
1vote
2answers

Check if another process has admin privileges

I have wrote a code to check is a process running on the same machine has administrator privileges or not. But it always returns false. Can you tell me what's wrong with it. private static bool HasAdminPrivileges(int processId) { var hProcess = WinApi.OpenProcess(ProcessAccessFlags.QueryInformation, false, processId); var opened = WinApi.OpenProcessToken(hProcess, WinApi.TOKEN_QUERY, [...] read more
windows
winapi
process
system32
advapi32
1vote
0answers

How to delete source cache of dev_appserver?

I'm using sftp code from github.com/pkg/sftp as a starting point to make google app engine an sftp server where the server side files are actually gcs. dev_appserver is complaining about syscall in attrs.go so I commented out all the uses of syscall and deleted the import. Somehow dev_appserver is still [...] read more
google-app-engine
go
system-calls
1vote
0answers

How to install WCF class library project as a windows service programmatically in C#

Trying to create the windows service programmatically. Found out the reference from stackoverflow to do it. However the parameter filename in InstallAndStart method expects a .exe In my case, my WCF project which i want to host as windows service is a Service library project. Hence the output is in [...] read more
c#
wcf
windows-services
1vote
2answers

MIPS Address out of range (MARS)

I'm trying to write a simple code which save string and integer input into an array and then prints them (i will also later add another part which sorts them,but i have to get this to work first). .data array: .space 40 #10 elements array in_name: .asciiz "\nInsert name: " [...] read more
assembly
mips
mars-simulator
1vote
0answers

JNA can not pass Integer as Enum in method

I have an method here HRESULT GetImage( SIZE size, SIIGBF flags, HBITMAP *phbm ); which takes SIIGBF as an parameter. SIIGBF is an enum you can see here. As described in this post I create the enum like this: public static interface SIIGBF { public static final int SIIGBF_RESIZETOFIT = [...] read more
java
c
enums
jna
1vote
0answers

How to calculate and SHOW value of #define macro VStudio

I know how to show expanded macro in C. However, I am interested in how to show a calculated value of a macro. Precompiler definitely calculates macro values in order to do #if(a>b) statement: #define STRINGIFY(s) XSTRINGIFY(s) #define XSTRINGIFY(s) #s #define ONE_BYTE_Tx_Time 11 #define NUM_OF_BYTES 16 #define BUSY_TIME 132 #define [...] read more
macros
precompiler
1vote
1answer

Trouble implementing code example using PInvoke Declarations

I am referencing the following thread here for my question: Get ToolTip Text from Icon in System Tray I basically want to do the same thing as the OP, but unlike some other users who responded to this thread, I am having trouble getting the code to work after adding [...] read more
c#
tooltip
pinvoke
tray
1vote
2answers

How to disable 'interrupt watchdog' in ESP32 OR increase ISR time limit?

I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding. I am facing an issue right now that the module uses hardware interrupt for playing [...] read more
arduino
arduino-ide
adafruit
esp32
1vote
1answer

How to debug LoadLibraryEx when used from C#

I am trying to load a win32 dll in C# using the LoadLibraryEx. It is not working - I get a message stating in visual studio "vshost32.exe has stopped working". No exceptions or any clue as to why it doesn't work. I don't believe it is a dependency problem because [...] read more
c#
pinvoke
loadlibrary
1vote
0answers

RestoreFile Call (File Management API - fmapi.dll) Returns Invalid Handle

Background: I'm trying to write a C++ application that can scan for and attempt to restore deleted files from a WinPE environment, mostly as a learning exercise. This app utilizes the FMAPI library (fmapi.dll), which is a scarcely-documented library that only works in a WinPE environment (does not work in [...] read more
c++
1vote
0answers

Why does updating a Keychain item password cause a re-prompt for app access?

I am storing a generic password using the macOS Keychain Services. This password should be usable without prompting by an Apple app already on the system. I initially create it using code something like this: itemName="Some Item" appPath="/Applications/Some Apple.app" security add-generic-password -a "$username" -s "$itemName" -w "$password" -T "$appPath" "$keychain" [...] read more
macos
security
keychain
1vote
0answers

How i change console application project to windows form app. project

I made a console application project for my project but its console application so how I change it to Form application... can anyone help me to change this console application to Windows form application. Who know change console application codes to form application codes. Please help me.. i want put [...] read more
c#
process
console
mutex
pid
1vote
0answers

Apache/PHP/Win memory issues, two different systems + code. Same issue

I've been battling this problem for months now. I have two different systems each with different setups and PHP code but both have exactly the same problem. My server will throw a 500 error and the logs will be filled with memory allocation issues until a restart of Apache. System [...] read more
php
laravel
apache
1vote
0answers

studio.exe of Android studio does not open, Windows 10 32-Bit

I want to install Android Studio on my 32-Bit Computer running Windows 10, but studio.exe in the bin folder won't open. I've set both system variables JAVA_HOME and JDK_HOME to C:\Program Files\Java\jdk1.8.0_172\ and set PATH to C:\Program Files\Java\jdk1.8.0_172\bin\. I've also tried to run it as an administrator. I receive the [...] read more
java
android-studio
installation
0votes
3answers

sp_msforeachdb does not list all databases on a SQL Server instance

I'm using sp_msforeachdb to list all databases on my server. I know it is unsupported, but I wonder why it does not list all the databases I have installed. This is how I run it: set run="C:\Program Files\Microsoft SQL Server\100\Tools\Binn\SQLCMD.EXE" -S .\SQL2008 -E -h -1 -Q %run% "exec sp_msforeachdb 'select [...] read more
windows-server-2008
sql-server
sql-server-2008
database
0votes
3answers

BSOD while uninstalling software and while trying to reinstall OS

I got BSOD while attempting to uninstall a program in Win XP, so I tried to reinstall the OS (because the guy who gave me the pc wants a clean-up) but a STOP 0x0000007F (0x00000008, 0x80042000, 0x00000000, 0x00000000) occurs. I tried then to boot Kubuntu 9.04 live cd, and it [...] read more
windows
linux
windows-xp
bsod
0votes
1answer

STM32F4 (Nucleo) SPI line doesn't transmit

I can't seem to get my SPI line to work. It doesn't want to transmit at all although it does generate a clock signal on sck pin. The Clock signal has a frequency of 62 kHz, the MOSI and MISO pins remain high indefinitely. I've built the code according to [...] read more
arm
nucleo
coocox
0votes
3answers

HAL drivers erase/read/write flash on STM32F4 nucleo

uint32_t PAGEError = 0; FLASH_EraseInitTypeDef EraseInitStruct; EraseInitStruct.TypeErase = FLASH_TYPEERASE_SECTORS ; EraseInitStruct.Sector = FLASH_SECTOR_0; EraseInitStruct.VoltageRange = FLASH_VOLTAGE_RANGE_3; HAL_FLASH_Unlock(); __HAL_FLASH_CLEAR_FLAG(FLASH_FLAG_EOP | FLASH_FLAG_OPERR | FLASH_FLAG_WRPERR | FLASH_FLAG_PGAERR | FLASH_FLAG_PGPERR | FLASH_FLAG_PGSERR); HAL_FLASHEx_Erase(&EraseInitStruct, &PAGEError); HAL_FLASH_Program(FLASH_TYPEPROGRAM_WORD, 0x08000000, counter) HAL_FLASH_Lock(); counter2 = *(__IO uint32_t *)0x08000000; counter3 = *(__IO uint32_t *)0x08000001; counter4 = *(__IO uint32_t *)0x08000002; sprintf(buf, [...] read more
c
stm32f4
0votes
0answers

Python PIP failing to work in a background subprocess

I am trying to create a script to install an embedded version of python and I am using get-pip.py to add PIP to it. I have tried to execute this script in a background subprocess by creationflags=0x00000008 and it fails with an exit code of 1. I can get it [...] read more
python
pip
0votes
0answers

Java program is only working sometimes, crashes on opening, Failed to write coredumps, Works on android

After moving to a new computer, my LIBGdx software will not execute everytime. It will occasionally, but almost everytime, I get a "Failed to write core dumps" error. I dealt with this on my last computer by enabling them in the advanced system settings, but that doesnt work here. I [...] read more
java
android
android-studio
minidump
0votes
0answers

PorterDuffColorFilter : set Transparent Color

I'm trying to create a mask of bitmap code below work for all colors Hex format I put, expect the transparent. For example changeBitmapColor(bitmap,0x00000008), The mask becomes invisible due to color, when I change the color to (for example 0xFFFF03FF), the mask appears private Bitmap changeBitmapColor(Bitmap sourceBitmap, int color) { [...] read more
java
android
colors
bitmap
porter-duff
0votes
1answer

os.read on inotify file descriptor: reading 32 bytes works but 31 raises an exception

I'm writing a program that should respond to file changes using inotify. The below skeleton program works as I expect... # test.py import asyncio import ctypes import os IN_CLOSE_WRITE = 0x00000008 async def main(loop): libc = ctypes.cdll.LoadLibrary('libc.so.6') fd = libc.inotify_init() os.mkdir('directory-to-watch') wd = libc.inotify_add_watch(fd, 'directory-to-watch'.encode('utf-8'), IN_CLOSE_WRITE) loop.add_reader(fd, handle, fd) with [...] read more
linux
python-3.x
ctypes
python-asyncio
inotify
0votes
1answer

Unhandled exception in c++ program for doubly linked list

I wrote a program for doubly linked list in visual studio 2013, and it threw unhandled exception error at the line marked with comment: - linked_list_double.h: - #pragma once #include<iostream> template <typename T> struct Node { T data; Node *next, *prev; }; template <typename T> class doubleLinkedList { private: Node<T> [...] read more
c++
visual-studio
data-structures
linked-list
0votes
2answers

JVM crash :- Problematic frame: # V [libjvm.so+0x546720]

Production server has gone down and the preliminary analysis find that it has encountered a JVM crash. The jboss server log and GC log seems to be ok. And the jvm error log mention the “Problematic frame: # V [libjvm.so+0x546720]”. Configuration details:- The server is 64 bit machine having 32 [...] read more
jboss
0votes
0answers

Arduino Yun Mini Bricked linux (kernel panic) SQUASHFS ERROR, Reflashing with serial YMODEM or Kermit, O WIFI, SD card, Eth, or USB

INTRODUCTION I am actually newbie to this advanced perspective of linux routers based systems as openWRT and i faced a problem with my Arduino Yun Mini board which found to be operated with this firmware for linux interfacing and WiFi module, So: THE PROBLEM: i tried to upgrade the system [...] read more
arduino
openwrt
u-boot
squashfs
kermit
0votes
0answers

Can I access a shared folder with a different user configured in IIS?

I have a problem accessing a shared folder with a webservice. In IIS I have configured a user like "IIS_USER", but he can not see the shared folder because it can only be seen by accounts in our domain. I need to request that file with another user like (domain\user)+pwd [...] read more
asp.net
windows
web-services
shared-directory
0votes
0answers

unhandled level 2 translation fault in h3ulcb running poky 2.1.3 while running cross-compiled cpp binary

yocto build 2.23 was succesfull and booted my renesas h3ulcb , cross-compiled an opencv application (2.4.13.7) using the sdk on the build system and when trying to execute the cross-compiled binary on the renesas the following error occurs. However there are no errors while cross-compilation and application is running fine [...] read more
opencv
cross-compiling
yocto
arm64
renesas-rx
0votes
1answer

Use DLL in PowerShell

I'm trying to use a function from a DLL in PowerShell. I currently have the code below, though it leads to a crash when calling the function. I'm fairly new at this, so any help is appreciated. The purpose of the code is to use EloGetDiagnosticsData() in PowerShell to return [...] read more
c#
powershell
escaping
pinvoke
0votes
0answers

Defining two different callbacks for BLE on ESP32

I'm developing a joint work Android app/ESP32 application to communicate via BLE. The goal is to be able to advertise, and to manage connections to exchange specific data for each android phone. On my ESP32, I want to be able to have a callback for GATT characteristic, and another one [...] read more
android
bluetooth-lowenergy
esp32
0votes
0answers

out of memory error when require-ing mercure

I'm trying to install mercure(https://symfony.com/doc/current/mercure.html). I am getting this error. This be the command I used: composer require symfony/mercure I even tried this: php -d memory_limit=-1 composer.phar require symfony/mercure and I still get the same error. The error message: $ composer require symfony/mercure PHP Warning: Module 'openssl' already loaded in [...] read more
php
symfony
composer-php
0votes
0answers

What does '.() at 0xdeadbeef' mean in a (core file) stacktrace generated by dbx on AIX?

I'm running some tests on AIX, and I'm getting a bunch of crashes similar to the following: build 25-May-2019 18:40:46 Segmentation fault in ThreadSafeSharedObject_cpp::ChangeRefCount(unsigned int&,int) at line 21 in file "" ($t8) build 25-May-2019 18:40:46 Thread $t1 build 25-May-2019 18:40:46 glinkl.pthread_mutex_unlock() at 0xd5d4baac build 25-May-2019 18:40:46 BlockingResponseQueue.Simba::Support::CriticalSection::Leave() const(0x2055a320), line 54 [...] read more
c++
multithreading
crash
aix
dbx
0votes
0answers

How to implement poll function into Linux kernel module?

I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
c
linux-kernel
linux-device-driver
polling
gpio
0votes
0answers

Window on top of everything like mouse cursor

I am programming a mouse cursor to be used in the operating system that has motion blur on Windows 10. I decided to use Unity3D for this because of Unity3D has very powerful in terms of effects and hardware rendering. I coded an overlay window to be rendered as top [...] read more
c#
windows
winforms
unity3d
0votes
1answer

How to use PathCreateFromUrlA API

I need to convert a uri path like file:///C:/test folder/file.text to windows style path C:/test folder/file.text. For that, I am trying to use PathCreatesFromUrlA API using the following code but I just don't understand how to set up the last two parameters to the API (marked as ??? in the [...] read more
c++
windows
visual-studio
uri
0votes
0answers

Why does my program always throw an access violation exception in mfc140d.dll?

The program crashes after 30-45 minutes of operation with the following message: Exception Thrown at 0xFCA6551 (mfc140d.dll) in WinPDM.exe: 0xC0000005: Access Violation reading location 0x00000008. The exception occurs when running in both debug mode and from a release build in Visual Studio 2017. The program suddenly shows errors in rendering [...] read more
visual-studio
visual-c++
mfc
0votes
1answer

python subprocess waiting for grandchild on Windows with stdout set

I have a script that is part of an automated test suite. It runs very slowly on Windows but not on Linux and I have found out why. The process that we are testing ('frank') creates a child process (so a grandchild). The python code won't return until that grandchild [...] read more
python
windows
subprocess
pipe
stdout
0votes
0answers

Testing chained compute shader dispatches on Microsoft Basic Render Driver: Why might a UAV mutate between dispatches?

As per the title, I have a few different compute shaders (pipeline state objects) that I'm dispatching to (i.e. dispatch to shader0, shader0 does stuff to the uav, dispatch to shader1, shader1 does more stuff to the uav, etc.). I'm testing this using both DX11 and DX12. Running the shaders [...] read more
c++
compute-shader
directx-12
0votes
1answer

Python run process as .exe with out opening any console windows

Recently, I tried making a new Key logger and I used this piece of code to run it as background process: DETACHED_PROCESS = 0x00000008 pid = subprocess.Popen([sys.executable, "KeyLogger.py"], creationflags=DETACHED_PROCESS).pid My code works properly when I run this as a python file, but when I convert it to a .exe file [...] read more
python
python-3.x
subprocess
pyinstaller
keylogger
0votes
2answers

Program at any address in ARM cortex M3 assembler

Does anyone know how to put a program in an ARM assembler at an arbitrary address in memory? By default, the program is located starting from the address 0x00000008, but it is necessary that it be located, for example, at the address 0x20002000. I tried to use DCD 0x20002000, but [...] read more
assembly
arm
cortex-m3
0votes
2answers

Unhandled exception at 0x523d14cf (msvcr100d.dll)?

> Unhandled exception at 0x523d14cf (msvcr100d.dll) in IntellitracTCPIP.exe: 0xC0000005: Access violation reading location 0x00000008. what can cause this error? and how to solve it read more
c++
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
0votes
0answers

error memory A/libc: Fatal signal 11 (SIGSEGV) at 0x00000008 (code=1), thread 22151 (WebViewCoreThre)

i use webview in my application and i want to transfer input type file so when i click on this file within webview i chose image in sdcard so i want to transfer this image to base64 using javascript to take this file base64 and work on it in my [...] read more
javascript
java
android
android-studio
webview
0votes
1answer

Sending a byte stream from a java program to a device running C

I am working with a device that supports little endian byte order. How do I do this in Java? I have created a byte stream from the hex data and wrote it to the socket output stream. I am supposed to send data in the following format. > Protocol-Version: 0x0001 [...] read more
java
endianness
0votes
0answers

NASM assembly modification guidance

I am trying to figure out how to modify the following code and need to also modify the code. I am unsure how to do, as we have not covered this topic in my classes. I could really use some explanation on how to modify the code to meet the [...] read more
assembly
x86
nasm
0votes
0answers

0xc00000005: Access violation reading location 0x00000008

I tried to push_back class to a vector trps which store all the troops in function level::Init() but it crashed and reported this. > Access violation reading location 0x00000008. I just cant figure it out. level.h #pragma once #include <fstream> #include <vector> #include "troops.h" using namespace std; class level { [...] read more
pointers
vector
0votes
1answer

Perform OR operation to all elements in array

I want to extend Arrays of Enums: Numeric with a function OR() that ORs all element in the array. This is what I came up: extension Array where Element: RawRepresentable, Element.RawValue: Numeric { func OR(_: Array) -> Element.RawValue { return self.map{ $0.rawValue }.reduce(0x00000000){ $0|$1 } } } and this is [...] read more
swift
0votes
2answers

Segmentation fault (core dumped) while creeating and inseting information to a Tiff file

I am trying to create a (640*360) gray Tiff image but at some point a pointer is heading to an incorrect location, perhaps someone can tell me what is wrong with my code. The image is created at the end of the execution, but is 0 KB and is corrupted. [...] read more
c++
tiff
0votes
1answer

GetLogicalProcessorInformationEx SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX array size

related to:Confusing ReturnLength from Windows GetLogicalProcessorInformationEx function I have read the documentation for GetLogicalProcessorInformationEx. It states > Buffer [out, optional] A pointer to a buffer that receives an array of SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX structures. If the function fails, the contents of this buffer are undefined. Nowhere is the number of elements defined. [...] read more
c++
windows
0votes
0answers

Android app sporadically crashes when trying to finish app

I got a problem on my android app. The app synchronously sends data via Bluetooth to an another device every 20ms. The app is using a handler to be synchronous. If I try to close the app, it sporadically crashes down without a specific error message. It happens more often [...] read more
android
crash
handler
logcat
android-handler
0votes
0answers

Unmanaged memory issue causing by Authz.dll

I have situation where I need to traverse filesystem and calculate effective permission of users on files and directories and for that I'm using code the shown below. The issue is this code is creating managed memory up to 2 GB in my case. I've tried every possible thing to [...] read more
c#
dllimport
authz
0votes
0answers

Error running my program in libGDX Minidumps are not enabled

i am coding a game using libGDX from Java. Everything was working fine until now, the problem is when i am adding figures in my game. My game does not run in the IDE when i put five new materials (figures) on it. But when i add just four materiales, [...] read more
java
eclipse
libgdx
sprite
0votes
2answers

command "php composer.phar require doctrine/doctrine-fixtures-bundle " show this error: VirtualAlloc() failed: [0x00000008]

Composer worked find yesterday, but today after I trying install: composer require doctrine/doctrine-fixtures-bundle While run composer update command it show me error: VirtualAlloc() failed: [0x00000008] Espace insuffisant pour traiter cette commande. VirtualAlloc() failed: [0x00000008] Espace insuffisant pour traiter cette commande. PHP Fatal error: Out of memory (allocated 847249408) (tried to [...] read more
php
symfony
composer-php
symfony-2.8
0votes
1answer

Writing to socket fails with the addition of any single line of code to c program

I'm writing a c program designed to transfer data over a socket to python client. I've encountered a really strange issue where writing to the created socket stops working with the addition of virtually any line of code after a certain point in the program. To expand on the issue: [...] read more
c
sockets
memory
embedded
0votes
0answers

MIPS address out of range 0x00000008, problems durig loading double from $sp

I have to write a program that will calculate factorial of doubles in MIPS. Here is my attempt, but I got out of range error and I do not know how to deal with it The exercise description [https://i.stack.imgur.com/yD6dD.png] .data x: .double 2.1 theAnswer: .double 0.0 one: .double 1.0 .text [...] read more
mips
precision
factorial
outofrangeexception
0votes
2answers

DS-5 eclipse debug stuck at waitForTargetToStop

First I follow the DS-5 start demo and can debug my code correctly on the ARM FVP -> VE_Coretex_A9x1. Then I follow the link to enable NEON and it needs to set CPU target in the build, the axf file has been built correctly but the debugger stops to work. [...] read more
eclipse
arm
ds-5
0votes
0answers

JRE fatal error - EXCEPTION_ACCESS_VIOLATION

I am executing a java application using Eclipse on Win7 and the following error occurs (I have also reported error report file): # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000000, pid=5020, tid=0x00001788 # # JRE version: Java(TM) SE Runtime [...] read more
java
fatal-error
0votes
2answers

Why does LoadLibrary fail while DllImportAttribute works?

I'm creating a .NET application for a client that performs I/O with one of their third-party systems. As they regularly change the password of this system, I should retrieve it dynamically by calling a native DLL that they provide in a dedicated directory (not besides my EXE file). However, I [...] read more
c#
.net
dll
interop
pinvoke
0votes
0answers

Determining the first memory address

I'm working on a project to extract a key from memory. So i want to know the first memory address. For that i have samsung galaxy S7 with ARM processor ARMv8-A.I have taken a look at its kernel and i found following: #include "exynos8890.dtsi" { memory@80000000 { device_type = "memory"; [...] read more
linux
linux-kernel
armv8
0votes
1answer

How are pointers resolved across heaps in C++

I am basically calling a C++ DLL using LoadLibrary() in my C++ application. The application causes random 0xc0000005 (Access violation) Errors. I have done a lot of study on DLL's having their own heaps and their problems. Things I've made sure to do so far: > In the DLL : [...] read more
c++
memory
dll
0votes
1answer

Access is denied from WinAPI OpenProcess

So I decided I want to inject a DLL into a notepad process for educational purposes. IntPtr hProcess = OpenProcess(ProcessAccessFlags.VirtualMemoryWrite | ProcessAccessFlags.VirtualMemoryWrite | ProcessAccessFlags.VirtualMemoryOperation, false, process.Id); _log.Info({0}, new Win32Exception(Marshal.GetLastWin32Error()).Message); This seems to fail with "Access is denied". The strange thing is that hProcess is not IntPtr.Zero and it looks like [...] read more
c#
winapi
pinvoke
0votes
1answer

Composer update show this error: VirtualAlloc() failed: [0x00000008]

Composer worked find yesterday, but today after I trying install: composer require --prefer-dist "himiklab/yii2-recaptcha-widget" "*" While run composer update command it show me error: VirtualAlloc() failed: [0x00000008] VirtualAlloc() failed: [0x00000008] PHP Fatal error: Out of memory (allocated 956301312) (tried to allocate 201326600 bytes) in phar://C:/ProgramData/ComposerSetup/bin/composer.phar/src/Composer/DependencyResolver/RuleSet.php on line 84 Fatal error: [...] read more
composer-php
0votes
2answers

How to use a python script to host and then visit a server without waiting for return

I'm writing a script that creates an html file, and then will need to host it, visit the local host, and take a screenshot. I can get it to do all of those things, but the only problem is that it won't try to take the screenshot until it gets [...] read more
python
server
async-await
python-asyncio
0votes
0answers

VirtualAlloc() failed: [0x00000008] give error in my windows server 2008 R2 and stop my Apache for high request

I am using Xampp and Apache in my Windows Server 2008 R2. In normal visitor, my CakePHP 3.5 working perfectly but when real time request increase more then 150, my apache stopped unexpectedly. Here is my error.log report VirtualAlloc() failed: [0x00000008] Not enough storage is available to process this command. [...] read more
apache
xampp
windows-server-2008-r2
0votes
1answer

How to use IUpdate5 from wuapi.h

I want to use IUpdate5 interface but I could not find anyway to instantiate it. I am currently using IUpdate, it works flawlessly, but how can I use versioned versions of those interfaces such as IUpdateSession3, IUpdateSearcher3, IUpdate4, IUpdate5 etc. I tried direct cast from IUpdate* to IUpdate5* but i [...] read more
c++
wuapi
0votes
1answer

Why is the process I am writing the memory to crash?

So I recently stumbled onto a blog that described how to run your WinForms application from another process. I instantly thought this was something really cool an unique and wanted to test it out myself. While there was no code it explained how to do so and this is what [...] read more
c#
.net
process
0votes
3answers

How Linkers Resolve Global Symbols with the same name Defined at Multiple Places

i am new in programming and i started with c . i am learning in the point How Linkers Resolve Global Symbols Defined at Multiple Places. so i made a small program which says: //main.c #include <stdio.h> void b(void); int x; int a=10; int y =500; int x1 = 2016; [...] read more
c
0votes
1answer

Python Send SIGINT Signal Subprocess On Windows

I have readed so many questions on stackoverflow but they are too old and not helpful for me. I have a subprocess and want to send CTRL_C_EVENT Signal to stop it. I don't want to kill it directly. Here is my code : import subprocess import os import signal CREATE_NO_WINDOW [...] read more
python
python-3.x
subprocess
sigint
0votes
1answer

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

How to get total amount value from sqlite database

I am trying to create an application for the billing system. The values are inserted into the database and retrieved successfully. Also, I need the total amount from the database. database helper class public Cursor gettotal() { SQLiteDatabase database = this.getReadableDatabase(); Cursor cursor =database.rawQuery("select * from '"+PRODUCTS+"' ;", null); Log.d(TAG, [...] read more
java
android
sqlite
android-sqlite
-1votes
1answer

Signature is not Interop compatible - calling c methods from c#

Im trying to make use of interop functionality to use create a .net wrapper for the c written pigpio library. However i seem to be stuck with the following error: "Cannot marshal 'parameter #2': Signature is not Interop compatible". The C method has the following signature: int gpioWaveAddGeneric(unsigned numPulses, gpioPulse_t [...] read more
c#
c
interop
marshalling
-2votes
1answer

How to get effective permission for the file or folder in c# or C++???any API's for that?

My code its working but i need the simplified code and is's not working for Authenticated Users group.Any other ways to calculate effective permissions?? Is there api in .net for getting effective folder permissions for user? I know how get permissions by using DirectorySecurity.GetAccessRules(). But in this case I should [...] read more
c#
c++
asp.net
-4votes
1answer

c# an object reference is required for the non static field in main

when attempting to debug this, even after asking help from friends and of course google, i cant seem to debug this stupid simple problem. namespace BO2_Console { class Program { #region Mem Functions & Defines [Flags] public enum ProcessAccessFlags : uint { All = 0x001F0FFF, Terminate = 0x00000001, CreateThread = [...] 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