# Windows error 0x00000005, 5

## Detailed Error Information

### ACCESS_DENIED[1]

Message Access is denied. winerror.h

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

### INVALID_PROCESS_ATTACH_ATTEMPT[2]

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

### 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.
Flags SuccessThis 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. false Microsoft false false 0 (0x000) FACILITY_NULL[3][1] The default facility code.[3][1] 5 (0x0005)

## Questions

### 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

### ERROR No package identifier when getting value for resource number

Both activities are in the same package Second activity uses second layout file setContentView(R.layout.main2); Errors on this line in the Second_Activity. EditText text1 = (EditText) findViewById(R.id.EditText03); Here is the layout file for the Second_Activity. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" > <LinearLayout android:id="@+id/LinearLayout01" android:layout_width="wrap_content" android:layout_height="wrap_content" > <TextView android:id="@+id/TextView01" [...] read more
android
android-layout
android-resources

### Metro apps crash on startup, driver or permissions issue?

After installing Win8 x64 RC, Metro apps worked correctly, but desktop OpenGL apps were slow and unresponsive. I installed the latest Win8 nVidia drivers, and the OpenGL apps started working correctly. At the same time, because of annoying permission messages, I changed the C:\ drive and all its files ownerships [...] read more
windows
crash
windows-8-preview
modern-ui

### Error occurred while opening logfile C:\Windows\system32\LogFiles\Sum\Api.log

I need to restart the MS SQL server service every morning because my web client site can not connect. However, when I start my services it works. I don't know what is causing the problem. I found this in my error log. sqlservr (4052) An attempt to open the file [...] read more
sql-server
visual-studio-2012
window

### Robocopy permission denied

Robocopy is preinstalled with Windows 7. I've used it many times in the past. I tried to copy a folder to a remote share with robocopy c:\source "\\server\share\path" /s /r:2 /w:2 As a result I get permission denied. Using explorer I can copy files to this share. I've opened a [...] read more
windows-7
networking
troubleshooting
file-management
robocopy

### What is SRUJet?

I see in Event log many error entries : > svchost (1500) SRUJet: An attempt to open the file > "C:\Windows\system32\SRU\SRUDB.dat" for read / write access failed with system > error 5 (0x00000005): "Access is denied. ". The open file operation will fail > with error -1032 (0xfffffbf8). The key [...] read more
windows
windows-8
event-log
error-logging

### Why do I get the Debug exception reason: Stack canary watchpoint triggered (main)?

I'm writing a program for esp32-wroom-32 using esp-idf-v3.0. I'm trying to add logs, which will be saved in fatfs. After some logs I get: 21:54:21.306 -> Debug exception reason: Stack canary watchpoint triggered (main) 21:54:21.306 -> Register dump: 21:54:21.306 -> PC : 0x40089827 PS : 0x00060b36 A0 : 0x40082179 A1 [...] read more
esp32
esp-idf

### Issue connecting windows 7 slave to debian master on jenkins

I am trying to connect a windows slave to a linux master on jenkins and I always see the error below. I have tried everything that the link below mentions but I still see the same error. > ERROR: Access is denied. See http://wiki.jenkins-ci.org/display/JENKINS/Windows+slaves+fail+to+start+via+DCOM for more information about how to [...] read more
java
selenium
jenkins
webdriver
debian

batch-file
cmd
robocopy
sccm

### Handling a VB6 event in C# - why does it only work sometimes?

I have a VB6 application implemented as an ActiveX exe. I also have a C# application that interacts with the VB6 app via COM. This all works fine except in one scenario. If the VB6 app is kicked off from the C# app, everything is fine. If, however, the VB6 [...] read more
c#
vb6
interop
event-handling
events

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

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

### jInterop - Access is denied [0x00000005]

We have an application with a java component and a com component, the communication between which is facilitated through j-Interop. We have been using this for almost 3 years with no major issues, but only recently we have observed that our java components fails while it tries to commumnicate with [...] read more
java
com-interop

### Control AMIS-30543 with STM32F030R8 via SPI

I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm unsure where the error(s) are hiding. [...] read more
c
embedded
stm32
bare-metal
cmsis

I have a powershell script to copy files from one computer to another UNC, using robocopy. Recently, it was run with a new user account, and got an Access Denied on the target. The retry limit was set to 10, so it failed out at that point. The problem is [...] read more
powershell
robocopy

### gcsfuse touch: cannot touch ‘test2/test.txt’: Input/output error

I am trying to mount a google bucket using gcsfuse. I am able to mount it but am getting an input/output error message when I try to use touch to test making files inside of it. The command below shows that there are no errors trying to connect to the [...] read more
gcsfuse

### Windows 10 Update to 1903 Error: 0x8007042B - 0x2000D

