Windows error 0x00000004, 4

Detailed Error Information

TOO_MANY_OPEN_FILES[1]

MessageThe system cannot open the file.
Declared inwinerror.h

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

INVALID_DATA_ACCESS_TRAP[2]

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

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 Code4 (0x0004)

Questions

13votes
5answers

Check if a field has been set in protocol buffer 3

I am migrating a java application from protocol buffers 2 to protocol buffer 3. In proto 2 to check if a field is set you have hasfield() method for which an example Java code generated is: public boolean hasText() { return ((bitField0_ & 0x00000004) == 0x00000004); } However in proto [...] read more
java
protocol-buffers
proto3
12votes
3answers

Map network drive programmatically in C# on Windows 10

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

Ubuntu load average spikes but CPUs are idle

We have a server on a cloud network, provided by a third party. We are running Ubuntu 10.04 Server Edition. The problem happens at seemingly random times, around one to three times a day. The load average in top usually sits around 2 and the server runs peachy, but at [...] read more
ubuntu
central-processing-unit
high-load
zombie
7votes
1answer

If "pure XCB" OpenGL is impossible, then what's the use of the XCB/GLX API found in xcb/glx.h?

The official XCB documentation tells us that using OpenGL purely with XCB is impossible: one must also use Xlib. This post by Bart Massey (creator of XCB) doesn't suggest this should be impossible. But I'm sure I'm missing something. I've spent hours browsing xcb/glx.h, which is nicely organized here. It [...] read more
linux
x11
framebuffer
xcb
glx
6votes
1answer

core file memory analysis verification

An application is generating a core file. Here is the core info. The error stack was obtained and the objective is to check the data content within the myStruct variable as this is what gets passed into myFunction when the core occurs. (gdb) where #0 0x000000000041bba1 in myFunction (myStruct=0x7ffff9dd0c20) at [...] read more
c
gdb
coredump
5votes
3answers

Windows metro apps not working after renaming default user account

I just renamed my main user (belongs to administrators), and now many metro apps including the Store-App won't open. The outer border appears but then they crash and disappear. A second user that I created afterwards doesn't have this problem. So something is broken in my main user account. Those [...] read more
windows-10
user-accounts
modern-ui
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
2answers

java.lang.IllegalArgumentException: Unable to load native library

I'm using purely native NDK in my project (Native Activity). It works fine when I add Prebuilt static libraries with my .so in Android.mk file. But when I try linking Prebuilt shared library, it shows the below exception: 03-27 16:42:09.982: E/AndroidRuntime(1275): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.irrlicht.example/android.app.NativeActivity}: java.lang.IllegalArgumentException: Unable to [...] read more
android
android-ndk
native-activity
android.mk
4votes
1answer

How to send an SMS from Debian command line?

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

"The server response contains a null character" when connecting to FTP site on port 990 using SSH.NET

I'm trying to use Renci SSH.NET to connect to an FTP site and download files from my C# app. I can successfully connect to the host with FileZilla and WinSCP (on Windows 10 Pro 64), and through an HTTP connection (the host is running CrushFTP), but cannot figure out how [...] read more
c#
ssl
ftp
sftp
ssh.net
4votes
2answers

How to fwrite and fread endianness independant integers, such that I can fwrite and fread on many machines and always have the same result

fwrite an integer depends on endianness, but is there a way to write an integer 0x00000004 to a file such that it can be fread always as 0x00000004 regardless of machine it's run on. * One thought is to write the first bit, then second, then third always in a [...] read more
c
fwrite
endianness
fread
4votes
0answers

Mac Os 10.13 logs me out randomly | Help reading logs

Apparently out of the blue, I have started to experience random crashes on my Mac Pro 4.1, flashed to 5.1. It's running High Sierra 10.13.6 (17G9016), with 48Gb of Ram and two cards (one GT120 and a flashed MacVidCard Titan X Pascal). It is a soft crash in the sense [...] read more
macos
crash
nvidia
macos-high-sierra
4votes
1answer

How can I diagnose and resolve a crash on WCSession sendMessage(_:replyHandler:errorHandler:)?

I'm building a watchOS app that needs to periodically request information from a companion iPhone app to refresh a complication. To achieve this, I have a WKApplicationRefreshBackgroundTask that runs periodically. It uses sendMessage(_:replyHandler:errorHandler:) from WatchConnectivity to request the information from the iPhone app, process the reply, and update the complication. [...] read more
ios
watchkit
watchos
watchconnectivity
wcsession
3votes
1answer

"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message

One of my server (Ubuntu 12.04, 16CPU, 32GB RAM) runs the app section of my website (Nginx 1.1.19, PHP5-FPM, Php 5.3.10, Symfony2 Web Framework) Suddenly, users started getting HTTP 5** Errors. When I went on the server, there was huge disk IO and the culprit was [flush]. When I went [...] read more
nginx
ubuntu-12.04
php-fpm
php5
dmesg
3votes
1answer

