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.
Like many of us, I spent yesterday updating a whole lot of systems to mitigate the Meltdown and Spectre attacks. As I understand it, it is necessary to install two packages and reboot: kernel-3.10.0-693.11.6.el7.x86_64 microcode_ctl-2.1-22.2.el7.x86_64 I have two CentOS 7 systems on which I've installed these packages and rebooted. According [...] read more
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
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 looking for the fastest way to take an image frame received from the MediaCodec decoder and draw it to the Android device screen. The important constraints and explanations are: 1. Cannot use MediaPlayer. No intermediate app allowed. 2. Must draw output frames from the MediaCodec decoder to the screen [...] 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
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
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
I'm working on tracking down some difficult to find memory leaks in my iPhone program. I'm running a quick test on an app which leaks an NSString object with the following intentionally -incorrect- code: -(void)applicationDidFinishLaunching:(NSNotification *)notification; { NSMutableString *test = [[NSMutableString alloc] init]; [test appendString:@"Testing 1"]; [test appendString:@"\nTesting 2"]; NSLog(@"%@", [...] read more
I am attempting to create an AES 256 key on an ACOS5-64 smartcard and OMNIKEY 3121 card reader, using PKCS11 in python (using the PyKCS11 library). So far, all the "standard" operations seem to work with regards to asymmetric crypto. I have run plenty of code samples and pkcs11-tool commands, [...] read more
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
I've run into a problem (repetitively) with various company's' embedded linux products where GPL source code from them does not match what is actually running on a system. It's "close", but not quite right, especially with respect to the standard C library they use. Isn't that a violation of the [...] 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
While debugging with VS 2012 Graphic's Debugger, I want to look at an index buffer, but the format that is showing it in is as float. This means the numbers are different than they would be with an int or short format. Does somebody know how to change this? Here [...] read more
I am getting an infuriating EXC_BAD_ACCESS error in an objective c app I am working on. Any help you could offer would be much appreciated. I have tried the normal debug methods for this error (turning on NSZombieEnabled, checking retain/release/autorelease to make sure I'm not trying to access a deallocated [...] 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 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
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've got a .NET application that pinvokes several libraries, all 32 bit (the application is 32 bit as well). I recently started getting crash bugs that occurred when the GC started freeing memory, and when I attached I saw that it was an access violation. After some web searches, I [...] read more
I'm new of stack overflow. I have a big problem to send an app to apple. when i test my app to my iPhone 5 or simulator everything is ok but apple reject for 2 times my app, they told me that my app crash then the splash screen and [...] 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
I'm getting an Undefined Instruction error while running an embedded system, no coprocessor, no MMU, Atmel 9263. The embedded system has memory in the range 0x20000000 - 0x23FFFFFF. I've had two cases so far: 1. SP 0x0030B840, LR 2000AE78 - the LR points at valid code, so I'm not sure [...] 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
Currently we are developing an android app that can advertise itself from the BLE(bluetooth low energy) to ESP32 devices. ESP32 collects the MAC address, device name, and service UUID and send the data to MySQL server. So far ESP32 can send the device name and MAC address but somehow, we [...] 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
I am doing cross compile debugging. My build server CPU is amd64. My device CPU is MIPS. When I am trying to do debug the elf file compiled by myself. The gdb can only show ld.so.1 (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x7704f9c0 0x7706c490 Yes (*) [...] read more
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
I am adding Cortana to a DirectX/XAML Windwos 10 game. Every example I can find is given in C#, not C++. Normally this wouldn't be a problem, but apparently I'm not implementing it correctly in C++ and need some help with this one. The purpose of this chunk of code [...] read more
I am writing a program in C++ to read and write from a serial port. One issue that I have not been able to fix is, after calling SetupComm it fails. Using GetLastError() tells me that it was error 0x00000013, "The media is write-protected" is the definition of that error [...] 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
In our header file we have the class definition where GroupInit, EditInit were protected. I want to be able to access these methods by adding a reference to the generated GrpSvr.tlb file from a C# solution so I changed these to public... #if !defined(AFX_GRPCALL_H__FFB54BC3_B15E_11D1_99BC_0000E803C444__INCLUDED_) #define AFX_GRPCALL_H__FFB54BC3_B15E_11D1_99BC_0000E803C444__INCLUDED_ #if _MSC_VER >= 1000 [...] read more
I've been asked to integrate with an already-shipped product that is a COM server. Along with this product was provided a .tlb file. I've used tlbimp to export the tlb to primary assembly and I've included that in my C# project. When I attempt to execute my COM client I [...] read more
I have already done some research on identifying crash logs but couldn't find solution: Here are my references: http://www.raywenderlich.com/23704/demystifying-ios-application-crash-logs http://developer.apple.com/library/ios/#qa/qa1747/_index.html How to view crash report on xcode 4.2 I do come to know that it is because of Memory Issue but how to find that particular? In my project there [...] read more
I have a c++ dll with 10 methods and 12 properties, is there any way or any application to export the p/invoke format of the methods to be used in c# ? I have use OLE Viewer to inspect all the methods, for example : > [id(0x00000013)] > BSTR GetCPUID( [...] read more
I have been creating a set of shared libraries to run on an android phone. When I try to load them in they are failing and it looks to me as if the libraries that my shared library depends on have been named with their major number. I should explain [...] 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 am attempting to determine what is causing an embedded industrial computer (ARK-1550-S9A1E) with Intel 4th Gen Core i5-4300U Dual Core to scale down all the cores to around ~200 MHz from 1.90 GHz There is several utilities/tools (turbostat or msr) tools that indicate that the reason it has scaled [...] read more
I crosscompile AWS Embedded CSdk through gnueabigcc and put it in the device. But when I run it, there's an error that says I can't run it because I don't have a library. When I tried ldd "file name" with Linux, the phrase "not a dynamic Executable" appears. I think [...] read more
I'm looking for help because I'm stuck on the problem for a long time. I have at home an ESP32 wrover kit that I have connected in uart to a Zigbee gateway module. I would like to send via uart some commands to the module, for that I put the [...] 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'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
Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
I'm using graphql-dotnet (dotnet GraphQl) for implementing GraphQL in DotNet Core 2.1. I have the following classes: public class Customer { public int Id { get; set; } public string Name { get; set; } } public class CustomerInputType : InputObjectGraphType { public CustomerInputType() { Name = "CustomerInput"; Field<NonNullGraphType<IntGraphType>>(nameof(Customer.Id)); Field<NonNullGraphType<StringGraphType>>(nameof(Customer.Name)); [...] read more
I am trying to figure out how to import a symmetric key into NSS for use with encryption at the core crypto boundary. These functions are described https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/Reference/NSS_cryptographic_module/FIPS_mode_of_operation I have been able to do every other type of crypto operation by following the documentation because it mirrors PKCS 11 described [...] read more
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
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 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
I have a small app made with SpriteKit and i receive EXC_RESOURCE error all the time and i really don't know. I want to see crash log , but Xcode doesn't symbolicate correct. I need to see Thread 0 , but it is the only one who isn't symbolicate. Exception [...] read more
Any help would be much appreciated. :) Here is the error I am getting at run-time: Unhandled exception at 0x000D87D6 in FinalProject.exe: 0xC0000005: Access violation reading location 0x00000013. When I try to insert the third word, it breaks here: http://i.imgur.com/30brTkl.png See where it says "Unable to read memory"? I can't [...] read more
I am running into problems when trying to write to memory addresses on an older LPC2148 microntroller. I have tried writing to several different parts of the memory map (Section 6.4) from http://www.keil.com/dd/docs/datashts/philips/lpc2141_42_44_46_48.pdf such as on-board non-volatile, static, etc. I have also tried STMDB to the stack (0x40000000?) but the [...] 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'm using a constant buffer to pass data to my shaders at every frame, and I'm running into an issue where the values of some of the members of the buffer point to the same memory. When I use the Visual Studio 2012 debugging tools, it looks like the data [...] read more
I am using spring tool suite, i have successfully integrated jsf + primefaces + spring + hibernate(jpa)...however while running the project on server(tomcat) the IDE shuts down automatically..The COPY OF ECLIPSE LOG : # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) [...] read more
I have a char byte that I want to convert to an int. Basically I am getting the value (which is 0x13) from a file using the fopen command and storing it into a char buffer called buff. I am doing the following: //assume buff[17] = 0x13 v->infoFrameSize = (int)buff[17] [...] read more
I am having one Delphi XE2 Project to check one Hexadecimal Value from Registry Key MyCompanyName\1. If the Hexadecimal Value is 13, then some message will be there else some other message will be there. MyProject [https://i.stack.imgur.com/wWJUQ.jpg] So I have defined the following codes: procedure TMainForm.BitBtn01Click(Sender: TObject); var RegistryEntry : [...] read more