Windows error 0x00000003, 3

Detailed Error Information

PATH_NOT_FOUND[1]

MessageThe system cannot find the path specified.
Declared inwinerror.h

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

INVALID_AFFINITY_SET[2]

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

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 Code3 (0x0003)

Questions

34votes
4answers

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

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

Why can't a Task Scheduler job access a mapped network drive?

I have a Task Scheduler job to run Robocopy for backing up local files to a network share. I have to use domain credentials to access the network share but the local computer is not on the domain, and the job is run as a local admin. This solution of [...] read more
windows-7
task-scheduler
robocopy
7votes
1answer

How to setup ARM interrupt vector table branches in C or inline assembly?

Can someone please show me an example of how to setup an ARM9 interrupt vector table using C or inline assembly in a bare-metal environment with no RTOS or Linux OS? Specifically how can I use inline assembly or C to set branches to my IRQ interrupt handler ISR coded [...] read more
embedded
arm
interrupt
bare-metal
6votes
2answers

Capturing audio data and save to raw PCM file in AudioFlinger

After some research, I find out this is possible to capture the audio data in libaudioflinger of Android. I think the audio data is being written to HAL in here: ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count); Full code: https://android.googlesource.com/platform/frameworks/av/+/lollipop-release/services/audioflinger/Threads.cpp#2118 So, I would like to save the mSinkBuffer + [...] read more
android
c++
audio
pcm
audioflinger
5votes
3answers

my java application exited suddenly because of a fatal error {EXCEPTION_UNCAUGHT_CXX_EXCEPTION }

I have developed a GUI java application. It has login page for user authentication. It use mysql as back-end. I have wrapped my application using Jar2Exe 1.0 (Regexlab.com) to a 32bit windows .exe file. not the problem is that when i run the application : * the database connection is [...] read more
java
mysql
5votes
2answers

Waste in memory allocation for local variables

This my program: void test_function(int a, int b, int c, int d){ int flag; char buffer[10]; flag = 31337; buffer[0] = 'A'; } int main() { test_function(1, 2, 3, 4); } I compile this program with the debug option: gcc -g my_program.c I use gdb and I disassemble the test_function [...] read more
c
assembly
x86
gdb
disassembly
5votes
4answers

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

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

How to send an SMS from Debian command line?