Large write with dd fail on RAID-5

I have a server with a RAID controller which connects to a JBOD over SAS. JBOD is populated with 16 SAS-HDDs of 3TB (8 of one make and 8 of other, same rpm). I have configured 3 logical drives with RAID-5, each having 5 physical HDDs (+1 as hot-spare). Now [...] read more
raid
hardware-raid
raid5
dd
3votes
0answers

Windows 10 - Remote access failed error. Start Menu, Action Center, Cortana, cannot be opened

After receiving some updates from windows, right when i'm clicking one of the Start Menu, Action Center, Volume , Battery, LAN Button in the taskbar here is the log that i receive from event viewer. Event Viewer > Windows Log > Application Event ID 1000 (Application Error) > Faulting application [...] read more
windows-10
filesystem-corruption
3votes
1answer

Upgrade from Windows 7 Enterprise to Windows 8 Enterprise

I tried to upgrade a Windows 7 Enterprise to Windows 8 Enterprise, however it fails a quarter of the way through the initialization process. Could this have something to do with the Assembly cache? This is the error: Error MigGather caught exception: Win32Exception: Falscher Parameter. [0x80070057] void __cdecl Mig::CGACRootEnum::Reset(void) Error [...] read more
windows-7
windows-8
upgrade
2votes
1answer

VXFS (veritas) File system filling up - except it's not

I have a Solaris 10 server which is reporting that a file system is filling up: # df -h /opt/CSCObac/var Filesystem size used avail capacity Mounted on /dev/vx/dsk/RDU-VAR-DG/RDU-VAR-VOL # df -F vxfs /opt/CSCObac/var/ /opt/CSCObac/var (/dev/vx/dsk/RDU-VAR-DG/RDU-VAR-VOL): 4469796 blocks 558723 files # df -h | fgrep '/opt/' /dev/vx/dsk/RDU-APP-DG/RDU-APP-VOL 68G 547M 63G 1% [...] read more
filesystems
solaris
mount
disk-space-utilization
veritas
2votes
0answers

Bing Food & Drink app always crashes

My Food & Drink app that came pre-installed on my Windows 8.1 PC keeps crashing to the start screen immediately after opening. Other Bing-based apps work fine. I've taken several steps to try to fix this, but to no avail. I know there're about three duplicates of this, but none [...] read more
windows-8.1
crash
modern-ui
windows-store-app
2votes
1answer

Safari dosen't open anymore "reopen"

