# Windows error 0x00000001, 1

## Detailed Error Information

### INVALID_FUNCTION[1]

Message Incorrect function. winerror.h

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

### APC_INDEX_MISMATCH[2]

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

### 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] 1 (0x0001)

## Questions

### Can't Install IE 10 on brand new Windows 7

I bought a new Alienware and they won't provide support for Windows Update (why should they, really). I go and try to run the IE 10 update like so: enter image description here [https://i.stack.imgur.com/EvMph.gif] And, it hangs a bit on the screen above. Then, it shows this error: enter image [...] read more
windows-7
internet-explorer
windows-update
internet-explorer-10

### How to get the processes that have systray icon

I am trying to create application that get the list of processes that have systray icon. I searched alot and found number of references: 1. http://www.raymond.cc/blog/find-out-what-program-are-running-at-windows-system-tray/ 2. https://superuser.com/questions/708674/how-to-find-out-what-process-a-system-tray-icon-corresponds-to 3. Which Windows process is displaying a given taskbar system tray icon? 4. https://social.msdn.microsoft.com/Forums/vstudio/en-US/53e27f60-37af-406f-bbdc-45db2bd3dee6/how-to-find-a-system-tray-process 5. https://social.msdn.microsoft.com/Forums/vstudio/en-US/4c4f60ce-3573-433d-994e-9c17f95187f0/finding-which-applications-and-services-are-listed-in-the-system-tray?forum=csharpgeneral 6. http://www.codeproject.com/Articles/10497/A-tool-to-order-the-window-buttons-in-your-taskbar 7. Get ToolTip Text [...] read more
c#
c++
winapi

### Is gcc reordering local variables at compilation time?

I'm currently reading (for the second time) "Hacking : The Art of Exploitation" and have stumbled on something. The book suggests two different ways to exploit these two similar programs : auth_overflow and auth_overflow2 In the first one, there is a password checking function layed out like this int check_authentication(char [...] read more
c
gcc
gdb
reverse-engineering
buffer-overflow

### nic: Something Wicked happened! ffff

I'm configuring a GNU/Linux Router with Debian Stretch (9.7) and before rebooting the server, all traffic from one interface to another was going ok, but after that, I received a message like this (tty): enp1s6: Something Wicked happened! ffff. I have a host on the same switch and same network, [...] read more
debian
linux-networking
linux-kernel
icmp
ethtool

### Cisco ASA Site-to-Site VPN Dropping

I have three sites, Toronto (1.1.1.1), Mississauga (2.2.2.2) and San Francisco (3.3.3.3). All three sites have ASA 5520. All the sites are connected together with two site-to-site VPN links between each other location. My issue is that the tunnel between Toronto and San Francisco is very unstable, dropping every 40 [...] read more
cisco
cisco-asa
cisco-vpn

### XCode6/Swift: unrecognized selector sent to instance

Thought I'd try my hand at iOS development since the Swift/ios8 announcement and I'm having trouble getting a basic tableView to build. Currently getting the following error messages when loading the app in the simulator (Xcode says build completes): 2014-06-11 13:40:56.173 firstapp[2217:85843] -[UIViewController tableView:numberOfRowsInSection:]: unrecognized selector sent to instance 0xb20fcf0 [...] read more
ios
uitableview
swift

### Measuring clock cycle count on cortex m7