The update starts on the windows 10 machine but after the restart everything is rolled back. My setuperr.txt: 2019-07-16 16:38:55, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #10# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 974 ('\REGISTRY\MACHINE\SYSTEM\Setup'), vn = [l:7 ml:8]'Compact', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034] 2019-07-16 16:38:55, Error [...] read more
windows-10
windows-update

### If ESENT complains that it cannot create its logfile, is it avoidable?

In my installation of Windows 10 on a fairly new machine that shipped with it, I get a lot of errors in my eventvwr log, and some of them I feel are indicative of why my system hits 100% disk use for about 10 minutes at a time on boot. [...] read more
windows-10
event-log

### Trouble copying a folder from my computer to another network computer using ROBOCOPY

I am trying to write a batch file to copy all files and subfolders in a folder from my local machine to another machine on our network. I am trying to use the ROBOCOPY command and would like the command to either copy the files to an existing folder on [...] read more
networking
command-line
batch
1vote

### Hyper-V Core Server 2019 ignoring power plan thresholds

I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
hyper-v
ups
1vote

### Copying files from one machine to several others, all on the same small network

I'm looking to automate a copying job that I usually do manually. I've never worked with scripting, and I have little networking knowledge, so it's entirely possible that the answer is simpler than I realize, but I've had no luck so far. The Details I have several Windows 10 computers [...] read more
networking
permissions
robocopy
1vote

### Uncorrectable Machine Check Exception on HP DL360 G7

