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

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

Waste in memory allocation for local variables

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

"Anomaly" in signed integer in C

I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
c
optimization
integer
arm
bit-manipulation
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
4answers

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

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

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

Why is there a memory space between my function local variables in the stack?

I have a C program compiled with gcc on Ubuntu x86. This is a function I am calling from main void addme() { long a = 5; char c = '3'; long array[3]; array[0] = 2; array[1] = 4; array[2] = 8; } If I break at last line, and [...] read more
c++
c
x86
gdb
4votes
5answers

App exits instead of going to next activity

I am calling an activity through a simple intent: Intent startNewActivityOpen2 = new Intent(this, TransitionLandscape.class); if (extras != null) { if (!extras.isEmpty()) { startNewActivityOpen2.putExtras(extras); } } startActivity(startNewActivityOpen2); Does it matter that this current activity is also TransistionLandscape.class? The app exits (without crashing) when I start the new activity. Going through [...] read more
android
android-intent
android-activity
4votes
1answer

How do I branch/jump to an arbitrary address in Clang?

I'm using Keil µVision for an embedded project that jumps back to the bootloader for updating. Keil previously used ARMCC as a compiler and the following code worked fine. void run_bootloader(void) { uint32_t runBootloaderAddress; // Read the entry point from bootloader's vector table runBootloaderAddress = *(uint32_t*)(0x00000004); void (*runBootloader)(void) = (void [...] read more
c
gcc
arm
embedded
clang
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
0answers

Android application died when using OpenCV

I'm using OpenCV for my application (third tutorial - camera control - from OpenCV samples). private int frameRate = 0; public Mat onCameraFrame(CvCameraViewFrame inputFrame) { mGray = inputFrame.gray(); if (frameRate == 20){ String rec = NativeLib.recognize(0,mGray.getNativeObjAddr(),mNetworkPath); //Core.putText(mGray, rec, new Point(50,50), Core.FONT_HERSHEY_SIMPLEX, 1.0, sc,2); frameRate = 0; } ++frameRate; return mGray; [...] read more
android
opencv
camera
surfaceview
3votes
1answer

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

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

How to specify to createfilew function get uncached result?

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

My program is crashing at 0x16 even with my ROP chain

So I recently started working on my binary which is vulnerable to Use-After-Free. I found it too easy to just jump to secret(). So I added a variable to the _DATA section and set its value to 0. and then I added a hard coded check in secret: if(check == [...] read more
c
arm
exploit
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

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

WM_TOUCH event not received anymore after screen disconnection

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

Cancel curl_easy_perform while it is trying to connect

Is there a way that I can cancel a curl_easy_perform in C++?? I have a scenario where I am trying to connect to network resource that is offline and the curl_easy_perform take a certain amount of time before it returns CURLE_COULDNT_CONNECT. But in the meantime the user has closed the [...] read more
c++
c
curl
libcurl
2votes
2answers

Why static final int is used in android standard classes avoiding enum?

In standart android classes static final int vars is used to represent different flags. For example, View visability flags: /** @hide */ @IntDef({VISIBLE, INVISIBLE, GONE}) @Retention(RetentionPolicy.SOURCE) public @interface Visibility {} /** * This view is visible. * Use with {@link #setVisibility} and <a href="#attr_android:visibility">{@code * android:visibility}. */ public static final [...] read more
java
android
enums
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 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) to [...] read more
assembly
binary
normalization
twos-complement
fixed-point
2votes
1answer

Why doesn't reading back from the address of an int give me back the correct value of the int (C & gdb)

I have a c program that I am debugging with gdb. This is done on Ubuntu x86 and c program is compiled with gcc. I declare two int variables one after other int a = atoi (argv[1]); int b = atoi (argv[2]); The values I pass to these are 2 [...] read more
c
x86
gdb
2votes
0answers

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

Alternative to dynamic creation of variable names

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

How can I play an already streaming H264 RTSP data with VLC - dumped to file with wireshark

Backstory I have an IP-Camera on my lan, I have connected to it using VLC (CTRL + N, adding rtsp://192.168.1.10 <- IP camera configured ip address), and after the VLC connected, i started sniffing the traffic using Wireshark. After about 30 seconds, on Wireshark, I clicked "Follow TCP stream", and [...] read more
python
wireshark
h.264
rtsp
ip-camera
2votes
1answer

c# Windows Shutdown process weirdness

I need help on an issue which is kind of simple but weird. The problem is with the shutdown and restart windows from my app. I know its simple and there are many examples online, but here's the deal. The shutdown/restart performed by these methods like process.start() or win api [...] read more
c#
wpf
windows
wcf
1vote
1answer

FreeIPA Unable to establish trust with Active Directory

I am trying to establish a trust between FreeIPA and Active Directory. Details on the infrastructure: * 3 x IPA Servers all with replication between eachother (CentOS 7) * 3 x Domain Controllers for AD (Windows Server 2016) When attempting to run the following command: ipa trust-add --type=ad ad.example.net --admin [...] read more
centos7
freeipa
1vote
0answers

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

Linking error while cross compiling Qt5 for Beaglebone

Dear stackoverflow community. I'm cross-compiling Qt 5.12 for my Beaglebone Black with EGL support. The host OS is Ubuntu 18.04.1 LTS (x64) running in a VM. I have installed any possible dependcies (I could find in different posts) on the target (and some on the host as well) and copied [...] read more
linker
qt5
cross-compiling
beagleboneblack
1vote
1answer

how to authenticate to proxy with wininet.dll?

I have this code for connect a process to proxy, but it returns false: The code works if I do not enter username and password in SetConnectionProxy() and send only the two options PROXY flags and PROXY name. When I add the INTERNET_PER_CONN_OPTION set username and set password, it returns [...] read more
c#
proxy
wininet
1vote
1answer

ReadConsoleInputA throws an Access Violation

I am trying to learn how to use the windows api (instead of just using C calls, irvine32 or masm32) And are running into issues with ReadConsoleInputA (WriteConsoleA works fine). Also, I don't get why in the PROC prototype for the function, most examples append either an A or a [...] read more
windows
winapi
assembly
x86
masm
1vote
1answer

How to enable UART Interrupt in imx6q?

I am using I.MX6Q Sabre SD board. I am trying to build custom image with my own start script and ld script. The image is to be loaded with u-boot. I am trying to enable the UART receive interrupt for UART1. But it does not enter the Interrupt service routine. [...] read more
interrupt
uart
imx6
1vote
1answer

Why do I get the Debug exception reason: Stack canary watchpoint triggered (main)?

I'm writing a program for esp32-wroom-32 using esp-idf-v3.0. I'm trying to add logs, which will be saved in fatfs. After some logs I get: 21:54:21.306 -> Debug exception reason: Stack canary watchpoint triggered (main) 21:54:21.306 -> Register dump: 21:54:21.306 -> PC : 0x40089827 PS : 0x00060b36 A0 : 0x40082179 A1 [...] read more
esp32
esp-idf
1vote
1answer

Cannot write to serial

I am using the ESP32 DevKitC-v1 (clone) with FreeRTOS and attempting to write bytes to the serial port. My code (below) causes the following exception: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x400ea8fe PS : 0x00060730 A0 : 0x800eb825 A1 : [...] read more
c++
c
freertos
rtos
esp32
1vote
1answer

Monotouch sqlite crash when inserting a lot of rows

I've an app built with xamarin iOS. The database is sqlite. Both in simulator and device, after the app starts to work on data, it gives me a SIGSEGV error. Stacktrace: at (wrapper managed-to-native) Mono.Data.Sqlite.UnsafeNativeMethods.sqlite3_prepare (intptr,intptr,int,intptr&,intptr&) at Mono.Data.Sqlite.SQLite3.Prepare (Mono.Data.Sqlite.SqliteConnection,string,Mono.Data.Sqlite.SqliteStatement,uint,string&) [0x00044] in /Developer/MonoTouch/Source/mono/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLite3.cs:268 at Mono.Data.Sqlite.SqliteCommand.BuildNextCommand () [0x00019] in /Developer/MonoTouch/Source/mono/mcs/class/Mono.Data.Sqlite/Mono.Data.Sqlite_2.0/SQLiteCommand.cs:230 at Mono.Data.Sqlite.SqliteCommand.GetStatement [...] read more
sqlite
xamarin.ios
1vote
1answer

Python 3 - comparing enums against hex value

as newbie to python and hex based enums, I'm trying to wrap my head around something. My scenario is that I have a device that is sending me flags and I'm trying to determine which flags are set. I'm using python 3.7. I've play around with the Python enum(Flag) class [...] read more
python
python-3.x
1vote
1answer

Firebase C++ admob crash for android release build in cocos2dx 3.17

I have configured Firebase Admob in cocos2dx 3.17 version. I will be able to see test ads when debug build. I have set the following dependancies. implementation 'com.google.firebase:firebase-ads:17.2.0' implementation 'com.google.android.gms:play-services-ads:12.0.1' implementation 'com.google.android.gms:play-services-base:16.1.0' I have created an Android release build using android studio. When I launch a release build on the [...] read more
android
firebase
admob
cocos2d-x-3.0
1vote
1answer

Trouble Converting Smart Card Program to UWP

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

stm32l476 ADC not ready

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

Problem compiling IDL created with OleView

To correct a problem with the name of the value for the enum, after searching, that I need to modify the TLB file of my DLL. The first step that I need to do is to create the IDL file. So I use Oleview to create the file. Before doing [...] read more
idl
typelib
midl
oleview
1vote
0answers

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

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

How to find a WACOM tablet screen?

I trying to fill Wacom tablet screen with my application. How can I find this screen working area? At this moment I just trying to find this screen by Device Friendly name using ScreenInterrogatory class (code below), but it requires me to know device name. I looking for a way [...] read more
c#
wacom
1vote
0answers

How to track EXC_BAD_ACCESS (SIGSEGV) error?

I got this crash when debugging my project using Xcode, but I cannot find the way to resolve this issue. The app itself didn't force close, but my xcode stop debugging when this problem showing. I've tested on another mac (same Xcode version) and it do same thing (debugger crash, [...] read more
ios
iphone
swift
xcode
lldb
1vote
0answers

cannot access memory at address 0x10084 when trying to set breakpoint via gdb

I wrote this simple assembly-program (based on a tutorial, only slightly changed.) @ p = q + r + s @ let q=2, r=4, s=5 @ this version of the simple-equation stores in memory p: .space 4 @reserve 4 bytes in memory for variable p q: .word 2 @create 32-bit [...] read more
debugging
assembly
memory
arm
gdb
1vote
0answers

How to delete source cache of dev_appserver?

I'm using sftp code from github.com/pkg/sftp as a starting point to make google app engine an sftp server where the server side files are actually gcs. dev_appserver is complaining about syscall in attrs.go so I commented out all the uses of syscall and deleted the import. Somehow dev_appserver is still [...] read more
google-app-engine
go
system-calls
1vote
1answer

Getting device friendly name - incorrect result

I'm getting a device friendly name using code written by @G.A (link). Everything works good until I lock my windows account for couple of minutes. After unlock, calling function DeviceFriendlyName(screen) giving me wrong screen name - first screen got name of second, and second screen got name of first. Do [...] read more
c#
winforms
1vote
0answers

How to install WCF class library project as a windows service programmatically in C#

Trying to create the windows service programmatically. Found out the reference from stackoverflow to do it. However the parameter filename in InstallAndStart method expects a .exe In my case, my WCF project which i want to host as windows service is a Service library project. Hence the output is in [...] read more
c#
wcf
windows-services
1vote
1answer

Unhandled Exception during list push_back C++

I am implementing two lists of class objects in my project. Originally, I had one vector container for one group of class objects and a list for the other but have just converted the vector implementation to a list. Everything worked fine with the vector and list implementation, however, when [...] read more
c++
list
exception
0votes
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
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
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

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 bind ussd transceiver

I've been trying to implement USSD using SMPP protocol before I shared my problem, I will talk about what've been able to achieve so far: 1. I have been able to successfully connect with the Telco via VPN 2. I have been able to initiate SMPP Connection and returned an [...] read more
php
smpp
ussd
pdu
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
0votes
1answer

How to save Bitmap from ActiveX component

Try to save screen of AxMsTscAxNotSafeForScripting (Microsoft Terminal Services Client Control), but cant find any information about it... I try one code, but it screen only field of element... https://i.imgur.com/fo6jKDT.png [Flags] private enum DrawingOptions { PRF_CHECKVISIBLE = 0x00000001, PRF_NONCLIENT = 0x00000002, PRF_CLIENT = 0x00000004, PRF_ERASEBKGND = 0x00000008, PRF_CHILDREN = 0x00000010, [...] read more
c#
bitmap
activex
0votes
0answers

qemu run a bare-metal assembly program on xilinx-zynq-a9 machine

I am following this guide on setting up arm emulation setup. The guide is made taking connex machine as example. I want to follow the guide but using xilinx-zynq-a9 machine since I have some experience working with zynq boards. So I have made a .bin file by following the tutorial. [...] read more
assembly
arm
qemu
bare-metal
zynq
0votes
0answers

GT-511C3 Fingerprint Scanner with STM32F407G Microcontroller

I am working on a project that requires using the GT-511C3 fingerprint scanner with a STM32F407G microcontroller board. I am using Keil uvision 5 and can't figure out how to initialize and turn on the scanner. I've written this code and it seems correct, based off the datasheet, for starting [...] read more
c
microcontroller
keil
0votes
1answer

STM32F4 (Nucleo) SPI line doesn't transmit

I can't seem to get my SPI line to work. It doesn't want to transmit at all although it does generate a clock signal on sck pin. The Clock signal has a frequency of 62 kHz, the MOSI and MISO pins remain high indefinitely. I've built the code according to [...] read more
arm
nucleo
coocox
0votes
0answers

Unable to mount root file system - nfs if the CONFIG_CGROUP is not enabled in Linux Kernel?

I am unable to mount a root file system, if I don't make the CONFIG_CGROUP=y in the kernel defconfig. Here is my bootlog Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048 Kernel command line: console=ttyS1,115200 root=/dev/nfs rw ip=dhcp nfsroot=10.30.98.239:/home/sd/sira_server_rootfs PID hash table entries: 2048 (order: 1, [...] read more
linux-kernel
yocto
0votes
0answers

Arduino Yun Mini Bricked linux (kernel panic) SQUASHFS ERROR, Reflashing with serial YMODEM or Kermit, O WIFI, SD card, Eth, or USB

INTRODUCTION I am actually newbie to this advanced perspective of linux routers based systems as openWRT and i faced a problem with my Arduino Yun Mini board which found to be operated with this firmware for linux interfacing and WiFi module, So: THE PROBLEM: i tried to upgrade the system [...] read more
arduino
openwrt
u-boot
squashfs
kermit
0votes
0answers

Can I access a shared folder with a different user configured in IIS?

I have a problem accessing a shared folder with a webservice. In IIS I have configured a user like "IIS_USER", but he can not see the shared folder because it can only be seen by accounts in our domain. I need to request that file with another user like (domain\user)+pwd [...] read more
asp.net
windows
web-services
shared-directory
0votes
0answers

Send Command to Simcard via SMPP protocol with EasySMPP API (for example How to update spn)

I'm working on an application to send Command-to-Card via smsc for my university's final project. I found a very nice software called EasySMPP and I could send a sms to my Mobile. But I still have not succeeded in sending the command to the card, for example, updating spn I [...] read more
smpp
0votes
1answer

Use DLL in PowerShell

I'm trying to use a function from a DLL in PowerShell. I currently have the code below, though it leads to a crash when calling the function. I'm fairly new at this, so any help is appreciated. The purpose of the code is to use EloGetDiagnosticsData() in PowerShell to return [...] read more
c#
powershell
escaping
pinvoke
0votes
0answers

How to implement poll function into Linux kernel module?

I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
c
linux-kernel
linux-device-driver
polling
gpio
0votes
1answer

How to parse DW_OP_call_frame_cfa?

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

How to use PathCreateFromUrlA API

I need to convert a uri path like file:///C:/test folder/file.text to windows style path C:/test folder/file.text. For that, I am trying to use PathCreatesFromUrlA API using the following code but I just don't understand how to set up the last two parameters to the API (marked as ??? in the [...] read more
c++
windows
visual-studio
uri
0votes
0answers

I can send SCSIOP_WRITE, but there are always 2 SCSIOP_READ_CAPACITY sent before my SCSIOP_WRITE. Am I doing anything wrong?

I am using C# to build an application to write data to device(such as SD card) at specific address. I found many useful sample code online and I can write data to SD card now. But here is a problem. There are always 2 SCSIOP_READ_CAPACITY(0x25) sent before my application actually [...] read more
c#
.net
winapi
dllimport
scsi
0votes
1answer

Kamene causing python3 segmentation fault

I have a basic python3 script for running a ping sweep using kamene with two main issues. I'm not sure if they are related so I'll add them both in the same post. Where in here is the main issue and what have I done wrong? First issue... When I [...] read more
python-3.x
0votes
1answer

AutoIt: Click an Control without ID

this is my very first Question. Im trying since about 2 Hours. I Have to compile an AutoIt Executable which will install Xampp on the Computer. This is what ive done so far: #RequireAdmin ; Script Start Opt("WinTitleMatchMode", 4) run ("xampp-win32-7.1.1-0-VC14-installer.exe") WinWait ("Datei öffnen - Sicherheitswarnung") ControlClick( "Datei öffnen - [...] read more
windows
autoit
0votes
1answer

certain parts of injected string are missing on stack frame

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

Testing chained compute shader dispatches on Microsoft Basic Render Driver: Why might a UAV mutate between dispatches?

As per the title, I have a few different compute shaders (pipeline state objects) that I'm dispatching to (i.e. dispatch to shader0, shader0 does stuff to the uav, dispatch to shader1, shader1 does more stuff to the uav, etc.). I'm testing this using both DX11 and DX12. Running the shaders [...] read more
c++
compute-shader
directx-12
0votes
1answer

clear memory/Buffer of powershell running endless loop every 3 seconds

I have created a powershell script which is just parsing the log file and if last line contains keyword "error" it sends out an email and runs a tiny mouse macro - cycle repeats itself every 3 seconds - endless loop if ($lastSent -ne $currentLine -and $currentLine -match "Error") { [...] read more
powershell
powershell-3.0
powershell-4.0
0votes
1answer

How to derive all offered interface types from an COM idl?

My goals is to generate bridging code that allows to call a COM interface in Java. I do use successfully JNA, insofar as I get an handle to the interface and can successfully work with most of the functionality of the interface. I have a question regarding several interfaces that [...] read more
c#
com
ole
0votes
0answers

C# - OpenGL Not Rendering But No Errors From glGetError

I'm trying to use DllImport to load OpenGL and WinApi functions in C#. For some reason though OpenGL just won't render. I tried using glGetError but there are no errors (excluding error 1282 before the glContext is created but I'm pretty sure this is expected). The window just stays white. [...] read more
c#
opengl-1.x
0votes
0answers

NASM assembly modification guidance

I am trying to figure out how to modify the following code and need to also modify the code. I am unsure how to do, as we have not covered this topic in my classes. I could really use some explanation on how to modify the code to meet the [...] read more
assembly
x86
nasm
0votes
0answers

iTerm2 keeps crashing after upgrading from 3.2.0 to 3.2.7. 3.2.0 no longer works now either

I upgraded my iTerm2 from 3.2.0 to 3.2.7, but then every couple of minutes, the whole thing crashes and I have to restart it. I've also tried to roll it back to 3.2.0, but now that version also crashes every couple of minutes. I've included a part of the error [...] read more
iterm2
0votes
1answer

Assembly program crashes on call or exit

Debugging my code in VS2015, I get to the end of the program. The registers are as they should be, however, on call ExitProcess, or any variation of that, causes an "Access violation writing location 0x00000004." I am utilizing Irvine32.inc from Kip Irvine's book. I have tried using call DumpRegs, [...] read more
visual-studio
assembly
masm
0votes
2answers

How to check if /init starts /etc/inittab

I have an embedded ARM system with processor AT91SAM9G45. System consists of two components: 1. Linux kernel (4.14.79) 2. Busybox 1.29.3 as initramfs image. I connect to the device using putty and connecting to serial port. When kernel starts, everything goes fine. Kernel unpacks initramfs image, all files are found [...] read more
linux
embedded-linux
busybox
panic
inittab
0votes
1answer

Perform OR operation to all elements in array

I want to extend Arrays of Enums: Numeric with a function OR() that ORs all element in the array. This is what I came up: extension Array where Element: RawRepresentable, Element.RawValue: Numeric { func OR(_: Array) -> Element.RawValue { return self.map{ $0.rawValue }.reduce(0x00000000){ $0|$1 } } } and this is [...] read more
swift
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

GetLogicalProcessorInformationEx SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX array size

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

Unmanaged memory issue causing by Authz.dll

I have situation where I need to traverse filesystem and calculate effective permission of users on files and directories and for that I'm using code the shown below. The issue is this code is creating managed memory up to 2 GB in my case. I've tried every possible thing to [...] read more
c#
dllimport
authz
0votes
1answer

GDB core backtrace Bogus addresses

When I compile same code with g++ with -o2 flag I can backtrace successfully without any Bogus adresses. Like; 0x08156079 in CItem::GetValue (this=0x3adb0f00, idx=0) at item.cpp:957 0x081b123c in quest::item_has_flag (L=0x3af9bdc0) at questlua_item.cpp:155 0x08363cba in luaD_precall (L=0x3af9bdc0, func=0x3b1cedd8) at ldo.c:249 0x0836ba86 in luaV_execute (L=0x3af9bdc0) at lvm.c:637 0x08363fad in resume (L=0x3af9bdc0, ud=0xffffa164) [...] read more
c++
gdb
g++
core
backtrace
0votes
0answers

What am I doing wrong with ThreadExecutionState?

I'm trying to prevent my laptop from going to sleep when I'm opening a program, I've set the sleep mode to 1 minute and am running a timer set to tick every 50 seconds. public partial class Form2 : Form { public Form2() { InitializeComponent(); timer1.Start(); } [FlagsAttribute] public enum [...] read more
c#
.net
sleep-mode
0votes
1answer

UWP resources not found

I have an UWP application which is working fine on various machines but on one particular machine, it is crashing silently. When I debugged the installed app through visual studio I figured out that it is not getting the resources on the XAML file e.g {ThemeResource ComboBoxDropdownContentMargin} {Binding TemplateSettings.DropDownContentMinWidth, RelativeSource={RelativeSource [...] read more
c#
.net
xaml
uwp
0votes
1answer

Unable to access Znyq AXI BRAM from Linux

In my project, data is written to a BRAM (generated through the Block Ram IP generator) from a custom IP. Then, I use an AXI BRAM controller to interface the memory with the AXI bus and make it accessible to the Linux running on the ARM. The base address for [...] read more
memory
embedded-linux
fpga
xilinx
zynq
0votes
0answers

How to cause Windbg to download the compressed versions of MS public symbols

Microsoft state here: > The Microsoft Symbol Server provides compressed versions of the symbol files. The files have an underscore at the end of the filename’s extension to indicate that they are compressed. For example, the PDB for ntdll.dll is available as ntdll.pd_. I have 2 questions here: 1. The [...] read more
debugging
windbg
debug-symbols
0votes
0answers

How to execute multiple batch commands inside a C# forms project

So i want to run a bunch of different batch commands that do different things. Currently my software works by running the .bat file that is included with the software, but i want to simply remove the syntax from the .bat file and integrate it inside my software so when [...] read more
c#
windows
batch-file
0votes
1answer

NFS V4 READ of file returns 0 bytes

I'm in the process of writing an NFS V4 client and am debugging the results with Wireshark. I'm unable to read a file. Through OPEN followed by GETATTR, I've opened the file and confirmed it's the desired file by the matching length (1001 bytes). I then try to READ a [...] read more
nfs
nfsclient
0votes
2answers

DS-5 eclipse debug stuck at waitForTargetToStop

First I follow the DS-5 start demo and can debug my code correctly on the ARM FVP -> VE_Coretex_A9x1. Then I follow the link to enable NEON and it needs to set CPU target in the build, the axf file has been built correctly but the debugger stops to work. [...] read more
eclipse
arm
ds-5
0votes
1answer

how to pass python method and kwargs to boost python c++ function and call

how do I pass a python method and kwargs to a boost C++ function and call the python method with kwargs. python: def py_method(**kwargs): for key in kwargs.keys(): print 'Key: ', key, ', Value: ', kwargs[key] cpp_method(py_method, arg1=1, arg2=2) or kwargs = {'arg1': 1, 'arg2': 2} cpp_method(py_method, **kwargs) C++: please [...] read more
python
c++
boost-python
pybind11
0votes
2answers

Arithmetic operation of Fixed point with Std_logic_vector in VHDL

I am writing a code in VHDL for arithmetic operations with the signals. I declared signals as follows: signal x : std_logic_vector (7 downto 0); signal y: std_logic_vector (7 downto 0); signal z: std_logic_vector ( 7 downto 0); z<= x-y ; In Detail: library ieee; use ieee.std_logic_1164.all; use ieee.numeric_std.all; USE [...] read more
floating-point
hex
vhdl
fixed-point
xilinx-ise
0votes
1answer

ARMCC linker: creating a non-initialised region

I'm trying, and failing, to get the ARMCC linker to put variables into an area of RAM which is NOT initialised (because I need them to survive across a reset). The region I have created in the scatter-link file specifies UNINIT and, in my __attribute__ call, I am specifying that [...] read more
linker-scripts
armcc
-1votes
1answer

Signature is not Interop compatible - calling c methods from c#

Im trying to make use of interop functionality to use create a .net wrapper for the c written pigpio library. However i seem to be stuck with the following error: "Cannot marshal 'parameter #2': Signature is not Interop compatible". The C method has the following signature: int gpioWaveAddGeneric(unsigned numPulses, gpioPulse_t [...] read more
c#
c
interop
marshalling
-2votes
1answer

Access violation for Linked List Nodes: C++

Need help writing a program for an airline reservation system that inputs and outputs the first name, last name, flight number, and boarding priority (Platinum, Gold, Silver, or Lead). The professor wants it done for a max of 10 passengers. This is the code I've written up so far. It [...] read more
c++
-2votes
1answer

How to get effective permission for the file or folder in c# or C++???any API's for that?

My code its working but i need the simplified code and is's not working for Authenticated Users group.Any other ways to calculate effective permissions?? Is there api in .net for getting effective folder permissions for user? I know how get permissions by using DirectorySecurity.GetAccessRules(). But in this case I should [...] read more
c#
c++
asp.net
-2votes
1answer

Why do we increment the program counter by 4 instead of 32 in MIPS?

In MIPS, I know that the PC is incremented by 4 for each instruction. This is because the word is on a 32 bit boundary (4 bytes). This makes sense to me, and naturally we need to increment the PC by the difference in spatial location of two consecutive words. [...] read more
assembly
mips
cpu-architecture

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