Windows error 0x00000080, 128

Detailed Error Information

WAIT_NO_CHILDREN[1]

MessageThere are no child processes to wait for.
Declared inwinerror.h

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

NMI_HARDWARE_FAILURE[2]

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

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 Code128 (0x0080)

Questions

37votes
1answer

Getting Symbols from debugged process MainModule

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

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
taskbar
10votes
1answer

How can I let .NET wrapper for Rebar decide the mouse cursor?

I'm making a Rebar wrapper for .NET. Here's how I've made my control. public class Rebar : Control { public Rebar() : base() { //Control won't even work if I let UserPaint enabled SetStyle(ControlStyles.UserPaint, false); } protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ClassName = "ReBarWindow32"; [...] read more
c#
.net
winforms
custom-controls
pinvoke
6votes
1answer

Can't get STM32F103RB usart1 to communicate with hc-05

I am unable to connect USART_1 with bluetooth hc-05. The Microcontroller is STM32F103RB. Here's the code (I am not using any library) #define APB2_FREQ 72000000 void USART1_Send(char* data) { unsigned int length = 0; while(data[length] != '\0') ++length; int i = 0; while(i < length) { while((USART1_SR & 0x00000080) == [...] read more
stm32
uart
keil
hc-05
5votes
2answers

Get CPU and GPU Temp Using Python WITHOUT ADMIN ACCESS - Windows

I posted this question, asking how to get the CPU and GPU temp on Windows 10: Get CPU and GPU Temp using Python Windows. For that question, I didn't include the restriction (at least when I first posted the answer, and for quite a bit after that) for no admin [...] read more
python
python-3.x
windows
windows-10
temperature
5votes
1answer

sms using adb shell not working

I am trying to send the sms by both adb shell am and adb shell service call .I am getting error for both . a)I am trying to send the sms following adb shell am command adb shell am start -a android.intent.action.SENDTO -d sms:"phoneNumber" --es sms_body "SMS BODY GOES HERE" [...] read more
adb
5votes
1answer

gdb error: Backtrace stopped: previous frame identical to this frame (corrupt stack?)

I am having problems debugging a multi-threaded C++ application on an ARMv7 targets. The issue shows up on two different ARM targets, and I use different toolchains for them: Backtrace stopped: previous frame identical to this frame (corrupt stack?) I've checked some threads, but (due to having the same issue [...] read more
c++
linux
multithreading
gdb
4votes
1answer

Receiving BADREQ 400 errors on HaProxy?

I have been getting a sizeable number of BADREQ entries in my HAProxy log (10+ per minute). Example: > Oct 1 19:46:00 LB haproxy[19022]: 69.171.251.8:57356 > [01/Oct/2018:19:46:00.903] sitename sitename/ -1/-1/-1/-1/5 400 187 - - PRNN > 19/19/0/0/5 0/0 "" Almost all of them seem to be coming from Facebook's crawler. [...] read more
haproxy
4votes
1answer

HP DL165G7: NMI error

One of "my" DL165 G7 Proliants has rebooted out of the blue for the second time this month. The reboot was accompanied by these system event log entries in LightsOut: Event Type Date Time Source Description Direction OEM -- -- -- 00 00 00 00 01 02 00 00 00 [...] read more
hardware
hp
ipmi
3votes
3answers

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

BAD REQ 400 when trying to enable HAProxy ssl?

http works but can't connect via secure connection. The haproxy log file error: {} <BADREQ> 400 mainssl/<NOSRV> <ip> 187 -1 output of socket show errors: frontend mainssl (#3): invalid request backend <NONE> (#-1), server <NONE> (#-1), event #4 src <ip>, session #7, session flags 0x00000080 HTTP msg state 26, msg [...] read more
ssl
haproxy
3votes
0answers

What causes SCSI command timeout over 30 seconds?

System description: CentOS 7. SuperMicro X9DRW-iF board. Latest BIOS (and SCU option ROM), using SCU option ROM. Four 300GB WD HDDs connected to the board's SCU. Six HDDs connected to the six individual SATA ports. Normal software running for our business. I set up this system and twice in two [...] read more
linux
hard-drive
timeout
scsi
3votes
1answer

How to specify to createfilew function get uncached result?

I need to check whether a file (on a remote server via UNC path) exists or not (permission is not a problem here; I make a required impersonation etc.). I use CreateFileW function for creating file handle. I've also tried GetFileAttributesEx but the behavior is the same. HANDLE CreateFileW( LPCWSTR [...] read more
c#
c++
.net
filesystems
3votes
1answer

Configuring UART1 in lpc 2468