i have about every hour in IML (hplog) from HP DL360 G7 record: -------------------------------------------------------------------------------- CRITICAL: CPU - Uncorrectable Machine Check Exception (Board 0, Processor 1, APIC ID 0x00000003, Bank 0x00000005, Status 0xBE000000'00800400, Address 0x00003FFF'811239E0, Misc 0x00000000'00007FFF) -------------------------------------------------------------------------------- hpasmcli> show server System : ProLiant DL360 G7 ROM version : P68 09/30/2010 [...] read more
hardware
hp
hp-proliant
central-processing-unit
1vote

### Samba4 net join member fails

I'm trying to join a RHEL6 server using samba4 to a domain. Net ads join works correctly, join member does not however. Effectively wbinfo --getdcname does not work where as wbinfo --dsgetdcname does. If some light could be shed on the difference between these commands that would be very helpful. [...] read more
active-directory
samba
winbind
samba4
1vote

### Deploy Windows 7 to OpenStack - Windows Setup Error when instance boots

I created Windows 7 Pro 64 images and all are getting this error. I configured them to use virtio disk and network adapter using the 1-74 drivers. They work fine locally (kvm on ubuntu 13, qcow2 drive, virtio nic and disk), but when I upload them to my org's OpenStack [...] read more
windows-7
openstack
sysprep
1vote

### Why am I not receiving interrupts on Port Status Change Event with the Intel's xHC on QEMU?

I'm coding a small OS kernel which is supposed to have a driver for the Intel's xHC (extensible host controller). I got to a point where I can actually generate Port Status Change Events by resetting the root hub ports. I'm using QEMU for virtualization. I ask QEMU to emulate [...] read more
c++
x86
usb
osdev
hci
1vote

### xcode attach to debugger fails when attempting "Debug Selected View" from the editor menu

I am trying to debug Views with IBDesignables (I like using them for composed views, but without being able to debug, it's quite annoying to check for issues). There is an option on xcode's menu under editor -> Debug Selected View, but when I try to do that, the debugger [...] read more
ios
xcode
interface-builder
1vote

### RoboCopy giving error in universal file path

I am conducting some Arduino HID research. I was trying to set my Leo to open powershell and make a back up of all the .pdfs in my Documents folders to a flash drive by volume name. I want this to be portable to different machines. So a specified file [...] read more
windows
powershell
cmd
scripting
robocopy
1vote

### Get Device id using ipmitool failed

I'm executing below command for getting Device ID from BMC but I got error Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x1) ipmitool -I lanplus -H 192.168.0.147 -U root -P root raw 0x06 0x01 Unable to send RAW command (channel=0x0 netfn=0x6 lun=0x0 cmd=0x1) I have give verbose option to [...] read more
ipmitool
1vote

I am trying to get some automatic deployments up and running using TFS 15 (on-premise). I have a powershell script on the deployment target to call. The deployments starts fine by downloading the artifact. But when the agent runs the script it wants to create a folder C:\Windows\DtlDownloads (thats not [...] read more
tfs
ms-release-management
1vote

This is the code of node6. 0x00005555555558ab <+0>: endbr64 0x00005555555558af <+4>: push %r14 0x00005555555558b1 <+6>: push %r13 0x00005555555558b3 <+8>: push %r12 0x00005555555558b5 <+10>: push %rbp 0x00005555555558b6 <+11>: push %rbx 0x00005555555558b7 <+12>: sub $0x60,%rsp 0x00005555555558bb <+16>: mov %fs:0x28,%rax 0x00005555555558c4 <+25>: mov %rax,0x58(%rsp) 0x00005555555558c9 <+30>: xor %eax,%eax 0x00005555555558cb <+32>: mov %rsp,%r13 0x00005555555558ce [...] read more assembly x86-64 reverse-engineering 1vote 0answers ### Why does Bochs crash on simple mov instruction I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more assembly x86 qemu bootloader bochs 1vote 1answer ### How to correctly parse nested json with Python where several keys are equal I have a problem with flatten / json_normalize functions. There's a nested json with 6 "receipts" in it, but flattening this json gives me only 1 row with 1 receipt, which is also last, I need all 6 in my pandas dataframe. [ { "_index": "packets-2020-02-03", "_type": "receipts_file", "_score": null, [...] read more json python-3.x pandas normalization flatten 1vote 2answers ### How do I download a file using windows command line without having to input a proxy password? After looking at various stackoverflow questions, I found several ways to download a file from a command line without interaction from the user. The only one that worked for me also works only on Windows 10 natively : curl -sko %TEMP%\file.txt "https://some.hostname/file.txt" But installing an external tool like wget/curl is [...] read more windows powershell command-line http-proxy 1vote 1answer ### How to check if certain uint has 0x01000000 mask applied? I do some reverse engineering. There is an uint value indicating slot number where something is stored. But there is different types of storages. When something stored in different storage the value has 0x01000000 mask applied. And when it stored in one more storage the mask is 0x02000000. My function [...] read more c# bit-fields 1vote 2answers ### Android Studio problem ; java.lang.IllegalStateException: Could not execute method for android:onClick I am new in Android studio, I am creating an app and I can't get it to run properly. The purpose is When I press the button order, one of the textView's shows in text "5", by default is 0. This is the activitymain.xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" [...] read more java android 1vote 2answers ### Convert column values to float using a conversion function Given the following CSV +-------------------------------+-------------+--------------------+--------------+ | Timestamp | DoublePoint | HexPoint | BooleanPoint | +-------------------------------+-------------+--------------------+--------------+ | 07/23/2019 16:53:12.523-07:00 | 0.0 | 0x0000000000000001 | True | | 07/23/2019 16:53:14.519-07:00 | 0.0 | 0x0000000000000002 | False | | 07/23/2019 16:53:16.516-07:00 | 0.25 | 0x0000000000000003 | true | | 07/23/2019 16:53:18.513-07:00 | 0.25 [...] read more python python-3.x pandas csv 1vote 1answer ### pymqi on macos Library not loaded: @rpath/libmqic_r.dylib I'm trying to set up IBM MQ and pymqi on my macbook. MQ is done via docker, no issues there. I've installed the IBM MQ from https://developer.ibm.com/messaging/2019/02/05/ibm-mq-macos-toolkit-for-developers/ and followed the instructions. I pip installed pymqi with no issues after that. But when simply running import pymqi I get ImportError: dlopen(/Users/.../Library/Python/2.7/lib/python/site-packages/pymqi/pymqe.so, [...] read more python python-2.7 ibm-mq pymqi 1vote 1answer ### PCI driver 'Oops: Kernel access of bad area' error I wanted to write a simple PCI express driver for Xilinx FPGA. But I am not able to request memory region for PCI. Question is: How to claim that I/O memory area for custom driver. I want to write 3. byte of that area using driver. Below are the details. [...] read more linux linux-kernel linux-device-driver embedded-linux device-driver 1vote 1answer ### Are integers always placed before character array in memory by the gcc compiler? I am trying a simple buffer overflow in C from HTAOE book . This is the code : #include<stdio.h> #include<string.h> int main(int argc, char *argv[]){ int val0=10; char buffer_two[8], buffer_one[8]; int val1=5; strcpy(buffer_one, "one"); strcpy(buffer_two, "two"); printf("[BEFORE] buffer_two is at @%p contains \'%s\'\n", buffer_two, buffer_two); printf("[BEFORE] buffer_one is at @%p [...] read more c arrays gcc memory buffer-overflow 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 ### Linking error while cross compiling Qt5 for Beaglebone Dear stackoverflow community. I'm cross-compiling Qt 5.12 for my Beaglebone Black with EGL support. The host OS is Ubuntu 18.04.1 LTS (x64) running in a VM. I have installed any possible dependcies (I could find in different posts) on the target (and some on the host as well) and copied [...] read more linker qt5 cross-compiling beagleboneblack 1vote 0answers ### Running runas/psexec in powershell remote session is not working I have a remote machine where PS-Remoting enabled and I am able to run commands and scripts from my client/workstation. I want to run certain tasks as different user, in other words not the same user as I connect the remote-session. Why I am doing this ? I am using [...] read more powershell puppet powershell-remoting 1vote 1answer ### Robocopy Access Denied Error 5 From Powershell I am copying files from my build server to a web server on Windows Server 2016. I am running the following from PowerShell. I am running this script with an administer account which has read/write access to the destination directory. robocopy$Path\Items $_\Items /Sec /copy:DT /MIR /NDL /NS /NP /MT [...] read more powershell robocopy 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 ### Process.GetProcesses and IsWow64Process does not return all the running processes Im using this simple code to list all the running processes and their architecture (32bit or 64bit) on console, And it works nearly accurate but the number of processes in result is not even half of what i see in WindowsTaskManager or ProcessHacker. Most of my running processes are not [...] read more c# import cpu-architecture windows-process 1vote 0answers ### cannot access memory at address 0x10084 when trying to set breakpoint via gdb I wrote this simple assembly-program (based on a tutorial, only slightly changed.) @ p = q + r + s @ let q=2, r=4, s=5 @ this version of the simple-equation stores in memory p: .space 4 @reserve 4 bytes in memory for variable p q: .word 2 @create 32-bit [...] read more debugging assembly memory arm gdb 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 1answer ### Binary Bomb phase 6 no nodes This question is based on the same project as the other Binary Bomb Phase 6 questions (most likely will be related links), but for some reason I can't find the nodes themselves, to check their increasing/decreasing values. When I try to use the function: x/3x$eax, it returns: Cannot access [...] read more
assembly
x86
gdb
reverse-engineering
1vote

### How to prevent maximum recursion runtime error in python when using the libtiff library

In the past few years I have worked with the libtiff library and I have developed some classes and scripts around it. I felt confident to now use my insights in a larger project. Instead of opening one TIFF file, I had to now open many of them. The runtime [...] read more
python
recursion
runtime-error
ctypes
libtiff
1vote

### How to get ROBOCOPY to throw an error when there's denied access

I am using ROBOCOPY to copy some files from folder A to folder B. I have purposefully made folder B inaccessible using NTFS permission to throw an error so that it can take a different action when copy is failed. However it seems that ROBOCOPY is not throwing a errorlevel [...] read more
robocopy
1vote

### Robocopy will not copy files involving any external drives

I am attempting to back up data onto some external hard drives as a part of my job, the data sets can be over 100GB in size with specific file structure so using robocopy is a must. When I run this command where G:\ is an external hard drive or [...] read more
windows-7
permissions
cmd.exe
robocopy
1vote

memory
y86

### Computer crashed after attempting to start bettercap http/api server. I copied some errors from journalctl --system. The output baffles me

There is something strange going on here. In the log, it mentions two other private IPs that I definitely do not use. Especially since it's on a different IP subnet. I've noticed this the other day and was actually able to ping them. Still can. The other thing I seen [...] read more
crash
out-of-memory
httpserver

### Why is my 'buffer overflow' program not resulting in the buffer being overflowed on Windows but does overflow when using the program on Linux?

I am currently learning about buffer overflows and programmed an example of one in C which uses two buffers, buffer two is deliberately supposed to have more bytes than it should be able to handle but somehow in Windows, it shows that the extra bytes are still in buffer two [...] read more
c
overflow

### How can I find the node6

I found that I needed to input 6 integers, and that the integers consist of 1 to 6. And I found the node1 ~ node5. But, this phase needs 6 nodes. So I looked for more, but instead of node 6, I found'host_table'. (gdb) x/3x 0x555555559230 0x555555559230 <node1>: 0x00000303 0x00000001 [...] read more
x86-64
reverse-engineering
disassembly

### Java or Solaris issue

so i have been tasked with migrating some machines mainly all windows and all has gone well until now with one machine giving us this error. As i am no software techie type and have never used Solaris or java for apps its puzzled me and I am wondering if [...] read more
java
oracle
solaris

### 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

### Why the top of the stack contain the address of <_dl_fini>?

I disassemble the next simple source: #include <stdio.h> void func3() { int i = 11; printf("\t\t\t[in func3] i = %d\n", i); } void func2() { int i = 7; printf("\t\t[in func2] i = %d\n", i); func3(); printf("\t\t[back in func2] i = %d\n", i); } void func1() { int i = [...] read more
c
gdb
x86-64
cpu-registers
callstack

### ET035009DH6 lcd display config

The display (ET035009DH6) stays dark with the following configuration. The backlight is on. Touch is working. ETM035009EDH6 Spec * Toradex Colibri iMX6ULL 512MB V1.1A * Toradex Colibri Evaluation Board Rev. 3.2 * ET035009DH6 * angstrom-lxde-image Device Tree lcdif@021c8000 { compatible = "fsl,imx6ul-lcdif", "fsl,imx28-lcdif"; reg = <0x021c8000 0x00004000>; interrupts = <0x00000000 [...] read more
embedded-linux
yocto
u-boot
lcd
imx6

### How to get TLV data from kannel by using meta-data

Pcap of kannel shows that it received the 4 TLV in deliver_sm, but when i want to fetch the same in dlr-url by using meta-data=%D I am not getting all 4 TLV Params. 1. I am hitting this curl URL : http://IP ADDRESS:PORT/cgi-bin/sendsms?username=dummy&password=dummy&to=91ext=This+is+a+test+message&dlr-mask=23&coding=0&dlr-url=http%3A%2F%2F10.0.6.100%3A9992%2Fdlrhandler%2Fdlrrequestlistener%3Fstatus%3D%25d%26msgdetail%3D%25A%26meta-data%3D%25D basically I am using %D to fetch [...] read more
smpp
kannel
tlv

I want to write a batch file or powershell script as a wrapper that can invoke apacheds.bat provided by ApacheDS to create a new ApacheDS instance and register it as a windows service. Currently I use C# to create powershell process and pass argument: "-c & '$scriptFullName' -Service" to powershell [...] read more powershell batch-file windows-services apacheds 0votes 0answers ### How to wait for characters from UART and transmit back on the UART in ARM Cortex -M3 emulated by Qemu I am trying to do the echo of the data received on the UART, i.e wait for the characters from the UART and transmit it back on the UART. I am emulating the LM3S811 board in QEMU. I have attached the .c file and the startup and linker code. I [...] read more assembly arm microcontroller microprocessors cortex-m3 0votes 0answers ### How to dislay number to UART with lpc2148 and simulation on Proteus? I am writing a code to count the number of times a person enters a room and display it using UART. For the purpose of counting I am using IR sensor, connected to pin 0.2. So whenever this pin is low increment the count value and display it using UART. [...] read more arm keil proteus 0votes 1answer ### Same HTTP request passes with CURL_CLI but fails with LIBCURL Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more c curl libcurl 0votes 0answers ### Is there a way to access the shared memory(File Mapping Object) from a process that is executed as AppContainer? Say there is two processes: server and client. Server simply calls CreateFileMapping() to create file mapping object and commits the memory by calling MapViewOfFile() and write on that memory. Meanwhile, client tries to access the memory and only reads what is written on the memory. There is no problem when [...] read more c++ memory shared-memory dll-injection file-mapping 0votes 3answers ### iOS app crashes due to unknown error NO_CRASH_STACK + 0 Users complained that the application began to crash at startup. Users use ios 9.3 or 10.3. Application crashes due to an unknown error. This error is not reported in Crashlytics. I see an error in Xcode - Window - Organizer - Crashes, but there are no details: NO_CRASH_STACK + 0 [...] read more ios xcode 0votes 1answer ### Binary bomb- phase 6 This is the disassembly of phase_6: 08048dbf <phase_6>: 8048dbf: 55 push %ebp 8048dc0: 89 e5 mov %esp,%ebp 8048dc2: 83 ec 18 sub$0x18,%esp 8048dc5: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 8048dcc: 00 8048dcd: c7 44 24 08 0a 00 00 movl$0xa,0x8(%esp) 8048dd4: 00 8048dd5: c7 44 [...] read more
assembly
x86
reverse-engineering

### Difficulties Understanding Format String Exploitation

I am reading a book, Hacking: The Art of Exploitation 2nd Edition, and I'm at the chapter of format string vulnerability. I read the chapter multiple times but I'm unable to clearly understand it, even with some googling. So, in the book there is this vulnerable code: char text[1024]; ... [...] read more
c
format-string
stack-memory

### 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

### 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

### C# web API: Why int value changing to hex value by itself?

I am facing some weird issue, appreciate any help on this. I am using VS 2019 and .Net Core 2.2. In VS created new web api and if I pass integer value 5 in the controller the id value shows as hex ( id = 0x00000005) also I declared integer [...] read more
c#
.net
webapi

### Robocopy - Backup between network computers

I am trying to use Robocopy to perform a backup on a daily basis and only update files which have either been updated, or they are new files. At the moment I am using the following script within a Batch file:- @ECHO OFF SETLOCAL SET _source="\\REMOTE-SERVER\Share" SET _dest="\\LS-WXLDE8\Shared_QP" SET _what=/COPYALL [...] read more
batch-file
cmd
robocopy

### How to declare COM interface with properties in C++

I'm trying to call a registered COM interface (Inproc dll) in an Eclipse C++ environment (MinGW GCC toolchain). I therefore don't believe that I can simply import the dll typelib the way I typically would in Visual C++. I'm trying to define the interface myself to simplify the function calls [...] read more
c++
interface
com
idispatch

### E_UNEXPECTED in MESessionStarted event when topology has two branches

I am working on a session topology that records a video (with audio) while showing the video stream with an EVR. I am using SampleGrabber sinks for the video and audio streams so I can easily control when I start/end recording (using a sinkwriter) and extract sample data as I [...] read more
audio
video
video-capture
ms-media-foundation
audio-capture

### Error invoking Windows DLL function from Python

I have a Windows DLL that exposes a function. Let's call it Fn. It takes two CStrings as parameters and returns a CString: CString Fn(CString a, CString b) The C++ code you see below successfully loads the DLL and invokes Fn. A side effect of Fn is that it prints [...] read more
python
c++
windows
dll
ctypes

### LPC2148 UART interrupt

I am using LPC2148 with SIM800L on UART1 using interrupt. When I use memset(buff, 0 , sizeof(buff)); in while(1) at first the program works fine but when while(1) loop runs again it prints error over and over but when I comment the memset(buff, 0, sizeof(buff)); it works fine. So why [...] read more
c
interrupt
uart

### 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

### Reduce flickering when using SetWindowPos to change the left edge of a window

Update 1: Here's the simplified version: So I have a special fixed-size child window that I want to make it stay at the right side of the resizable main window. When users resize the main window by dragging the left/right edge of it, WM_WINDOWPOSCHANGED is sent, the child window will [...] read more
winapi
resize
flicker

### Copying the files from one server to another server getting NTFS error

I am using one batch file to copy files from one server to another server. That batch file run fine when I run it manually, but I run the same batch file using task scheduler am getting below error. > ERROR 5 (0x00000005) Getting File System Type of Source > [...] read more
batch-file
robocopy

### How to read values from the potentiometer through ADC in STM32f4?

I am trying to read the values from potentiometer which is connected to pin A0 (ADC channel 0 of STM32f407VG discovery board). I have attached my code. The problem is that, the values that I read are not only constant, but also aren't affected by the rotation of potentiometer. Although [...] read more
arm
keil
stm32f4discovery

### How to derive all offered interface types from an COM idl?

My goals is to generate bridging code that allows to call a COM interface in Java. I do use successfully JNA, insofar as I get an handle to the interface and can successfully work with most of the functionality of the interface. I have a question regarding several interfaces that [...] read more
c#
com
ole

int main(int argc , char *argv[] ) { int value = 5; char buffer_one[8] , buffer_two[8]; strcpy(buffer_one,"one"); strcpy(buffer_two,"two"); printf("[BEFORE] buffer_two is at %p and containt \'%s\' \n ",buffer_two,buffer_two); printf("[BEFORE] buffer_one is at %p and containt \'%s\' \n ",buffer_one,buffer_one); printf("[BEFORE] value is at %p and is %d (0x%08x)\n",&value,value,value); } I got [...] read more
c
pointers
stack
heap

### Windbg script - automatically parse each frame of a stack

Hullo, I am looking at a few stacks recently, and I'm manually finding a certain thing that I want to get the address of so that I can delve inside it with ??. For example: 00 000000059c88a558 00007ffabc2713ed ntdll!NtWaitForMultipleObjects+0xa 01 000000059c88a560 00007ffabe477d51 KERNELBASE!WaitForMultipleObjectsEx+0xed 02 000000059c88a840 00007ffabe477773 kernel32!WerpLaunchAeDebug+0x23a1 03 000000059c88adb0 00007ffabc351c1f [...] read more
scripting
windbg

### Vagrant - launch using a private network

I tried to run private network using https://www.taniarascia.com/how-to-install-apache-php-7-1-and-mysql-on-ubuntu-with-vagrant/ I am trying to start vagranta using a private network but I am getting this message: There was an error while executing VBoxManage`, and CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. Command: ["hostonlyif", "create"] Stderr: [...] read more
apache
vagrant
virtualbox

### BITS job throws an error trying to download a zip file

We get this error from the BITS job when trying to download a zip file from a remote server (we implemented an HTTP Handler for zip files on that server): ERROR CODE: 0x80200013 - The server does not support the necessary HTTP protocol. Background Intelligent Transfer Service (BITS) requires that [...] read more
httphandler
microsoft-bits

### GCC different actual amount of memory allocation then i assigned to variables in program

#include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { int value = 5; char buffer_one[9], buffer_two[9]; strcpy(buffer_one, "one"); /* Put "one" into buffer_one. */ strcpy(buffer_two, "two"); /* Put "two" into buffer_two. */ printf("[BEFORE] buffer_two is at %p and contains \'%s\'\n", buffer_two, buffer_two); printf("[BEFORE] buffer_one is at %p and contains [...] read more
c
gcc
gdb
binaryfiles

### handle drop event of drag and drop from ListView to ListView with UWP and C++/WinRT app

I am working on a simple UWP application written in C++/WinRT under Windows 10 that contains two ListView controls. The goal of this application is to learn how to select an item from one ListView control, drag it to the other ListView control, and drop the item so that it [...] read more
c++
xaml
uwp
drag-and-drop
c++-winrt

### ARM car Head Unit - extract rootfs from cpio

Got an ARM powered head unit and im trying to get the rootfs (ramdisk) out of the kernel image. I found uImage header and was able to extract the zImage. Using binwalk i found gzip data in the zImage, which I also extracted. I get a file called 20C50.cpio, which [...] read more
linux-kernel
u-boot
firmware
cpio

### Windows 10: enumerating sessionnames - access is denied

When I open Task Manager, Processes and Users tabs are empty. There are a lot of topic over the internet with the problem, but I couldn't find a fix for the problem. Then tried to open a cmd prompt and type "quser", the result is: C:\Windows\system32>quser Error 0x00000005 enumerating sessionnames [...] read more
windows-10
permissions

### How to change Power options through registry or through command line?

I want to change powercfg.cpl "Power Options" directly through registry. Specifically I want to change this: enter image description here [https://i.stack.imgur.com/R2Fqq.png] To these settings: enter image description here [https://i.stack.imgur.com/mQyWK.png] I am using a desktop computer on alternating current power, therefore power saving is unnecessary and it impairs performance; I have [...] read more
windows-10
command-line
windows-registry
power-management

I'm trying to update to Win10 1903 from 1803 but keep getting BSOD with 0xc1900101 code. I've tried removing attached USB devices and disabling my overclock, without success. Today I learned that there is a setup error log, which you can see below, but I don't understand what it's telling [...] read more
windows-10
windows-10-v1903

### Windows update from 1803 fails with 0x8007042B - 0x2000D SAFE_OS phase during MIGRATE_DATA operation

I am updating a Windows 10 PC from 1803 (to the latest OS which is 1909) and it's failing with this error: 0x8007042B - 0x2000D The installation failed in the SAFE_OS phase with an error during MIGRATE_DATA operation It fails the same way each time, pretty much down to the [...] read more
windows-10

### Permissions for file share used by PC on same domain

I have created a script that runs on \\Server and writes to \\BackupServer\BackupShare. It works as expected when I run it myself. I then setup a job in Windows Task Scheduler to run as SYSTEM and the same script fails with error 0x00000005 permission denied. How to fix this? The [...] read more
windows
permissions
network-shares
windows-server-2012

Been having a recurring issue for months now where I cannot update my Windows 10 Pro N machine. It blue screens through the process and then when Windows restarts and attempts to repair it freezes around 44%. Inside C:\$Windows.~BT\Sources\Panther there are the follow errors: 2019-10-25 20:07:34, Error DU DU::CDUSession::Search: Failed [...] read more windows-10 windows-update bsod 0votes 2answers ### ConEmu reports "Injecting hooks into PID" failure After a recent Windows 10 update, my ConEmu has started reporting the following message in a popup when I open a new DOS (cmd.exe) prompt: > ConEmuC.M, PID=14284 > Injecting hooks into PID=11432 > FAILED, code=-703:0x00000005 I suspect this is caused by some kind of security update that was imposed [...] read more conemu 0votes 0answers ### How do I upgrade from Windows 10 1803 to 1809? I'm getting a failure 0x80070003 When attempting to upgrade from Windows 10 1803 to 1809, I get a failure every time. I tried Microsoft support and three reps were unable to assist me. I tried disabling all the startup programs, running the update troubleshooting tool, running Windows 10 update assistant, and downloading / installing from [...] read more windows-10 windows-10-upgrade 0votes 0answers ### robocopy to Drive File Stream Fails in powershell but not at command line Error 5 When I run the robocopy at an admin command prompt it runs successfully. > C:\Users\StoreMgr>robocopy "C:\Users\Public\Documents\Intuit\QuickBooks Point > of Sale 12.0\Data\Paracept" "G:\My Drive\Backup" qbpos1.db > > ROBOCOPY :: Robust File Copy for Windows Started : Friday, April 6, 2018 > 3:46:37 PM Source : C:\Users\Public\Documents\Intuit\QuickBooks Point of Sale > 12.0\Data\Paracept\ [...] read more powershell google-drive robocopy 0votes 0answers ### Upgrading to Windows 10 fall creator fails This is the setuperr.log. 2018-01-23 16:43:24, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteInstallMode(723): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteDownlevelMode(347): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::Execute(237): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupHost::Execute(375): Result = [...] read more windows-10-v1703 0votes 1answer ### Dell desktop falls asleep in a couple minutes, ignores power/screen saver settings My parents' Dell Inspiron tower goes to sleep within ~3 minutes of inactivity, despite every power setting in Windows (screen saver, turn off screen, go to sleep, turn off hard-disk, etc.) either turned off or set to 60 minutes. This answer claims that Dell has been known to bundle their [...] read more windows-10 sleep power-management dell-inspiron 0votes 0answers ### How do I copy to the root of a network share with Robocopy? I'm trying to copy very large amount of small files from one folder on my local drive array to a network share, and after trying many different methods of copying files I decided Robocopy might be best, but I keep getting weird errors that indicates Robocopy is trying to modify [...] read more windows network-shares samba robocopy 0votes 0answers ### Windows 10 1607 upgrade issues Sorry there's a lot of issues, they could be related so I will list them in one question. The issues are:- 1. As posted previously here Windows Update is failing to install the anniversary update. 2. I've since turned off Windows Update, until I can resolve issue #1 and now [...] read more windows windows-10-upgrade sql-server 0votes 0answers ### Cannot update to Windows 10 on HP 15-f014wm I'm trying to update to Windows 10 on my 15-f014wm laptop. I'm using the "Windows10Upgrader9194.exe" (which updated itself, so the presumably version number at the end may be wrong) thing to update, but after trying to update, it restarts, shows me a window saying that Windows 10 couldn't be installed, [...] read more windows windows-update windows-10-upgrade 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 ### Robocopy: ERROR 5 (0x00000005) Accessing Source Directory \\server\ParentFolder\ChildFolder\ Access is denied I have the following robocopy command to copy the directory from a folder on the network location to another folder on the same network location: @ECHO OFF for /f %%a in ('wmic os get LocalDateTime ^| findstr ^[0-9]') do (set ts=%%a) robocopy \\server\SharedFolder\ParentFolder\ChildFolder1 \\server\SharedFolder\ParentFolder\ChildFolder2 /log+:C:\Yash\log\log_%ts:~0,8%_%ts:~8,4%.log /e /xo /w:10 /r:2 /z [...] read more permissions batch robocopy asp.net mvc 0votes 1answer ### Bitsadmin Download Error I saw a feed referring to downloading via bitsadmin (v.7.5.7601.17514) on Windows 7. I have trouble implementing this myself and continue to get errors when running the code when running from a batch file(which is my requirement) Errorcode: 0x80190194 Error Context: 0x00000005 The code is as follows: bitsadmin.exe /Transfer myDownloadJob [...] read more command-line download batch-file 0votes 0answers ### xbootmgr failing to run a trace, couldn't find a kernel logger I am attempting to run a boot trace on a computer that is slow to log in using xbootmgr. It is a Windows 7 Professional computer that is on a domain. Based on the guide on this website: http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/ I installed the WPT, and ran the following command from the [...] read more windows-7 performance login logging diagnostic 0votes 2answers ### Windows 8 upgrade fails Upgrading windows 8 keeping programs and settings is not working. It fails at 47% of migrating settings and rolls back. This is the relevant part of the log (Sources/Panther/setuperr.log): 2013-02-03 00:02:02, Error [0x0803b6] MIG Can't retrieve group information for user NT SERVICE\MSSQLFDLauncher. NetUserGetLocalGroups failed 0x000008AD 2013-02-03 00:30:39, Error MIG COnlineWinNTPlatform::AddPathToSearchIndexer [...] read more windows-8 windows-8-upgrade 0votes 2answers ### windows xp randomly reboots while transcoding videos with mencoder A WinXP box (SP3, 32-bit) reboots randomly after I initiate batch transcoding of some videos using console mencoder. Event log has the following record: > The computer has rebooted from a bugcheck. The bugcheck was: 0x0000009c > (0x00000005, 0x8054e5f0, 0xb2000010, 0x04000e0f). A dump was saved in: > C:\WINDOWS\Minidump\Mini100310-04.dmp. I understand [...] read more windows-xp bsod reboot 0votes 2answers ### Windows Malicious Software Removal Tool log says it can't do all required actions. Should I be concerned? Here's what the log file c:/Windows/debug/mrt.log of my Windows 7 install says: WARNING: Security policy doesn't allow for all actions MSRT may require. ->Scan ERROR: resource process://pid:6080 (code 0x00000005 (5)) ->Scan ERROR: resource process://pid:5300 (code 0x00000057 (87)) ->Scan ERROR: resource process://pid:3512 (code 0x00000057 (87)) I use the default setup. I [...] read more windows-7 malware-removal -1votes 0answers ### Robocopy: ERROR 5 (0x00000005) Deleting Extra File \\location\to\my\file.txt Access is denied I've created a Jenkins job which replicates files from source to destination. Both of them are network locations. Here is the script that I use: (IF NOT EXIST \\destination\files (net use \\destination\files /USER:"%my_user%" "%my_user_pwd%" ) ELSE (echo "mapped location already exists")) (C:\Windows\System32\Robocopy.exe \\source\files \\destination\files /XD cache configurations util logs /NDL [...] read more windows jenkins robocopy -2votes 1answer ### Bomb Lab Phase 6 :Stuck on the last step This is asm code for phase_6 08048de3 <phase_6>: 8048de3: 56 push %esi 8048de4: 53 push %ebx 8048de5: 83 ec 4c sub$0x4c,%esp 8048de8: 65 a1 14 00 00 00 mov %gs:0x14,%eax 8048dee: 89 44 24 44 mov %eax,0x44(%esp) 8048df2: 31 c0 xor %eax,%eax 8048df4: 8d 44 24 14 lea 0x14(%esp),%eax [...] read more
linux
assembly
x86
reverse-engineering