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

34votes
4answers

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

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

Add icon tray on Windows using native Golang API

I'm developing a daemon with no UI apart from a simple icon in the Windows systray. I would like to have no dependencies on any other package(s), so I'm trying to use the syscall package and implement the necessary call(s) by myself. DOCUMENTATION * After some research, I think that [...] read more
windows
go
systray
11votes
2answers

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 certain [...] read more
c#
network-programming
10votes
3answers

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

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

Detect if external process' window is flashing/blinking

How can I detect when a process that I'm not controlling is flashing due to some notification in it. I've seen only solutions that focus on an application that you have control over. In my case, there might be multiple instances of said process active at once and just one [...] read more
c#
windows
winforms
hook
kernel32
5votes
1answer

From Raku/Perl6, how to read this registry key?

Windows With Raku/Perl6, how do I use NativeCall to read the value of [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ "EnableLUA"] with RegQueryValueExW? https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regqueryvalueexw Many thanks, -T edit 12-27-2019 #1: removing bad code and inserting new code This is how far I have gotten. Test run string: K:\Windows\NtUtil>perl6 -I. -e "use WinMount :GetLUA; say GetLUA();" RegOpenKeyExW [...] read more
winapi
raku
5votes
2answers

Getting key names for keyboard codes in Swift

I know others have asked similar questions, but I haven’t seen a definitive answer, and I’m still stuck. I’m trying to write a Swift function that takes a hardware-generated keyboard scan code, such as from an NSEvent, and returns the alpha-caps-locked name of the key, for the particular key arrangement [...] read more
swift
keyboard-events
macos-carbon
5votes
2answers

Waste in memory allocation for local variables

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

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

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

First-chance exception at ...: Access violation reading location ... when debugging using Visual Studio 2010

I try so hard to catch from legacy code access violation keep getting : First-chance exception at 0x57e77e1c in YouTubeLocal.exe: 0xC0000005: Access violation reading location 0x0000000c. My stack looks like this: Qt5Guid.dll!57e77e1c() [Frames below may be incorrect and/or missing, no symbols loaded for Qt5Guid.dll] Qt5Guid.dll!57e75604() Qt5Guid.dll!57ed520b() Qt5Guid.dll!57dcf18b() > msvcr100d.dll!_unlock(int locknum=0x00000004) [...] read more
c++
visual-studio-2010
thread-safety
access-violation
3votes
1answer

byte[] to 0x hex string with fnv1a32

I am trying to port the following python code to c# import os import sys import ctypes FNV32_PRIME = 0xB3CB2E29 FNV32_BASIS = 0x319712C3 def uint32(v): return ctypes.c_uint32(v).value def fnv1a_hash(data): hval = FNV32_BASIS for i in range(0, len(data)): hval = uint32(hval ^ data[i]) hval = uint32(hval * FNV32_PRIME) return hval print("starting") [...] read more
c#
hash
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

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

CubeMX-generated USB HID device sends wrong data when both endpoint and PMA address are changed

I'm debugging a problem with a composite device that I'm creating, and have recreated the issue in freshly-CubeMX-generated HID-only code, to make it easier to resolve. I've added small amount of code to main() to let me send USB HID mouse-clicks, and flash an LED, when the blue-button is pressed. [...] read more
usb
stm32
cubemx
stm32f3
2votes
2answers

Running an external python controller from console

While trying to figure out how to integrate the gym interface, I'm trying to get an extern robot python controller running from console. I have follwed the offical guide and my (macOS) env vars set accordingly. When I try to run the controller by typing: python (path to controller.py) I [...] read more
webots
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
2answers

Normalizing a two complement number

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

How to get hardware ID when enumerating with Windows Media Foundation

I am using MFEnumDeviceSources() to enumerate attached devices and I am looking for a specific web camera of which I have two connected. The enumeration works fine and I can print the Friendly Name which is FLIR Video for both my cameras. I am struggling to figure out how to [...] read more
windows
ms-media-foundation
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
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

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

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

'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

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

EnumProcessModules returns 0 with error 299

