Windows error 0x00000014, 20

Detailed Error Information

BAD_UNIT[1]

MessageThe system cannot find the device specified.
Declared inwinerror.h

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

CREATE_DELETE_LOCK_NOT_LOCKED[2]

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

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 Code20 (0x0014)

Questions

10votes
7answers

Can't Install IE 10 on brand new Windows 7

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

How do I read an Xcode crash report?

I have an app that I just submitted it to the app sore (The app was developed for me as I do not know iOS development I do however know know other coding languages). Apple rejected the app saying that is crashed (The strange thing is is never crashed in [...] read more
ios
iphone
xcode
symbolicatecrash
8votes
0answers

android error dynamically loading libc++.so native library

I am trying to build a proof-of-concept android application which uses OpenSSH code to establish a SSH session with a server. For that I am using android sources to build the required libraries and then pull them up to an AndroidStudio native project where everything should be packed and installed [...] read more
android
c++
java-native-interface
native
8votes
0answers

Fixing crashes Windows Phone apps with crashinfo of dev dashboard

I have a simple wp8.1 app published in the store (universal app) but it crashed. So I downloaded the excel file containing crash info from https://dev.windowsphone.com/en-us/DownloadReportThe crash(es) occur in the latest version of my app and the clients have 8.1 (because you cannot run universal apps otherwise) Here is a [...] read more
exception
windows-phone-8.1
win-universal-app
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
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
5votes
1answer

libpng crashes on png_read_info()

I'm trying to read a png file using libpng 1.2.10 in vs2013. I downloaded the latest zlib and compiled pnglib, which worked fine. Now I'm trying to load a file: int *w = &width; int *h = &height; const char* name = file.c_str(); FILE *png_file = fopen(name, "rb"); if (!png_file) [...] read more
c++
access-violation
libpng
5votes
1answer

How to use SetupIterateCabinet with C#

I am attempting to write code to extract the contents of a CAB file, however I am having trouble using the SetupIterateCabinet routine. Please see doc here http://msdn.microsoft.com/en-us/library/aa377404(v=vs.85).aspx I can import it properly like this private const uint SPFILENOTIFY_CABINETINFO = 0x00000010; private const uint SPFILENOTIFY_FILEINCABINET = 0x00000011; private const uint [...] read more
c#
4votes
0answers

Issue installing IE11

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

UITextView textViewShouldBeginEditing crashes when tapped more than once

I have a UIViewController. In this controller I programmatically create a UITextView and set its delegate as my controller. I do this because I dont want to start editing the textView when I tap it. ViewDidLoad method UITextView* textView = [[UITextView alloc] initWithFrame:CGRectMake(9, 10, 302, 200)]; [textView setDelegate:self]; [self.view addSubview:textView]; [...] read more
iphone
objective-c
ios
xcode
uitextview
4votes
3answers

ELF, Build-ID, is there a utility to recompute it?

I came across this useful feature in ELF binaries -- Build ID. "It ... is (normally) the SHA1 hash over all code sections in the ELF image." One can read it with GNU utility: $ readelf -n /bin/bash ... Displaying notes found at file offset 0x00000274 with length 0x00000024: Owner [...] read more
linux
linker
elf
4votes
2answers

Investigating Memory Leak

We have a slow memory leak in our application and I've already gone through the following steps in trying to analyize the cause for the leak: 1. Enabling user mode stack trace database in GFlags 2. In Windbg, typing the following command: !heap -stat -h 1250000 (where 1250000 is the [...] read more
windows
debugging
memory-management
memory-leaks
windbg
4votes
4answers

From a huge enumeration, I try to make a function to apply the right action without using a switch body by using some template tricks

I have an enum type with 1223 elements. I had a function with 1222 cases and a default case in a switch block. If I want to modify some elements in the enum type, I also need to modify that function. Worse, I may have more than one function with [...] read more
c++
templates
c++11
3votes
2answers

Error installing IE11 - prerequisite update KB2834140

I'm trying to upgrade Internet Explorer my Windows 7 (x64) development VM from IE8 to IE11. Both the online and offline installers fail with a bland error message: enter image description here [https://i.stack.imgur.com/0dueo.png] The troubleshooter tells me nothing, but the IE11_main.log reveals: 00:04.524: INFO: Download for KB2834140 initiated. Downloading http://go.microsoft.com/fwlink/?LinkID=303935 [...] read more
windows-7
installation
internet-explorer
3votes
3answers

Error "ASP 0115 a Trappable Error Has Occurred" after Microsoft patch CVE-2019-1367

JSCRIPT UNEXPECTED EXCEPTIONS After Windows Server patch Vulnerability (CVE-2019-1367) released in 23. September * Windows Server 2019 (KB4522015) https://support.microsoft.com/en-us/help/4522015/windows-10-update-kb4522015 * Windows Server 2016 (KB4522010) * Windows Server 2008 R2 for x64-based Systems Service Pack 1 (KB4522007) * Windows Server 2012 (KB4522007) * Windows Server 2012 R2 (KB4522007) Updated 07.10.2019 Also [...] read more
asp-classic
jscript
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
3votes
0answers

C++ stdout is NULL in Multithreaded program

I've created project using CMake in VS. Later I've add boost and gmock usage. GMock forced me to set /MT flag on all project in solution (main exe, plugins, dll, UT). Now I'm facing strange problem. Log4Qt is my logging library. During startup when loggers are created deep inside this [...] read more
c++
cmake
gmock
3votes
0answers

Importing MATLAB engine on Python using TextMate - Python quits unexpectedly

I am trying to call a MATLAB function from a Python script. I installed the MATLAB Engine API as instructed by the Mathworks website, and then importing the engine in my script using: import matlab.engine (using TextMate on Mac OS.) However I was getting an error saying the engine installation [...] read more
python
matlab
python-2.7
matlab-engine
3votes
1answer

Stream from IP Camera very jittery on VLC

This question is a prologue to the one I previously asked here. I'm working on an IP camera project that is based on TI OMAP-L138. All in all, the H264 encoded video is streamed via live555 libraries over RTSP. For Live555 I'm using deviceSource based framed source. However, when I [...] read more
c++
algorithm
h.264
live555
2votes
2answers

How do you use printf in x86 assembly in Visual Studio 2017?

Unhandled exception at 0x777745BA (ntdll.dll) in MASM1.exe: 0xC0000005: Access violation writing location 0x00000014. I'm using x86 assembly in visual studios 2017 and it keeps returning this error I have included all of the libraries and installed windows 10 sdk. I am basically stumped as of why this is returning this [...] read more
visual-studio
assembly
x86
masm
2votes
1answer

Python Decompile APK using ApkTool and Subprocess

I am builing a Python Application that decompiles Android APK makes some modifications and recompiles it. Here is the code: from shutil import copyfile # Copy the APK to the output directory. copyfile('./source/rat.apk', './output/rat.apk') # Decompiles the APK. subprocess.call(['apktool','d','./output/rat.apk','-f'], stdout=FNULL, stderr=subprocess.STDOUT) # Modifies address and port. with open('./output/RAT/app/src/main/res/values/strings.xml','w+') as netaddress: [...] read more
android
python
file
subprocess
apktool
2votes
0answers

Android NDK: Call to System.loadLibrary Results in SIGSEGV Code=1

I have a massive C/C++ library that I'm trying to use through JNI for an Android project. It's comprised of several classes that were originally written for MFC and we've ported them over for execution on the Android environment. The library builds fine (at least according to ndk-build). The size [...] read more
c++
android-ndk
java-native-interface
segmentation-fault
loadlibrary
2votes
0answers

Loading C library in Android

I have little to no understanding how low-level programming languages work, so please bear with me. I need to load compiled C (.so file) library into android 6.0+ (SdkVersion: 23+) Using: static { System.loadLibrary("dsdrv"); } I get an error: FATAL EXCEPTION: main Process: com.logicants.scanner3, PID: 11415 java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.logicants.scanner3-1/lib/arm/libdsdrv.so" [...] read more
android
c
android-ndk
2votes
1answer

classic BPF on Linux: filter does not work

I'm trying to test classic BPF for packet filtering by attaching it to raw socket. I want to catch TCP packets with first byte of source port == 8 (tcpdump 'tcp[1:1] = 0x50'), but I see no incoming packets on the socket. Without filter my code works OK. Here is [...] read more
c
linux
sockets
networking
bpf
2votes
2answers

What is gcc doing under a bitwise complement, and a negative left shift count when constrained by integer size?

I'm trying to eliminate as many gcc warnings as possible in some old code, trying to get "cleaner" code by compiling it with a more recent toolchain. The code writes and reads registers (or memory) on ARMv6 hardware, I can't say I completely understand what it actually does but that's [...] read more
c
gcc
2votes
0answers

cross compilation from ubuntu to Raspberry Pi error: undefined symbol

i'm running Qt Creator 3.0.1 (Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)) on Ubuntu 14.4 64bit on VirtualBox on Windows 7 64bit I'm trying to cross compile to Raspberry Pi and run very simple program: MainWindow.h: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class [...] read more
c++
qt
raspberry-pi
cross-platform
cross-compiling
1vote
0answers

Hyper-V Core Server 2019 ignoring power plan thresholds

I am attempting to tweak Hyper-V Core Server 2019 (host) power thresholds, however my attempts have failed so far. Scenario The newly created Hyper-V 2019 Server (part of Workgroup, not yet a Domain) has been attached to an external UPS. Battery status is provided through a USB cable. The UPS [...] read more
hyper-v
ups
1vote
0answers

Mellanox MT27500 Link to Port 1 is Down

I have Mellanox MT27500 dual port card which is installed on HP SL250s. Ubuntu 14.04.5 with 3.13.0-24-generic kernel is running on the server. Both port1 type and port 2 type are defined as eth. I have connected port 1 and port 2 to switch with same type of cable but [...] read more
linux-networking
mellanox
1vote
1answer

How to debug an RPM that will not uninstall

I've built an RPM using redline rpm library for java. When I try to uninstall the rpm it says it was removed but when I do a list it is still there and says it is still installed. Here is the results of my uninstall with as much debug as [...] read more
rpm
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
2answers

Unhandled exception at 0x77081d76 (ntdll.dll) in Stereo Vision.exe: 0xC0000005: Access violation writing location 0x00000014

I run (debug) my program about stereo vision and get this error. I also re-install Visual Studio 2010 Ultimate, but this issue still appeared. > Unhandled exception at 0x77081d76 (ntdll.dll) in Stereo Vision.exe: 0xC0000005: Access violation writing location 0x00000014. I know something wrong with my dll or location of my [...] read more
c++
visual-studio-2010
dll
1vote
1answer

Access build-id at runtime

I am trying to figure out how to access the build-id generated by the linker at runtime. From this page, https://linux.die.net/man/1/ld When I build a test program like: % gcc test.c -o test -Wl,--build-id=sha1 I can see that the build ID is present in the binary: % readelf -n test [...] read more
c
gcc
linker
elf
linker-scripts
1vote
3answers

how to fix 'Access violation reading location' in this code

run this code i got some error like this ' Exception thrown at 0x778D7FCB (ntdll.dll) in Project1.exe: 0xC0000005: Access violation reading location 0x00000014.' This error occurs in this line ~UnivStudnet() { delete[]major; // error } #include <iostream> #include <cstring> using namespace std; class Person { private: char * name; public: [...] read more
c++
destructor
1vote
2answers

Add Controls To Specific Tab Page in TabControl in C++ Win32

I want to add some controls to the tab page in tabcontrol but it seems that it will be added to all pages and there is not tab page in tabcontrol by default. I have read these links below but they did not help me and in some parts of [...] read more
winapi
tabcontrol
1vote
1answer

C++Builder XE10.2 [ilink32 Error] Fatal: Exceeded memory limit for block Line number cache in module <somethingsomething.cpp>

Completely stuck on linking stage, when migrating group of projects to C++Builder XE10.2. Win32 target, clang compiler. The module, which causes ilink32 to fail with abovementioned error, uses boost::spirit classic. What is puzzling, is that another project from the same group passes linking OK, while using boost::spirit as well, with [...] read more
c++
c++builder
boost-spirit
1vote
0answers

C - Get File Bytes as Unsigned Int

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

Error in std::getline function (fstreeam _Lock())

I keep getting an error when call std::getline, the debugger shows a break in a fstream function """virtual void __CLR_OR_THIS_CALL _Lock()""" Here is my code (Read File function): string GetFile(const string& fileName) { string line; string output; ifstream myfile (fileName); myfile.open(fileName);//.c_str()); if (myfile.is_open()) { while ( getline (myfile,line) ) { [...] read more
c++
file
locking
getline
1vote
1answer

Receiving "Illegal Instruction" when executing glibc's ld-2.6.1.so

Background "OS": Stripped down Linux, very customized, no internet access (no yum, apt-get, etc) Kernel: 2.6.19.1 Target: 32-bit, armv5te Current LibC: 2.3.6 Target LibC: 2.6.1 Issue Received an .ipk from a 3rd party vendor containing an updated version of glibc. Started by investigating the compatibility of the shared objects contained [...] read more
linux
ld
glibc
illegal-instruction
1vote
1answer

.NET application handle leak, how to locate the source?

I have a .NET application running in production environment (WINDOWS XP + .NET 3.5 SP1) with a stable handle count around 2000, but in some unknown situation, its handle count will increase extremely fast and finally crash itself(over 10,000 which monitored by PerfMon tool). I've made a memory dump from [...] read more
windows
performance
memory-leaks
windbg
1vote
3answers

libpng 1.616 crashing on png_read_png in VS2012 C++

I am on win7 64bit home edition. All of my projects are set to build in a 32bit environment using C++. I have successfully built libpng in debug mode using MDd runtime. I have two active projects. My first project is in VS2010 and my second is in VS2012. Within [...] read more
c++
visual-studio-2012
access-violation
libpng
first-chance-exception
1vote
1answer

OggVorbis ov_open() Throws Access Violation Exception

I'm trying to open an OggVorbis file using the Vorbis SDK/DLLs. ov_open() throws an Access Violation exception 0x00000014. I have checked the file exists: I've opened it with fopen and printed the contents to the console just to check - all went fine! Might not make a difference, but the [...] read more
c++
windows
fseek
oggvorbis
1vote
3answers

Pointer can't get data

I want get the row number of data, but the pointer CvMat* data, CvMat* responses get nothing in main(). The minimal, complete and varifiable example is showed as follow: #include "opencv2/core/core_c.h" #include "opencv2/ml/ml.hpp" #include <cstdio> #include <fstream> #include <iomanip> #define ATTRIBUTES_PER_SAMPLE 9 #define NUM_OF_ALL_SAMPLES 950 using namespace std; int read_data( [...] read more
c++
opencv
pointers
1vote
0answers

Windows RPC object marshalling

I'm trying to use Windows RPC for communcation between two processes (C/C++, 32bit, Win7). I've followed the example here Instruction to RPC and successfully got RPC to work. Now I have difficulties getting the proxy / stub thing to work too. The IDL file looks like this: [ uuid(3cb112c0-688a-4611-83b6-31d33d87ea28), object [...] read more
c++
com
rpc
midl
1vote
1answer

Strings from NSUserDefaults not visible, xcode 7.3

Today I upgraded to Xcode 7.3, and I also started getting odd behavior from NSUserDefaults. I don't know if they're related. String values I store in defaults are not visible upon retrieval but they have length and support substring extraction: (lldb) po [[NSUserDefaults standardUserDefaults] objectForKey:UDEmail] (lldb) po [[[NSUserDefaults standardUserDefaults] objectForKey:UDEmail] [...] read more
xcode7
nsuserdefaults
1vote
1answer

FIXED: Access Violation Reading Location (pointer to string array)

FIXED: http://pastebin.com/71QxqGk5 first post/question. So this is C++ and I am trying to print an array of words. #include <cstdlib> #include <iostream> #include <fstream> #include <string> #include <cstring> #include <cctype> #include <ctime> using namespace std; //structs struct Input { int size; string* word; bool is_palindrome[]; }; //prototypes bool openInputFile(ifstream &ifs); [...] read more
c++
arrays
pointers
struct
access-violation
1vote
2answers

C++ CURL post file and then get response error

I'm trying to POST a file to an API and then check the response for various things. But whenever I try to POST a file that is larger than 0 bytes i get an error: First-chance exception at 0x77AADF63 (ntdll.dll) in Test.exe: 0xC0000005: Access violation writing location 0x00000014. The relevant [...] read more
c++
curl
1vote
1answer

LibVLC Access Violation

I am trying to set up logging in LibVLC, and am running into some problems. The function I am using is libvlc_log_set_file, here are the docs:LibVLC logging docs Here is the code I have now: //header private: FILE * logFile; //source logFile = fopen(path.c_str(), "w"); if(logFile != NULL) { libvlc_log_set_file(_libvlc_instance, [...] read more
c++
access-violation
libvlc
nw.js
ntdll
1vote
2answers

GL_UNSIGNED_SHORT_5_6_5 undeclared?

I have a problem loading a texture using SDL library. Usually I make programs on Linux but I try to create a code that is compatible with Visual Studio also. On Linux are everything OK but on Visual Studio it crashes in "GL_UNSIGNED_SHORT_5_6_5" in the glTexImage2D(...) function. Below is a [...] read more
c++
visual-studio-2010
opengl
sdl
glteximage2d
1vote
1answer

fstream getline() Unhandled exception

am trying to read a file so am doing:- void Load(const char * Name){ fs.open(Name, std::ifstream::in); char temp[256]; if(fs.is_open()){ while (!fs.eof()) { fs.getline(temp , 256); Lines.push_back(new std::string(temp)); } } } but it breaks on the getline -> Unhandled exception at 0x7730B4D9 (ntdll.dll) in GameCore.exe: 0xC0000005: Access violation writing location 0x00000014. [...] read more
c++
visual-c++
getline
1vote
3answers

"Access violation writing location" with file.getline? (Only in release build)

getting this error in an application written in C++ (VS 2010): > Unhandled exception at 0x77648da9 in divt.exe: 0xC0000005: Access violation writing location 0x00000014. it points to this function in free.c: void __cdecl _free_base (void * pBlock) { int retval = 0; if (pBlock == NULL) return; RTCCALLBACK(_RTC_Free_hook, (pBlock, 0)); [...] read more
c++
visual-studio-2010
access-violation
1vote
1answer

uPP Device Driver is dropping data from buffer

I have written code for a uPP device driver to be used with an OMAPL138 based custom board for data acquisition through a camera lens. The code for my device driver is: /* * A device driver for the Texas Instruments * Universal Paralllel Port (UPP) * * Modified by: [...] read more
c
multithreading
arm
linux-device-driver
omap
1vote
1answer

OpenEXR + OpenGL unhandled exception

I've had quite a lot problems when trying to execute an example from OpenGL SuperBible 5th ed. from Chapter09/hdr_bloom. Problems were caused from linking OpenEXR libs so I've build them manualy and replaced them with libs from authors. Right now, I can manage to run the program but I get [...] read more
c++
opengl
exception
openexr
0votes
0answers

Ubuntu 14.04 Digital Audio stops working

I have an Ubuntu 14.04 HTPC for quite some time. It's connected by toslink to a logitech z5500. Sound was working, but suddenly stopped... I've followed almost every guide and how-to to fix my sound, but it won't seem to help. Some information: !!################################ !!ALSA Information Script v 0.4.63 !!################################ [...] read more
ubuntu
audio
spdif
0votes
2answers

hdiutil attach/detach/convert results to "resource temporarily unavailable"

Since MacOS 10.13 I have the following problem. 1. /usr/bin/hdiutil attach "target/MyDrive-tmp.dmg" -mountroot /tmp /dev/disk3 GUID_partition_scheme /dev/disk3s1 Apple_APFS /dev/disk4 EF57347C-0000-11AA-AA11-0030654 /dev/disk4s1 41504653-0000-11AA-AA11-0030654 /private/tmp/MyDrive 2. /usr/bin/hdiutil detach -force -debug "/tmp/MyDrive" or diskutil eject "/tmp/MyDrive" process_detach: entry with "/tmp/MyDrive" util_verify_dev_entry: entry with "disk4s1". process_detach_deventry: about to unmount_and_eject disk4s1 unmount_and_eject(disk4s1) LetDIDriverSettleDown: calling IOServiceWaitQuiet... [...] read more
macos
terminal
macos-high-sierra
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
1answer

Reduce flickering when using SetWindowPos to change the left edge of a window

Update 1: Here's the simplified version: So I have a special fixed-size child window that I want to make it stay at the right side of the resizable main window. When users resize the main window by dragging the left/right edge of it, WM_WINDOWPOSCHANGED is sent, the child window will [...] read more
winapi
resize
flicker
0votes
1answer

How to send the value 20 from big endian processor to little endian processor?

I have a Sparc processor which stores data in big endian by 32 bits and an Intel processor which stores little endian. How can i send the value 20 from the Sparc processor to the little endian? I am thinking that 20 is represented by 0x00000014 in hexadecimal so the [...] read more
bit
endianness
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

Different Int values for the same value?

I ran into an integer overflow problem, which I managed to solve, but only by trial and error. Since it's an integer overflow problem, I've wrote some code to print out the buffer. The beginning of the buffer is the address where array[0] is stored. Then, I started to pass [...] read more
c
integer-overflow
stack-smash
0votes
3answers

crash - adding to a map and set STL - c++

I have a cd , dvd. book media program. Currently, i am trying to add book information to a set. I am getting a nasty crash. error: Unhandled exception at 0x00449d76 in a04xc.exe: 0xC0000005: Access violation reading location 0x00000014. So, obviously its trying to access memory its not suppose to? [...] read more
c++
0votes
0answers

How can I do infection to captured Packet in linux

I have a local server and client.Its ok.My goal is infection to captured packet for example: server send:"hello world" client recv:"hello word" instead of server send:"hello world" and I want to change packets data or modify data like this >>> client recv:"another sentences" I wrote a sniffer in C(Not at [...] read more
c
sockets
packet-sniffers
packet-injection
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

Discrepancy in behavior of Linux loaders (ld-linux-x86-64) between Glibc 2.12 and Glibc 2.17

I'm trying to compile the same lib on two x86 separate machines. Both use the same toolchain (exactly same set of files) but have different Glibc versions. When I run command LD_DEBUG=libs /lib64/ld-linux-x86-64.so.2 --list ./libl2ps.so I notice the following discrepancy between the 2 Linux loaders: Machine 1 (with Glibc 2.12): [...] read more
linker
shared-libraries
glibc
ldd
rpath
0votes
1answer

Cannot load custom ELF executable in GDB

I am currently writing a compiler (http://curly-lang.org if you're curious), and have been encountering a strange bug when trying to run the generated ELF binaries on the latest Linux kernel. The same binaries run fine on older kernels (I've tried on several Ubuntu boxes, uname 4.4.0-1049-aws), but on my updated [...] read more
linux
gdb
elf
0votes
0answers

How to extract USB device type and its drive letter from ETW

So I'm writing a simple ETW logger to provide a trigger-event state machine to wake up whenever a new USB device is connected. Using microsoft's Messages analyzer I managed to trace and receive USB "new usb device information" traces using the following filter Microsoft_Windows_USB_USBHUB3.Summary == "New USB Device Information" However, [...] read more
winapi
events
usb
etw
0votes
1answer

Breakpoint not working in gdb with QEMU simulating cortex-a8

I am testing some simple code running in the ARM7TDMI, since I haven't found ARM7TDMI simulator on QEMU, I use Cortex-a8 instead (I am not sure if this will lead to bug, total newbie). This is how I run QEMU: qemu-system-arm -machine realview-pb-a8 -cpu cortex-a8 -nographic -monitor null -serial null [...] read more
c
gcc
arm
gdb
qemu
0votes
2answers

GDB ARM assembler directives are compiled in a way I don't understand

I have ARM assembly source code: .global _start .text entry: b _start array: .byte 10, 20, 25 eoa: .align _start: ldr r0, =eoa ldr r1, =array mov r3, #0 loop: ldrb r2, [r1], #1 add r3, r2, r3 cmp r1, r0 bne loop stop: b stop Which is a simple [...] read more
gcc
assembly
arm
qemu
0votes
2answers

opencv split hsv images

I want to split an image into h,s and v channels. But an error occured every time and the reason seems to be that opencv split function does not work properly. My code: Mat src, srcHSV; Mat srcH; vector<Mat> channels; VideoCapture cap(0); for(int frame = 0; ; frame++) { cap [...] read more
c++
opencv
0votes
1answer

cJSON can`t parse more than 4 elements

Trying to use cJSON parser with STM32F103C8T6 and KEIL IDE The problem is that the parser works pretty well with up to 4 elements of the JSON string, when trying to add the fifth element it gives up. This code seems to be OK: #include "cJSON.h" const char * my_json_string [...] read more
stm32
keil
cjson
0votes
1answer

Using canvas field to paint on a custom control

This code generates an error: -------------------------------------------------------------------------------- DEBUGGER EXCEPTION NOTIFICATION PROJECT PROJECT3.EXE RAISED EXCEPTION CLASS $C0000005 WITH MESSAGE 'ACCESS VIOLATION AT 0X7757E12C: WRITE OF ADDRESS 0X00000014'. if Fowner_draw then begin canvas.CopyRect(ClientRect, FOD_canvas, ClientRect); end I found the solution by deleting pasteBmp.free; line from the code below. It seems like each time [...] read more
delphi
0votes
0answers

Connect Mikrobus OLED display with iMX 7 Board

I have a i.MX7S board (WARP7) which has extension (Mikrobus standard) and an OLED C Click display (Mikrobus standard). I try many ways but still failed to enable & display something on OLED screen. Here are steps that I did: 1. Plug them together (with Mikrobus standard) 2. Bitbake and [...] read more
embedded-linux
0votes
0answers

Configuring clock peripherals seems to ignore half of my configuration bits.

I'm configuring the RCC to activate clock for peripherals. However, when I use the SFRs to check registers, it doesn't match what I programmed. RCC->AHBENR = (uint32_t) 0x000C0004; When I check the AHBENR,the value is 0x14 I previously had only 0x00000014, so I am not sure if I'm compiling a [...] read more
stm32
0votes
1answer

mips exception handling beq not working

I am trying to find an exception by comparing the t0 value. I must have something wrong on the hex numbers that i compare the t0 value..do anyone know? sw $v0 save0 mfc0 $t0 $13 srl $t0 $0 2 andi $t0 $t0 0x7c beq $t0 0x00000008 bad_address_load beq $t0 0x0000000a [...] read more
exception
error-handling
exception-handling
mips
0votes
1answer

Access violation error when using QTextStream to read from console

I have problem, got access violation when trying to use QTextStream for data reading or writing to console: > First-chance exception at 0x77BD1D76 (ntdll.dll) in ApplicationStub.exe: 0xC0000005: Access violation writing location 0x00000014. Unhandled exception at 0x77BD1D76 (ntdll.dll) in ApplicationStub.exe: 0xC0000005: Access violation writing location 0x00000014. My program is simple: #include [...] read more
c++
qt
console-application
qtextstream
0votes
2answers

Ruby on rails segmentation error

When I was trying to run the rails application following segmentation error has occurred: > => Booting Thin => Rails 4.2.6 application starting in development on http://localhost:4000 => Run `rails server -h` for more startup options => Ctrl-C to shutdown server Thin web server (v1.7.0 codename Dunder Mifflin) Maximum connections [...] read more
ruby-on-rails
ruby
ubuntu
rubygems
0votes
1answer

Access violation reading location 0x00000014. Using Streams

So I have this ifStream and it reads alright from the file. I read one line in order to check the type of item I am reading in. Then After I have read in that i pass the stream to another class which reads some more but when it gets [...] read more
c++
ifstream
0votes
1answer

Assembly MIPS - Shift of an address

I'm making some exercises on assembly MIPS(32 bit) and I don't really understand how the left shift by 2 works. I'll add a couple of examples just to explain it better. * Instruction is 0x91050014 I have to take the last 16 bits and then extend them to 32 bits. [...] read more
assembly
bit-manipulation
mips
mips32
machine-code
0votes
0answers

Why does the construction of a 'CImage' (GDI+) make the programm crash?

I wanted to try using the class CImage, which comes from GDI+, to load an image and draw it at some place in my Graphical User Interface. However, the programm crashes as soon as I call CImage's constructor, it seems, displaying the error: Unhandled exception at 0x7757D968 (ntdll.dll) in myProgramm.exe: [...] read more
c++
mfc
gdi+
0votes
1answer

Translating Mips assembly to machine code: BNE

Given this code: [0x00000000] arraycopy: lw $t0, 0($a0) [0x00000004] addi $a0, $a0,4 [0x00000008] addi $a1, $a1,4 [0x0000000C] sw $t0, -4($a1) [0x00000010] bne $t0,$0,arraycopy [0x00000014] Nop ( means no operation ) Now I'm interested to translate the bne command line to machine code: What I got: 0001 0100 0000 1000 - [...] read more
assembly
mips
machine-code
0votes
1answer

Reading Assembly Code (Bomb lab phase 5 help)

I have to decode this assembly language for the bomb lab: Dump of assembler code for function phase_5: 0x08048e79 <+0>: push %ebx 0x08048e7a <+1>: sub $0x28,%esp 0x08048e7d <+4>: lea 0x1c(%esp),%eax 0x08048e81 <+8>: mov %eax,0xc(%esp) 0x08048e85 <+12>: lea 0x18(%esp),%eax 0x08048e89 <+16>: mov %eax,0x8(%esp) 0x08048e8d <+20>: movl $0x804a9de,0x4(%esp) 0x08048e95 <+28>: mov 0x30(%esp),%eax [...] read more
assembly
x86
reverse-engineering
0votes
1answer

Access violation when dynamically allocating memory

I am writing a program for a project at school that requires us to create a Binary Search Tree based on data read from a file (in this case strings). The tree should allow for duplicates by incrementing an integer value when a duplicate string is entered. The TreeNode is [...] read more
c++
visual-studio
0votes
1answer

java.lang.unsatisfiedLinkError lib not found :(failed to link mylib.so)

i've successfully cross compiled a c++ library to the android plateform using the android ndk standalone toolchain. i've created a new android application project into Eclipse with a jni dolder and Android.mk file and when i do an ndk-build the building goes well and it adds mylib.so to libs/armeabi folder [...] read more
android
c++
android-ndk
cross-compiling
0votes
0answers

Fatal signal 11 (SIGSEGV) at 0x00000014 (code=1), thread 15566

I am trying to add buddy in CSipSimple by the following code . public int addBuddy(String buddyUri) throws SameThreadException { created = true ; if (!created) { return -1; } int[] p_buddy_id = new int[1]; pjsua.start(); pjsua_buddy_config buddy_cfg = new pjsua_buddy_config(); pjsua.buddy_config_default(buddy_cfg); buddy_cfg.setSubscribe(1); buddy_cfg.setUri(pjsua.pj_str_copy(buddyUri)); pjsua.buddy_add(buddy_cfg, p_buddy_id); System.out.println("Buddy Id is "+p_buddy_id[0]); [...] read more
android
fatal-error
crash-reports
0votes
1answer

Un-google-able bug in MIPS Assembly

I am writing a program in R3000 MIPS Assembly using the IDE Mars. It's for a class I'm taking. The task is to write a function that iterates through a linked list and removes any nodes with values less than an integer given in an argument. I think I've got [...] read more
assembly
mips
mars-simulator
0votes
0answers

Using an object pointer to access its member functions inside another class

I have an account class that has the data members accountNumber, accountBalance, and a pointer to a Person object, accountPerson. All of these are protected because Account is an abstract base class. My program reads info from a file and I am trying to call each objects own readData() methods. [...] read more
c++
pointers
polymorphism
abstract-class
0votes
1answer

GraphicsMagick - Identify and remove attached color profile

I have some tiff images that have an embedded color profile (the example one is Canon EOS-1Ds flash). When I convert them to jpeg (gm convert source.tif target.jpeg) the resulting jpeg colours are distorted in browsers (Chrome,Firefox, but not IE) but not in system image viewers. If I open the [...] read more
imagemagick
imagemagick-convert
graphicsmagick
color-profile
0votes
1answer

Cross Compiling GSL for Android

CROSS COMPILING GSL FOR ANDROID I am attempting to cross compile the GNU Scientific Library (GSL) for Android 4.1 using Autotools. My build and host are as follows: build="i386-apple-darwin10.8.0" host="arm-linux-androideabi" Autotools versions: GNU Automake version 1.11.3 GNU Autoconf version 2.68 GNU Libtool version 2.4.2 My goal is to compile an [...] read more
android
android-ndk
cross-compiling
elf
gsl
0votes
1answer

visual studio 2013 release compilation dont open files

I have searched in other answers but i dont found how to fix it and i cant understand why this happens someone can help? When i compile with debug mode every thing runs ok, even if i change the debug configuration from Multi-threaded Debug DLL (/MDd) to Multi-threaded DLL (/MD) [...] read more
c++
visual-studio-2013
0votes
1answer

How to find out Interval from RecurrenceItem in EWS

i created a function which gets all Informations of an appointment item from EWS. I also need the Interval of an RecurrenceItem but it doesnt work. This is what i did: ExtendedPropertyDefinition PidLidCleanGlobalObjectId = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Meeting, 0x00000023, MapiPropertyType.Binary); ExtendedPropertyDefinition PidLidDayInterval = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Appointment, 0x00000011, MapiPropertyType.Integer); ExtendedPropertyDefinition PidLidWeekInterval = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.Appointment, [...] read more
c#
visual-studio-2010
web-services
exchangewebservices
0votes
2answers

std::getline() access violation, used to work but can't read from any file now

I have a C++ application which needs to read data from a .txt file. I have had this application working for about 8-9 months but after changing another part of the application, it errors out with an "access violation" on any call to getline(). Here is my code: std::string line; [...] read more
c++
file-io
getline
0votes
1answer

Identifying Crash in Symbolized Crash Report

I've had a crash within my native iOS App (which runs fine on simulator, only error on a device) I've been unable to identify the issue. The crash happens while the splash screen is shown, before the initial view controller is shown. Here are the 3 steps I've done thus [...] read more
ios
xcode
0votes
1answer

How can I assemble a minimal working MIPS program?

I can run this assembly code in my simulator but I get a linker warning Linking... ld: warning: cannot find entry symbol start; defaulting to 80020000 Post build... Done Why do I get this error with solely the assembly code and not with C code that does the same? How [...] read more
c
assembly
mips
simulator
-1votes
1answer

Overlapping memory addresses in x64 C function from PInvoke

We have a PInvoke as follows: [DllImport(DllName, EntryPoint = "ExternalName", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr ExternalFunction(IntPtr state, IntPtr inputData, int inputIndex, int inputLength, int tailLength); With the C declaration as follows: void * __cdecl ExernalName(void* state, void* inputData, int32_t inputIndex, int32_t inputLength, int32_t tailLength); When [...] read more
c#
c
pinvoke
-1votes
1answer

What's causing this exception? Using VC++ 2010 with libcurl

I'm using libcurl in VC++ 2010 and getting this error: > An unhandled exception of type 'System.AccessViolationException' occurred in Fourth.exe Additional information: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. std::string DownloadFile(std::string Fname, std::string Furl) { CURL *curl; CURLcode res; const [...] read more
c++
visual-studio-2010
exception
libcurl
-2votes
1answer

glfwWindowShouldClose error

I am currently making a small c++ engine using opengl and glfw and I get a weird error while trying to call the glfwWindowShouldClose(window) function here is my code : #include "Engine\Window.h" #include <iostream> using namespace std; int main() { GLFWwindow* window = 0; Window::InitGLFW(); Window::CreateWindow(window,640,480,"1"); while (true) { if [...] read more
c++
opengl
glfw
-2votes
3answers

NULL Pointer Returned by fopen - but no Errors

I'm attempting to use fopen to open a file. I'm using an absolute path, the file does exist, and it's not corrupt. Also, all system users have full access to read/write the file. const char* filename = "absolute\\path\\to\\file.something"; const char* mode = "rb"; FILE* file = fopen(filename, mode); std::cout << [...] read more
c++
pointers
null
fopen
-3votes
1answer

pass parameters to function of dll in python leads to access violation writing 0x00000014

win 7 python 2.7 In python, I call a function in dll using ctype to read flash value in a MCU. But I got the access violation writing 0x00000014 error. dll function: int get_flash_value(int addr, int readlen, char *data) { unsigned char read_data[4096]; int ret; int i; const unsigned int [...] read more
python
c

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