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

34votes
4answers

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

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

core file memory analysis verification

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

Can't link c++ function in assembly

Sorry if there are other questions like this one, but I tried almost everything with no results. I have an assembly file calling the main function of a cpp file(I'm making a kernel entry) kerne.asm [bits 32] [extern _main] jmp _main cli hlt main.cpp void a() { //a } void [...] read more
c++
assembly
linker
operating-system
kernel
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
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
1answer

grub doesn't seem to load my kernel correctly

I use grub to load my kernel. Although I specified .=0x100 0000 in the linker script, I can only find a valid MultiBoot2 header at 0x10 0000. After comparing them one by one, I found that it is not my kernel. And use gdb to debug Found that qemu's RIP [...] read more
assembly
gcc
osdev
grub
multiboot
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
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
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
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
0answers

Using PubSubClient from within a custom class

I'm building a library that I can reuse for multiple devices to save me setting up the same functions in my code over and over again. I'm having issues when trying to publish a message, and I'm hoping you can help! The code is targeting an ESP32 with BLE and [...] read more
c++
arduino
mqtt
2votes
1answer

Exif TIFF field offset doesn't point to correct value

I'm trying to extract the DateTime from a JPEG file's Exif header. I did a quick hex dump to try and locate the Tiff entry. Here's a snippet of the hex dump: 00000000 ff d8 ff e1 27 19 45 78 69 66 00 00 4d 4d 00 2a |....'.Exif..MM.*| [...] read more
jpeg
tiff
exif
2votes
2answers

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

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

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

Disassemble instruction set for 8051 microcontroller

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

Esp32 panics every other HTTP Post request

As the title suggests, my Esp32 panics every other HTTP Post request. The first one it works fine, the second one i get a 400 error, the Esp panics and then restarts itsself. This wouldnt be this much of an issue if the Esp didnt power any other things, however [...] read more
c++
http
post
esp32
panic
1vote
1answer

ESP32 as WiFi access point crashes on connection

I'm programming an ESP32 via ArduinoIDE and stumble upon a strange problem. It operates as WiFi access point, the code is quite simple and straight-forward: IPAddress apIP(192,168,1,1); WiFi.mode(WIFI_AP); WiFi.softAP("MyESP32"); WiFi.softAPConfig(apIP,apIP,IPAddress(255,255,255,0)); Now when a client connects to this AP, it often prints out these error messages: dhcps: send_nak>>udp_sendto result 0 dhcps: [...] read more
arduino
wifi
arduino-ide
esp32
access-point
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

Check library built flags or options (-frecord-gcc-switches)

I'd like to check the library under investigation what flags and options were built with? I'm trying to use gcc compiler with option -frecord-gcc-switches to understand on my simple shared library but with no luck. The following is the piece of code that form a shared library : #include "shared.h" [...] read more
linux
gcc
dynamic-library
1vote
2answers

Python error when playing music with Pyglet: UserWarning: exception: access violation reading 0x00000014

I tried several iterations of this code using methods, schedules and others. I managed to get over "access violation writing error" but "access violation reading error" is still present no matter what I try. Here is the code: import pyglet window = pyglet.window.Window() window.set_caption('First Pyglet Experiment') player = pyglet.media.Player() player.queue(pyglet.resource.media('test [...] read more
python
exception
pyglet
1vote
0answers

SWIFT : How to Share multiple Photos or Video on Facebook using FBSDKShareKit?

I am using FBSDKShareKit to share video and images on facebook. Here is the code:- if self.postObject.videoUrl.count > 0 { let content = ShareMediaContent() for VideoData in self.postObject.postedMedia { let video = ShareVideo.init(data: VideoData) content.media.append(video) } for thumb in self.postObject.postedVideoThumb { let photo = SharePhoto(image: thumb, userGenerated: true) content.media.append(photo) } [...] read more
ios
swift
facebook
facebook-share
xcode11.3
1vote
0answers

Nativescript - iOS build fails with error code 2

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

dwarfdump output with overlapping ranges

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

Why did the MARS MIPS Simulator throws a "Load from an Illegal Address" exception?

I created a simple, recursive factorial() function which calls a recursive multiplication function called mul_alt() whenever it evaluates n * factorial(n-1). So instead of return n * factorial(n-1) (in C notation), the factorial() function executes return mul_alt(n, factorial(n-1)), where the called function would add n + n + ... factorial(n-1) [...] read more
mips
mars-simulator
0votes
1answer

NavigationView gives an exception when it's the only thing on the page

I'm using the new Project Reunion 0.5/WinUI3 Preview 5. And after my upgrade from Preview 4, I started to get this error: Exception thrown at 0x76C5A8B2 in ReunionTest.exe: Microsoft C++ exception: winrt::hresult_error at memory location 0x00D7E290. The Output shows: Exception thrown at 0x76C5A8B2 (KernelBase.dll) in ReunionTest.exe: 0x40080202: WinRT transform error [...] read more
winui-3
preview-5
0votes
0answers

Difficult to repeat signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8

I am struggling with a problem in Unity3D Android game. It is very hard to repeat Crash. It happens sometimes after 1 hour, sometimes 2 hours of playing every time in different situations and I can't find any reason. I have tried different versions of Unity: * 2020.2.1f1 * 2019.3.12f1 [...] read more
android
unity3d
crash
il2cpp
0votes
0answers

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

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

Having issues with a Frida gadget on an emulated Android device

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

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

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

C Structs mnemonics in Linux Socket Filter. trying to make sense

I am trying to discover details about C Linux Socket filter or C Linux BPS sockets. The network filter for socket on this link and other places on this link https://www.kernel.org/doc/Documentation/networking/filter.txt is something like this /* From the example above: tcpdump -i em1 port 22 -dd */ struct sock_filter code[] [...] read more
c
linux
networking
firewall
raw-sockets
0votes
1answer

ESP32-WROOVER randomly reboot with different reasons

Hardware: Board: ESP32 Dev Module, node32, ttgo Core Installation version: not sure IDE name: Arduino IDE Flash Frequency: 40Mhz PSRAM enabled: not Upload Speed: 115200 Computer OS: Windows 10 Hi, I am working on a project, which is to use GSM to connect MQTT, and send instant data such as [...] read more
arduino
esp32
0votes
1answer

Segfault in qemu user emulation of Android binary

I'm running qemu on an Ubuntu 18.04 x64 host and trying to do user emulation of dynamic binaries built for Android (for aarch64 or i386) using the Android NDK, but I always get a segfault. For example: Build $ i686-linux-android28-clang hello_world.c -o hello_world Check dependecies and paths $ file ./hello_world [...] read more
android
segmentation-fault
emulation
qemu
0votes
1answer

modify build-id in the notes section of the elf file

I need to modify a build-id in the notes section of the ELF file. I see there are plenty of tools to read elf but not to modify them. I found elfedit but it doesn't seem to do what I need. Is it even possible? Here is the output of [...] read more
elf
0votes
1answer

ArgumentError when trying to pass an array of unsigned char

Working with Python 3.8, I am trying to call the following function of a C dll: extern void* __stdcall Reentrante_CreerNouvelleIdentification ( int NumeroDuCapteur , DetectorType_t DetectorType, float DetectorVolume, float Resolution, float ResolutionCzt, float C1 , float C2 , float C3 , float C4 , unsigned char CustomLibrary[NB_ISOTOPES_CANDIDAT], float FeThick, float [...] read more
python
ctypes
0votes
1answer

com.example.androiddata.databinding.FragmentDetailBindingImpl.executeBindings(FragmentDetailBindingImpl.java:147)

I've already cleaned my project , Rebuild was done...but still no use. Then invalidated caches and restarted the project that too didn't helped me. I still receive this error from my logcat 2020-06-18 01:36:13.602 16501-16501/com.example.androiddata I/monsterLogging: Selected item: Grade 2 2020-06-18 01:36:13.737 16501-16501/com.example.androiddata I/monsterLogging: Selected Grade level: Grade 2 2020-06-18 [...] read more
android
kotlin
0votes
1answer

EXC_BAD_ACCESS (code=1, address=0x0) when calling "glClear(GL_COLOR_BUFFER_BIT);" in hello world program of glfw

I'm trying to install OpenGL in CLion on MacOS. My program compiles but when I run it I get this crashreport: Time Awake Since Boot: 6200 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination [...] read more
c++
opengl
glfw
glad
0votes
1answer

Is there a reason for the seemingly random twenty bytes at location 0x284 in the compiled code from gcc?

The following code illustrates: #include <stdio.h> #define NUMBER_1 1 int main(void) { int a; a = NUMBER_1; printf("Output: %d\r\n", a); return 0; } Changing the define to 2 causes the 20 bytes to change completely. I'm using gcc version 7.5.0 under ubuntu version 18.04. I suspect this is some sort [...] read more
c
0votes
1answer

App-crash on HoloLens(1st. gen)-Emulator when enabling 'Spatial Awareness System' in MRTK 2.3

i recently set up required software for development for the Microsoft HoloLens(1st. gen) with the newest version of the HoloLens(1st. gen) emulator (followed the MRTK-Guide: https://microsoft.github.io/MixedRealityToolkit-Unity/Documentation/GettingStartedWithTheMRTK.html#get-the-latest-mrtk-unity-packages). I already tested some example scenes from the MRTK on the emulator and everything works as expected. However, when i test the SpatialAwarenessMeshDemo, the [...] read more
windows
unity3d
hololens
windows-mixed-reality
hololens-emulator
0votes
0answers

Access Violation Caused After Putchar Function x86 Assembly Regardless of Call After Putchar

I am hoping someone may be able to help explain why I am receiving access violations when running my code below. As a disclaimer: this is a homework assignment I have been troubleshooting and working on for several days without much progress. I do not intend on turning in without [...] read more
assembly
x86
masm
vs-community-edition
0votes
1answer

ESP32 OTA update keeps crashing on start

I'm trying to OTA update the ESP32 by letting it make a get request to a file on Azure blob storage. For some unknown reason it won't let me use the WifiClient.connect() function, since it always returns a 0. So now I'm using the HTTPClient library to make a get [...] read more
c++
azure
arduino
esp32
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
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
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 [...] 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 [...] 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
-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
-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