I'm currently trying to enumerate all the modules of a supsended 32-bits process I've previously created from my 32-bits program, my Windows is 64-bits. (I've already read all the other topics on that problem). Here is the code: let a = CreateProcessA( "C:\\Program Files (x86)\\GlassWire\\GlassWire.exe\0".as_ptr(), null_mut(), null_mut(), null_mut(), false, 0x00000004, [...] read more
winapi
rust
1vote
0answers

Nativescript - iOS build fails with error code 2

I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information 1. Sidekick Version: 1.19.2-v.2019.11.18.2 (latest) 2. NativeScript CLI version: 6.2.2 3. CLI extension nativescript-cloud version: 1.19.3 4. CLI extension nativescript-starter-kits version: [...] read more
ios
nativescript
nativescript-angular
1vote
0answers

FDT (Flattened Device-Tree): Property name (strings): Comma terminated string instead of NUL character

I have started to write a library for reading FDT (DTB) format files, but run into a problem with a test DTB file. The DTB file is form a board (Digilent ZYBO-Z7) which I own. I compiled the source device-trees from the actual Linux Kernel. There are two property names [...] read more
linux-kernel
reverse-engineering
device-tree
bsp
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

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

Unity Android crash after loading splash image

Model : JP5 MINI CPU : 2x ARM Cortex-A9 912Mhz GPU : Mali-400 MP2* Screen : 480x272 RAM : 1024MB OS: Android 4.2 Ratio : 16:9 PPI : 128.3PPI DISPLAY SIZE : 3.74" x 2.12" = 7.93in² ( 9.5cm x 5.38cm = 51.17cm² ) at 128.3 PPI, 0.198mm dot pitch, [...] read more
android
crash
splash-screen
1vote
0answers

Unity android app crash on launch, need guide on the crash log

I would like to start my app without any problem. Currently, when I press on my app, it instantly popout 'Unfortunately, MyGame has stopped' without even going into the app. PS: I'm using Android Studio Virtual Machine with Android 4.2 armeabi-v7a. These are the crash log. > 02-11 11:38:56.709: D/AudioHardware(92): [...] read more
android
unity3d
crash
0votes
0answers

What does this OpenVPN client level 11 verb output tell us about the SSH connection hangs/stalls we are experiencing?

OVERVIEW After setting up OpenVPN, we are able to connect over SSH (e.g. to 10.8.0.9), but the SSH connection hangs/stalls, usually after about 2-minutes. The SSH connection is from Ubuntu 18 on WSL to Ubuntu 18 on Digital Ocean. WHAT HAVE WE TRIED? We have done the following on the [...] read more
ssh
openvpn
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

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

Task transmission-da blocked for more than 120 seconds

I've a home NAS based on OpenMediaVault 4. The problem is I'm constantly getting service hangs (transmission). This usually happens when the new torrent is added and starting to download. Then it is impossible to restart transmission-daemon or even kill transmission. The only way to get it working again is [...] read more
linux
nas
kernel
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

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

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

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

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

Unhandled exception while embedding Python in C++

I have made a Python file that contains a function which returns the Taylor series of the generating function of a recurrence relation. I want to run this function from a C++ program. Now the problem I am facing is that when I run the Python file from the C++ [...] read more
python
c++
embed
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

WTSQueryUserToken() return false

I'm trying to run the c# watchdog windows service application from this stackoverflow thread The issue I'm having is that WtsApi32.WTSQueryUserToken is return false with the following message The operation completed successfully in this snippet of code: // Retrieve the active session ID and its related user token. var sessionId [...] read more
c#
windows-10
windows-services
64-bit
watchdog
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

KERN_PROTECTION_FAILURE is not symbolicated?

I am receiving some crash reports like that: enter image description here [https://i.stack.imgur.com/VznDc.png] I guess they are all coming from same user, because every crash report is coming from iphone 5. My other crash reports are symbolicating automatically but this one is not. Also i symbolicated manually but still getting [...] read more
ios
objective-c
swift
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
0answers

Cocos2dx Collision : onContactBegin fired but collision check condition fail always

I have 3 Objects in game. Falling Ball, Upward moving Steps, Coins Now no problem with game play, I need steps and ball collision place to add sound effects.now onContactBegin fired twice for ball and steps collision. Once contact begin onContactBegin fired, also once it loose contact then onContactBegin fired [...] read more
c++
ios
iphone
xcode
cocos2d-x
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
0answers

esp32 using WiFiClientSecure and AWS api gateway client certificate, fail to connect to server

i am using an esp32 with the WiFiClientSecure library to make a GET request to my AWS api gateway url ( https://x.......g.execute-api.eu-west-1.amazonaws.com/v1/esp32). i am using an api gateway issued client certificate containing PEM-encoded public key. it fails connecting to server when using the settings (though it appears that the certificate [...] read more
ssl
https
aws-api-gateway
client-certificates
esp32
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
0votes
1answer

working with python cdll windows dll got an memory exception

I receive this error when I try to call this function written in Delphi. But another code works fine. Maybe I'm not declaring the args ans result types? I am using 32Bit python 3.7). Related code snippets: Delphi: Test(deposit, MarginCall: double; CallBack: TProgrCallBackProc); stdcall; Python: self.FTCore = ctypes.WinDLL(self.FTCore_library_path) self.FTCore.Test.argtypes = [...] read more
python
delphi
0votes
1answer

StoreProhibited Error on ESP32 when calling i2s_read function

I am trying to use a microphone sensor on my esp32 microcontroller. Currently, it is running the ESP-IDF framework. The microphone is the sph0645lm4h-b. I am using the I2S protocol to connect to the sensor. I2S config is shown below: void i2s_init() { i2s_config_t i2s_config = { .mode = I2S_MODE_MASTER [...] read more
c
microcontroller
microphone
esp32
0votes
1answer

Stm32 Time Base Interrupt (without any library)

I use Stm32f103c8t6 processor and I want to make 1 second counter. Normaly I dont use tımer update ınterrupt and my counter counts correctly but when I add timer update ınterrupt in code my counter doesnt count correctly. So fast increment. And ı cant remove update interrupt flag (UIF) in [...] read more
c
timer
stm32
interrupt
usart
0votes
1answer

Overload template function

Inside a member function of a template class, I need a compare that works for int, float and string. My solution is to let the member function (DFA::entry) use a selfmade comp function:(template < class T, class U> int comp(T s_one, U s_two)). The problem now is that after compiling, [...] read more
c++
templates
0votes
0answers

QtCreator doesn't open on Mac

Problem: I need to install Qt Creator for my university course on my mac and it doesn't open. I've tried reinstalling different versions a lot of times but it gives me a Segmentation Fault everytime. Everything else is updated to the latest Version and i don't know what to try [...] read more
macos
qt
segmentation-fault
qt-creator
0votes
0answers

STM32 standard method for remote firmware update

My question is about a special case for Bootloader sequence for The Discovery kit for STM32F0 series with STM32F072RBT6 MCU that we currently have implemented in some of our products in the field. I will use ST's own bootloader to update my firmware but I want to do this remotely [...] read more
stm32
boot
bootloader
stm32ldiscovery
0votes
1answer

Wait until user enters the value and assign it to var

It is sort of trivial issue, but it is still taking my tame for the last several days. I am trying to get the user input and wait until the user enters the value, but my program doesn't do it. I would be grateful, if someone could help me out [...] read more
c
microcontroller
code-composer
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
0answers

STM32F103xxxx In Application Programming Using Arduino

I am using Arduino_STM32 rogerclark's library. https://github.com/rogerclarkmelbourne/Arduino_STM32 . Now I want to Develop an In Application Programming(IAP) like a bootloader. Take Code from SD card and Store in Controller flash at 0x8010000 and then jump to that location and run the loaded new application. the code took from SD and [...] read more
arduino
stm32
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 to declare COM interface with properties in C++

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

how to use BluetoothGATTGetCharacteristic with C#

I code a C# Console application ,try get my headphone battery info class BluetoothAPIs class BluetoothAPIs { //https://docs.microsoft.com/zh-cn/windows/win32/api/bluetoothleapis/nf-bluetoothleapis-bluetoothgattgetservices [DllImport("BluetoothAPIs.dll", CharSet = CharSet.Auto, SetLastError = true)] public static extern int BluetoothGATTGetServices( IntPtr hDevice, UInt16 ServicesBufferCount, IntPtr ServicesBuffer, ref UInt16 ServicesBufferActual, UInt32 Flags ); //https://docs.microsoft.com/zh-cn/windows/win32/api/bthledef/ns-bthledef-bth_le_uuid [StructLayout(LayoutKind.Sequential)] public struct BTH_LE_UUID { public Boolean [...] read more
c#
winapi
bluetooth
bluetooth-lowenergy
0votes
0answers

Unable to fix this error. PermissionError: [WinError 32] The process cannot access the file because it is being used by another process

I am collecting the owner of the file, directories and sub directories in all the drives. The below code navigates through all folders and sub folders and prints the path and owner of the folder or file. Code import ctypes as ctypes from ctypes import wintypes as wintypes import file_search [...] read more
python
filepath
glob
file-search
ctype
0votes
0answers

how to change HyperLink style and textColor into richtextbox c# winform

How can I change HyperLink into RichTextBox ? I want to change HyperLink ForeColor and Remove UnderLine . I use this codes for this problem but I don't to change I tried to change with this code , but I don't successful .enter image description hereIf any change for this [...] read more
c#
winforms
hyperlink
0votes
0answers

How to solve gfortran compilation and linking error?

I have trying to compile a collection of old fortran and C codes with gfortran. They compile fine on a linux workstation but this fails in a Mac. Any idea on how to solve this ? The Makefile in the Linux version has one extra flag in CFLAGS and FFLAGS [...] read more
fortran
gfortran
0votes
1answer

Snake game with c++ OOB

I wrote a snake game in c++ in console and i have some issues that I can't understand. Could anyone help me? According to code below: class Snake : public Fruit{ private: int head; short dir_x; //-1 (left or down) / +1 (right or up) short dir_y; friend class Game; [...] read more
c++
oop
access-violation
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
-1votes
0answers

Why isn't my system tray icon sent by shell_notifyicon sending any message to my application when clicked?

I am working on c# app that handles windowing and whatnot entirely through UI (I want it to have a super small footprint). I'm trying to add a system tray icon. I've successfully added the icon -- I see it when I trigger it in the app and it disappears [...] read more
c#
windows
trayicon
window-messages
-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
-1votes
1answer

android.content.res.Resources$NotFoundException: String resource ID #0x4

I've been trying to make a timer app. The user will input seconds and the seek bar moves in a decreasing manner. But as soon as I click on the button, the progress bar moves to the value, but the app crashes. I think the code is working fine till [...] read more
java
android
-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