I cant open Safari anymore! :( Every time I try it opens a window with this message instead: Process: Safari [336] Path: /Applications/Safari.app/Contents/MacOS/Safari Identifier: com.apple.Safari Version: 8.0.2 (10600.2.5) Build Info: WebBrowser-7600002005000000~1 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Safari [336] User ID: 501 Date/Time: 2014-12-22 22:12:30.768 +0200 OS [...] read more
macos
safari
osx-yosemite
2votes
1answer

Windows 8.1 apps Calculator, Alarms, Weather (just a few) crash immediately when opened

When I open some apps from the Start Screen in Windows 8.1, it just closes right away and brings me back to Start. It won't show me why it closed at all, but I looked in Event Viewer and it says in the description of the event: Activation of app [...] read more
crash
windows-8.1
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
1answer

How should I initialise my stm32 ( f215 )

I am trying to make an extremely minimal stm32f215 firmware to teach myself its boot-up intricacies. As it is now I have this dump which, to my knowledge, should write the stack address to r0 and loop forever: firmware-d: file format elf32-littlearm Disassembly of section .isr_vector: 08000000 <vector>: 8000000: 20002000 [...] read more
arm
embedded
cortex-m3
2votes
1answer

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

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

Kernel panic with exitcode=0x00000004 after /init

I have an embedded ARM system with processor AT91SAM9G45. I try to build linux kernel with initramfs for this system. Kernel version is 4.14.79. After loading kernel and initramfs image at device I have following: 1. Kernel definitely finds out initramfs image, unpacks it and sets it into memory. 2. [...] read more
linux-kernel
arm
embedded-linux
panic
2votes
1answer

No success to simulate mouse click in C#

I'm new to C# and I want to simulate a mouse click(I'm using visual studio 2017 on windows 10). I found this code: using System; using System.Runtime.InteropServices; public class MouseOperations { [Flags] public enum MouseEventFlags { LeftDown = 0x00000002, LeftUp = 0x00000004, MiddleDown = 0x00000020, MiddleUp = 0x00000040, Move = [...] read more
c#
mouseevent
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
2answers

Unable to configure/start mssql-server

I get an error after following this guide: https://computingforgeeks.com/how-to-install-ms-sql-on-ubuntu-18-04-lts/ and running the configuration command. I've searched for a couple hours trying to find the specific issue I have but I can't seem to find anything. I believe it's something to do with me running Ubuntu 18.10 because installing mssql inside [...] read more
ubuntu
sql-server
1vote
0answers

Chrooted from LiveCD: Bad IO performace

my Ubuntu Server installation is broken, so I grabbed a Ubuntu Desktop CD, mounted my Ubuntu installtion on my hard disk and chrooted into it. But now my IO performance is really bad: # time dd if=/dev/zero of=/tmp/foo count=1 1+0 records in 1+0 records out 512 bytes (512 B) copied, [...] read more
performance
chroot
io
1vote
1answer

Win10 upgrade to version 20H2 failed - how to determine the cause?

Question: Where can I find logs from Win10 upgrade and how to interpret them? I've attempted to apply the upgrade three times, and I'm trying to get a clue if there's anything I can fix, so that it succeeds next time. In particular, if the failures are caused by an [...] read more
windows-10
windows-update
windows-10-upgrade
1vote
1answer

Segmentation faults upon running larger programs after a period of machine learning training

Recently, I've been learning machine learning models and neural nets on my iMac. However, now whenever I start a more intensive application (e.g. iTunes or JetBrains' PyCharm), I get the following error message, > [Application] quit unexpectedly Did I cook my CPU or RAM, or is this a "solvable problem"? [...] read more
mac
memory
crash
memtest
1vote
2answers

Apps crashing with EXC_BAD_ACCESS when changing to a custom keyboard layout

I have a custom layout installed (svdvorak_mac6.keylayout). After a reboot another keyboard layout was selected, so I selected my usual one instead. This lead to a lot of apps suddenly starting to crash (Chrome, Skype, Adium etc). I can change to any other built in layout for OS X, but [...] read more
macos
crash
keyboard-layout
dvorak
1vote
1answer

Force NetworkManager to restart and reload network drivers without a reboot

I have a recurring issues with NetworkManager and its dependent components that always fail when I don't have time to debug or fix the issue. I'm trying to figure-out how I can aggressively restart and unload / load both the kernel modules to restart NetworkManager. Think of it as soft [...] read more
linux
networking
arch-linux
kernel
systemd
1vote
5answers

How can I remove LibUSB on Windows 7?

I've installed LibUSB, a software that modifies your USB driver so that programs can access it easily. I didn't know that in Windows 7 you have to run it in compatibility mode for Windows XP, so now my Windows 7 can't access any USB port (including keyboard and mouse). Now [...] read more
windows-7
usb
restore
system-restore
1vote
1answer

'undefined debug reason 7 - target needs reset' Error when debug ARM Cortex-M33 using OpenOCD in FTDI SWD Mode

I am currently using OpenOCD to debug Cortex-M33 processor. However, after it connects to gdb and starts debugging, it shows the following message: Try to search windows process Found openocd running, Kill it SUCCESS: The process "openocd.exe" with PID 18768 has been terminated. Open On-Chip Debugger 0.10.0 Licensed under GNU [...] read more
cortex-m
ftdi
gdbserver
openocd
swd
1vote
0answers

IMX8QXPC0 reset issue during boot

Our team have developed a custom board based on IMX8QXP Mek, but with C0 silicon (MIMX8QX6AVLFZAC). We are using the same PMIC and SD card, eMMC memory connections etc, but with increased amount of RAM (4GB: Micron MT53D1024M32D4DT-053). Upon receiving the board everything looked fine, voltages are ok etc. For [...] read more
linux
linux-kernel
yocto
u-boot
imx8
1vote
0answers

Segmentation fault: 11 while creating executable with pyinstaller

Recently, I have created a simple python app with a GUI implemented with the PyQt5 library. I have tested the app itself multiple times and everything works fine. However, after I tried to package that as an executable using pyinstaller, running the resultant executable doesn't create the GUI and instead [...] read more
python
macos
crash
segmentation-fault
pyinstaller
1vote
2answers

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

Get Device id using ipmitool failed

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

Segfault while running django tests in parallel mode on macOS

When i running test in regular mode there is no problem. But if i trying to run test with --parallel flag i'm always getting segmentation fault in my system after processing half of my tests. I have ~7000 tests in my project and segmentation fault happened always when ~3500 test [...] read more
python
django
multithreading
macos
segmentation-fault
1vote
1answer

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

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

Disassemble instruction set for 8051 microcontroller

I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
assembly
reverse-engineering
microcontroller
disassembly
8051
1vote
1answer

Android Studio Emulator: emulator64-crash-service quit unexpectedly

CONFIGURATION I have a Macbook Pro (Retina, 13 inch, 2016) that is running macOS Big Sur 11.1 BUG REPORT Android Studio always results in a crash (emulator64-crash-service quit unexpectedly.) Before upgrading to macOS Big Sur, Android Emulator was working well. But since I upgraded the OS, Android emulators always crash. [...] read more
android
qt
android-studio
android-emulator
qemu
1vote
1answer

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

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

Why CPU-side version SDL_FillRect up to 7 times faster in compare GPU-side version SDL_RenderFillRect?

Here I have asked what is the difference between SDL_FillRect and SDL_RenderFillRect Here is code of my benchmark: my $window = SDL2::Video::SDL_CreateWindow( 'Hello', 100, 100, 800, 600, 0x00000004 ); my $surface = SDL2::Video::SDL_GetWindowSurface( $window ); my $render = SDL2::Render::SDL_GetRenderer( $window ); SDL2::Render::SDL_SetRenderDrawColor( $render, 0, 0, 255, 255 ); use Benchmark [...] read more
perl
sdl-2
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
1answer

How to convert nested object into Json in Delphi 10.1 berlin

I am very much new in delphi. Presently I am facing a problem. i want to convert nested object into Json using TJson, but having memory related issue. Here is my code. It is just simple unit file with Person and Address class. The person class is depended on the [...] read more
json
delphi
json-serialization
1vote
0answers

bomblab phase_6: Where did I make mistake?

This is the code of node6. 0x00005555555558ab <+0>: endbr64 0x00005555555558af <+4>: push %r14 0x00005555555558b1 <+6>: push %r13 0x00005555555558b3 <+8>: push %r12 0x00005555555558b5 <+10>: push %rbp 0x00005555555558b6 <+11>: push %rbx 0x00005555555558b7 <+12>: sub $0x60,%rsp 0x00005555555558bb <+16>: mov %fs:0x28,%rax 0x00005555555558c4 <+25>: mov %rax,0x58(%rsp) 0x00005555555558c9 <+30>: xor %eax,%eax 0x00005555555558cb <+32>: mov %rsp,%r13 0x00005555555558ce [...] read more
assembly
x86-64
reverse-engineering
1vote
1answer

Find the cause of 'SEGV on unknown address', cause by READ access

I'm writing a Splay Tree implementation. Code compiles just fine in VS, but the testing system fails with DEADLYSIGNAL. The specific input for testing is: search 66 min max set 1 20 print Here is the full code: #include <iostream> #include <sstream> #include <stack> #include <queue> #include <cmath> struct Node [...] read more
c++
memory
splay-tree
1vote
0answers

Cannot get GDB's simulator for Cortex-M3 (ARM) to work

I need to use the simulator and for a start I wanted to do something real simple: Step thru the first few instructions of my startup code. Here it is: Reset_Handler: movs r1, #0 b LoopCopyDataInit CopyDataInit: ldr r3, =_sidata ldr r3, [r3, r1] str r3, [r0, r1] adds r1, [...] read more
gdb
arm
simulator
1vote
0answers

Why does Bochs crash on simple mov instruction

I'm building a small operating system and was using Qemu before which was working properly. Now I'm stuck on a Windows 10 machine and Qemu doesn't work well with GDB on this machine. I thought I'd try Bochs or Virtual box instead. The problem is that with both of these [...] read more
assembly
x86
qemu
bootloader
bochs
1vote
1answer

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

Implementation of IContextMenu COM interface using JNA

I need all items from Windows Explorer Shell Menu. I am implementing with jna the IShellFolder COM object interface. But now I have a problem with implementation the interface IContextMenu for query the context menu. When I invoke the QueryContextMenu function the result of HResult is 0 like true, but [...] read more
java
winapi
com
jna
vtable
1vote
0answers

How to support c/c++ standard library(newlib) on custom riscv platform?

I wrote a riscv emulator that loads riscv .elf files compiled with riscv64 unknown elf toolchain compiled with newlib support and c++ support. It is able to run programs that don't use any c/c++ stl functions. However I would like to be able to use stl functions like printf, cout, [...] read more
c++
stl
g++
riscv
linker-scripts
1vote
0answers

Ubuntu 16.04 fatal JRE error

Since yesterday all my IntelliJ applications quit running due to a JVM fatal error. This it the error I get everytime: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xa7b55215, pid=23009, tid=0x7fa5db40 # # JRE version: OpenJDK Runtime Environment (8.0_121-b13) [...] read more
java
intellij-idea
runtime-error
fatal-error
1vote
0answers

My symbolicated crash report looks like not symbolicated

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

Domino 10 Java XPage crashing the server after some time with PANIC: semaphore invalid or not allocated

I have a java XPages domino application that's running on my server and serves as an API for handling the Rooms & Resoruces database remotely (the main role is obtaining reservations for a set of rooms and updating it periodically). Everything was fine when testing, but once I put the [...] read more
xpages
lotus-notes
lotus-domino
1vote
1answer

Gstreamer pipeline signal for rtspclientsink

I've been using gstreamer for a while - I am impressed how well it works. But recently a requirement has surfaced to examine a content of RTSP requests and responses. I was thinking that I could use handle-request callback feature of rtspclientsink - correct me if I am wrong. But [...] read more
callback
gstreamer
1vote
2answers

Convert column values to float using a conversion function

Given the following CSV +-------------------------------+-------------+--------------------+--------------+ | Timestamp | DoublePoint | HexPoint | BooleanPoint | +-------------------------------+-------------+--------------------+--------------+ | 07/23/2019 16:53:12.523-07:00 | 0.0 | 0x0000000000000001 | True | | 07/23/2019 16:53:14.519-07:00 | 0.0 | 0x0000000000000002 | False | | 07/23/2019 16:53:16.516-07:00 | 0.25 | 0x0000000000000003 | true | | 07/23/2019 16:53:18.513-07:00 | 0.25 [...] read more
python
python-3.x
pandas
csv
1vote
0answers

I'm afraid I've installed a scam npm package: how to analyse a Wasm?

I've installed and executed (with nodejs) a package from npm: https://www.npmjs.com/package/openssl.js Somehow I didn't realize that it hasn't a good reputation (almost no activity/stars on twitter, github). Now I'm afraid that it is a scam. The worst case would be that is stealing/encrypting my data or something like that. I've [...] read more
node.js
webassembly
honeypot
0votes
1answer

Proxmox Ceph - Got timeout on separate network

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

Routing from LAN into OpenVPN

I need to set up a route from our local network into our VPN. That is, anybody from inside the LAN should be able to communicate with machines in the VPN, without being a VPN client itself. Problem is, I'm somewhat of a dummy when it comes to networks... The [...] read more
routing
openvpn
ip-forwarding
0votes
0answers

Linux Kernel messages in log - disk write seems to be hanging on database

I was having database issues whereby commits were not completing (PostgreSQL) and it seems to be related to these messages that are filling up my server log: Jan 30 02:29:45 server001 kernel: [3521062.240540] postgres D 0000000000000000 0 23220 8154 0x00000004 Jan 30 02:29:45 server001 kernel: [3521062.240550] ffff8800174c9d08 0000000000000082 ffff88041cd24728 0000000000015880 [...] read more
linux
filesystems
0votes
1answer

Why doesn't pppd over ssh work here? Why can't I kill pppd?

I'm trying to setup a simple ppp tunnel over ssh. It works on several machines just fine. But on one machine, pppd gets "stuck": > pgrep pppd | xargs ps up USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 4178 0.0 0.1 3020 1088 pts/1 Ds+ [...] read more
linux
debian
point-to-point-protocol
0votes
1answer

Mystery stack traces in /var/log/messages

I am seeing the following messages in my server's /var/log/messages. They look like stack traces and are not preceded by any narrative (e.g. "such-and-such has gone wrong"). I am almost certain they are related to I/O problems I am experiencing, but it would be instructive to understand what exactly these [...] read more
linux
ubuntu
sata
ext4
0votes
2answers

IIS crashes at startup - inetinfo.exe - memory could not be read

Running * Windows XP SP3 * IIS 5.1 I get this error when I boot my PC. Application popup: inetinfo.exe - Application Error : The instruction at "0x5aa3b134" referenced memory at "0x00000004". The memory could not be "read". when I try to navigate to a http://localhost/ I get this error [...] read more
iis
windows-xp
0votes
1answer

App "Hay Day" doesn't start in Genymotion

I'm trying to run the app "Hay day" in Genymotion. I used this guide to install the play store. Then, I installed hay day from the play store. I did not make any other changes to the virtual system. When I tap/click the hay day icon, the screen orientation changes [...] read more
android
emulator
0votes
1answer

Prevent Microsoft Sync from running at Startup

Using x64 Windows 10 (build 17763.1098). Whenever the computer starts up, quickly load Task Manager and Microsoft Sync Center (Mobsync.exe) briefly runs before shutting down. Is there any way to stop this altogether? All of the following are done and confirmed: * HKLM\SYSTEM\CurrentControlSet\Services\CscService\Start is 0x00000004 * HKLM\SYSTEM\CurrentControlSet\Services\CSC\Start is 0x00000004 * [...] read more
windows-10
sync
0votes
2answers

Some Microsoft apps cannot be upgraded, uninstalled or launched

Windows 10 Desktop 10586.420, please watch my screen record https://youtu.be/tZrGTll9muY These 7 Microsoft apps are stuck in my store update list for ever, all of them had exact the same error code in the end 0x80073CF6. The rest of apps have no problem at all. What is even worse is [...] read more
windows-10
0votes
0answers

Please explain what the Error with OS X 10.10.2 and MacWinDjVu (does not open any more) is and how to solve it

Please explain what the Error with OS X 10.10.2 and MacWinDjVu (does not open any more) is and how to solve it. I use DjVu regularly, and until today I did not have any problem. I just turned on my MacBook Pro, tried to open a .djvu file and this [...] read more
macos
crash
osx-yosemite
djvu
0votes
0answers

What is this WWAHost.exe[...] Error? An unhandled exception occurred in WWAHost.exe

It's now 4days, I keep getting this Error from Start up. Am using windows8.1, since about a year now, first time I get any Error. I can't tell what really caused it, I am a Web/Desktop programmer and for the past 1 month, I haven't done any Desktop programming or [...] read more
windows-8.1
exceptions
0votes
0answers

Linux RAID Re-Shape Stopped, unmountable

I added another drive to my RAID 5 and migrated it to a RAID 6. Everything went fine, but now the process seems to be stuck at 63.2% and md2_raid6 takes 99.9 of the CPU. RAID Details: > /dev/md/2: Version : 1.2 Creation Time : Thu Jan 16 21:17:54 2014 [...] read more
linux
raid
software-raid
0votes
2answers

IIS crashes at startup - inetinfo.exe - memory could not be read

Running * Windows XP SP3 * IIS 5.1 I get this error when I boot my PC. Application popup: inetinfo.exe - Application Error : The instruction at "0x5aa3b134" referenced memory at "0x00000004". The memory could not be "read". when I try to navigate to a http://localhost/ I get this error [...] read more
windows-xp
iis
0votes
1answer

Customizing Fantacy Remote .INI file

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

dwarfdump output with overlapping ranges

I am using the dwarfdump command with these options -fFpPEo against a binary file. The output looks like this: fde: < 7><0x00000000:0x00000092><clear><fde offset 0x00005d70 length: 0x00000030><eh offset none> 0x00000000: <off cfa=00(r13) > 0x00000004: <off cfa=24(r13) > <off r4=-24(cfa) > <off r5=-20(cfa) > <off r6=-16(cfa) > <off r7=-12(cfa) > <off r8=-8(cfa) [...] read more
dwarf
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

Windows Time service won't synchronize

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

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
linker
runtime-error
undefined-symbol
0votes
0answers

AWS) crosscompile C sdk To ARM - not a dynamic Executable