I am working on lpc2468 ARM-based microcontroller. I am not able to configure the UART1 of the controller. Previously I was using UART0 for the same purpose, but due to some changes in hardware now I have to use UART1. I want to connect GPRS module (SIMCOM 300) to the [...] read more
arm
3votes
0answers

Bluetooth Enable Disable ADB command and Opening Android Activity with Android Driver not working in Some Android 7 devices

Result: Parcel( 0x00000000: ffffffff 0000006e 0065004e 00640065 '....n...N.e.e.d.' 0x00000010: 00420020 0055004c 00540045 004f004f ' .B.L.U.E.T.O.O.' 0x00000020: 00480054 00410020 004d0044 004e0049 'T.H. .A.D.M.I.N.' 0x00000030: 00700020 00720065 0069006d 00730073 ' .p.e.r.m.i.s.s.' 0x00000040: 006f0069 003a006e 004e0020 00690065 'i.o.n.:. .N.e.i.' 0x00000050: 00680074 00720065 00750020 00650073 't.h.e.r. .u.s.e.' 0x00000060: 00200072 00300032 00300030 006e0020 'r. .2.0.0.0. [...] read more
java
automation
adb
appium
2votes
1answer

WSUS Windows 10 Updates not working

I know this is a well known issue, but I've tried everything I can find online and I still can't get 1607 or 1703 to deploy to my Windows 10 clients using WSUS on Server 2012 R2. Originally I synchronised WSUS without installing KB3159706 which meant that none of my [...] read more
windows-server-2012-r2
wsus
windows-update
windows-10
2votes
2answers

DWARF - How to find the prologue end/epilogue start addresses of functions in a given binary?

I have an ARM binary of which I need to find exactly at which addresses its function's prologues end and the epilogues begin. In other words, I need the boundaries of the function bodies. For instance, if I have a function whose assembly is something like: 0x00000320 <+0>: push {r7, [...] read more
c
assembly
objdump
dwarf
readelf
2votes
2answers

Segmentation fault using pthread and arm-linux-gnueabihf-gcc

I have been trying all day to fix a segmentation fault that only occurs on one device. But from the beginning... #include <string.h> #include <stdio.h> #include <stdlib.h> #include "pthread.h" void* start_rtn(void* param); int main(int argc, char **argv) { printf("Hallo World\n"); pthread_t tid; int err = pthread_create(&tid, NULL, start_rtn, NULL); pthread_join(tid, [...] read more
c
linux
gcc
pthreads
cross-compiling
2votes
1answer

Control AMIS-30543 with STM32F030R8 via SPI

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

How to debug very slow (200 sec) fwrite()/ftello()/fclose()?

I have a program which reads 200byte packets from a queue and writes them to a series of two minute files. Data arrives at 6MB/s which equates to 30,000 calls to fwrite() per second. Once in a while the queue would overflow because fclose() would take 10-30 seconds to close [...] read more
c++
linux
stdio
ext4
2votes
0answers

struct inode_operations permission function arguments

I'm trying to implement permission management for my device driver and found the following official Kernel documentation related to struct inode_operations: struct inode_operations { //... int (*permission) (struct inode *, int); //... }; The documentation for the permission function: > called by the VFS to check for access rights on [...] read more
c
linux
file-io
linux-kernel
linux-device-driver
2votes
0answers

WM_TOUCH event not received anymore after screen disconnection

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

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

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

Alternative to dynamic creation of variable names

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

GetSecurityInfo always returns Access Denied

I am trying to get file owner using GetSecurityInfo, but get GetSecurityInfo is always returning 5, "ACCESS DENIED" even if I have access to get ownership of the file. The .NET method "GetOwner" works, but I need long filename support, and am restricted from using .NET 4.6.2 or 3rd party [...] read more
c#
winapi
pinvoke
2votes
0answers

Process is stuck when generating core with gcore

I have a multi-threaded process for which I wanted to generate core dump. gcore ran, gdb started, the process went to "t" state according to ps. However, it got stuck there. As it was already being traced, I could not attach another gdb session to see what was going on. [...] read more
linux
linux-kernel
pthreads
virtualbox
gcore
1vote
1answer

Windows 1809 update always fails with 0x80070490

enter image description here [https://i.stack.imgur.com/cPcQv.png] It always fails at exactly at "Status: Preparing to install - 80%". I have tried everything I could possibly think of: DISM.exe /Online /Cleanup-image /Scanhealth sfc /scannow Removing c:\Windows\SoftwareDistribution (https://community.spiceworks.com/topic/2223969-1809-update-error-at-install-0x80070490?page=1#entry-8486582) or "Windows Repair" (https://www.tweaking.com/content/page/windows_repair_all_in_one.html). The WindowsUpdate.log I get with Get-WindowsUpdateLog doesn't contain anything useful either. [...] read more
windows-10
windows-update
windows-10-upgrade
windows-10-v1803
windows-10-v1809
1vote
1answer

Windows could not search for new updates - Error Code 8024402F / 80072EFE

I've recently started experiencing some issues with a couple of workstations on my network getting the above-mentioned errors when trying to check for and download updates for Windows 7 (x64). Sometimes I get the 8024402F error, and sometimes I get the 80072EFE error. I've attempted to resolve the problem myself [...] read more
windows-7
windows-update
1vote
0answers

erased md0, md1 and can't recreate them

I previously had a working RAID 1 array. I think as a result of running grub-install /dev/sdb and grub-install /dev/sdc I somehow wiped my computer of md0 and md1. I need to set them up again. When I try to create the md0 array, I am getting the following error. [...] read more
raid
software-raid
mdadm
1vote
0answers

Monitoring NFS mounts for existence

The issue we are seeing is that some of our NFS mounted directories are disappearing. Literally just disappearing. They continue to exist at the server end. At the client (CentOS 7.4, using el-repo's kernel-ml at version 4.16.6, nfs-utils-1:1.3.0-0.48.el7) end the drive is non-responsive. Calls to ls /mountpoint just hang. The [...] read more
monitoring
centos7
nfs
autofs
1vote
3answers

WSUS clients can't find updates

I've installed WSUS on a Windows server 2012 R2 and configured the workstations and clients via Group Policy to install updates automatically from WSUS. The servers are detected by WSUS and report to the WSUS server. In the WSUS server I can see that the server is missing 53 updates. [...] read more
windows-server-2012
windows
wsus
windows-update
1vote
0answers

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

What are "C++ Variables" in Visual Studio's "Display Items"?

In Visual Studio, you can customize the font and color of any display items such as C++ keywords, C++ parameters, C++ local variables, function names, macros, etc. You can do so through selecting the menu "Tools -> Options -> Fonts and Colors". In the setting dialog, I am confused by [...] read more
c++
visual-studio
visual-c++
ide
1vote
1answer

Converting 8-bit and 7-bit values in Python 3.x

I'm trying to convert unsigned integer values to ones represented as 4 7-bit bytes; the goal is to send data using Roland's address-mapped MIDI System Exclusive protocol, which represents address and size values like so: MSB LSB --------- --------- --------- --------- 0aaa aaaa 0bbb bbbb 0ccc cccc 0ddd dddd I [...] read more
python
python-3.x
midi
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
0answers

Show PopUp Form without stealing focus

I am doing the same thing that this => Show a Form without stealing focus? I'm using a Form to show notifications (it appears at the bottom right of the screen), but when I show this form it steals the focus from my software and computer. Is there a way [...] read more
c#
wpf
winforms
notifications
focus
1vote
0answers

Click Event On Object Created Using WINAPI in CE Lua

I did a test and able to make button with icon using Cheat Engine Lua script + winapi. But I fail to find how to handle the events for the buttons created using winapi. Below is the code I am used via Cheat Engine Lua scripting including winapi functions called [...] read more
winapi
lua
cheat-engine
1vote
2answers

Variable length-encoding of int to 2 bytes

I'm implementing variable lenght encoding and reading wikipedia about it. Here is what I found: 0x00000080 0x81 0x00 It mean 0x80 int is encoded as 0x81 0x00 2 bytes. That what I cannot understand. Okay, following the algorithm listed there we have. 1. Binary 0x80: 00000000 00000000 00000000 10000000 2. [...] read more
java
int
byte
primitive
1vote
1answer

Invalid parameter implementing GetMenuItemInfoW with JNA

I am invoking the win32 API function GetMenuItemInfoW. When I invoke the function I it returns false, and Native.getLastError() returns 87: ERROR_INVALID_PARAMETER 87 (0x57) The parameter is incorrect. I think that my error is in my implementation of the structure MenuItemInfoW: @Structure.FieldOrder({"cbSize", "fMask", "fType", "fState", "wId", "hSubMenu", "hBmpChecked", "hBmpUnchecked", "dwItemData", [...] read more
java
winapi
jna
1vote
0answers

How to call Windows Restart API using autoIT

I have an autoit script that I run several times through the day to back up my user's documents to a secure server. Recently, I have found that many of my users have not had important documents backed-up as they have left the file open in word/pdf etc... I have [...] read more
windows
api
autoit
1vote
2answers

camelot python;OSError: exception: access violation writing 0x00000080

I was trying to extract tables from a PDF file with Camelot. Here is my code: import camelot tables = camelot.read_pdf('foo.pdf') print(tables) and I am getting the error while running this script as follows: File "C:/Users/gibin/PycharmProjects/ML/Table_Tester.py", line 20, in <module> table=tables = camelot.read_pdf(r"C:\Users\gibin\PycharmProjects\ML\Doc_downloader\GWC_Docs\781313686.pdf") File "C:\Users\gibin\AppData\Local\Programs\Python\Python37-32\lib\site-packages\camelot\io.py", line 117, in read_pdf **kwargs [...] read more
python
python-3.x
pdf
python-pdfkit
python-camelot
1vote
0answers

How to calculate the virtual address for an ELF program header?

I've wrote to file some assembly instructions and I would like to make them executable. However, I'm messing up something with the program headers. I've read the whole man page about the ELF header, but I didn't understand much. #include <elf.h> #include <unistd.h> #include <fcntl.h> #include <sys/stat.h> void MakeExecutable(char *codeBuffer, [...] read more
c++
elf
coredump
1vote
0answers

Android `service` command - how to use compound types as arguments?

I'm trying to automate replies to a group MMS with Tasker. So far, I've been able to write a couple shell scripts with Termux that can poke into the SQLite database where received messages are stored, and get the content of those messages and the numbers of the participants in [...] read more
android
tasker
1vote
1answer

UART Communication Between STM32F03 and ESP-8266-01

I'm attempting to get a smartphone app to communicate with an MCU (STM32F030R8). The step I'm currently on is getting the WiFi module to talk with the MCU. I'm able use the AT firmware to configure the ESP when using an Arduino Uno/PC terminal, but want to essentially do the [...] read more
c
stm32
esp8266
cmsis
1vote
0answers

ps aux hangs with call_rwsem_down_write_failed when running docker container with resource limit

All, I run a java application container with resource limit, as lots of oom kill events happen every 2 or 3 minutes, then execute ps aux, the command hangs. this problem is easy to reproduced when run docker instance with kubernete, and khugepage was already set disabled. Would anyone can [...] read more
docker
linux-kernel
freeze
ps
blocked
1vote
0answers

Explanation of st_flags bits

I'm writing a python script to delete files on MacOS, and I run into SIP protected files. I know the presence of st_flags more than likely mean I can't delete the file. Like here: >>> os.stat(f).st_flags 524288 But I'm curious to know what that actually means. I looked in stat.h [...] read more
objective-c
linux
macos
file
unix
1vote
0answers

Keep having an error when using static array which is not initialized

I am using 16bit microcontroller which uses gcc4.5 compiler, 32kbyte flash/1kbyte ram. compiling is fine without error, memory is reaching to it's limit but it has some vacancy on both flash/ram and works just fine However, when i define static array without initialization it causes system to die. I cannot [...] read more
c
1vote
0answers

Boost Test Framework: Any way to get a backtrace on SIGSEV?

Just starting out with boost test framework. Using Ubuntu + gcc (running on Windows through the new thing if that matters). When I run my tests, I get this: unknown location(0): fatal error: in "PhraseListTest/everythingEqual8": signal: SIGSEGV, si_code: 0 (memory access violation at address: 0x00000080) /mnt/c/projects/matching/matching-native/src/test/cpp/phrase_list_test.cpp(70): last checkpoint *** 1 [...] read more
c++
linux
gcc
segmentation-fault
boost-test
1vote
1answer

Trouble Converting Smart Card Program to UWP

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

Write to a physical address in Linux on ARM

I would like to write an integer(just one value, it can be also other type) to a specific register (for example: 0x60006666) on a Linux machine using the ARM platform. There are many examples using the mmap(2), but it is not clear how to write just one value to a [...] read more
c
linux
memory
arm
memory-address
1vote
0answers

OpenFileById getting System.AccessViolationException when running as a user (Running as admin works)

I have some code which retrieves the 128bit NTFS Ids from files at specific paths. Then I attempted to retrieve the file path using this ID. The code works as long as when retrieving the paths I run as admin. This is not going to be possible in production. Unfortunately [...] read more
c#
.net
memory
pinvoke
protected
1vote
0answers

gcc 6.3 including too many debug symbols, especially extern global declarations

This question may have been asked, but I've got a toy program that exemplifies the issue fairly well. SYNOPSIS When compiling with gcc -g using gcc 4.9, the debug symbols included, especially for externally declared global variables, is at an expected and familiar amount. When switching to gcc 6.3, the [...] read more
c
gcc
debug-symbols
1vote
0answers

PCI Interrupt Not Assigned

The legacy interrupt assignment for a PCI interface is receiving interrupt 0. We are evaluating the Xilinx Zynq UltraScale+ MPSoC ZCU102 Evaluation Kit. We have a PMC interface that is on a PCI-e carrier inserted into the PCI-e slot on the board. When the driver is loaded the interrupt for [...] read more
interrupt
xilinx
pci-e
zynq
1vote
1answer

Connect to Win10 using axmstsclib and C# with RDP

So I have a small C# app that has a host and a password and wants to connect to that host, which is running out of the box Windows 10. The problem is that I get a dialog saying the > host requires a password. Previously connecting to Windows 7 [...] read more
c#
rdp
1vote
2answers

How to upload a file with unique name in Visual Studio Webtest

Using Visual Studio 2015 I've recorded a web test which includes uploading a file to the website. This site doesn't allow to upload files with the same name. In webtest scenario I have a File Upload Parameter with the property Generate Unique Name set to True: enter image description here [...] read more
visual-studio
load-testing
web-testing
webtest
1vote
0answers

C - Get File Bytes as Unsigned Int

I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
c
1vote
0answers

System.ComponentModel.Win32Exception (0x80004005): The network name cannot be found

I've copied the following class from stack overflow. /// <inheritdoc /> /// <summary> /// Provides access to a network share. /// </summary> public class NetworkShareAccesser : IDisposable { private string _remoteUncName; private string _remoteComputerName; public string RemoteComputerName { get { return _remoteComputerName; } set { _remoteComputerName = value; _remoteUncName = [...] read more
c#
file-io
windows-services
impersonation
1vote
0answers

Android OpenSL ES, how to choose speaker

Does anyone know how to play the sound through the speaker that we normally use during the phone conversation (not the loud speaker, but the ear speaker)? I have developed the app similar to Skype and my only problem is that when the sound is played through the loud speakers, [...] read more
android
opensl
0votes
0answers

During Vagrant provisioning, the system stalls

During my Vagrant Up process, many tasks run in succession and all does work, however at the end I have a validation test that stalls. The only way I can end the stall is logging into the machine manually from another terminal vagrant ssh Here is what my syslog looks [...] read more
linux
virtualbox
redhat-enterprise-linux
vagrant
linux-kernel
0votes
1answer

Autohotkey: Find and focus windows by name accross virtual desktops

I'd like an ahk script to find and focus running windows across virtual desktops on Windows 10. I found one earlier but alas forgot where it's from, maybe someone here knows. I think it was to help with special keys shortcuts not working in VNC sessions (Win key, alt-tab for [...] read more
windows-10
autohotkey
vnc
0votes
0answers

Updates failing trust validation on Windows 10

Windows Update is giving me this error: > We couldn't install updates because there's a problem with the date and time > information on your device. Make sure your date, time, and time zone settings > are correct and we'll try again later. My date and time settings are correct. [...] read more
windows-10
windows-update
certificate
0votes
1answer

Installed 8.1 pro clean hours ago - but already I cannot run windows update

I see error 0x80072ee2, and the following from windowsupdate.log 2014-09-27 02:26:45:866 480 69c AU Triggering AU detection through DetectNow API 2014-09-27 02:26:45:866 480 69c AU Additional Service {117CAB2D-82B1-4B5A-A08C-4D62DBEE7782} with Approval type {Scheduled} added to AU services list 2014-09-27 02:26:45:866 480 69c AU Triggering Online detection (interactive) 2014-09-27 02:26:45:867 480 c30 [...] read more
windows-8.1
windows-update
0votes
0answers

WSUS clients on remote site do not see any update

I've got a WSUS 3SP2 with all patchs on Windows 2008 R2. It updates all servers. all works but servers 2012R2 on a remote site. All others Win2012R2 on other sites works. In the site which have issue, there's only 3 2012R2 servers. There are seen by WSUS console, and [...] read more
wsus
0votes
0answers

task nginx:4164 blocked for more than 120 seconds

My server was working fine for 173 days then it started to happen. Upgrading CentOS 6.6 kernel to latest one didn't helped. Rebooting helps for about 10 minutes then it starts all over again. I'm running dedicated server Intel Core i7 980X, MSI X58-E Pro board, 2x Intel SSD 240 [...] read more
linux
centos
centos6
kernel
kernel-panic
0votes
0answers

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

In appium how to check fingerprint setting is enabled i.e. fingerprint added or not

To verify fingerprint setting is enabled i.e. fingerprint added or not, I am using adb shell. Below is the command adb shell service call fingerprint 14 i32 1 s16 "android.permission.USE_FINGERPRINT" Below is the output that I am getting Result: Parcel( 0x00000000: ffffffff 00000095 0075004d 00740073 '........M.u.s.t.' 0x00000010: 00680020 00760061 00200065 [...] read more
appium
fingerprint
adb-shell
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

umdf 2 upper filter driver for camera

I'm trying to develop an upper filter driver for my camera. I'm having trouble involving the INF file for installation as it keeps failing. The driver is a UMDF 2 driver. I used devcon to install the driver in my system but it keeps failing with the log No matching [...] read more
wdf
filter-driver
umdf
0votes
1answer

Windows 10 driver reported by SignTool as having no signature, but is signed

I've checked out this USB Device Emulation (UDE) project : https://github.com/microsoft/UDE/tree/master/UDEMbimClientSample The project built properly the driver for x64 target in Release configuration under Visual Studio 19 Community : 1>------ Début de la régénération globale : Projet : hostude, Configuration : Release x64 ------ 2>------ Début de la régénération globale [...] read more
windows
driver
code-signing
wdk
0votes
2answers

Show Balloon popup via WinApi32

I want to show a balloon popup without adding a dependency on Windows.Forms. So I decided to use Shell_NotifyIcon from Shell32. Here is a code that I wrote (translated to C# from F#), which should create a notification icon and then show a balloon. struct NotifyIconData { public System.Int32 cbSize; [...] read more
c#
.net
winapi
f#
windows-10
0votes
0answers

Android adb send SMS error doent't work permissions

When i try to send SMS using adb with command: adb shell service call isms 7 i32 0 s16 "com.android.mms" s16 "+1234567890" s16 "null" s16 "Hey\ you\ !" s16 "null" s16 "null" there is error: Result: Parcel( 0x00000000: ffffffff 0000005e 006f0043 00790070 '....^...C.o.p.y.' 0x00000010: 006e0069 00200067 006d0073 00200073 'i.n.g. .s.m.s. [...] read more
android
sms
adb
0votes
1answer

Trying to read from switches and output in a LED switch board

I am wrtiing a program in PLP assembly that repeatedly reads the value of the switches (address: 0xf0100000) and displays a pattern on the LED array (address: 0xf0200000) based on what switches are clicked. Each time the switch value is read, the pattern should be displayed (regardless of whether the [...] read more
assembly
mips
0votes
0answers

Cannot load Universal Dynamic Virtual Channel with ActiveX Control in C# Windows Form

I use Universal Dynamic Virtual Channel (UDVC): https://github.com/earthquake/UniversalDVC After setting up everything of UDVC correctly, the MSTSC Remote Desktop Connection of Windows can load the UDVC-Plugin.dll successfully after connecting to the machine. I create an C# Windows Form application with ActiveX Control AxMsRdpClient9NotSafeForScripting to remote a Windows Server 2016 machine. [...] read more
c#
activex
remote-desktop
virtual-channel
0votes
2answers

If I have hexadecimal numbers with some 1 digit long like 0x1 and some 5 digits long like 0x1e4b1, how do I write code to make them all 8 digits long?

I have some hexadecimal numbers like this in a .txt file: 0x1, 0x2, 0x1e4b1, 0x5b, 0x80, 0x52, 0x111, 0x6b0d, 0x4e, 0x34a, 0x2067, 0x6ef3, 0x1cf, 0x1b, 0x15b, 0x4f, 0xba8, 0x319. What I am trying to do now is overwrite the contents (using code) of the file and make the end result [...] read more
python
hex
0votes
1answer

Tkinter overridedirect (minimizing and windows task bar issues)

What I'm trying to achieve is a Tkinter window, using overridedirect, that show up in your taskbar. You can minimize it like a normal window, and bring it back up like a normal window. The problem that I'm having right now is that I've achieved adding it to the taskbar, [...] read more
python
tkinter
window
0votes
1answer

How change icon shown in task bar

I have this code in this code I have do custom design but when I try to change the icon it is not changing import tkinter as tk import tkinter.ttk as ttk from ctypes import windll GWL_EXSTYLE=-20 WS_EX_APPWINDOW=0x00040000 WS_EX_TOOLWINDOW=0x00000080 def set_appwindow(root): hwnd = windll.user32.GetParent(root.winfo_id()) style = windll.user32.GetWindowLongW(hwnd, GWL_EXSTYLE) style = [...] read more
python-3.x
0votes
0answers

Freeling analizer is not working with NER, dates, numerals

I am trying to use freeling to recognize and classify named entities in Spanish, I am testing with the analizer as I still don't understand how to use the Python API. So when using the analizer in a text it doesn't recognize or classify named entities or dates or anything [...] read more
python
nlp
ner
freeling
0votes
0answers

How to make swift's symbol table not garbled?like Objective-c?

I imported the symbol table file.txt of swift project, Why is it not as intuitive as Objective-C? # Symbols: # Address Size File Name 0x1000017E0 0x00000090 [ 2] ___sanitizer_cov_trace_pc_guard_init 0x100001870 0x00000070 [ 2] ___sanitizer_cov_trace_pc_guard 0x1000018E0 0x00000090 [ 2] _printC 0x100001970 0x0000001C [ 2] _sancov.module_ctor_trace_pc_guard 0x100001990 0x00000080 [ 3] +[TestOCViewController load] [...] read more
llvm
llvm-clang
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
1answer

How to convert from 2-complement to base 10? MIPS

I know how to convert from two's complement to base 10 by hand. http://sandbox.mc.edu/~bennet/cs110/tc/tctod.html as shown by the link. You can tell if a number is negative or positive by the first bit, so my idea was since the number is 8 bit i would divide by 1000 0000 in [...] read more
mips
0votes
0answers

PHP RSA public encrypt not matching C# encrypt

I Am trying to replicate the RSA public key encryption a C# project is using with PHP I am using this code using C# and a public key. public static RSACryptoServiceProvider DecodeX509PublicKey(byte[] x509key) { byte[] SeqOID = { 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01 }; MemoryStream ms [...] read more
c#
php
openssl
rsa
0votes
1answer

XMS.NET fails when receiving JMS message with RFH2 header at ParseJmsFolder

Our partner started using custom properties for messages being sent over IBM WebSphere MQ and our application developed using XMS.NET started to fail because of that. It turned out that the error is being thrown inside parsing the JMS envelope and inside the ParseJmsFolder method. This is the exception we [...] read more
.net
jms
ibm-mq
xms
rfh2
0votes
0answers

File type returns empty string

I'm trying get file type name (like Folder, bitmap image, Text file etc...) with c#. I dont want get from registry because of privilege reasons. I found this method from internet. It working well for get file icon (SHGFI_LARGEICON, SHGFI_SMALLICON) But This method always returning blank szTypeName. I've tried different [...] read more
c#
shell32
shell32.dll
0votes
1answer

What is 'FT' means in Nginx NGX_HTTP_UPSTREAM_FT_* macro/const

There are some macro about nginx upstream and What is 'FT' means in these definitions? #define NGX_HTTP_UPSTREAM_FT_ERROR 0x00000002 #define NGX_HTTP_UPSTREAM_FT_TIMEOUT 0x00000004 #define NGX_HTTP_UPSTREAM_FT_INVALID_HEADER 0x00000008 #define NGX_HTTP_UPSTREAM_FT_HTTP_500 0x00000010 #define NGX_HTTP_UPSTREAM_FT_HTTP_502 0x00000020 #define NGX_HTTP_UPSTREAM_FT_HTTP_503 0x00000040 #define NGX_HTTP_UPSTREAM_FT_HTTP_504 0x00000080 #define NGX_HTTP_UPSTREAM_FT_HTTP_403 0x00000100 #define NGX_HTTP_UPSTREAM_FT_HTTP_404 0x00000200 #define NGX_HTTP_UPSTREAM_FT_HTTP_429 0x00000400 #define NGX_HTTP_UPSTREAM_FT_UPDATING 0x00000800 #define NGX_HTTP_UPSTREAM_FT_BUSY_LOCK [...] read more
nginx
0votes
1answer

How can I treat bit mask graceful in C++?

I have met code like this. #define JOB_STATUS_PAUSED 0x00000001 #define JOB_STATUS_ERROR 0x00000002 #define JOB_STATUS_DELETING 0x00000004 #define JOB_STATUS_SPOOLING 0x00000008 #define JOB_STATUS_PRINTING 0x00000010 #define JOB_STATUS_OFFLINE 0x00000020 #define JOB_STATUS_PAPEROUT 0x00000040 #define JOB_STATUS_PRINTED 0x00000080 #define JOB_STATUS_DELETED 0x00000100 #define JOB_STATUS_BLOCKED_DEVQ 0x00000200 #define JOB_STATUS_USER_INTERVENTION 0x00000400 #define JOB_STATUS_RESTART 0x00000800 DWORD func(); The func return a dword which [...] read more
c++
0votes
0answers

Make my WinForms application behave just like a Console application when using Console.WriteLine()

I have a .NET WinForms application written in C#. The application has two operational modes: * Regular GUI mode. * Possibility to execute calls with a CLI. When I run my application from a Cmd window, the output appears on screen, but the application does not close until I press [...] read more
c#
pinvoke
0votes
0answers

How to allow click through on Transparent WinForm OpenGL overlay

I'm trying to create an OpenGL Overlay window (using C# and OpenTK). I've managed to get the transparency working using DWM BlurBehind with an invalid region> I then set the owner of the form to another process so it only overlays over the top of that. This is working great, [...] read more
c#
winforms
winapi
opengl
dwm
0votes
0answers

does anyone has used Ivona library?

I am using IVONA library to text-to-speech, everything works fine but I am facing one issue on keyboard space key press I need to speak the written word before space, this is also working fine when user type slowly, but when user type word fast at that time ivona crash [...] read more
android
text-to-speech
speech-synthesis
ivona
0votes
3answers

Ecplise Java JNI, java.lang.UnsatisfiedLinkError loading dll

I'm having a problem with loading printer dll. I have a dll file from the printer manufacturer (JniPrinterStatusLib.dll). I wrote code like printer manufacturer suggested. The code is: package com.printer.test public class JniPrinterStatus { static{ System.loadLibrary("JniPrinterStatusLib"); } public native int GetStatus(String printer); } package com.printer.test public class TestSample { public [...] read more
java
eclipse
java-native-interface
0votes
1answer

Having trouble calling ExitBootServices from a bare-bones PE+ uefi application made with nasm

I have made a PE+ UEFI application in nasm and have been able to use EFI_BOOT_SERVICES to print text, to load the GOP, and when I call GetMemoryMap the return value is EFI_SUCCESS (0) and I can return safely to the EFI shell and I can reboot the (virtual) machine [...] read more
assembly
x86-64
nasm
uefi
0votes
1answer

GetLogicalProcessorInformationEx SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX array size

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

Google Calendar API won't work - how to fix that?

Does any people know what error message is this means? I unable to run the Google Calendar in my apps. I take the source code and put in my project it show this message. Source: How to integrate google calendar api in android application Sorry for if there was lack [...] read more
java
android
google-api
google-calendar-api
0votes
1answer

Execute lb MIPS instruction by hand

I am working on executing MIPS instructions by hand and I am not really understanding how it works. In the example given below, the contents in $t0 changes from 0x00001117 to 0x00000080. I do not understand why though. Any help would be great. lbu $t0, 5($s0) lbu (i-type, load byte [...] read more
mips
0votes
0answers

C# AppBar Application overlapping fullscreen applications

I've managed to develop an AppBar which stays in top of the screen, and maximized windows don't overlap with it. Now, i want tohave the same behavior with applications running in fullscreen mode : for exemple if i run chrome or ie in fullscreen my appbar stays on top but [...] read more
c#
.net
windows
forms
0votes
0answers

Rendering in a NativeWindow OpenGL control

I've created my own OpenGL context using native API calls and NativeWindow in C#. I based on WIN32 OpenGL examples and got this: public class OpenGLControl : System.Windows.Forms.NativeWindow{ private IntPtr HDC; //private Form Parent; #region Imports [DllImport("user32.dll", CharSet = CharSet.Auto, SetLastError = true, ExactSpelling = true)] static extern IntPtr GetDC(IntPtr [...] read more
c#
opengl
0votes
0answers

Android - mixed activity crashes, contains settings and periodically-updated text

this is quite a long post. I don't know very much about Android, but had to write an app. The app (handling a couple of intents and managing connectivity) runs smoothly and without problems. Now I have to add an UI. I tried to create an activity containing both some [...] read more
android
android-layout
android-fragments
-1votes
0answers

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

Non ascii characters in Balloon WinApi popup

I try to show a balloon popup with a Unicode text, but I always see a ??? characters inside. When the title (szInfoTitle) doesn't contain non-ascii characters everything works just fine. And here is the fully working F# example: type NotifyIconData = struct val mutable cbSize: System.Int32 // DWORD val [...] read more
.net
winapi
balloon
-2votes
1answer

Implementation of SHA-1 yields different hashes than the `java.security` implementation

I am trying to implement the SHA-1 algorithm in Java 11, and while testing the hashing algorithm I get different hashes than when hashing with the java.security implementation of SHA-1. The pseudocode I attempted to follow can be found on Wikipedia. public static byte[] hash(byte[] message) { int h0 = [...] read more
java
algorithm
hash
sha

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