This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
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.
I have a similar problem to this question, but slightly different. I have compiled a .so library to use with JNI. Because it is large (15 MB), I am putting it on the SDCard instead of in the standard application place. The file is called libSample.so and it's located at [...] read more
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
I have notice that Android NDK (r6b in my case) produce unreasonable big resulting .so files. For example, in my case I have ~150-200 lines of C++ code (6 native methods and 3 C++ simplest classes) and this native code produce 60kb (!) .so with enabled exceptions and RTTI or [...] read more
I'm trying to run some Android code on VM in AWS. I've compiled Android from source and when I'm trying to load a library explicitly (using System.load) in dalvik vm I see following log: android_update_LD_LIBRARY_PATH not found; .so dependencies will not work! Class that generates this error: public class Server [...] read more
I'm in the (very) early stages of developing a UAV flight controller on a BeagleBone Black. I should mention that I'm quite the novice when it comes to the BBB, Linux and embedded systems.My academic focus has been on control theory - this is my first attempt at a practical [...] read more
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
When I call logoff, it works. But shutdown and restart don't work. Everything looks OK. I looked at other examples on SO and else where and the code looks pretty uniform across most places. So I'm thinking it might be something other than the code. I'm running as admin and [...] read more
Sometimes (not always) when I raise my computer from standby (not hybrid mode), I get BSOD (after a bit, around 30 seconds). This problem exists since when I bought it, around 1 year ago. I would like to know if there is some solution. I think that the problem is [...] read more
I've compiled a shared library with android-cmake and the NDK against libstdc++, and as per android-ndk-r7/docs/CPLUSPLUS-SUPPORT.html I'm trying to load gnustl_shared before loading my library: static { System.loadLibrary("gnustl_shared"); System.loadLibrary("MathTest"); } I can see this being done for instance here but I get an exception: 01-03 20:02:42.307: E/AndroidRuntime(569): Caused by: java.lang.UnsatisfiedLinkError: [...] read more
I am trying to load a shared library using: System.loadLibrary("sharedC"); sharedC is dependent on 2 other shared libraries sharedA and sharedB, all three were made using the standalone toolchain and are included as prebuilt shared libraries. I load sharedA and sharedB before sharedC and I know of no other dependencies. [...] read more
I'm facing a hard time solving a BSOD which happens whenever I access a mapped network drive. It only happens when I access a particular folder in this drive. The error code is: BAD_POOL_HEADER STOP : 0x00000019(0x00000020, 0x88EE2E28, 0x88EE2ED8, 0x0A160001) Is there any way to fix this besides formatting my [...] read more
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
I am trying to create an assembly in SQL but I am not able to load the following DLL. System.ServiceModel.Internals create assembly [system.servicemodel.internals] from 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ServiceModel.Internals.dll' with permission_set = safe; go I get this error: > Msg 6218, Level 16, State 2, Line 2 CREATE ASSEMBLY for assembly > 'System.ServiceModel.Internals' failed [...] read more
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
I have read here How does delete[] "know" the size of the operand array? that before the allocated memory it is saved how much memory it was allocated. I allocated an array of integers, set each element to value 15 and inspected the heap. First I allocated an array with [...] read more
I'm using the following code to get the filepath to save to for use with tinyxml2: OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.hwndOwner = NULL; ofn.lpstrFilter = (LPCWSTR)L"XML Files (*.xml)\0*.xml\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | [...] read more
Edit 1: Super busy couple of days, friend had to go to emergency room and I helped them get there (vehicle issues). I'll get to this very soon! Edit 2: Updated additional steps taken, new BSOD info, and "!analyze -v" with Windows Debug. I am using Windows Storage spaces, so [...] read more
I'm using Windows 7 and I've gotten multiple BSOD errors when browsing with chrome or watching videos. I've updated my integrated graphics card driver but it didn't solve the problem. I've run Memtest86+(12 passes) - everything was OK, I've also tested the HDDs - no problem, too. I've disabled GPU [...] read more
I have Windows XP SP2. Recently it started bluescreening right after starting up with BAD_POOL_HEADER, 0x00000019 error caused by SFC4.SYS driver. After googling for a while I've found out that this is my Mustek's 1200 CP scanner driver. Booting in safe mode and uninstalling it solved the problem... And created [...] read more
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
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
I am using Beaglebone Black Rev C with BB-View CapeManager as follow: 1. Latest kernel version: "Linux arm 4.15.0-bone2.1 #1 Tue Jan 30 11:48:09 GMT 2018 armv7l GNU/Linux" 2. BBB fire up correctly and screen work correctly 3. Build Qt-everywhere package 5.11 fro io.qtdownload site 4. The Qt for ARM [...] read more
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
My application can running normally on iOS9 and xCode7, but after upgrade to XCode8 and iOS10 on my iPhone, the application crash immediately after I deploy to my iPhone, before it get into the main() function. I think there are some problems with library loading, this is the log from [...] read more
My entry for https://hackaday.com/2016/11/21/step-up-to-the-1-kb-challenge/ includes a couple of huge functions which are not generated from any C code which I have written. 000004e4 <.divsi3_skip_div0_test>: 4e4: b410 push {r4} 4e6: 1c04 adds r4, r0, #0 4e8: 404c eors r4, r1 4ea: 46a4 mov ip, r4 4ec: 2301 movs r3, #1 4ee: [...] read more
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
I uploaded some files to S3 and I want to access them in an EC2 instance. I am trying to get s3fs to work. I SSH'ed into my EC2 instance and then mounted an S3 bucket on the local folder /mnt/s3 using: s3fs -o allow_other -o uid=1000,gid=1000,use_cache=/home/ubuntu/cache arte-mexicano /mnt/s3 I [...] read more
So, I am trying to learn ARM assembly and basically what I want to do is turn on the LEDs of my BeagleBone Black using pure assembly. I know how to program in C very well, but I am new to ARM assembly if that makes any difference. Basically I [...] read more
I'm currently learning heap exploitation and overflows. But currently i'm stuck with some issue. I'm using glibc v2.19 , when i try to examine the heap memory with gdb. Here is the code that i'm using. char *p; p = malloc(20); strcpy(p,"AAAAAAAA"); free(p); This is the gdb output for the [...] read more
I try to coding a program to insert a empty (as the first step) phdr struct to any elf binary, so I coding like below: cat add_phdr.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <elf.h> #include <sys/mman.h> #include <stddef.h> static void calc_dyntables(void [...] read more
I am running an a Windows 7 Embedded Standard with i3, 4GB of ram and a solid state drive. It runs a WPF application. However, if I unplug the monitor and plug it back in, while the application is running, I get the following error: “The instruction at 0x6f7cd318 referenced [...] read more
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Microsoft.Win32; using System.Runtime.InteropServices; [Flags] public enum ExitWindows : uint { LogOff = 0x00, Force = 0x04, } [Flags] enum ShutdownReason : uint { MajorApplication = 0x00040000, MajorHardware = 0x00010000, MajorLegacyApi = 0x00070000, MajorOperatingSystem [...] read more
I'm trying to cross-compile dropbear for android. The files appear to compile find, but when executed give "program : not found." I did a find and the libraries marked NEEDED appear to be located in the cross-compile environment. I have compiled other programs with this toolchain. arm-none-linux-gnueabi-readelf -d dropbear Dynamic [...] read more
I'd like to create a volume shadow copy (vshadow 2.2) from within Cygwin over ssh: $ ./vshadow.exe -p -nw C: (...) - Setting the VSS context to: 0x00000019 Creating shadow set {a5e0883e-9485-4243-8276-1ac7c569ab6a} ... - Adding volume \\?\Volume{218a908d-1e3f-11df-a215-806e6f6e6963}\ [C:\] to the shadow set... Creating the shadow (DoSnapshotSet) ... ERROR: COM call [...] read more
I'm running a Lenovo ThinkPad E540, which dual boots into Windows 7 and Ubuntu 14.04. The computer itself is maybe 2.5 years old, and I'm having some problems with the Windows installation. When I boot into Windows, the computer bluescreens after I sign in. I've been having problems with Windows [...] read more
Question: My Windows 8.1 media center is experiencing blue screens. Here's an excerpt from the most recent ones (sorry for the formatting, but superuser does not support nice tables): Date Bug Check Param 1 Caused by Address 2015-05-24 0x00000019 BAD_POOL_HEADER 00000000`00000020 Npfs.SYS+b872 2015-05-23 0x00000019 BAD_POOL_HEADER 00000000`00000020 ntoskrnl.exe+150ca0 2015-05-22 0x0000003b SYSTEM_SERVICE_EXCEPTION [...] read more
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
I am having some difficulty porting the following MIPS32 assembly program to a 64-bit equivalent. The main issue that I am facing is the following line: bgtz $s2, loop ; Branch from "loop" on "$s2" greater than zero. I am not sure why this line causes an error? The instruction [...] read more
My app started to crash after an update to ios 10.3.1 .The crash happens when I attempt to pick a video using the camera. The app works well on older ios versions (9.3.5 and 10.2.1). The crash log shows that it is the CAMImagePickerCameraViewController that is crashing: OS Version: iPhone [...] read more
I'm very new to Python and pandas and I would like to parse a very big text file (200-500 MB) which has the information displayed as Records, with each record containing data fields as rows/lines rather than columns, and such Records having different number of lines (as they provide different [...] read more
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
I have a strange problem, if I deploy my app through visual studio as debug or release version all is working well. But if I publish it to the store and download it from there the app crashes after Launcher.LaunchFileAsync or FileOpenPicker. When my app launches for example the default [...] read more
I'm trying to assemble using nasm on Cygwin 32 bits (following Part IV of Dandamudi, Sivarama P. Guide to Assembly Language Programming in Linux. New York: Springer, 2005). However, I get the following errors: $ nasm -f win32 sample.asm $ nasm -f win32 io.mac $ ld -m i386pe io.obj -lc [...] read more
I am trying to run picam on my raspberry pi. Unfortunately I am not getting around the following import error: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-ae50f21e1c18> in <module>() ----> 1 import picam 2 import time /usr/local/lib/python2.7/dist-packages/picam/__init__.py in <module>() 1 # Copyright (c) 2013 Sean Ashton 2 # Licensed [...] read more
I am workin on Overthewire narnia2(ctf game). Currently I am learning how to use the gdb and I have a simple question. (gdb) x/200x $esp-0xac 0xffffd5a4: 0x08048534 0xffffd5c8 0xf7e5b7d0 0xffffd5c8 0xffffd5b4: 0xf7ffd920 0xf7e5b7d5 0x08048494 0x08048534 0xffffd5c4: 0xffffd5c8 0x6850c031 0x68732f2f 0x69622f68 0xffffd5d4: 0x50e3896e 0x89e18953 0xcd0bb0c2 0x41414180 0xffffd5e4: 0x41414141 0x41414141 0x41414141 0x41414141 [...] read more
I was trying to understand how memory is allotted on the heap using malloc, and came across the following observation, and am unable to understand the reason behind it. It would be great if someone can explain. First, let's take a look at the code I wrote: #include<stdio.h> #include<stdlib.h> void [...] read more
First time question here, tx in advance. I am trying to use code from opencv tutorial that use the fisherface algorithim. I am able to create the fisherface model and train it,detect faces but fail on the recognition part model->predict. I am also pretty new to C++ and trying to [...] read more