I crosscompile AWS Embedded CSdk through gnueabigcc and put it in the device. But when I run it, there's an error that says I can't run it because I don't have a library. When I tried ldd "file name" with Linux, the phrase "not a dynamic Executable" appears. I think [...] read more
amazon-web-services
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

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

Uncomprehensive Android Studio - Device emulator-5554 is offline. error - Showing only black screen

After many attempts, and trying many solutions that I could find on stackoverflow or elsewhere on the internet, I was still not able to run the emulator on my computer. This is happening with this computer on both Windows and Linux boots. I am able to start the emulator but [...] read more
android
android-studio
android-emulator
flutter-doctor
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
1answer

Android app crashes when using setVisibility(View.GONE);

I have a splash activity which runs for 5 seconds, and it I want 2 seconds to have a textview (txtCRF) and a imageview (canuck), and the other 3 seconds to have a different imageview (titlescreen). Whenever I utilize setVisibility(View.GONE) on any of the elements, the app crashes. This is [...] read more
java
android
0votes
0answers

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

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

How to use std::num_get<> in self-defined istream?

I wrote a istream for bits. When I wanted to implement formatted input, I copied the implementation of _Common_extract_with_num_get and istreambuf_iterator from msvc for experiment, here is part of relevant code: using numget = std::num_get<char, ibstreambuf_iterator<char>>; ... template <class _Ty> basic_ibstream& _Common_extract_with_num_get(_Ty& _Val) { // formatted extract with num_get bios::iostate [...] read more
c++
0votes
1answer

How do I lookup a value in a table?

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

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

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

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

Determing the highest possible color and depth attachement sampled count in Vulkan

Do I need to set the value of VkAttachmentDescription::samples to a power of 2 or are arbitrary values allowed, as long as they don't exceed the maximum supported by the hardware? I'm really confused about this. The samples field is of type VkSampleCountFlagBits, which is declared in the following way [...] read more
graphics
vulkan
0votes
0answers

How to get video frames from UVC device in MJPG format on ARM64 system? (with python)

As the title. I want to get the highest performance from Logic HD Pro Webcam C920, which should be 1920*1080, FPS=30.0. I've tried many ways from Internet, however, neither could solve my problem. Generally, There are two methods could achieve the goal. 1. opencv-python -> VideoCapture: Here is my code. [...] read more
python
linux
opencv
gstreamer
uvc
0votes
0answers

Having issues with a Frida gadget on an emulated Android device

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

Mac Catalyst game crashes on GKAchievementInternal showBanner

Every time I submit an achievement to Game Center on macOS, using Mac Catalyst, my game crashes with this: -[GKAchievementInternal showBanner]: unrecognized selector sent to instance 0x600002616ca0 No call stack. I set a break point for all the Obj-C exceptions but it's just stopped in the AppDelegate. Everything is fine [...] read more
game-center
mac-catalyst
0votes
3answers

onAudioReady callback method for Oboe is never called

I'm using Oboe library for a music android app developing in Qt. In my sound processing class which dervives from AudioStreamCallback I use the builder to create both a recording and playback stream and this works fine and I received AAUDIO_OK as a result for opening boths streams. I've registered [...] read more
android
c++
qt
oboe
0votes
0answers

Shared Object fails to LOAD on linux after just Declaring std::map<int, int>

I am trying to build and load a shared library SO file and it was loading just fine. It fails to load when I added the below lines to create a map and it fails to load. It compiles and builds fine. I am using Eclipse & CDT. Edit 1: [...] read more
c++
linux
java-native-interface
shared-libraries
cross-compiling
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

Try catch not working, Exception thrown at 0x00476F1E in game1.exe: 0xC0000005: Access violation reading location 0x00000004

Code: try { SDL_SetColorKey(surfaces[folderCnt][surfacesCnt], SDL_TRUE, SDL_MapRGB(surfaces[folderCnt][surfacesCnt]->format, 255, 0, 255)); } catch (int err) { } Error: Exception thrown at 0x00476F1E in game1.exe: 0xC0000005: Access violation reading location 0x00000004. When surfacesCnt = 10 it throws the error. That is because there is no surface 10. I know that and I want [...] read more
c++
try-catch
0votes
0answers

How can I find the node6

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

How to set/build listview filterbar vs2019 winform C#

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

Trying to initialize PWM on PB4 on the TM4C123 Microcontroller

As the tittle states I am trying to initialize PWM for PB4 on the TM4C123 microcontroller using Keil as the IDE. So far I have been able to initialize PB6 and PB7 but i'm not sure why PB4 isn't working. Do you guys know whats I'm doing wrong? Thanks in [...] read more
c
keil
pwm
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
1answer

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

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

Java or Solaris issue

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

Failing when using Pinvoke calling UpdateProcThreadAttribute for AppContainer security capabilities

I am trying to launch an appcontainer using C# and pinvoke and getting hung up setting the security capabilities into the attribute list via UpdateProcThreadAttribute(). The GetLastError() returns > 87 - invalid parameter Similar c++ code from this article (github link at the bottom https://scorpiosoftware.net/2019/01/15/fun-with-appcontainers/) works well. Code: (pinvoke structs/enums/externs [...] read more
c#
pinvoke
0votes
0answers

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

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

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

I want to write a batch file or powershell script as a wrapper that can invoke apacheds.bat provided by ApacheDS to create a new ApacheDS instance and register it as a windows service. Currently I use C# to create powershell process and pass argument: "-c & '$scriptFullName' -Service" to powershell [...] read more
powershell
batch-file
windows-services
apacheds
0votes
1answer

Exception 0x00000004 (sfml-graphics-2.dll) occuring after compilation

Recently, I've started to learn SFML. The first thing I wanted to do was a simple menu - so I've created an interface for all menus, containing everything necessary for other menus in protected field. However, my code throws an exception at some point, and I have no idea, why. [...] read more
c++
exception
sfml
0votes
0answers

GetThreadContext winapi call with python / ctypes

I'm currently working on a Python/Winapi project. I want to call Get- and SetThreadContext with Python and ctypes. My setup is Windows10 64bit and Python 64bit. The Apis should work for both, 32bit and 64bit processes. It does work with 32bit processes by calling Wow64GetThreadContext with a WOW64Context. However with [...] read more
python
windows
winapi
64-bit
ctypes
0votes
0answers

Getting NERR_DfsNoSuchVolume (Error code:2662) while checking DFS share path

I have an exe (C# application) which runs with a service account and tried to get the DSF link for a file share. Share exists and accessible. i have another similar exe running with the same service account and running fine where as my exe is not getting 2662 error. [...] read more
c#
wmi
microsoft-distributed-file-system
fileserver
distributed-filesystem
0votes
1answer

GCC Posistion independent code: Variables are not loaded correctly

The Program works fine as a stand alone on CC2650 (M3). But it shall be used also as a firmware which is loaded over the radio channel. For this purpose the position independent code is needed. The problem is, all of the variables defined as described below are not set. [...] read more
c
gcc
position-independent-code
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
1answer

Same HTTP request passes with CURL_CLI but fails with LIBCURL

Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
c
curl
libcurl
0votes
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
3answers

iOS app crashes due to unknown error NO_CRASH_STACK + 0

Users complained that the application began to crash at startup. Users use ios 9.3 or 10.3. Application crashes due to an unknown error. This error is not reported in Crashlytics. I see an error in Xcode - Window - Organizer - Crashes, but there are no details: NO_CRASH_STACK + 0 [...] read more
ios
xcode
0votes
1answer

How the reset sequence is carried out in cortex m3 in case of boot code?

After getting grip over the various fault handlers in cortex m3 Now I'm studying reset sequence and reset handler. In normal case after power on reset. PC points to 0x00000000 where initial msp value is stored Then at 0x00000004 reset vector is kept Means after initializing msp reset handler is [...] read more
reset
cortex-m3
0votes
1answer

Binary bomb- phase 6

This is the disassembly of phase_6: 08048dbf <phase_6>: 8048dbf: 55 push %ebp 8048dc0: 89 e5 mov %esp,%ebp 8048dc2: 83 ec 18 sub $0x18,%esp 8048dc5: c7 44 24 0c 00 00 00 movl $0x0,0xc(%esp) 8048dcc: 00 8048dcd: c7 44 24 08 0a 00 00 movl $0xa,0x8(%esp) 8048dd4: 00 8048dd5: c7 44 [...] read more
assembly
x86
reverse-engineering
0votes
0answers

Avoiding a bad address error when implementing recursion in assembly

I am practicing recursion in assembly with the MIPS instruction set, but I always get a "bad address error" fibonacci: # PROLOGUE subu $sp, $sp, 8 sw $ra, 8($sp) sw $fp, 4($sp) addu $fp, $sp, 8 # BODY bgt $a0, 1, rec move $v0, $a0 j ret rec: subu $a0, [...] read more
assembly
mips
0votes
0answers

Failed to send ok during RDP automation to legal notice banner

$server = “ServerName” $Cred1 = New-Object -TypeName pscredential -ArgumentList “UserName”,(ConvertTo-SecureString -String ‘password’ -AsPlainText -Force); Function Connect-Mstsc { [cmdletbinding(SupportsShouldProcess,DefaultParametersetName=’UserPassword’)] param ( [Parameter(Mandatory=$true, ValueFromPipeline=$true, ValueFromPipelineByPropertyName=$true, Position=0)] [Alias(‘CN’)] [string[]] $ComputerName, [Parameter(ParameterSetName=’UserPassword’,Mandatory=$true,Position=1)] [Alias(‘U’)] [string] $User, [Parameter(ParameterSetName=’UserPassword’,Mandatory=$true,Position=2)] [Alias(‘P’)] [string] $Password, [Parameter(ParameterSetName=’Credential’,Mandatory=$true,Position=1)] [Alias(‘C’)] [PSCredential] $Credential, [Alias(‘A’)] [switch] $Admin, [Alias(‘MM’)] [switch] $MultiMon, [Alias(‘F’)] [switch] $FullScreen, [Alias(‘Pu’)] [switch] [...] read more
powershell
powershell-3.0
powershell-4.0
powershell-remoting
0votes
0answers

MSSQL Linux - RETAIL ASSERT: Expression=(NT_SUCCESS(status)) File=drtl.cpp Line=5326

I have problem with MSSQL Server installed on linux, core logs growing up quickly and i see some crash logs, db works fine - i can make queries but sometimes application cannot open connection. How to fix that? Its related with my distro? I use "Linux Mint 18.3" crash.json: { [...] read more
sql-server
linux
database
sql-server-2017
0votes
1answer

Using BitSet properly to replace int based flag. Is it possible?

I am getting an int from a data source that serves as a flag. Example: private static final int EMPLOYEE = 0x00000001; private static final int IT = 0x00000002; private static final int MARKETING = 0x00000004; private static final int DATA = 0x00000008; private static final int DBAs = IT [...] read more
java
performance
bit
bitset
0votes
1answer

C++ constructor gets xtree error

I'm trying to construct one of my classes but i'm getting a xtree violation error. Here is how I am constructing my classes Game.h #pragma once #include "ImageService.h" class Game { private: IntroState introState; public: ImageService imageService; Game(); ~Game(); }; game.cpp Game::Game() : introState(imageService) { } This then goes to [...] read more
c++
inheritance
map
0votes
1answer

Powershell using windows API to drag drop mouse

I have code that is supposed to do a drag and drop with powershell that I don't understand why it's not working the way I'm hoping for it to work. Details below: function Mouse-signature-import(){ $global:signature=@' [DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)] public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long [...] read more
powershell
-1votes
0answers

xcode 12.4 for iOS 14.5 The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports

i've downloaded the device support for iGhibli 14.5 (FromXcode_12.5_Release_Candidate.xip) 2021/04/25 https://github.com/iGhibli/iOS-DeviceSupport and when i make a reach a breakPoint the answer is Message from debugger: The LLDB RPC server has crashed. The crash log is located in ~/Library/Logs/DiagnosticReports and has a prefix 'lldb-rpc-server'. Please file a bug and attach the [...] read more
swift
xcode
lldb
-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

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

Disable Windows Recycle Bin delete confirmation in C#

I am creating a small program which has a few functionalities to make my PC "feel better". One of those functionalities is emptying my recycle bin. I am using the following code for that: enum RecycleFlags : uint { SHERB_NOCONFIRMATION = 0x00000001, // No empty confirmation SHERB_NOPROGRESSUI = 0x00000002, // [...] read more
c#
windows
recycle-bin
shell32
-2votes
1answer

Bomb Lab Phase 6 :Stuck on the last step

This is asm code for phase_6 08048de3 <phase_6>: 8048de3: 56 push %esi 8048de4: 53 push %ebx 8048de5: 83 ec 4c sub $0x4c,%esp 8048de8: 65 a1 14 00 00 00 mov %gs:0x14,%eax 8048dee: 89 44 24 44 mov %eax,0x44(%esp) 8048df2: 31 c0 xor %eax,%eax 8048df4: 8d 44 24 14 lea 0x14(%esp),%eax [...] read more
linux
assembly
x86
reverse-engineering

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