I have a 4G wwan modem (Fibocom L850GL) with a valid SIM card on a Debian PC. I have modem-manager-gui and I can send SMS with it. modem manager gui help send SMS from linux with a GUI [https://i.stack.imgur.com/Rgfy6.png] How can I do the same from the command line? I [...] read more
networking
debian
modem
wwan
4votes
1answer

Copy files/using apps on HD with no drive letter?

My phone path is Computer\Model-Number\Phone. I wanted to use a util like windirstat on it but it doesn't recognize the path since it doesn't have a drive letter (I assume). I tried copying all my files using explorer and it choked up during the calculating time phase. I tried robocopy [...] read more
android
usb-storage
window
phone
4votes
3answers

Windows 7 Upgrade keeps rolling back to Vista

I finally decided that I would update my desktop from Windows Vista SP2 64-bit to Windows 7 64-bit. So I got my Windows 7 Professional 64-bit DVD, popped it into my PC, and started up the installer and told it to upgrade. The installer told me that some things may [...] read more
windows-7
windows-vista
upgrade
4votes
2answers

Robocopy cannot find specific directory

I am migrating our file server from 2008 to 2012R2. Currently i am trying to copy all folders and files to our new server but the command isnt working correctly. Here is what i am using: robocopy G: D:\ /e /zb /COPY:DATSOU /r:3 /w:1 /v/ /eta /log+:C:\robocopy\copyreport.txt /tee /sec /tbd [...] read more
robocopy
4votes
2answers

Scheduled robocopy fails with error 3 (Creating Destination Directory)

Related: Scheduled Robocopy task fails with 0x10 error I'm using robocopy as part of a server backup script. It fetches the files to this workstation (Windows 7, upgraded from Vista - that caused some quirks before), and then copies them to a server in LAN (Windows Server 2000). robocopy H:\folder [...] read more
windows-7
network-share
windows-server-2000
robocopy
4votes
1answer

Visual Studio debugger doesn't display std::string properly in debug

Me and my team are having an issue with Visual Studio displaying gibberish instead of proper string contents when I pause my program. The string inside has correct data, it's just that the debugger of VS gets lost somehow. I marked the correct contents in green, incorrect in red. std::string [...] read more
c++
visual-studio-debugging
visual-studio-2019
stdstring
3votes
0answers

Old server accounts persist after migration to Windows Server 2019

I went through the process of migrating Active Directory 2012 R2 to Active Directory 2019. Minus a few firewall ports needing to be opened up, I was able to get through the process of promoting the new Windows Server 2019 machine and demoting the old Windows Server 2012 r2. After [...] read more
networking
active-directory
domain
windows-server-2019
3votes
8answers

SQL Server 08 Express error when connecting to localhost - "Timeout expired". Works with ::1 or 127.0.0.1

EDIT New info: Navigating to localhost:1434 in Chrome gives me an "ERR_EMPTY_RESPONSE", while other ports give me an "Oops! This link appears to be broken". So it seems to binding ok there? SO HERE'S MY SETUP SO FAR: * I've configured Windows Firewall to allow TCP on 1433 and UDP [...] read more
networking
sql-server
connection
localhost
windows
3votes
2answers

HP P410 ADU (hpacucli) generates empty report

I'm trying to monitor hard drive's smart status. I've tried smartctl tools and HP's own hpacucli to generate ADU report. However, neither of them are useful. smartctl does not show values like Power On Hours or Hard drive temperature. ADU report shows them empty. What's the right way to monitor [...] read more
raid
monitoring
hp
hardware-raid
hp-smart-array
3votes
2answers

Varnish does not start properly (crashes after startup) with no error messages

I am running Varnish (2.0.4 from the Ubuntu unstable apt repository, though I have also used the standard repository) in a test environment (Virtual Machines) on Ubuntu 9.10, soon to be 10.04. When I have a working configuration and the server starts successfully it seems like everything is fine, however [...] read more
reverse-proxy
varnish
3votes
1answer

Unity3D Firebase Access Violation

I use FirebaseAuth.unitypackage and FirebaseDatabase.unitypackage packages in my project. When I want to test SignInWithCredentialAsync and SetRawJsonValueAsync operations in the editor, the editor crashes. When I checked the error.log, it says: FirebaseCppApp-5.0.0.dll caused an Access Violation (0xc0000005) in module FirebaseCppApp-5.0.0.dll at 0033:b7cf5c00. Full error.log: Unity Editor [version: Unity 5.6.3f1_d3101c3b8468] FirebaseCppApp-5.0.0.dll [...] read more
firebase
unity3d
firebase-realtime-database
firebase-authentication
3votes
2answers

how can i handle an invalid exception handler routine?

I'm building a program, that creates and deletes directories. I use the MSVC compiler (Visual Studio 2017), which is the reason i can't use "getcwd()" or "dirent.h" respectively. I have tried several different ways to get the current working directory, but there was always a problem. I managed to print [...] read more
c++
exception
visual-c++
3votes
1answer

How to use CloudHSM to implement mutual TLS ( client side ) in Ruby

I'm asking this question after reading all of CloudHSM topics on StackOverflow, Cryptography, Information Security and CloudHSM forum but couldn't find anything helpful. Any idea or code snippet is helpful. We have a Ruby application that is requesting to a web server via X.509 certificates and we should generate/host private [...] read more
ruby-on-rails
ruby
ssl
openssl
hsm
3votes
0answers

Difference between KEYBOARD_PRESS and VIRTUAL_KEY

I'm implementing a virtual Android keyboard and are about to add haptic feedback. Luckily Android provides performHapticFeedback() and HapticFeedbackConstants so it's easy to give the user a haptic feedback. It's however not clear to me what the difference between KEYBOARD_PRESS and VIRTUAL_KEY is, they both seem to represent pressing a [...] read more
android
haptic-feedback
3votes
1answer

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

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

How hook touch event globally and know X Y position of a touch?

Need pickup the position X Y of touch over the screen on Windows 10, outside of my wpf app. I read in some post can use RegisterPointerInputTarget I try redirect all touch to my app. Is supposed use RegisterPointerInputTarget should so easy as the code I show, bu not work [...] read more
c#
wpf
touch
2votes
1answer

CentOS not finding wifi adapter

I installed CentOS on a Lenovo yoga laptop a few days ago, but I cannot get the wifi to work. I've tried lots of things following suggestions from replies to several questions on different sites. NetworkManager-wifi is installed (and always was). Below are some of the commands people usually ask [...] read more
linux
networking
wireless-networking
centos-8
2votes
1answer

How to fix failing cumulative update on Windows 10 Pro (1909) upgraded from Windows 7 SP1

I am seeing error 0x80070003 in CBS.log after consistently failing to install the cumulative update for February 2020 (KB4532693). The logged error is always: 2020-03-06 21:29:44, Error CBS Shtd: Failed while processing non-critical driver operations queue. [HRESULT = 0x80070003 - ERROR_PATH_NOT_FOUND] ... where ERROR_PATH_NOT_FOUND is the corresponding Win32 error code [...] read more
windows-10
windows-update
windows-10-v1909
2votes
0answers

Custom Java app, does not show startup splash screen on some devices?

I have a Java app, called Infra12. It is not for sale so wont be in common use. It is designed to interrogate industrial equipment, but the supplier of the software has gone into administration, and they only supplied it to customers who bought industrial equipment from them - one [...] read more
windows-10
java
dll
c
2votes
2answers

Windows 7 BSOD on hibernate

Sometimes I experience a BSOD when my laptop goes to hibernate. It happens all the way on the end of the hibernation cycle, so the laptop is actually off, harddisk spins down, lights and screen are out, but then after a few seconds I get a BSOD. Trouble is that [...] read more
windows
bsod
minidumps
2votes
1answer

A Windows Filtering Platform filter has been changed - File and Printer Sharing

My Windows 2008 R2 server gets hammered tons of login attempts. I guess somebody is running a Brute Force attack. Funny enough our MySQL configuration file got deleted last night, so they must have gotten in somehow. But at the same time my event log is fully of these messages: [...] read more
security
windows-server-2008-r2
windows-firewall
2votes
0answers

What might cause DIR $file to report "File not found" when DIR $dir shows the same file just fine?

I can DIR a file and it doesn't exist, but DIRing its directory, or a file in the same directory as it, works fine. Is this a hardware or software problem? If it's hardware, is it the drive or something worse? 2013-06-13 9:35 C:\>dir E:\Shares\Users\Test\Desktop\XAV-1.htm Volume in drive E is [...] read more
windows-server-2003
hardware
usb
hard-drive
2votes
1answer

How to supress the warning in IE's protected mode

I have a BHO which captures webpages as images and I run another process to pngcrush the images thus created. The problem that I face in UAC enabled systems is that every time IE runs, I get a warning for the pngcrushing process that I spawn from the BHO. I [...] read more
uac
bho
2votes
1answer

Failed to create GLFW window?

I tried to create a window with the simplest code possible: #include <stdio.h> #include <stdlib.h> #include <GL/glew.h> // Always include it before glfw.h #include <GLFW/glfw3.h> #include <glm/glm.hpp> int main(void) { glfwInit(); glfwWindowHint(GLFW_VERSION_MAJOR, 3); // OpenGL 3.3 glfwWindowHint(GLFW_VERSION_MINOR, 3); glfwWindowHint(GLFW_OPENGL_PROFILE, GLFW_OPENGL_CORE_PROFILE); glfwWindowHint(GLFW_OPENGL_FORWARD_COMPAT, GLFW_TRUE); // Mac GLFWwindow* window = glfwCreateWindow(720, 480, "OpenGL", [...] read more
c++
macos
opengl
glfw
2votes
2answers

OkHttp keeps getting StreamResetException: stream was reset: INTERNAL_ERROR when it's 200

I got StreamResetException: stream was reset: INTERNAL_ERROR from OkHttp. What's the problem? Here's the logs. I/okhttp.OkHttpClient: <-- 200 https://www.example.com/user/list (396ms) I/okhttp.OkHttpClient: date: Fri, 04 Dec 2020 02:21:35 GMT I/okhttp.OkHttpClient: content-type: application/json I/okhttp.OkHttpClient: content-length: 99730 I/okhttp.OkHttpClient: server: nginx/1.18.0 I/okhttp.OkHttpClient: allow: GET, HEAD, OPTIONS I/okhttp.OkHttpClient: x-frame-options: DENY I/okhttp.OkHttpClient: x-content-type-options: nosniff I/okhttp.OkHttpClient: referrer-policy: [...] read more
android
django
okhttp
http2
2votes
2answers

Error Accessing Data in Message Element

I have an issue trying to process a ReferenceDataRequest. Here is all the code I am using to fill in a session. global options options = parseCmdLine() sessionOptions = blpapi.SessionOptions() sessionOptions.setServerHost(options.host) sessionOptions.setServerPort(options.port) session = blpapi.Session(sessionOptions) if not session.start(): print ("Failed to start session.") return False if not session.openService("//blp/refdata"): print ("Failed [...] read more
python
python-3.x
bloomberg
blpapi
2votes
1answer

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

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

Can not replace fragment. No view found for id for fragment

I have list of fragments and artice. Every lelement on list is connected with article. That works fine. But when I try replace article by ID from external activity I have an error:No view found for id for fragment External Activity: ArticleMuralFragment newElement = new ArticleMuralFragment(); Bundle args = new [...] read more
android
android-fragments
android-fragmentactivity
2votes
1answer

ld64 segprot on MacOS Catalina not working?

I want to create a binary on MacOS Catalina (64 bit) with a data segment that can be made executable (see here for details) but is not executable from the start. I make my binary with gcc -nostdlib -segprot __DATA rwx rw- .... I also created an object file with [...] read more
64-bit
ld
macos-catalina
darwin
2votes
0answers

emmc drivers kernel linux crash when it is configured as loadable module

I have make a change to have mmc drivers loadable kernel module but I got a kernel crash when I tried to unload mmc_host_module using rmmod mmc_host_module. NB: I have deactivated CONFIG_MMC_CLKGATE. All insert command work correctly: insmod mmc_core.ko insmod mmc_block.ko insmod sdhci.ko insmod shdci_pltfm.ko insmod mmc_host_module.ko But when I [...] read more
c
kernel-module
mmc
qualcomm
2votes
2answers

Normalizing a two complement number

I am working on some Tensilica processor and I don't understand the normalization process. NSA - Normalized Shift Amount Usage: NSA at, as NSA calculates the left shift amount that will normalize the twos complement contents of address register as and writes this amount (in the range 0 to 31) [...] read more
assembly
binary
normalization
twos-complement
fixed-point
2votes
1answer

How to parse DW_OP_call_frame_cfa?

I am trying to get the variables location from a C (x86_64) code using libdwarf, but GCC even with optimizations off (-O0) generates the frame base relative from DW_OP_call_frame_cfa. In turn, clang uses DW_OP_reg6, which points to rbp in x86_64 ABI. I have read the DWARF-4 Standard but I can [...] read more
c
gcc
clang
dwarf
2votes
1answer

How to set custom registry in VSTO Word Plugin project?

I am developing VSTO Word plugin project. When I build the project, it automatically creates 4 registry at HKEY_CURRENT_USER\Software\Microsoft\Office\Word\Addins\My.Registry location and those are as under. Name Type Data -------------- -------------- ------------------------ (Default) REG_SZ (value not set) Description REG_SZ My.Registry FriendlyName REG_SZ My.Registry LoadBehavior REG_DWORD 0x00000003 (3) Manifest REG_SZ file:///D:/LearningProject/My.Registry/bin/debug/My.Registry.vsto|vstolocal Now [...] read more
c#
registry
vsto
word-addins
2votes
1answer

Manually manage the fastlane match Repo

I have to setup fastlane match without revoking the existing Profiles and Certificates. So i did my research and found this neat tutorial here: Medium and the official doc from fastlane (click on Instructions at the bottom of the page). After some time I have managed to create my repo, [...] read more
ios
swift
xcode
code-signing
fastlane
2votes
1answer

stm32l476 ADC not ready

I am trying to bring up one of the ADC's on the STM32L476 Nucleo board. I think i have things configured ok, but i must be missing a step. I know this can be done use the HAL API and CubeMX, but i prefer register level access when bringing up [...] read more
stm32
keil
2votes
3answers

SSIS script task error on sql job

i want to run a ssis package from sql job sql version is 2016 ssis package first was 2013 and have error with message as below > Started: 6:19:50 AM Error: 2018-02-10 06:19:50.57 Code: 0x00000003 Source: > Script Task Script Task Description: There was an exception while loading > Script [...] read more
sql-server
ssis
1vote
2answers

Windows 10 Cumulative Update Failed to install - 0x80070003

What might be causing the below Windows Update failure? Windows Update History [https://i.stack.imgur.com/kfjrf.png] C:\Windows\Logs\CBS\CbsPersist_20200504194920.log 2020-05-04 20:40:50, Info CBS Perf: Doqe: Install started. 2020-05-04 20:40:50, Info CBS Doqe: [Forward] Installing driver updates, Count 622 2020-05-04 20:40:51, Info CBS Progress: UI message updated. Operation type: Update. Stage: 0 out of 0. Percent [...] read more
windows-10
drivers
windows-update
1vote
1answer

Asus MW221U Monitor: 'Overdrive' menu appears unexpectedly, buttons not functional

I've had this monitor for a few years, and it's been a pretty good workhorse. A disassembly manual is linked: http://www.manualslib.com/manual/798421/Asus-Mw221u-201u.html#manual Update: I reflowed the solder connections on the button/speaker PCB, and the issue with the buttons being unresponsive seems to be permanently resolved. I suspect it was manhandled a [...] read more
macos
mac
multiple-monitors
motherboard
dvi
1vote
1answer

How to debug an RPM that will not uninstall

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

Multiple BSOD Windows 7

I'm using Windows 7 and I've gotten multiple BSOD errors when browsing with chrome or watching videos. I've updated my integrated graphics card driver but it didn't solve the problem. I've run Memtest86+(12 passes) - everything was OK, I've also tested the HDDs - no problem, too. I've disabled GPU [...] read more
windows-7
google-chrome
memory
bsod
1vote
2answers

BSOD error on Windows 7 ultimate

> BUG CHECK STRING = DRIVER_POWER_STATE_FAILURE > BUG CHECK CODE = 0x0000009f > PARAMETER 1 = 0x00000003 > PARAMETER 2 = 0x85f05420 > PARAMETER 3 = 0x82962ae0 > PARAMETER 4 = 0x85aa2ab8 > CAUSED BY DRIVER = ntkrnlpa.exe > CAUSED BY ADDRESS = ntkrnlpa.exe+dcd10 > FILE DESCRIPTION = NT Kernel [...] read more
windows-7
bsod
1vote
4answers

Reboot loop after Windows XP Service Pack 3 update

Recently I upgraded to Service Pack 3, and now it seems that something has gone terribly wrong with the update. After logging in, my computer will blue screen after about 5 minutes and then go into a reboot loop (I don't have the exact error message handy). I have a [...] read more
windows-xp
bsod
sp3
reboot
1vote
0answers

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

GPUpdate Will Not Apply Services Changes

I am getting the following error on my computers when trying to apply group policy settings. This is specific to changes to Services on the local computer: User Policy update has completed successfully. Computer policy update has completed successfully. The following warning were encountered during computer policy processing: Windows field [...] read more
windows-server-2008-r2
windows-7
group-policy
service
1vote
1answer

SCCM 2012 PXE issue

We've had an issue that has persisted for about 10 days now, which has gone unnoticed by myself because we haven't imaged a whole lot of PCs lately. Essentially, we get the "E53 - No boot filename received" error when trying to boot clients. Wireshark shows that the distribution points [...] read more
pxe-boot
sccm
wds
1vote
3answers

Robocopy job will run manually but not as a scheduled task

Using Robocopy on Server 2012. I have created a .cmd script to copy some files from a mapped drive to the local machine. The mapped drive is on another server in a different domain and connects with the remote domains domain admin credentials. Domains are not trusted. It works if [...] read more
windows-server-2012
robocopy
1vote
2answers

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

In-place upgrade to Windows Server 2012 fails with 'Failed to CoCreate IPersistAppItemsState object' messages

I am encountering problems attempting to upgrade a server from 64-bit Windows Server 2008 "in-place" to Windows Server 2012 (not R2). The errors are similar to: [shmig] Failed to CoCreate IPersistAppItemsState object, hr=0x80040154 I have searched the web for suggestions and for the specific error messages. I have tried most [...] read more
windows-server-2012
upgrade
1vote
1answer

Error in configuring SQL server in WSL

Windows 10: Version 1709 (OS Build 16299.19) WSL: Ubuntu 16.04 Following the guide here. I get an error in Step 4 when running sudo /opt/mssql/bin/mssql-conf setup ➜ x git:(master) ✗ sudo /opt/mssql/bin/mssql-conf setup [sudo] password for devlin: Locale en_GB not supported. Using en_US. Choose an edition of SQL Server: 1) [...] read more
sql-server
ubuntu
windows-subsystem-for-linux
1vote
2answers

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

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

Generate Keypair with PKCS#11 on curve secp256r1 and sign with it

I'm trying to generate an EC-Keypair with PKCS#11 on SoftHSM2 with github.com/miekg/pkcs11 I got curve-parameters from here: https://github.com/ANSSI-FR/libecc/blob/master/src/curves/known/ec_params_secp256r1.h But I'm still getting CKR_GENERAL_ERROR, here is my function to sign: func sign() { lib := "/usr/lib/softhsm/libsofthsm2.so" p := pkcs11.New(lib) if p == nil { fmt.Printf("Lib not found ", lib) return } [...] read more
go
cryptography
signature
pkcs#11
1vote
1answer

Android network calls sometimes get stuck at IOException : java.net.SocketTimeoutException: timeout

I have an app that uploads some files (png, mp4). The full stack is Nginx + Node server behind it. Sometimes, it seems that some users experience bizarre behavior in production when the internet is problematic, and then the Android app cannot send further Upload requests cause they all get [...] read more
java
android
networking
okhttp
1vote
1answer

Emulate Touch Event in Windows 8 using Python

I am trying to write a sort of driver using python for windows 8. I will be receiving touch coordinates via serial which I then want to use to make it appear as though someone touched those coordinates on the screen (emulate a touch). My first question is: Is a [...] read more
python
windows-8
touch
simulation
ctypes
1vote
3answers

Errors with dynamic Array created with new after passed to resize function

I am trying to implement a dynamically created array using new that I want to resize but the resize action is not working correctly. This is an exercise on dynamic arrays, so I need dynamic arrays using new and not std::vector. Here is my code : int main () { [...] read more
c++
visual-c++
c++17
1vote
0answers

bomblab phase_6: Where did I make mistake?

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

SSL handshake failure using client certificate and Retrofit

I have a client-server application (Android client, Apache Http server) communicating through mutual authentication (TLS 1.2). The problem: Sometimes the connection (login) fails with an SSL error. This works: 1. Enrol client certificate 2. Login This does not work: 1. Enrol client certificate 2. Login 3. Delete client certificate 4. [...] read more
android
apache
retrofit
okhttp
tls1.2
1vote
0answers

How to debug crashes with question marks in XCode's organizer?

Since our last release we're seeing weird crashes in the Xcode Organizer containing only question marks. I first thought that these were unsymbolicated crashes but Xcode says these are already symbolicated. Xcode Organizer [https://i.stack.imgur.com/Nj3Ex.png] It looks a bit like this issue: https://github.com/firebase/firebase-ios-sdk/issues/5043 but only half of the list of crash [...] read more
ios
swift
xcode
crash
1vote
0answers

My symbolicated crash report looks like not symbolicated

My users are saying my app is crashing on iPhone 5. I tested it on simulator but there was no problem. But i am getting weird crash reports from iPhone 5 only. I guess the problem is real but i could not see any useful information from these crash reports. [...] read more
ios
objective-c
swift
1vote
1answer

A D3D11_USAGE_STAGING Resource cannot be shared via D3D11_RESOURCE_MISC_SHARED_KEYEDMUTEX

I try to create new ID3D11Texture2D for map it to DXGI_MAPPED_RECT further. I receive some ID3D11Texture2D that I have no power on (can not change way of creation of). Here is the part of the code: CComPtr<IDXGIResource> cpDXGIResource; RET_HR_NULL(_pTexIn->QueryInterface(__uuidof(IDXGIResource), (void**)&cpDXGIResource), cpDXGIResource); HANDLE sharedHandle; cpDXGIResource->GetSharedHandle(&sharedHandle); CComPtr<ID3D11Texture2D> cpTexIn; cpD3D11Device->OpenSharedResource(sharedHandle, __uuidof(ID3D11Resource), (void**)(&cpTexIn)); D3D11_TEXTURE2D_DESC [...] read more
c++
directx
direct3d11
dxgi
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
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
0answers

How do I handle this exception in xstring?

I'm having an issue with my code in xstring. Basically when it tries to return __builtin_strlen(_First), I get thrown this exception: Unhandled exception at 0x0FFFC30E in csgo.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000003). Any help with this? _NODISCARD static _CONSTEXPR17 size_t length(_In_z_ const _Elem* const [...] read more
c++
exception
1vote
1answer

How to add multiple instances of the native add UWP?

I have an UWP app which displays several catalogs of videos. They are located in separate pages. For this purpose I've created an NativeAdV2 control: public sealed partial class CardAdvert : UserControl { NativeAdsManagerV2 manager = new NativeAdsManagerV2("d25517cb-12d4-4699-8bdc-52040c712cab", "test"); NativeAdV2 advert; public CardAdvert() { InitializeComponent(); manager.AdReady += AdReady; manager.RequestAd(); } [...] read more
c#
uwp
windows-store-apps
ads
uwp-xaml
1vote
1answer

Unhandled exception at 0x00363A09, Stack cookie instrumentation code detected a stack-based buffer overrun

So honestly I can't tell you whats wrong with this. I've read threads with similar problems but people are dealing with allocation of memory and things and that is waaaaaayyyy above my scope as a programmer so far, and my program does nothing nearly so complicated. int main() { double [...] read more
c++
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
1answer

How to enable UART Interrupt in imx6q?

I am using I.MX6Q Sabre SD board. I am trying to build custom image with my own start script and ld script. The image is to be loaded with u-boot. I am trying to enable the UART receive interrupt for UART1. But it does not enter the Interrupt service routine. [...] read more
interrupt
uart
imx6
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
0votes
0answers

Completely Remove OneDrive from Office Apps

I would like to completely remove OneDrive integration from Office apps. This is the default menu: enter image description here [https://i.stack.imgur.com/Od6QL.png] I'd like to remove the highlighted section completely. I modified HKCU\Software\Microsoft\Office\16.0\Common\Internet and created a DWORD with the tag OnlineStorage and set its value to 0x00000003. This worked, and it [...] read more
microsoft-office
office365
onedrive
0votes
0answers

Windows 10 update from 1803 to 1909 fails

My Windows 10 repeatedly fails to update. Today I decided to make a day of getting it to upgrade - and after a day of installing I'm no better off. The Windows Update tool fails and rolls back with no explanation, so I downloaded the ISO, mounted it, and ran [...] read more
windows-10
windows-update
0votes
0answers

Wifi driver installation without wifi

I recently changed to a new laptop and did a dual boot of windows and parrot security-4.7(as per my prev laptop). However, I found out that the installer could not detect my WiFi driver and I had to install a non free firmware for my WiFi driver Ax201. I tried [...] read more
firmware
wifi-driver
parrot-os
0votes
1answer

How to determine processor frequency scale down to ~200 MHz due to ThermStatus

I am attempting to determine what is causing an embedded industrial computer (ARK-1550-S9A1E) with Intel 4th Gen Core i5-4300U Dual Core to scale down all the cores to around ~200 MHz from 1.90 GHz There is several utilities/tools (turbostat or msr) tools that indicate that the reason it has scaled [...] read more
linux
ubuntu
cpu
intel-core-i5
cpufreq
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
1answer

Update Windows 10 from ISO without losing data

I was wondering if I can update my Windows 10 from a USB, using an ISO. I have had problems updating for about a year, and tried everything. My Windows 10 never updates, and is still stuck on 1703. It has been so long since update, that I now have [...] read more
windows-10
boot
windows-update
iso-image
0votes
1answer

Robocopy: "The system cannot find the path specified." for cell phone micro SD card

I am trying to expand the memory in my Samsung Galaxy S8 by copying over the current data in my micro SD card to a larger one. Unfortunately, I don't have a micro SD slot on my computer, so I want to connect the phone to my computer via USB, [...] read more
robocopy
micro-sd-card
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

Enabling USB Access via Regedit

I have modified the HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/services/USBSTOR/Start to 0x00000003 But I still get a restriction message. Flashdrive is accessible via opening via Portable Device, however permissions is only ReadOnly. read more
windows-7
windows
0votes
1answer

Run batch as ADMIN & use robocopy

I need to copy from %USERPROFILE%\Desktop to B:\Desktop where B is a mapped network drive. The code inside BAT file is: powercfg -change -standby-timeout-ac 0 robocopy "C:\USER\DESKTOP\" "B:\DESKTOP" powercfg -change -standby-timeout-ac 1 shutdown /s -t 0 In line 1, I want that windows never suspend, turn off, go to screensaver... [...] read more
command-line
batch
robocopy
runas
powercfg
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
1answer

Why doesn't disabling IE's 'Protected Mode' enable the dragging-and-dropping of addresses from the IE address bar into Notepad

IE's Protected Mode prevents one dragging the address from the IE address bar into other applications (for example Notepad). There's an informative article on MSDN about Allowing Drag and Drop Operations in your Application. If I uncheck Enable Protected Mode in IE's settings and restart IE I still cannot drag [...] read more
internet-explorer
notepad
drag-and-drop
protected-mode
0votes
4answers

MacBook OS X applications crashing on startup

Closed my computer last night, went home. Opened it and it had restarted. Now when I open a couple programs such as Adobe Fireworks or Appcelerator Titanium they throw up a nasty error like below. Other programs (Chrome, Firefox, Textmate, Versions) work fine. Any thoughts on this? I haven't owned [...] read more
macos
crash
0votes
1answer

Customizing Fantacy Remote .INI file

I am using Fantacy Remote to remote view other machines. I have attached the default .INI file that Fantacy Remote uses. When i connect to a machine, the client user should not have mouse and keyboard access of the Remote machine. It should be a View only remote connection. And [...] read more
remote-desktop
remote-access
0votes
1answer

Windows 7 BSOD on hybernate

Sometimes I experience a BSOD when my laptop goes to hybernate. It happends all the way on the end of the hybernation cycle, so the laptop is actually off, harddisk spins down, lights and screen are out, but then after a few seconds I get a BSOD. Trouble is that [...] read more
windows
bsod
0votes
3answers

Migrating Domain Controller from Windows 2003 SBS

I'm trying to migrate DC from Windows Server 2003 SBS to Windows Server 2016. Problems begin when I try to promote Server 2016 to domain controller. I get the following error message on 'Prerequisites Check' step: Verification of outbound replication failed. Error reading the NTDS settings on replication source domain [...] read more
active-directory
windows-server-2003
domain-controller
migration
0votes
1answer

Proxmox Ceph - Got timeout on separate network

I've installed on 4 nodes a completly fresh OS with Proxmox. Every node has 2xNVMe und 1xHD, one NIC public, one NIC private. On the public network there is an additional wireguard interface running for PVE cluster communication. The private interface should be used only for the upcoming distributed storage. [...] read more
proxmox
ceph
0votes
0answers

Kerberos constrained delegation

There is a small problem with the setting Kerberos constrained delegation in Active Directory. The scheme works as follows: 1. Client workstation. 2. Web server with Windows 2008 Ent installed IIS (iis.domain.lab). Is a front-end server, the W3SVC service is started under the account LocalSystem. 3. The application server based [...] read more
iis
kerberos
delegation
0votes
1answer

Unicenter Software Delivery 4 not able to connect to MS SQL 2000 Database after W2003 SP2 upgrade

Yesterday I installed the Windows Server 2003 Service Pack 2 on a Windows Server 2003 which has Unicenter Software Delivery 4 installed. Prior to the installation I disabled every CA service on the server (Brightstor, SDO , RCO, TNG) and the MS SQL 2000 service. After the installation of the [...] read more
windows-server-2003
database
deployment
0votes
0answers

printk() maximum string length in Zephyr RTOS

I am new to Zephyr and I am a little baffled by the behaviour of printk() function. What I want is to allow printing very long (up to 1024 character) strings in a single print operation to UART. When I do it without changing any configs, the string I'm trying [...] read more
zephyr-rtos
0votes
0answers

Esp32 AsynWebserver Websocket Crush

I'm trying to build async webserver with websocket using ESPAsycnWebserver lib. Everything works fine, but there is one moment: when i refresh multiple times: 13 or 29 it crushes and reboots. I think there is memory problem but dont know how to solve. Here is Console output and working code: [...] read more
websocket
webserver
esp32
arduino-esp32
0votes
0answers

Windows Time service won't synchronize

I'm posting my problem here because even with all the post I could read to fix this, the w32tm still give me the same error message when trying to synchronize the computer time with a local NTP server (which is a PLC). Here's a quick explanation of the situation : [...] read more
windows
synchronization
windows-services
wireshark
ntp
0votes
0answers

Error while installing mssql container on Docker

I wanted to install mssql container in Kitematic (Docker Desktop) but I'm getting below error in logs. Kindly request your help. I also tried to install directly from Docker Desktop but when I start the container it exits immediately most probably because of this log. Thanks > This program has [...] read more
sql-server
docker
kitematic
0votes
0answers

Two sites same IIS server, RunImpersonation HttpClient passing empty NTLM credential

I have two sites on the same IIS instance. One uses HttpClient to request data from the other. They are both configured with Windows Authentication only. These are both ASPNET Core 3.1. When I browse to the first site, it authenticates, but when it calls through to the other, it [...] read more
asp.net-core
authentication
iis
httpclient
0votes
0answers

According to the standard PCI bus scan but the result is abnormal

This is scanning code uint32_t pci_read_configd(uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset) { uint32_t address; uint32_t lbus = (uint32_t)bus; uint32_t ldev = (uint32_t)dev; uint32_t lfunc = (uint32_t)func; address = (uint32_t)((lbus << 16) | (ldev << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint32_t)1 << 31)); out_port32(0xcf8, [...] read more
c
operating-system
qemu
pci
pci-bus
0votes
0answers

Finding a value of a variable pointed by debug symbols on a hex editor

An example scenario would be compiled with gcc -g: void main() { int find_me = 123; char find_me1 = 'h'; } and from dwarfdump -d: 0000000000001119 <main>: 1119: 55 push %rbp 111a: 48 89 e5 mov %rsp,%rbp 111d: c7 45 fc 7b 00 00 00 movl $0x7b,-0x4(%rbp) 1124: c6 45 [...] read more
c
linux
assembly
gcc
reverse-engineering
0votes
1answer

SSIS script task errors out when executing from SQL Server Agent Job . System.IO.FileNotFoundException: Could not load file or assembly

I have SQL Server 2019 installed on a Windows 2019 Virtual machine. Microsoft Visual studio Professional 2012 is installed on that server. * I have bunch of SSIS packages in a project, some of those have script task written in C# 2012 and all those run fine from Visual Studio. [...] read more
sql-server
visual-studio
ssis
sql-agent-job
0votes
1answer

How do I lookup a value in a table?

In Go assembly on arm64, I have created a table of values DATA table<>+0(SB)/4, 0x00000001 DATA table<>+4(SB)/4, 0x00000002 DATA table<>+8(SB)/4, 0x00000003 DATA table<>+12(SB)/4, 0x00000004 But what I want to be able to do is load up a value into a register from this table, but based on a variable. If [...] read more
go
assembly
arm
arm64
0votes
0answers

sonarqube-community-branch-plugin - pull request decorations are not working

I am trying to make SonarQube 8.5 to work with BitBucket Cloud PR, so for AML settings I have used: * BitBucket Server * Bitbucket Server URL: https://api.bitbucket.org/ * Personal Access token: I have generated it echo -n user:pass | base64 In my Project settings -> General Settings -> Pull [...] read more
sonarqube
bitbucket
sonarqube-scan
bitbucket-cloud
0votes
0answers

New linux firewall - nft - maps with concatenations and interval doesn't seem to work

Hello linux firewall gurus, I am trying to move from iptables-based firewalls to nft. I find sets/maps/concatenations quite useful, but now I am trying to use more concepts together.... and it doesn't work for me as I think it should. I want to mark certain packets for latter use. I [...] read more
linux
firewall
netfilter
nftables
nft
0votes
1answer

Chilkat: $oImap.ListMailboxes - return "Null object"

I try to use IMAP object from Chilkat AcitveX component. $oImap.Login($sImapUserName, $sImapPassword) ConsoleWrite(@ScriptLineNumber & ' LOGIN: ' &$oImap.LastErrorText & @CRLF) Returns: Login: DllDate: Sep 28 2020 ChilkatVersion: 9.5.0.84 UnlockPrefix: ****************** Architecture: Little Endian; 32-bit Language: ActiveX VerboseLogging: 0 loginX: greeting: * OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ [...] read more
autoit
chilkat-email
0votes
0answers

Having issues with a Frida gadget on an emulated Android device

I am trying to inject a Frida gadget into an Android App which is already installed on an emulated (MEmu) Android 7.1 rooted system. When I connect to the device using adb, I can see that the files are store here: ASUS_Z01QD:/data/app/com.turtle.foo.bar-1 # ls base.apk lib oat split_config.armeabi_v7a.apk The MEmu [...] read more
android
arm
apk
emulation
frida
0votes
0answers

Completing/Amending Recurring Task (iOS: Reminder(s)) on iPhone results in Incorrect RecurrencePattern?

When an iOS Device tries to complete an Outlook/Exchange Recurring TASK (i.e. which appears as a Reminder in the iOS Reminders App), or even tries to amend that Recurring Task, the RecurrencePattern MAPI Property seems to get Set or Re-Set to an Incorrect value, which can result in MAPI Errors. [...] read more
ios
outlook
mapi
activesync
0votes
0answers

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
0votes
0answers

How to set/build listview filterbar vs2019 winform C#

How do i apply/build listView filterbar with C# into vs2019 Need extended filter functionality listView-bar each column, as like using >,<,>=,=<, exist, between,,,.....etc. Filter with search and view Rows with filter condition. [ListView Column Filter button and field not working...] Please see images---link below... https://ibb.co/2sLVrpD https://ibb.co/hKdWRDn Thank you in advanced. [...] read more
c#
0votes
1answer

IBM-MQ PCF using to get subscriber count with a particular Topic

I'm using IBM-MQ, and I want to get the number of subscribers for a specific topic using PCFMessage MQQueueManager qmgr = null; PCFMessageAgent agent = null; Hashtable<String, Object> hashtable = new Hashtable<String,Object>(); hashtable.put(MQConstants.HOST_NAME_PROPERTY,"HOST NAME"); hashtable.put(MQConstants.PORT_PROPERTY,1414); hashtable.put(MQConstants.CHANNEL_PROPERTY,"CHANNEL NAME"); hashtable.put(MQConstants.USER_ID_PROPERTY, "USER_ID"); hashtable.put(MQConstants.PASSWORD_PROPERTY, "PASSWORD"); agent = new PCFMessageAgent(qmgr); PCFMessage request = new PCFMessage(MQConstants.MQCMD_INQUIRE_TOPIC_STATUS); [...] read more
java
ibm-mq
0votes
0answers

MSI-X table with vfio (KVM PCIe Passthrough)

I am working on project that requires PCIe Passthrough (also referred as virtio-passthrough) with Intel x86 CPU and KVM. Have an interesting situation where device that is passedthrough in Guest is configuring all entries in vector table correctly. However, if I see from host, that table is populated, but all [...] read more
pass-through
vfio
0votes
1answer

Segfault in qemu user emulation of Android binary

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

How to start the ApacheDS as a windows service in background using batch file or powershell script?

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

Validating if a JSON object is present in a file with nlohmann JSON C++ library

I have a project where I import JSON files to setup global variables. There are various possibilities to the JSON object names in the files, so I want to know how can I check if an object is there or not. The way I tried to do it (with an [...] read more
c++
json
nlohmann-json
0votes
3answers

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

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

Why when I set an OWNER RIGHTS ACE, does it get inheritance flags that I didn't set?

I'm trying to tighten the security on a Windows process, by overriding the process owners ability to further alter the DACL on the process. Having created the process with CreateProcessAsUser() I then proceed to get the existing DACL from it like so: CDacl procDacl; if (AtlGetDacl(hProcess, SE_KERNEL_OBJECT, &procDacl)) { //.. [...] read more
c++
windows
process
permissions
atl
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
0votes
1answer

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

Cannot create a SQL Server 2019 pod, but can create an SQL Server 2017 pod. Why can't I create an SQL Server 2019 pod?

I have tried following the instructions on this webpage: https://dbafromthecold.com/2019/02/20/creating-custom-sql-server-helm-charts/ i.e. 1) helm init 2) mkdir C:\Helm 3) cd C:\Helm 4) helm create testsqlchart 5) cd testsqlchart/templates 6) rm deployment.yaml rm service.yaml rm ingress.yaml 7) Re-create deployment.yaml: – apiVersion: apps/v1beta1 kind: Deployment metadata: name: sqlserver spec: replicas: 1 template: metadata: [...] read more
docker
kubernetes
0votes
1answer

How do I create multiple common FPGA structures in kristen?

I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
verilog
fpga
0votes
0answers

Unhandled exception at 0xFEFEFEFE in Project1.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000003)

#include <stdio.h> #include <conio.h> #include <stdlib.h> void main(void) { char name[50]; char name1[50]; char address[50]; char gender[50]; char college[50]; char hscmonth[10]; char school[50]; char sscmonth[10]; int dd, mm, yyyy, cell1, cell2, hscyear, sscyear, cnic1, cnic2, cnic3; printf("\n****************************RESUME****************************"); printf("\n******************************CV******************************"); printf("\n**************************************************************"); printf("\n=============================================================="); printf("\nEnter name: "); scanf_s("%s",name); printf("\nEnter Fathers name: "); scanf_s("%s",name1); printf("\nEnter [...] read more
c
0votes
1answer

How to filter recursive CTE SQL queries

I have a recursive SQL query that works well for what I want it to do, however I'm not sure how I should filter it in order to the branches filtered alphabetically. For example: UniqueID | Description | ParentID | MaterializedPath 1 CCC 0 0x00000001 2 BBB 0 0x00000002 3 [...] read more
sql-server
tsql
0votes
2answers

Porting a simple MIPS32 program to MIPS64

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

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

Run a custom transformation on string columns

Suppose I have the following dataframe: var df = Seq( ("2019-09-01", 0.1, 1, "0x0000000000000001", "0x00000001", "True"), ("2019-09-02", 0.2, 2, "0x0000000000000002", "0x00000002", "False"), ("2019-09-03", 0.3, 3, "0x0000000000000003", "0x00000003", "True") ).toDF("Timestamp", "Float", "Integer", "Hex1", "Hex2", "Bool") I need to run a transformation on the string colums (in this example: Hex1, Hex2 and [...] read more
scala
apache-spark
apache-spark-sql
transformation
0votes
1answer

Robocopy with PowerShell : ERROR 3 (0x00000003) The system cannot find the path specified

I have a PowerShell script for backup that I used on Windows 2003 Server for a long time, and now I have a problem with it on Windows Server 2012 R2. I have this message when I try to execute it: > 2019/09/18 08:40:25 ERROR 3 (0x00000003) Creating Destination Directory [...] read more
powershell
powershell-4.0
robocopy
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
1answer

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

Making freeradius 3 in ubuntu 18 look at the mysql nas table for client "secret"

I am running freeradius from the same computer that I am running "radtest" from. I can get get an "accept" message with user password coming from either "users" file or mysql , and can get client "secret" from clients.conf file, but can't figure out how to get freeradius to look [...] read more
freeradius
0votes
1answer

Different Int values for the same value?

I ran into an integer overflow problem, which I managed to solve, but only by trial and error. Since it's an integer overflow problem, I've wrote some code to print out the buffer. The beginning of the buffer is the address where array[0] is stored. Then, I started to pass [...] read more
c
integer-overflow
stack-smash
0votes
1answer

Registry not set using Visual Studio 2017 Installer Project

I create a visual studio installer project on visual studio 2017 for word add-in. The registry is not set when installing it. What do I do wrong during the process? I have a MyWordAddIn solution which when running through visual studio correctly open Word 2016 and launch the add-in. I [...] read more
visual-studio-2017
registry
installation
0votes
1answer

certain parts of injected string are missing on stack frame

I'm trying return-to-libc exploit on simple program. I've managed to locate stack address where input string is stored, and locations of libc functions and build my payload base on it. [padding(252-byte)] + [system(4-byte)] + [exit(4-byte)] + [argument(4-byte)] I opened the vulnerable program with gdb and injected payload. When I check [...] read more
c
gcc
gdb
buffer-overflow
0votes
2answers

Create an Arduino ESP8266 library

I would like to create a Arduino library for an ESP8266or ESP32 microcontroller. I wrote a test library which running on an Arduino Nano board with no problem. Here the library cpp file: #include "Test.h" Test::Test(){ } uint32_t Test::libTest(strcttest* t){ uint32_t w; w = t->a; return w; } Here's the [...] read more
c++
arduino
esp8266
0votes
1answer

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

I know the answer to this program but I don't understand why?

I understand there is an increment of ii and x shifts left, but how does it go from 1 to being 3? Then from 13(D) to being 69? and so on... #include <stdio.h> int main() { int x = 1; int ii; for (ii = 0; ii < 8; ii++) [...] read more
c
0votes
1answer

comprehension to change nested list to list of dictionaries

I've massaged the data into the list structure… [['keychain: "keychainname.keychain-db"', 'version: 512', 'class: 0x0000000F ', 'attributes:\n long string containing : and \n that needs to be split up into a list (by newline) of dictionaries (by regex and/or split() function) '], ['keychain: "keychainname.keychain-db"', 'version: 512', 'class: 0x0000000F ', 'attributes:\n long [...] read more
python
list
dictionary
list-comprehension
dictionary-comprehension
0votes
1answer

How to populate avcC box when encoding fmp4 file with H264 data?

my h264 frame just have I/P frame. The avcC box I filled in is as follows, but it cannot play with the VLC player (the timestamp runs but there is no image). AVC Decoder Configuration Record : Start offset 511 (0X000001FF) Box size 39 (0X00000027) Box type avcC (0X61766343) Detailed-Information [...] read more
mp4
-1votes
1answer

robocopy cannot find path

i have batch script like bellow: SET SOURCE=F:\Diff\For_VOYAGE\models.pck.files\models\players SET DESTINATION=F:\Diff\For_VOYAGE\models.pck.files\NEW\models\players SET LOG=LOG.txt robocopy %SOURCE%\装备\女\印度舞娘时装上衣 %DESTINATION%\装备\女\印度舞娘时装上衣 /E /LOG+:%LOG% when i execute it, giving me error like bellow: ------------------------------------------------------------------------------- ROBOCOPY :: Robust File Copy for Windows :: Version XP010 ------------------------------------------------------------------------------- Started : Sat May 14 20:27:50 2016 Source : F:\Diff\For_VOYAGE\models.pck.files\models\players\装备\女\印度舞娘时装上衣\ Dest : [...] read more
batch
windows-command-prompt
robocopy
command
-1votes
1answer

After STM instruction, why does R6 register hold memory location of 10, 11, 12?

In Wiley's Practical Reverse Engineering book, page 59, the following example is used to explain the LDM/STM instructions. Shouldn't line 30 show R6 with the values of r3, r4, r5? Doesn't line 10 store the values in R6 at the memory locations of the destination? 02: Breakpoint 1 at 0x8344 [...] read more
assembly
arm
-1votes
1answer

How to open device driver for IOCTL

I am trying to open a device driver in order to send it an ioctl. There are many examples on SO and elsewhere but virtually all address opening "\\.\PhysicalDrive0" or the like. But I am trying to open a non-disk driver, compiled from Microsoft sample code at GitHub "Windows-driver-samples", namely [...] read more
windows
device-driver
createfile
-1votes
2answers

How to fix mentioned MISRA-2012 10.4 and 10.9 violations issue in this code?

There are required pieces to formulate my problem. Below are content of MyError.h header file. -------------------------------------------------------------------------------- MYERROR.H ########################### # myError.h ########################### 1 typedef enum 2 { 3 MySuccess = 0x00000000, 4 MyError1 = 0x00000001, 5 MyError2 = 0x00000003, 6 MyForce32 = 0x7FFFFFFF 7 } MyError; 8 #define PROPAGATE_ERROR_FAIL_MY_1(_err) \ 9 [...] read more
c
misra
safety-critical
-2votes
1answer

Console bugging and bugged, evidently

It appears that a false file path has been installed on a home computer many of us use, that reroutes my emails from gmail, to an Entourage mail app that I do not use, and from my dock have no access to…. My question is, is this even possible, and [...] read more
macos
-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
-3votes
1answer

Quick question, why is scanf_s throwing an exception in runtime here? I am very confused

I am trying to use scanf (or some variant like scanf_s) to send a character array from the stdin stream into a (pre-defined) character array variable. The error (unhanled exception) is thrown at runtime by windows as soon as the user hits enter; it is triggered as soon as scanf() [...] read more
c
runtime-error
c11

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