I have been measuring clock cycle count on the cortex m4 and would now like to do it on the cortex m7. The board I use is STM32F746ZG. For the m4 everything worked with: volatile unsigned int *DWT_CYCCNT; volatile unsigned int *DWT_CONTROL; volatile unsigned int *SCB_DEMCR; void reset_cnt(){ DWT_CYCCNT = [...] read more
c
arm
embedded
stm32f7

### Android .setColor for Large Icon

I wanted to ask if there is a way to set the color of a notification with .setColor from .setLargeIcon ? Because as soon as I use both the .setSmallIcon and .setLargeIcon my color is used for the small Icon. I wanted to represent my individual notification icon with the [...] read more
java
android
icons
android-5.0-lollipop

### Windows Server 2008 install: wpeinit -unattend:unattend.xml does nothing

I'm trying to set up automated installations of Windows Server 2008 x64. I have it working using a DVD and autounattend.xml on a USB key, but now I want to make it work over PXE so I don't have to put the DVD in the drive on some overseas servers. [...] read more
windows-server-2008
installation
unattended
windows-pe

### Network performance deteriorates when uninvolved device on switch is shut down

I am witnessing very counter-intuitive effect in my network setup. I have a network setup with three devices (let's call them server, laptop and nettop, all running Linux, details below) connected to a gigabit ethernet switch. I measure network throughput (a) by transferring a file from the server to the [...] read more
networking
performance

### eglfs on raspberry2 -- * failed to add service - already in use?

that's is my first post here. I'd like to keep it short... Following problem: i want to run a qt5/qtquickcontrols2 application utilising the eglfs backend on a raspberry-pi 2b, accelerated by vc4, of course. Ideally, it should run in kiosk mode and it definitely needs accelerated gl functionality. To minimise [...] read more
qt5
raspberry-pi2
qtquickcontrols2
archlinux-arm
eglfs

### nouveau error while booting arch

I dual booted arch linux with window 8.1. After installation, while booting for the first time, this error occurred. Here is the error I found. { [0.063411] Ignoring BGRT: Invalid status 0 (expected 1) starting version 218 Arch_Linux: clean, 70622/18677760 files, 1643393/74703025 blocks [ 15.759913] nouveau E[ PIBUST][0000:01:00.0] HUBO: 0xffffffff [...] read more
graphics
window
boot
archlinux
bios

I am trying to use taskset to assign some processes to specific CPU's. When I run taskset, it appears that the command has worked as I get a reply stating what the new affinity of the process is set. However when i monitor the top output (the process that i [...] read more
linux
operating-system
numa

### ASA site-to-site IPSec vpn to linux ipsec-tools endpoints stops working after a random period of time

We swapped to ASA's over the weekend, and we replaced our VPN infrastructure which was previously based on openvpn and are now using IPSec between our ASA 5520's and our other sites that have linux (CentOS) routers. The VPNs connect just fine, but after a period of time the connections [...] read more
linux
cisco
cisco-asa
ipsec
racoon

### Enable TLS 1.2 in Windows Server 2012 running Exchange 2013 via IIS 8.0

I got some issues getting the TLS 1.2 protocol running on one of our Windows Server 2012 machines. I checked this using ssllabs.com by Qualys and also tested with a powershell script and the linux tool "cipherscan". The server hosts one Exchange 2013 SP1 (CU4) Server, with IIS 8.0. The [...] read more
windows-server-2012
tls
exchange-2013

### Fusion Log Assembly Binder Error - Bind result: hr = 0x1. Incorrect function

I am trying to get to the bottom of a strange behavior on one machine. I have a trivial console application that will run interactively, but when I invoke it via WMI, it will start and exit immediately. I enabled the Fusion log, since Procmon was unrevealing. I see the [...] read more
c#
.net
wmi
fusion

### Issue installing IE11

I've been using WSUS to roll out IE11, there's a few stranglers that IE11 will not install and I've started looking into. Here's what I've done. 1. Confirmed all prerequisite updates have been done. 2. I'm using the x64 bit package of ie11 and only using x64 servers and workstations. [...] read more
windows-server-2008-r2
windows-7
wsus
internet-explorer-11

### File & Printer Sharing not working on Windows Server 2008 R2

When trying to share an existing printer i receive the following error message: printer settings could not be saved. operation could not be completed (error 0x00000001) I have already tried restarting the spooler and server service (including several reboots). I can access existing shares & printer but i am not [...] read more
windows
printer

### solaris : useradd does not work but has exit code 0

One of my Solaris 10 servers will not add new users. Existing users are able to log in. The useradd command appears to work normally but it does not add the user. I checked my other Solaris servers and verified file permissions on /etc/passwd and /etc/shadow are the same. # [...] read more
user-management
solaris-10

### How can I inspect why Active Directory can't use kerberos and fallsback to NTLM?

I have been trying to get squid running with kerberos auth for a few days but I'm in some trouble. The problem has been asked and replied many times on both the squid-users list and on the web, I have read them all, and tried to solve the problem. But [...] read more
active-directory
squid
kerberos
ntlm

### How to boot Windows ISO installation using PXE (without Windows AIK or whatever)

I have a Linux PXE server. Can boot into Linux ISO installers using PXE with no problems. But how can I do it with Windows ISO? Just start the installation. Without creating some stuff (winpe) under Windows. I've extracted some files from image.iso/sources/boot.wim /2/Windows/Boot/PXE/ to tftp root pxeboot.com wdsnbp.com (-> [...] read more
linux
windows
iso-image
pxe

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

### Windows Update error code 0x80240439 and web service xml errors

I'm running Windows 10 Pro, Version 1511 (Build 10586.545). I wanted to install the Xbox Accessories App, but got the error code 0x80240439 without any further details. As it turns out, I get that error when I try to install any app (which definitely did work at some point before). [...] read more
windows-10
windows-update

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

### Many "eth1: Link is Down" and "eth1: Link is Up 1000 Mbps Full Duplex, Flow Control: RX/TX" errors in /var/log/messages

We have a Linux box running SUSE Linux Enterprise Server 11 (x86_64). recently, we found many "Link is Down/Up" in /var/log/messages and the Link was actually Disconnected and Reconnected many times, this make this server almost unusable (ping test has a packet loss of 20%) How can i address such [...] read more
networking

### Mac OS X 10.9 Server authentication using OpenLDAP not working

I have a Debian server that is running OpenLDAP version 2.4.31, and now I am trying to connect my Mac OS X 10.9 Server, so that I can authenticate existing LDAP users. I successfully connected them using the directory utility and mapped the users record to the values returned by [...] read more
ldap
openldap
mac-osx-server

### bnx2 and e1000e drivers on RHEL 5.3 detects repeated link loss

UPDATE: The problem was faulty hardware on the switch. Thanks to all of you for the good debugging suggestions. Correct answer given to MattyB for suggesting using a different switch to see if the problem persisted. Hello serverfault, I am attempting to debug an issue on several nodes that are [...] read more
linux
networking
rhel5
redhat

### Digitally signed driver not verified by Windows (Code 52)

I am installing the I2CTools USB-to-I2C Elite driver for Win 10 x64, but I got a dialog saying ”Jungo Connectivity: a digitally signed driver is required.” In device manager the two drivers JungoConnectivity WinDriver1251 and USB-to-I2C Elite drivers are marked with yellow triangles and Details says: Not digitally signed. I [...] read more
windows-10
usb
drivers
digital-signature

### Windows 7 sees internal hard drive as an external hard drive?

Running Windows 7 (x64) with four drives. After installing the Windows 7, all the drives were correctly seen as internal drives. But I changed the drive letters of three of them to avoid rescanning/changing configs for 3TB+ of data. And now two drives are seen as being external drives (with [...] read more
windows-7
hard-drive
sata

### Windows 8.1 Lock screen issues

I uninstalled a few programs from our computer lab Dell 9030 All-In-Ones, but unfortunately after rebooting the machines post uninstall the Windows 8.1 lockscreen is broken. We have in place Domain level GPO's being applied to the OU that the computers in the lab reside in which "Force a specific [...] read more
windows-8.1
lock-screen

### Unable to install Windows XP : Blue screen error pops up before "Starting Windows Setup"

I got caught up in a strange problem. It's really annoying me. I'm writing this by logging into ultimate boot cd. Strange because, it never happened before. Just about a week ago I installed and it installed perfectly fine. (I used a different Windows XP CD & a different DVD [...] read more
windows
windows-xp
installation
bsod

### E/iardini.error0: Invalid ID 0x00000001 - Error resource ID

I am currently stuck on an error that continues to slow down the performance of my application. The error does not cause the application to close or crash, or to write an exception to the console. The console simply reports this message: E/iardini.error0: Invalid ID 0x00000001. The only things that [...] read more
android
android-resources
android-databinding
android-tablayout
android-viewpager2

### WinUSB driver installation failing on XP (works fine on Win7)

I'm having difficulty installing a WinUSB driver on Windows XP (x86, service pack 3). I've followed the Microsoft WinUSB guidelines to create a signed driver package using an inf file, signed cat file (made using Inf2cat), and relevant WinUSB coinstallers. Everything works perfectly on Windows7, but installation fails on XP. [...] read more
windows-installer
driver
setupapi
winusb

### How to initialize I2C on STM32F0?

Recently I've been trying to get the I2C bus working on the STM32F030F4P6 MCU, but with little luck. I'm using an STM32F0 module and have found plenty of resources for the STM32F1 module I2C initialization, but nothing specific about the STM32F0 initialization/transfer process. Here's my initialization code: void i2c_init(uint8_t ownAddress) [...] read more
arm
stm32
i2c

### SQL Server crashes when trying to backup certificate

I am trying to create backup certificate from primary to create certificates on secondary nodes for an availability group. Using the following: CREATE MASTER KEY ENCRYPTION BY PASSWORD = 'password123'; CREATE CERTIFICATE dbm_certificate WITH SUBJECT = 'dbm'; BACKUP CERTIFICATE dbm_certificate TO FILE = 'dbm_certificate.cer' WITH PRIVATE KEY ( FILE = [...] read more
sql-server
openssl
redhat

### AWS EC2 CentOS 7 with LibreSwan IPsec Tunnel UP (Established), No Traffic flow, cannot ping Peer encryption Domain Nodes

I have LibreSwan Setup on AWS EC2 CentOS7 instance, IPsec tunnel is established with the peer (Cisco ASA). The Tunnel is up, but I no traffic. I cannot ping the nodes at the side of the peer. Here is my setup. on AWS EC2 instance EC2 instance - running CentOS7 [...] read more
amazon-ec2
centos7
ipsec
site-to-site-vpn
libreswan

### iPXE to iSCSI target - missing parameter and naming confusion

I have a pyTarget iSCSI target. I'm able to use iPXE to connect to the target and install Ubuntu. After installation, I can't boot into the image, however. pyTarget config.xml: <root> <!-- configure target console --> <console ip="" port="3260" debug_level="6" /> <!-- configure the first target --> <target name="iscsi" ip="192.168.1.10" [...] read more
iscsi
pxe-boot

### Unable to join the domain?

I am having difficulties in joining my Windows Server to the domain, may I know what could be the problem ? I suspect that there is a firewall in between this DR internal site and the DMZ where this Forefront TMG 2010 is deployed ? DCDiag /s: result: Directory Server [...] read more
windows-server-2008
microsoft-forefront-2010

### 0x8007042b error when adding yahoo or gmail accounts to Windows 10 Mail and Calendar app

There's a similar thread from 2015 How to solve error 0x8007042b while connecting a Google account on Windows 10? here but none of the answers worked. The manual method of adding accounts doesn't work with Calendar, which for some strange reason is bundled with the Mail app! My current build [...] read more
windows-10
gmail
calendar
yahoo-mail

### no /dev/*, but /sys/bus/mmc device info on damaged SD-Card

A friend gave me a broken SD-card, hoping I might recover something from it. I have no trouble mounting any other cards, whatsoever. I am not getting any block devices in /dev, but the mmc subsystem recognizes the inserted card as mmc0 and lists it. edit3: the card specs from [...] read more
data-recovery
sd-card
mmc

### Windows 7 crashes with STOP 0x101 ("A clock interrupt was not received..") every time the laptop tries to sleep

I have an HP Compaq nc8430 with a new install of Windows 7 (32 bit). Every time I sleep the laptop, it crashes. It also crashes sometimes just during normal use. It does hibernate properly. The only reliable trigger I've found to crash it is sleep mode. It's not overclocked, [...] read more
windows-7
sleep
bsod
multi-core

### External drive causes spotlight and indexing errors

I'm having issues with an external drive. My computer is a new Macbook Air running Lion. I had an external drive hooked up today, including a TM backup, to get some files. I'm seeing the following output in /var/log/system.log (this wasn't causing system problems): Sep 3 02:13:11 Jonathans-MacBook-Air mds[61]: (/Volumes/g_drive/.Spotlight-V100/Store-V2/CCEAAA21-72B7-4D1A-9B47-B86FFC0B3C81)(Error) [...] read more
macos
osx-lion
syslogd
kernel-messages

### MIPS procedure not working properly

.data redData: .word 0:4 greenData: .word 0:4 prmpt1: .asciiz "Enter x-coordinate for red particle (0 to 10):" prmpt2: .asciiz "Enter y-coordinate for red particle (0 to 10):" prmpt3: .asciiz "Enter x-coordinate for green particle (0 to 10):" prmpt4: .asciiz "Enter y-coordinate for green particle (0 to 10):" prmpt5: .asciiz "cycle [...] read more
assembly
mips
mars-simulator

Has anyone successfully got the HTTP/2 connector working in Tomcat9 on AIX (e.g. powerpc-ibm-aix7.2.5.0)? I followed the instructions here to build the tcnative module (using tomcat-native-1.2.24-src that comes with Tomcat 9.0.37, APR 1.5.2, OpenSSL 1.0.2, IBM Java 1.8.0_261) i.e. $./configure --with-apr=/opt/freeware/bin/apr-1-config --with-java-home=/app/java8_64/ --with-ssl=yes --prefix=/app/tomcat followed by make && make [...] read more java tomcat aix http2 2votes 2answers ### Programmatically change windows resolution I am using the following code segment to change the screen resolution of windows via python and it works fine for 1366x768, 1024x768, 800x600 resolutions. But it is not working for 1440x810 resolution. What is wrong here? import ctypes import struct import sys def set_res(width, height, bpp=32): DM_BITSPERPEL = 0x00040000 [...] read more python windows screen-resolution 2votes 1answer ### Force to use integrated (Intel) graphic card on Microsoft Hybrid system I use Microsoft Desktop Duplication API and if my code runs on the Integrated (Intel) graphic card then everything works fine. But if I run on the dedicated card, I get an error. I found that Microsoft does not support this usage on a dedicated card on Microsoft Hybrid system [...] read more visual-c++ directx-11 screen-capture dxgi video-card 2votes 1answer ### Analyze ESP32 backtrace on NodeMCU I'm debugging some crashes on the dev-esp32 branch of the NodeMCU Lua firmware. How do you other NodeMCU devs analyze the backtraces? During normal ESP32 dev the idf monitor handles decoding the backtrace. I've tried to use the IDF monitor with my NodeMCU build (unsuccessfully). I've also tried https://github.com/me-no-dev/EspExceptionDecoder with [...] read more esp32 nodemcu esp-idf 2votes 0answers ### Using PubSubClient from within a custom class I'm building a library that I can reuse for multiple devices to save me setting up the same functions in my code over and over again. I'm having issues when trying to publish a message, and I'm hoping you can help! The code is targeting an ESP32 with BLE and [...] read more c++ arduino mqtt 2votes 1answer ### Stream static image to v4l2loopback using obs with v4l2 plugin, ffmpeg or gstreamer I want to stream a static image to the android studio emulator. To do that I created a virtual camera using v4l2loopback v.12.5 in linux ubuntu 20.04. The virtual camera is created in /dev/video2. I can stream there using obs and a plugin, ffmpeg or gstreamer but I've got different [...] read more linux android-emulator android-camera v4l2loopback obs 1vote 1answer ### Add, remove, and test for the existence of a registry value * at the Command Prompt? I am trying to check and update the network zone mapping in the registry from the Command Prompt. I need to check for the value named *. For example, under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\cmich.local, Registry Editor shows the following: * REG_DWORD 0x00000001 (1) To check this value in a command script (*.cmd), [...] read more batch-file windows-registry windows-command-prompt 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 ### FreeIPA Unable to establish trust with Active Directory I am trying to establish a trust between FreeIPA and Active Directory. Details on the infrastructure: * 3 x IPA Servers all with replication between eachother (CentOS 7) * 3 x Domain Controllers for AD (Windows Server 2016) When attempting to run the following command: ipa trust-add --type=ad ad.example.net --admin [...] read more centos7 freeipa 1vote 0answers ### NoDeletePrinter not stopping deletion of printers HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer NoDeletePrinter REG_DWORD 0x00000001 (1) GPUpdate. GPUpdate /Force. Log out. Reboot. All that jazz - still able to delete printers. Any tips? read more printing windows-registry 1vote 0answers ### Configuring bootpd for a client with no hostname I have a TI am335x which I am trying to get to network boot. I'm using bootpd on Ubuntu 14.04. The BOOTP packet does not contain a "client hostname" (option 12?), so there's nothing I can specify for the hostname field. It does contain an option 60: Message type: Boot [...] read more ubuntu ubuntu-14.04 bootp 1vote 2answers ### Subversion on 1 Gb uplink is it possible at all to utilize 1 Gb uplink? I have 2 server with 1 Gb uplink 176.9.xxx.xxx - server # uname -a Linux svn.example.net 2.6.32-5-amd64 #1 SMP Mon Sep 23 22:14:43 UTC 2013 x86_64 GNU/Linux # cat /etc/debian_version 6.0.8 # svnadmin --version svnadmin, version 1.6.23 (r1485506) compiled May [...] read more apache-2.2 svn 1vote 5answers ### How to debug silent hang on shutdown of Solaris 10? We're experiencing a mysterious hang on shutdown of a newly-imaged Oracle/Sun Solaris 10 SPARC box. It is repeatable (in the same spot ... from what we can tell). We let it try to work itself out multiple times for 5-10 minutes and it never progressed. I've never seen this happen [...] read more unix solaris 1vote 1answer ### Lotus Domino Server 6.5 crashes frequently We are running lotus domino server 6.5 in one our VM machine. The web applications hosted in this server are running for past 10 year with no issue. But suddenly for past few months the server is crashing frequently. I have used LND to analyze the crash details and all [...] read more ibm-domino servlet servlets 1vote 1answer ### Starting my kernel driver (StartService) results in 0x124 bluescreen due to a machine check exception due to L2 cache bank 6 error on processor 0 When I start my driver manually using StartService, or other means, or when it's loaded by the system automatically when set to auto_start causes a bluescreen before DriverEntry is reached. Microsoft (R) Windows Debugger Version 10.0.19041.685 AMD64 Copyright (c) Microsoft Corporation. All rights reserved. Loading Dump File [C:\Windows\Minidump\041421-18486-01.dmp] Mini Kernel [...] read more windows drivers bsod kernel bluescreenview 1vote 1answer ### SIOCSIFFLAGS: Operation not permitted I am trying to connect my TP-Link AC600 wireless adapter through the USB port to connect to Kali linux Rolling but I am having issues getting it to show up with ifconfig root@kali:~# ifconfig eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.1.139 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 0000::000:0000:0000:0000 prefixlen 64 scopeid 0x20<link> [...] read more linux ifconfig wireless-bridge 1vote 3answers ### Excel: Disable "Some files can contain viruses" warning when opening file links I have a large Excel table with a lot of local file hyperlinks to PDF files. These links are clicked often, and every time a warning pops up: > Opening <path\to\file.pdf> > > Some files can contain viruses or otherwise be harmful to your computer. It is > important to [...] read more windows-10 microsoft-excel 1vote 1answer ### Ansible ssh connection to remote machine fails with the following error, how do we tweek it to work when Ansible playbook tries to connect to the (Tomcat server) VM machine which is in the same subnet, it gives the following error: Step1: ssh command the one which ansible playbook uses: ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s \ -o KbdInteractiveAuthentication=no -o PreferredAuthentications=publickey\ -o PasswordAuthentication=no -o User=ec2-user -o ConnectTimeout=10\ [...] read more networking ssh ansible 1vote 2answers ### USB Format Failed I am trying to create a Windows 7 USB boot drive out of a USB stick. It is 1TB and comes up as General UDisk USB Device in my device manager. I am using Rufus 2.10.973. Once I press start, the format begins. It sits on "Clearing MBR/PBR/GPT structures…" for [...] read more partitioning usb-flash-drive bootable-media rufus 1vote 1answer ### Windows 7 OK button on Copy To dialog doesn't copy profile So I am attempting to copy a User Profile to the default profile. I am using WinSpy++ to enable the disabled "Copy To" button - this process works on a stock laptop I have here. However, this does not work in a customised image I have with a fair amount [...] read more windows-7 windows-registry user-profiles event-log windows-embedded-7 1vote 1answer ### BSoD WHEA_UNCORRECTABLE_ERROR triggered by ffmpeg Have been experiencing this BSoD on and off, but I can reliably trigger it with ffmpeg and libx264, which is sad because I need that. So far I havn't identified any other applications that trigger it (but there must be, since it also happened once or twice when I wasn't [...] read more windows-10 ffmpeg bsod 1vote 1answer ### WU_E_NO_USERTOKEN, Failed to generate security token with auth tickets; error 0x80070426 A Windows 10 machine fails to update with the unusual WU_E_NO_USERTOKEN error, despite reporting clean state (no third-party antivirus installed) PS> systeminfo OS Name: Microsoft Windows 10 Pro N OS Version: 10.0.15063 N/A Build 15063 Hotfix(s): 3 Hotfix(s) Installed. [01]: KB4022405 [thats the servicing stack 2017-06-13] [02]: KB4022730 [thats the [...] read more windows windows-10 windows-update 1vote 1answer ### Adding Media Transfer Protocol Device (MTP Device) support for Windows 10 N I'm using Windows 10 N Anniversary Update, the one with no media bloatware like WMP. However I wish my iPhone was accessible with File Explorer to copy photos. It turns out you have to install Media Feature Pack for Windows 10 N (KB3133719) to get it working. The KB3133719-x64.msu.msu file [...] read more windows drivers mtp 1vote 1answer ### Isolating cause of 0x124 WHEA_UNCORRECTABLE_ERROR consistently at address ntoskrnl.exe+4b314c I have a Windows 7 64-bit machine that's freezing up roughly once a month. The last five minidumps all indicate "Caused by address" ntoskrnl.exe+4b314c, and I'm trying to figure out who owns (or is triggering failed calls of) the code at that address. Here's the !analyze -v output from the [...] read more windows-7 drivers freeze bsod minidumps 1vote 2answers ### IRQL_NOT_LESS_OR_EQUAL during run of Adobe CS 4 product I get bluesreen IRQL_NOT_LESS_OR_EQUAL during running of Photoshop CS 4 or Ilustrator CS 4 on Windows XP Home edition SP3. Details of error: IRQL_NOT_LESS_OR_EQUAL 0x0000000A (0x911A7008 0x00000002 0x00000001 0x8052390D) What can be cause? read more bsod 1vote 1answer ### powercfg.exe not working properly os:Windows 8 pro x64 build 9200 (fully updated) I want to change the closing lid function through command line with powercfg.exe, so I gathered the required GUIDs and executed the following command: C:\Users\wiki>powercfg /QUERY 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c 4f971e89-eebd-4455-a8de-9e59040e7347 5ca83367-6e45-459f-a27b-476b1d01c936 Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance) GUID Alias: SCHEME_MIN Subgroup GUID: 4f971e89-eebd-4455-a8de-9e59040e7347 (Power [...] read more windows-8 power-management powercfg 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 0answers ### microSD card suddenly inaccessible I have a microSd card with an adapter and suddenly it was inaccesible in my computer... I would like to recover the data and the micro sd card :( the output of dmesg command: [ 3431.211177] mmc0: error -110 whilst initialising SD card [ 3441.240046] mmc0: Timeout waiting for hardware [...] read more sdhc 1vote 0answers ### Debian Linux running on TS-7880 Arm Board; Cannot run shell scripts with non-root user Here is the snippet of the script that I am trying to run some shell scripts on a TS7800 Arm Board through a non-root user: echo > /dev/ttts4 echo " hostname" > /dev/ttts4; echo "/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print$1}' " [...] read more
debian
webserver
apache-http-server
arm
1vote

### irql_not_less_or_equal Disable BIOS Memory options STOP: 0x0000000A (0xF000E987, 0x00000002, 0x00000001, 0x808247A4)

> Possible Duplicate: > irql_not_less_or_equal Disable BIOS Memory options STOP: 0x0000000A > (0xF000E987, 0x00000002, 0x00000001, 0x808247A4) My exact Problem is: > When i Switch on the PC and system boots/starts with Windows XP Professional > OS, i'm able to see the windows XP logo and with progress bar processing but [...] read more
windows
windows-xp
1vote

### cygwin file command not detecting mpg?

I have noticed that the file command in linux, is detecting this mpg as data? http://www.berkut13.com/videos/brakeup.mpg it detects flv ok but this mpg file it doesn't.. i'd like to be able to detect mpg files. I found the part of the magic file for MPEG.. # MPEG file # MPEG [...] read more
command-line
cygwin
1vote

### XP reboots when I use uTorrent

Maybe it's a hard-disk fault, but I don't think so. Ran some tests and all says the HDD is in green condition, all test passed. Memory is a Geil ULTRA, guess that's not a problem either. Basically if I run uTorrent about ~80mbps speed (thats my home connection atm), it'll [...] read more
windows-xp
reboot
minidumps
dump
1vote

### Why eip is not restored from its location at the stack, instead uses relative to ebp address

I try to follow the example of stack smashing from the "Hacking The Art of Exploitation". The main code is #include <stdio.h> #include <string.h> #include <fcntl.h> #include <sys/stat.h> #include <unistd.h> #include "hacking.h" #define FILENAME "/var/notes" int print_notes(int, int, char *); // Note printing function. int find_user_note(int, int); // Seek in [...] read more
c
linux
assembly
stack
1vote

### Android System.err: javax.net.ssl.SSLHandshakeException: Handshake failed

Can someone advise me on how to solve SSLHandshakeException in Android? See below the error I keep getting for this one URL that I am trying to access using HttpURLConnection object. W/bile.allfundin: Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (light greylist, reflection) W/bile.allfundin: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (light greylist, linking) W/bile.allfundin: Accessing hidden [...] read more
java
android
ssl
httpurlconnection
1vote

I'm using pygdbmi and I think I've hit a bug there. In a nutshell: it seems that non-blocking subprocess Pipe is interacting in a funny way with GDB. My problem is NOT to read from a subprocess started with popen, that's working. The problem seems that the subprocess (GDB in [...] read more
python
subprocess
gdb
pipe
popen
1vote

### Invalid ID 0x00000001 errors after ViewPager2 migration

I have been working with a Tab layout with ViewPager for a while and it has gone deprecated. I followed the official documentation and migrated to ViewPager2, everything works but I am getting the following error on each fragment: Invalid ID 0x00000001 Invalid ID 0x00000001 Invalid ID 0x00000001 And these [...] read more
android-viewpager
fragment
sections
migrating
1vote

### Can I treat an enum variable as an int in C17?

TL;DR: Is it right to assume, given enum NAME {...};, that enum NAME n is the same as int n during execution? Can n be operated on as if it were a signed int, even though it is declared as enum NAME? The reason: I really want to use enum [...] read more
c
types
enums
standards
c17
1vote

### Windows Graphics performace preferences seem to be ignored for OpenGL applications

In windows you can configure, for each application, if it should use the low-power GPU or the high performace GPU: enter image description here [https://i.stack.imgur.com/8uwi2.png] I have tried to set it to "Power saving" mode and it seems to work with DirectX aplications. However, it seems to be ignored for [...] read more
c
windows
opengl
directx
1vote

### CreateProcess function creates the process in de the default dekstop instead of creating it inside the new desktop

I am working on an small C# application and found a weird error. The goal of this application is to create a new Desktop and launch a process inside it. For this purpose, I am relying on the following win32 functions: [DllImport("user32.dll")] public static extern IntPtr CreateDesktop(string lpszDesktop, IntPtr lpszDevice, [...] read more
c#
windows
winapi
createprocess
1vote

### ESP32 crashes when I call WiFi.mode(WIFI_MODE_APSTA) from within a Interrupt ISR

Summary: On my ISR routine I call a function that tries to set the WiFi mode to APSTA in a ESP32, and it crashes with the following dump: Scanning for Modules... OK1 Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x4008b7cc [...] read more
crash
wifi
interrupt
esp32
1vote

### Get alarms / events from IP Camera (Hi3518)

I'm trying to figure out, how get an alarm message from my IP Camera, using VMS software I can see the packets , I try to replicate it with no luck, i don't the first characters from each packets wireshark log ................d...{ "EncryptType" : "MD5", "LoginType" : "DVRIP-Web", "PassWord" : [...] read more
android
tcp
wireshark
ip-camera
1vote

### Alamofire 5.2.2 TestFlight watchOS build crashes on Apple Watch Series 3 devices (32-bit) (Bitcode related?)

I have a WatchOS Application on TestFlight that is crashing on startup on Apple Watch Series 3 devices (32-bit). It works flawlessly on Simulators (Xcode 11.7) and Apple Watch Series 4. I am using Alamofire 5.2.2 with Swift Package Manager. Latest Xcode (version 11.7). The device is Apple Watch Series [...] read more
ios
swift
alamofire
watchos
bitcode
1vote

### How to force a generic Microsoft driver programmatically (RNDIS) with setupapi DiInstallDevice if it fails with ERROR_INVALID_PARAMETER?

When I plug a USB RNDIS device (Linux gadget) to a Windows PC, is seen as 'RNDIS' device, without driver. To make it work I go to Device Manager, and manually select the Microsoft Generic Remote RNDIS Driver. My final goal was to force-install that generic Microsoft driver from code [...] read more
c#
setupapi
rndis
1vote

### Can't symbolicate using WinDBG, the exe and its associated pdb

I've been trying to use a crash reporter a previous colleague on a project. It outputs the stacktrace when a crash occurs which contains, for example, something like this (only showing the most important line of the stacktrace): Event: APPLICATION_CRASH SE EXCEPTION_ACCESS_VIOLATION at address 0x00007FF773D681E6 inside MyApp.exe loaded at base [...] read more
c++
windows
debugging
windbg
1vote

### Android: Unable get adb working from Black BeagleBone wireless on debian buster

As I said in the title I am unable get adb working. I am running the latest version of Debian from the official Beaglebone website. I installed android-tools-adb and android-tools-fastboot packages and when I run adb devicescommand I get: List of devices attached * daemon not running; starting now at [...] read more
android
linux
beagleboneblack
1vote

### FPGA DE1-SoC Cyclone V Overlay Device Tree

I am trying to set the overlay device tree on Terasic Ubuntu 16.0 Desktop SD Card for programming the FPGA of DE1-SoC Cyclone V Terasic with MSEL to 00000 I have use the device tree sources socfpga_cyclone5_socdk.dts, socfpga_cyclone5_ghrd.dtsi, socfpga_cyclone5.dtsi, socfpga.dtsi from repository : kernel arm tree There isn’t a problem [...] read more
linux
overlay
fpga
device-tree
cyclone
1vote

### unable to get thread context of an suspended process'

so, i am trying to write a script in python by which i can get the different register's value of a thread as well as also get the imagebase address and other different values which are related to process's PEB header. till now i wrote script by which i can [...] read more
python
ctypes
1vote

### ESP32: Guru Meditation Error: Core 1 panic'ed (StoreProhibited)

I've been working on a LED strip lately trying to create all kinds of animations. But one of them has caused quite a lot of trouble. It's meant to be a kind of firework. It usually runs once and when the loop starts a second time the following error comes [...] read more
arduino
esp32
fastled
1vote

### Running managed executables inside an unmanaged executable in C++

For the past few days, I've been trying to run a .NET executable inside an unmanaged executable made in C++. I made a simple MessageBox program to test if my code worked, and indeed the application ran fine: using System; using System.Windows.Forms; namespace Test2Lol { static class Program { /// [...] read more
c++
clr
shellcode
mscorlib
1vote

### Unable to run executable built using gcc

I have setup a new environment - it's a chroot containing Ubuntu 14.04 (trusty) in a Chromebook (Asus flip C100P - ARM based). I've got gcc and g++ installed. I created a simple "hello, world" program (test.c) and compiled it via: gcc -o t.exe test.c When I go to run [...] read more
linux
gcc
toolchain
crouton-os
1vote

### Esp32 panics every other HTTP Post request

As the title suggests, my Esp32 panics every other HTTP Post request. The first one it works fine, the second one i get a 400 error, the Esp panics and then restarts itsself. This wouldnt be this much of an issue if the Esp didnt power any other things, however [...] read more
c++
http
post
esp32
panic
1vote

### ESP32 cam keeps rebooting when PIR sensor is triggered

So some background - I have a esp32 cam with a PIR sensor. The esp is in deep sleep, then is waken up by a PIR sensor (GPIO 13) and the esp takes an image. What I want it to do is then monitor for another 15s for movement. If [...] read more
arduino
camera
esp32
1vote

### How to catch only visible notification? android

a have a small problem. Because, when I run a NotificationListenerService in background and method onNotificationPosted() give me a lot of notifications, but I need only this what see a user on the bar. But, when somebody send me a message on Messenger, my service shows me a few notifications, [...] read more
java
android
message

### Task Sequence fails with Task Sequence error 0x00000001 at the step "error in the task sequence."

I'm attempting to deploy Windows Server 2019 to a virtual machine and I keep getting this error message: error message [https://i.stack.imgur.com/h5i71.jpg] I suspect that the error is not actually at this stage, but I can't seem to track it down, and the SMSTS log is out of date. Edit: Got [...] read more
sccm
mdt

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

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

### Strongswan works on embedded device via ethernet but not with 4G modem

I have a Gateworks SBC with an installed Ubuntu 20.04. My SOC is connected with an USB to ethernet adapter (eth0) as DHCP Client (192.168.88.102) to my Mikrotik router (DHCP Server), which acts as my gateway to internet(Masquerade). I have installed a virtual Mikrotik instance on AWS, Ip address 18.x.x.x. [...] read more
ubuntu
ipsec
strongswan
modem

### SSH connection refused even if firewall is disabled

In my office network, one of my clients (CentOS 7.5) couldn't connect to a remote server. The remote server is running CentOS 5.11, and has iptables and csf installed. However, my client couldn't connect to it even if I disabled both iptables and csf on the remote host: # ssh [...] read more
ssh

### BSOD Critical_Process_Died after enabling Windows Defender Firewall

Server 2019 1809 17763.914 running Remote Desktop Services and all updates are applied. On reboot, the Windows Defender Firewall is stopped (even though it is set to automatically start) and when I manually start the service (via any command line, windows services, server manager, defender gui etc.) it BSOD with [...] read more
windows-server-2019
bsod
windows-defender

mysql
active-directory
pam

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

### Removing unused variables causes exception

Trying to find a way to execute a command as a different user with credentials I came across this great answer by Eryk Sun. Trying to melt it down to my needs, I saw some strange behaviour. For ease of copying, I put the code from that answer as a [...] read more
python-2.7
winapi
ctypes
pywin32

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

### Runtime Error: undefined symbol: _ZN11IO_Expander14channel_selectEih

I have 3 files: a .cpp file containing definitions, a header file for declarations and macros and another file(.cc) that calls the header file. The problem I'm having is at runtime I seem to be getting an "undefined sysmbol error related to the function "channel select" that I'm trying to [...] read more
c++
compiler-errors
runtime-error
undefined-symbol

### ESP32 kernel panic at random (network_event)

I'm working with an ESP at the moment and I have written alot of code that works on it's own, but once merged, it doesn't. My code boots, but then I get the following; 09:00:18.780 -> Device is now in pay-mode 09:00:18.780 -> ETH Started 09:00:22.779 -> ETH Connected 09:00:22.812 [...] read more
ethernet
esp32

### guru meditation error: core 0 panic'ed (loadprohibited) while working with custom library

I am working on a median filter on the ESP32 board. This median filter is based on a circular buffer. I implemented the filter into the main.c and it worked just fine. However as I created a custom library and called the function from the main.c the ESP32 just reboots [...] read more
c
esp32
freertos
platformio

### ffmpeg: single frame from video is highly overexposed image

I am using ffmpeg on a Raspberry Pi 400, attached to a camera array to capture one image from each camera. Most images generated are highly overexposed and washed out. I am trying to understand which command line options I should set to prevent this over exposure. Sample grossly over [...] read more
linux
ffmpeg
jpeg
raspberry-pi4
video4linux

### Fastled not enough CPU power?

I was wondering if someone could help me out? I have a 5M ledstrip (300 leds) and running the following code on my ESP32. The code will make a led light spinning around! void spinningwheel(){ int random_number; int spin_speed; for(int i =0; i < 1; i++){ random_number = random(NUM_LEDS); } [...] read more
error-handling
arduino
esp32
fastled

### Debug symbols won't load for slc.dll and sppc.dll

Here is my situation. I'm trying to debug a WCF service on a remote server (Windows 2012 R2 Standard). I'm on a Windows 7 Professional System running Visual Studio 12. After figuring out how to install the remote debugger and connect to it, I received a Symbols not loaded error. [...] read more
visual-studio-2012
debug-symbols
pdb-files

i have a problem with a script, when is executed from cron the script does not work as expected but when i execute it from ssh it runs as is supposed. Setup: QNAP NAS The script that i'm trying to run: #!/bin/sh log="/share/CACHEDEV1_DATA/Jobs/logs/" currentDate=$(date +"%m-%d-%Y") logFile=$log"SSLCertNextCloud_"$currentDate".log" certSource="/etc/stunnel/" certFile="backup.cert" certKey="backup.key" nextCloudCert="/etc/apache2/ssl/SSLcertificate.crt" [...] read more linux ssh cron 0votes 1answer ### Robocopy fail to create directories on local hard drive Error 1 Incorrect Function I'm having an issue with robocopy in which every call to create a new directory on the destination fails. I get outputs such as: 2019/03/19 16:59:11 ERROR 1 (0x00000001) Creating Destination Directory T:\tmp\MIDCAS_SSP\Documents\Customer Reviews\MASPS 1 review\Received Comments\ The copy operation I am attempting is from a sharepoint list mapped to [...] read more sharepoint webdav robocopy 0votes 0answers ### Total pages printed on python and winspool.drv Recently I had copied this code (Thanks CristiFati): Python- How to communicate with printer While its working on its own, I can't figure out how can I get total page counting to work, I added it to DEFAULT_FIELDS var and to NotifyData method, without luck as follow: def NotifyData(self): if [...] read more python ctypes pywin32 0votes 0answers ### Mobile Storage Host Controller. Power on/off state is ignored when reading from SD card I'm afraid my question could be board- or SoC-specific. Anyway, I hope someone has experience in it. SoC: RK3308 (board: ROCK Pi S). I read from SD card in bare-metal environment: AArch64 EL3, DDR initialized, MMU/GIC disabled. Reading a block from SD card. I assumed, that BootROM will do all [...] read more assembly arm64 bare-metal sdmmc 0votes 2answers ### ESP8266-12F WiFi soft AP config.authmode failed For a project I try do use the ESP8266 RTOS SDK. First step I install the tools and the toolchain. The hello_world example and the other gpio example works fine. I try the softAP example and get a Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled Error. I [...] read more esp8266 freertos rtos access-point 0votes 1answer ### What does a "flag" means in DAL (Data access layer) table object The code that I am reading looks like : @Entity @Table(name = "TABLE_NAME") public interface DAL_Object { long condition_A_statisfied_Flag = 0x00000001; . . . @Id @Column(name="COLUMN1_NAME") . . . } What does these "flags" mean in the code? Is that some programming convention related to database or SQL? read more java sql database jax-rs data-access-layer 0votes 0answers ### Why SSH_FXF_APPEND flag is commented out while calling the APPEND operation of JSCH A quick brief, I am working with one of the implementations of SFTP server for .NET i.e. NSoftware IPWorks SSH. I wanted to deduce the APPEND operation invoked by the client and do some logic on that. I quickly implemented the SSH client using Renci's SSH.NET package and was able [...] read more ssh2-sftp 0votes 0answers ### Unexpected behavior while rendering Custom Controls(Form) C# Introduction I am developing custom controls [Here: Form] with custom 3D shape and PathGradient colors. everything is working very smoothly and even I had achieved what I exactly want Click To View The Actual Image Shape And Color Of The Form [https://i.stack.imgur.com/vJH0m.png] And the whole code to generate this form [...] read more c# winforms custom-controls 0votes 2answers ### Xcode error NSException I'm currently trying to run on Xcode an app I ve made with Qt, but when I try to run it on Xcode i get this Exception : dyld: warning, Ignoring DYLD_IMAGE_SUFFIX because DYLD_ROOT_PATH is used. 2016-10-10 15:37:04.777 CMP[2206:654538] *** Assertion failure in void _UIApplicationMainPreparations(int, char **, NSString *__strong, NSString [...] read more ios xcode qt 0votes 0answers ### iwlwifi drivers not loading for ax200 in MX linux Kernel is 5.8, wifi driver is the intel iwlwifi version for ax200 requiring a kernel of at least 5.1 and the wifi card appears in lspci -k but nothing I've tried is working as I can't find any documentation from intel surrounding this or any other thread someone has asked, [...] read more linux-kernel driver intel firmware 0votes 0answers ### buffer overflow - problem with my shell code I'm trying to test a buffer overflow on my 64-bit linux virtual machine. I have trouble to do it : The program stop, the shell seems to be launched but I don't receive the result of my instructions. My C code (vulnerable) is : #include <stdio.h> #include <stdlib.h> #include <string.h> [...] read more buffer-overflow 0votes 0answers ### JNA - Mapping int* from 32bits DLL loaded in 64bits Java I'm facing a problem trying to map a 32bit COM DLL (wrote in OLD C++) method using 64bit Java. The COM DLL expose this method (I check this using OLEViewer): void Login( [out] int* ResultCode, [out] BSTR* Result, [in] BSTR App, [in, out] BSTR* User, [in] BSTR Module, [in] BSTR [...] read more java c++ dll jna 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 1answer ### SSLProtocolException (OkHttp 3 on Android) thrown during SSLv3 handshake when the app should use TLS I need to interface with an 3rd party API in Android Application (Android API 24) written in Kotlin. I've the source generated by Swagger but still I don't have a success with getting any data. Each time I call the API class I got such exception error:10000410:SSL routines:OPENSSL_internal:SSLV3_ALERT_HANDSHAKE_FAILURE (external/boringssl/src/ssl/s3_pkt.c:610 0xa7cf3780:0x00000001) [...] read more android kotlin ssl okhttp 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

### how to record camera to file while encoding stream to v4l2-loopback device?

So i have this logitech c920 camera 1920x1080 h264 capable and i would like to record the camera to file while at the same time copying/encoding the stream to a loopback device so the camera can be still used by other apps. here is the code i got so far: [...] read more
ffmpeg
v4l2
logitech
v4l2loopback

### How to check if my debugger's program counter is inside a function?

I'm writing a debugger and want to see if its program counter is inside a function. I guess I need to check that it's between DW_AT_low_pc and DW_AT_high_pc. Here's the code I'm trying to debug: void myPrint() { int test_a = 3; int test_b = 2; printf( "myPrint: sum: %d\n", [...] read more
c
linux
gcc
dwarf

### SQL Server Agent Error - Exception has been thrown by the target of an invocation

I am doing a script task in SSIS and scheduling the task using SSIS Agent. I am able to execute the Script task successfully but I am getting an error when I am trying to run it through SQL Server Agent - Error Error: 2020-11-13 12:31:29.64 Code: 0x00000001 Source: Script [...] read more
ssis
sql-server-agent

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

### why vxworks register r3 is falsified before execution?

I am going to run an application on a PowerC platform(vxworks), but I have encountered a problem. I've got a data access exception. register r3 is falsified before execution, I don't know why, please help me with this question, thanks! > 0x7ff7150 (tTask4_nor): Watchdog for T0 stopped 0x7ff7150 > (tTask4_nor): [...] read more
exception
vxworks

### c# fujistu fi-6140 scanner Value does not fall within the expected range

I am developing one window application on C#. For that, I install driver WIA & get from "http://www.fujitsu.com/global/support/computing/peripheral/scanners/drivers/twain/v9211307.html" - "Ft9l10bX5.exe". My code: class WIAScanner { const string wiaFormatBMP = "{B96B3CAB-0728-11D3-9D7B-0000F81EF32E}"; class WIA_DPS_DOCUMENT_HANDLING_SELECT { public const uint FEEDER = 0x00000001; public const uint FLATBED = 0x00000002; } class WIA_DPS_DOCUMENT_HANDLING_STATUS { public [...] read more
c#
asp.net
window

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

### Why I am getting an Access violation exception?

I am trying to make a messagebox in pure assembly. Here are the steps I have taken so far: Find kernel32.dll base address: xor ecx, ecx mov eax, fs:[ecx + 0x30] ; EAX = PEB mov eax, [eax + 0xc] ; EAX = PEB->Ldr mov esi, [eax + 0x14] ; [...] read more
assembly
x86
access-violation

### How to encrypt and decrypt using TPM EK

I am using TPM Java library provided by Microsoft. Connection is working for simulator. Stuck in how to encrypt string using TPM Endrosment public key and decrypt using TPM Endrosment Private key. Below is the code which is incorrect functionality, Where TPM private EK is not visible outside world then [...] read more
java
encryption
tpm

### v4l2 manual exposure not working compared to Windows 10

This question is very similar to V4L2 absolute exposure setting has (almost) not effect I have a UVC compliant camera that I am running on a Raspberry Pi CM3+ module. It appears as video0. Using the tools/drivers v4l2-ctl, qv4l2 or guvcview the absolute exposure cannot be controlled, yet it can [...] read more
camera
raspbian
v4l2
webcam-capture
uvc

### NVMe controller returns fatal error flag in CSTS register after submitting first command

I'm trying to initialize an NVMe SSD on a 32-bit PowerPC board just enough to issue the identity command. I don't have an operating system. These are the steps I've taken: * Disable dcache * Find the SDD * Get bar0, strip off the last nybble, and use that as [...] read more
powerpc
bare-metal
nvme

I am trying to solve a simple gets() buffer overflow challenge. (gdb) run < <(perl -e 'print "A"x71 . "BBBB"') Starting program: /tmp/test01 < <(perl -e 'print "A"x71 . "BBBB"') Breakpoint 1, 0x0804847c in main () (gdb) x/48wx esp 0xffffd574: 0x41414154 0x41414141 0x41414141 0x41414141 0xffffd584: 0x41414141 0x41414141 0x41414141 0x41414141 0xffffd594: [...] read more buffer-overflow exploit 0votes 1answer ### ESP32 Regex search for all iterations I am using Bluetooth and receiving a CSS gradient string like this: (90deg, rgba(66, 68, 90, 1) 0%,rgba(72, 79, 164, 1) 100%) I am using regex to pull out the "90" for the angle: regex r_dir("([0-9]{2,3}deg)"); smatch m_dir; regex_search(data, m_dir, r_dir); string temp = m_dir[0].str(); int dir = atoi(temp.replace(temp.find("deg"), 3, [...] read more c++ regex esp32 0votes 2answers ### RISC-V Load address not aligned to word boundary My compiler is RARS. Here is the problem. I was told that I need to define a memory base address, and the use of pseudoinstructions is not allowed. So, I cannot use la, li, and j When I tried to do it, I got this error: Error in /Users/SumOfArray.asm line [...] read more assembly riscv 0votes 0answers ### mips:v0 returns 0 instead of array pointer

Hey I am new to frame pointers, so I have a doubt that something is wrong with frame pointer primarily in count_sort_calculate_counts function. What I am trying to do here is to return an array of integers. Any idea how to store array as an array of unspecified length? Result: [...] read more
assembly
mips

### DocumentProperties not updating the print job with new DEVMODE structure

I am trying to update a print job with a new property set to the printer's DEVMODE structure in my C# win forms application. Specifically, the tray to print to. [StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)] public class DOCINFOA { [MarshalAs(UnmanagedType.LPStr)] public string lpszDocName; [MarshalAs(UnmanagedType.LPStr)] public string lpszOutput; [MarshalAs(UnmanagedType.LPStr)] public string lpszDatatype; [...] read more
c#
winapi
printing
print-spooler-api

### Why is gcc resolving the address of a string during compilation?

I'm trying to do some bare metal programming on a Raspberry Pi 3B. I still have not figured out the correct memory addresses for the UART controls so please just ignore those. I am experiencing a strange compilation issue though. Here is the code I am trying to compile (not [...] read more
c
gcc
compilation
arm
raspberry-pi3

### How to split each element of a string array into different categories?

I am using node.js to fetch data from a website. Once I have that fetched data I want to insert into a mySQL database. Fetching the the url gives me a json dump of information. After formatting the string, I am using an array to store my data. Below is [...] read more
javascript
node.js
arrays
string

### How to turn on LED on stm32 board using assembly language that generated by llvm?

My English skill is poor because I'm not a native English speaker. Please understand. I compiled some test code that operating alright in IAR with LLVM infra but the generated code was not operated on my test board. Detail are as follows. TEST GOAL I want to see operating the [...] read more
makefile
llvm
cortex-m3
stm32l152

### FLT_HAS_SUBNORM is 0: does manually constructed subnormal lead to well-defined behavior when using such subnormal?

In case if FLT_HAS_SUBNORM is 0: does manually constructed (using, for example, type punning via union or using memcpy()) subnormal lead to well-defined behavior when such subnormal is used as an input for FP operations (for example, FP comparison)? Example: #include <stdio.h> #include <float.h> int main( void ) { union [...] read more
c
ieee-754

### ESP32: Getting Guru Meditation Error because having an extremly long string (~15.000 characters long)

I've written a little program, which in a loop first sends a POST-request to a special machine, the machine returns an other API-path in its response header, afterwards I can execute a GET-request on that API path and get an extremly long string (~ about 15.000 characters). This works pretty [...] read more
c++
string
runtime-error
stack-overflow
esp32

### Unhandled exception at 0x006A549C in myApplication.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x01202FFC)

I am writing a program with C++ that needs to read a CSV file and store it in a binary search tree. But, when the program is reading the file, it fails in the library debugger.jmc.c and in the method void __fastcall __CheckForDebuggerJustMyCode(unsigned char *JMC_flag). Could someone help me? Thanks! [...] read more
c++14
binary-search-tree

### irql_not_less_or_equal Disable BIOS Memory options

When I switch on the PC and system boots/starts with Windows XP Professional OS, I'm able to see the Windows XP logo and with progress bar processing But after the logo and processing I'm not getting the Welcome or Login screen immediately my PC is getting restarted automatically. PC On [...] read more
windows-xp

### ionic 3 filetranfer upload error (Handshake failed)

When an image is uploaded from a samsung with android 7 it returns this error. It only happens with some android. 2021-05-13 10:42:32.926 26101-31314/io.roocket.yurestapp E/FileTransfer: {"code":3,"source":"file:\/\/\/storage\/emulated\/0\/Android\/data\/io.roocket.yurestapp\/cache\/1620895351608.jpg","target":"https:\/\/api.yurest.com\/api\/documents","http_status":0,"exception":"Handshake failed"} javax.net.ssl.SSLHandshakeException: Handshake failed at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:444) at com.android.okhttp.Connection.connectTls(Connection.java:1510) at com.android.okhttp.Connection.connectSocket(Connection.java:1458) at com.android.okhttp.Connection.connect(Connection.java:1413) at com.android.okhttp.Connection.connectAndSetOwner(Connection.java:1707) at com.android.okhttp.OkHttpClient\$1.connectAndSetOwner(OkHttpClient.java:133) at com.android.okhttp.internal.http.HttpEngine.connect(HttpEngine.java:466) at com.android.okhttp.internal.http.HttpEngine.sendRequest(HttpEngine.java:371) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.execute(HttpURLConnectionImpl.java:503) at com.android.okhttp.internal.huc.HttpURLConnectionImpl.connect(HttpURLConnectionImpl.java:130) [...] read more
android
openssl
ionic3
cordova-plugins
handshake

### Find and click default button on modal dialog?

I started with the code found here - https://color-of-code.de/programming/c-sharp/detect-waiting-for-user-input. I can find a modal dialog if one is open. I'm looking for a modal dialog that is open in a different app, not sure if that matters or not. Now what I want to do it click the default button. [...] read more
c#
pinvoke
ui-automation

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

### What do the Mutex and Cache sqlite3_open_v2 flags mean?

EDIT: If I could navigate documents I'd be dangerous. http://www.sqlite.org/sharedcache.html ORIGINAL: The sqlite3_open_v2 function bears the signature: int sqlite3_open_v2( const char *filename, /* Database filename (UTF-8) */ sqlite3 **ppDb, /* OUT: SQLite db handle */ int flags, /* Flags */ const char *zVfs /* Name of VFS module to use [...] read more
c
database
sqlite
mutex

### How to addition on bit with loop?

For example, I have a number 104 and I want to change to a bit then add one bit every time. String str = "h"; String binary = new BigInteger(str.getBytes()).toString(2); int decimal = 0; int y = Integer.valueOf(binary); System.out.println(y); System.out.println(y); y = y + 0x00000001; String z = String.valueOf(y); System.out.println("V [...] read more
java

### The problem persists even after adding notifydata

following my question : When launching the application, no content is displayed After adding the code adapter.notifydatasetchanged() as suggested to me by snoriax, the application opens then closes and I have this error : 2020-12-22 00:03:10.154 17917-17941/com.example.bingmada D/goldfish-address-space: allocate: ioctl allocate returned offset 0x3fd586000 size 0x2000 2020-12-22 00:03:10.202 17917-17941/com.example.bingmada D/HostConnection: [...] read more
android

### Primitive Calculator

for the following problem: "You are given a primitive calculator that can perform the following three operations with the current number 𝑥: multiply 𝑥 by 2, multiply 𝑥 by 3, or add 1 to 𝑥. Your goal is given a positive integer 𝑛, find the minimum number of operations needed [...] read more
c++
visual-studio-2012
dynamic-programming

### Stack overflow (parameters: 0x00000001, 0x00A02FAC)

Unhandled exception at 0x007A9E89 in Project1.exe: 0xC00000FD: Stack overflow (parameters: 0x00000001, 0x00A02FAC). the main idea from the code is creating a txt file that has a 100,000 number why I'm doing this it's project that I have to do, after the debug retch this function long int partition(long int T[], [...] read more
c++