Windows error 0x0000000E, 14

Detailed Error Information

OUTOFMEMORY[1]

MessageNot enough storage is available to complete this operation.
Declared inwinerror.h

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

NO_USER_MODE_CONTEXT[2]

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

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 Code14 (0x000e)

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

How-to find out what causes a didHideZoomSlider error on IOS 8?

The following error keeps coming up in my app's crashlytics logs on IOS 8: libobjc.A.dylib objc_msgSend + 5 didHideZoomSlider: Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000e I have no clue where to start? Anybody an idea on what I should be looking for? The whole stacktrace : 0 libobjc.A.dylib objc_msgSend + [...] read more
ios
ios8
crashlytics
14votes
2answers

Is there any way to change the SONAME of a binary directly?

My program depends on libcurl.so.3, but in RHEL6 there is no symbolic link libcurl.so.3 ⇾ libcurl.so.4 (my program can run smoothly when I create this link). However, there is symbolic link libcurl.so ⇾ libcurl.so.4. I would like to modify the SONAME embedded in libcurl.so.3.0.0.0 file from libcurl.so.3 to libcurl.so so [...] read more
linux
linker
shared-libraries
libcurl
binaryfiles
14votes
3answers

Why does OpenProcessToken fail with ERROR_ACCESS_DENIED

I'm running a process as a user in the Administrators group, trying to get a process token for another process. The other process is run by a user not in the Administrators group. Here's the gist of the code I'm using. pid in this code represents the process id of [...] read more
c
security
winapi
9votes
1answer

Forcing or preventing use of a particular minor version of libstdc++

In order to make use of C++11 and c++14 features I have an application compiled using a newer version of gcc (4.9.1) and thus an newer version of libstdc++. The application consists of many small programs so I am linking with libstdc++ as a shared library rather than a static [...] read more
c++
linux
gcc
c++11
libstdc++
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
1answer

Collection View Batch Update Crash

I intermittently get Crashlytics reports with the following error: Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000e raw libobjc.A.dylib objc_msgSend + 5 1 UIKit -[UICollectionViewUpdate _computeItemUpdates] + 1588 2 UIKit -[UICollectionViewUpdate initWithCollectionView:updateItems:oldModel:newModel:oldVisibleBounds:newVisibleBounds:] + 254 3 UIKit -[UICollectionView _endItemAnimations] + 6904 4 UIKit -[UICollectionView performBatchUpdates:completion:] + 386 How can I debug this? The [...] read more
ios
objective-c
8votes
3answers

How do I left pad a byte array efficiently

Assuming I have an array LogoDataBy {byte[0x00000008]} [0x00000000]: 0x41 [0x00000001]: 0x42 [0x00000002]: 0x43 [0x00000003]: 0x44 [0x00000004]: 0x31 [0x00000005]: 0x32 [0x00000006]: 0x33 [0x00000007]: 0x34 I would like to create an array of an arbitrary length and left pad it with 0x00 newArray {byte[0x00000010]} [0x00000000]: 0x00 [0x00000001]: 0x00 [0x00000002]: 0x00 [0x00000003]: 0x00 [...] read more
c#
.net
bytearray
padding
8votes
3answers

Android NDK produce unreasonable big binaries, how to optimize .so size?

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
android
android-ndk
7votes
1answer

Self-compiled dalvik doesn't load shared libraries

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
android
shared-libraries
dalvik
android-x86
7votes
1answer

UnsatisfiedLInkError Linking to FFMPEG with NDK

I compiled FFMPEG for android using bambuser's files. The compile runs fine. No errors. I also made sure to change the package name in build.sh. However, once I try to link to the files, the phone throws an UnsatisfiedLinkError. This is the Androkd.mk file: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) [...] read more
android
ffmpeg
android-ndk-r5
6votes
3answers

Without root access, run R with tuned BLAS when it is linked with reference BLAS

Can any one tell me why I can not successfully test OpenBLAS's dgemm performance (in GFLOPs) in R via the following way? 1. link R with the "reference BLAS" libblas.so 2. compile my C program mmperf.c with OpenBLAS library libopenblas.so 3. load the resulting shared library mmperf.so into R, call [...] read more
r
linux
shared-libraries
ld
blas
5votes
2answers

Triple boot WIndows 7, Windows 8, and Mountain Lion on Macbook Pro

Ok, So I have a bit of a unique situation here I could use some help on. I've modded my summer 2011 MBPro to have 2 harddrives by replacing the optical drive. OSX Mountain Lion is installed on a single partition of a 120GB SSD. The second drive is 750GB, [...] read more
windows-7
multi-boot
windows-8
osx-mountain-lion
bcd
5votes
1answer

When using ExitWindowsEx, logoff works, but shutdown and restart do not

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
c#
winforms
4votes
2answers

How to force CMake not add major/minor version in shared library filename and soname?

I'm compiling libclang with Cmake for Android (with Android NDK). Here is the part of CMake configuration that configure filename and soname: set_target_properties(libclang PROPERTIES VERSION ${LIBCLANG_LIBRARY_VERSION} DEFINE_SYMBOL _CINDEX_LIB_) In different file: set(LIBCLANG_LIBRARY_VERSION "${CLANG_VERSION_MAJOR}" CACHE STRING "Major version number that will be appended to the libclang library") and if(NOT DEFINED CLANG_VERSION_MAJOR) [...] read more
android
cmake
clang
llvm
4votes
1answer

Huge amount of mystic crashes of WP8 app

I've published an app with integrated hockeyapp. But Windows Phone dashboard crash report contains mystic crashes that are not in hockeyapp. According to stacktrace they are native (OS crashes). App is 8.0 DirectX + Xaml app. Crashes are generated by 8.1 devices. 8.0 devices worked perfectly. I've tested app on [...] read more
windows-phone-8
4votes
0answers

How to get right MIPS libc toolchain for embedded device

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
linux
gcc
embedded
cross-compiling
libc
4votes
1answer

Finding shared library dependencies when linking executable

I am attempting to cross-compile gstreamer for ARM hosts on a Ubuntu 12.04 (32-bit) build system. None of what I'm about to describe happens with the i686-linux-gnu GCC. I am compiling on Ubuntu 12.04 using this gcc: > arm-linux-gnueabihf-gcc -v Using built-in specs. COLLECT_GCC=arm-linux-gnueabihf-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper Target: arm-linux-gnueabihf Configured with: ../src/configure [...] read more
gcc
cross-compiling
gstreamer
ld
4votes
6answers

Android's GNU STL shared library can't be found with System.loadLibrary

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
android
stl
android-ndk
4votes
4answers

Need help debugging why a shared library fails to load. Android NDK

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
android
android-ndk
shared-libraries
3votes
4answers

0x00000077 Error on the corporate server

OKay so I have a slight problem that might either be apocalyptic or benign, but I don't know which. Context, updated: The server is in a small unventilated unlocked room that is about two feet wide by two feet deep by 8 feet tall. It's quite hot in there, but [...] read more
windows
hard-drive
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
3votes
0answers

App Startup Page exception

For my WP8 app i need a startup page to be shown before the actual home screen, in order to take user preferences that affect the behaviour of the app. For this I'm currently using this code sample in the OnLaunched method of App.xaml.cpp Windows::Storage::ApplicationDataContainer^ localSettings = ApplicationData::Current->LocalSettings; // in [...] read more
xaml
windows-phone-8
c++-cx
3votes
1answer

Wierd thing, app works well on iphone 4s & ipad, but crashed on iphone 4

I've submitted my app to appstore for review and is refused as follows: > We found that your app crashed on iPhone 4 running iOS 5.1.1, which is not in > compliance with the App Store Review Guidelines. Your app crashed on launch on > both Wi-Fi and cellular networks. [...] read more
iphone
crash
app-store
3votes
1answer

Make MUI2 Welcome Page labels have transparent background

Edit: I found the solution see bottom text I am attempting to make the MUI2 Welcome Pages' text have a transparent background. I can get the text to have a transparent background for MUI1 but not for MUI2(the label windows keep their white background). Also would you suggest I just [...] read more
installation
nsis
2votes
1answer

Why does 64-bit gdb never reach breakpoint in ARM 32 code?

I am running Ubuntu 20.04.1 LTS and lscpu answers the following: Architecture: aarch64 CPU op-mode(s): 32-bit, 64-bit Byte Order: Little Endian CPU(s): 4 On-line CPU(s) list: 0-3 Thread(s) per core: 1 Core(s) per socket: 4 Socket(s): 1 NUMA node(s): 1 Vendor ID: ARM Model: 0 Model name: Cortex-A57 Stepping: r1p0 [...] read more
debugging
assembly
arm
gdb
2votes
0answers

How to write machine language commands directly to ELF executable

I'm currently using NASM to take some assembly code commands, make a .o file, and then using ld to link it to an ELF executable. My assembly file ok.asm: section .text global _start ;must be declared for linker (ld) _start: ;tells linker entry point mov edx,len ;message length mov ecx,msg [...] read more
assembly
nasm
elf
machine-code
machine-language
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
1answer

Unity Player caused an Access Violation (0xc0000005)

I have a Unity Build (player) which is working fine on my PC but producing error(crash) on my client PC. The client has shared the log (Crash log) which is related to access Violation. > Unity Player [version: Unity 5.6.2f1_a2913c821e27] VB_Player_005.exe caused an Access Violation (0xc0000005) in module VB_Player_005.exe at [...] read more
windows
unity3d
windows-10
2votes
2answers

change in endianness while ethernet transmission

I work with zedboard and vivado v2017.3. I am trying to send data stored in a register(slv_reg0 in PL section of Zynq) pointed by baseaddr_p in the following program. I use lwip echo server application to read this address and send it to the PC via Ethernet. This part of [...] read more
c
vivado
zynq
2votes
1answer

Opendaylight Can't Connect to HP Aruba SDN Switch

My lab recently procure an HP (Aruba) 2920 24G and I was told to test it out on an OpenDaylight controller. First, I setup the OpenDaylight Carbon (0.7.2) with dlux features, odl-mdsal-apidocs, odl-restconf, and odl-l2switch-switch installed. The Opendaylight can communicate with my other switches including an SBC running an Open [...] read more
sdn
opendaylight
2votes
1answer

JNI DETECTED ClassNotFoundException - but classes ARE visible in .apk/.dex?

I've run into a problem that I really cannot wrap my head around. First, I compiled the openFrameworks androidVideoExample for Android on Ubuntu 14.04 (I used gradlew assembleDebug on the command line for that); and then, deployed the resulting .apk on Android device using adb install ./build/outputs/apk/androidVideoExample-debug.apk. I've deployed on [...] read more
java
android
android-ndk
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

Felix OSGi embedded in Android: Starting SCR causes in Fatal Error generated in libc.so

I have an android project (run on Sony Tablet SGP512 with Android 4.4.4, API 19) with Felix OSGi embedded. All bundles are dexified. I can install and start all bundles without errors except the Felix SCR (ServiceComponentRuntime). Installing works fine but to start this bundles causes in the following error [...] read more
android
osgi
libc
2votes
0answers

NDK, Android MK, how create library without FULL dependency path

My android.mk: LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := chelper LOCAL_C_INCLUDES += $(LOCAL_PATH)/ \ LOCAL_SRC_FILES := helper.cpp \ LOCAL_SHARED_LIBRARIES = mymodule LOCAL_LDLIBS := -llog include $(BUILD_SHARED_LIBRARY) ####################################### include $(CLEAR_VARS) LOCAL_MODULE := test #LOCAL_LDFLAGS += -Wl,-rpath -Wl,/data/local/tmp LOCAL_C_INCLUDES += $(LOCAL_PATH)/ LOCAL_SRC_FILES := test.c LOCAL_SHARED_LIBRARIES := chelper include $(BUILD_EXECUTABLE) $(call import-module,mymodule) [...] read more
android
android-ndk
ld
2votes
0answers

CaptureSessionController.mm in AVCaptureToAudioUnit won't record wav, aac or mp3 files

I'm using sample code of AVCaptureToAudioUnit to record voice using iPhone as a microphone. I used this example as a starting point because I had more success with this sample project than with other sample projects. When the file is .aif or .caf the demo app runs fine but when [...] read more
mp3
wav
aac
caf
2votes
0answers

Universal App with localized app name crashes

After a small update to my app, it crashes quite often with the following stack trace: Frame Image Function Offset 0 KERNELBASE.dll RaiseException 0x00000036 1 mrmcorer.dll Microsoft::Resources::ReportFatalException 0x00000052 2 mrmcorer.dll Windows::ApplicationModel::Resources::Core::CResourceManagerFactory::get_Current 0x0002b1b0 3 mrmcorer.dll Windows::ApplicationModel::Resources::Core::CResourceManagerFactory::GetCurrentResourceManagerInternal 0x0000004a 4 mrmcorer.dll _GetResourceManagerForCurrentApplicationInternal 0x00000026 5 mrmcorer.dll GetStringValueForManifestField 0x00000140 6 twinapi.appcore.dll Windows::ApplicationModel::Core::CoreApplication::SetAppDisplayName 0x00000048 7 twinapi.appcore.dll [...] read more
windows-phone-8.1
win-universal-app
2votes
0answers

mspgcc-size ROM/RAM usage in percentage

With mspgcc-size I can get an output like this: text data bss dec hex 13072 236 65296 78604 1330c We know that: Flash = data + text RAM = data + bss How can I extract the size of ROM/RAM from the selected -mmcu=msp430g2553 with the toolchain? e.g. ROM: 8192 [...] read more
microcontroller
avr-gcc
toolchain
2votes
2answers

C Returned char from GetSaveFileName() contains null characters

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
c++
char
savefiledialog
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
0answers

ESP32: Guru Meditation Error: Core 1 panic'ed (StoreProhibited)

I've been working on a LED strip lately trying to create all kinds of animations. But one of them has caused quite a lot of trouble. It's meant to be a kind of firework. It usually runs once and when the loop starts a second time the following error comes [...] read more
arduino
esp32
fastled
1vote
0answers

Mongodb suddenly closed connection issue

I have started mongodb using mongod commad afterthat i opened mongo community compass then i have clicked collection names then suddenly mongodb connection closed and getting below error on my command prompt. Why it is happening like this?How to resolve this issue? I have facing this issue very long time [...] read more
mongodb
mongodb-query
1vote
1answer

C# implementation to get SignedCms from signed file

I am having an implementation using C++ CRYPT32.DLL to extract a SignedCms object from a signed c# assembly dll. signed c# assembly [https://i.stack.imgur.com/cRn0Y.png] The certificate used to sign the dll is expired but has a valid certificate chain inside. The important thing is that the certificate consists of three certificates [...] read more
c#
c++
certificate
digital-signature
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
1answer

Enum with Enum elements in Python3

I'm setting an enumeration "A" of possible commands in my Python code. I would also create another enumeration "B" listing some specific commands "A". Thus I tried : class all_commands(IntEnum): SET_ELEMENT_A = 0x00000001 GET_ELEMENT_A = 0x00000007 GET_ELEMENT_B = 0x0000000E SET_ELEMENT_C = 0x00000010 GET_ELEMENT_C = 0x00000011 GET_ELEMENT_D = 0x00000015 class getter_commands(IntEnum): [...] read more
python-3.x
list
enums
1vote
1answer

LPC4088 checksum value for Thumb?

In the LPC4088 user manual (p. 876) we can read that LPC4088 microcontroler has a really extraordinary startup procedure: enter image description here [https://i.stack.imgur.com/6fXvE.png] This looks like a total nonsense and I need someone to help me clear things out... In the world of ARM I've heard countless times to [...] read more
gcc
arm
cortex-m
thumb
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
0answers

Binary incompatibility for Openssl on Raspbian

I have an application that is compiled and dynamically linked with Openssl 1.0.0. Its target was the Raspbian Jessie distro. Running the application on Raspbian Stretch, results in error stating the libssl.so.1.0.0 cannot be found. The version of Openssl on Raspbian Stretch is 1.0.2, but according to Openssl website, these [...] read more
c++
openssl
raspbian
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
4answers

Decoding pcie config space capabilites manually - looking for example

I don't have an o/s running so I can't decode pcie using something like lspci (I wish lspci would take input from a file!). I have a hex dump below (this is a Xilinx Ultrascale FPGA but the question is generic), I'm trying to understand where the capabilities start and [...] read more
pci
pci-e
1vote
2answers

Branching in mips

I'm new to mips and was trying make equivalent instructions from Java: if (x == y) z = 14; else w = 23; I've come up with: .data w: .word 23 x: .word 1 y: .word 1 z: .word 14 .text lw $t1 x lw $t2 y lw $t3 z [...] read more
if-statement
assembly
branch
mips
1vote
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
1vote
0answers

ARM link error when calling a function residing in different memory

I wanted to clean up some code , where a a.c file was included in another b.c file. I wanted to build the a.c file with the whole project , so that all the files in that project can access the functions defined in a.c file. After building the a.c [...] read more
c
arm
1vote
2answers

How to print 32 bit value complete?

I want to know that how to print the complete integer value with zero also in C only. And i am in kernel space ,want to print some values in kernel module. Like if a is a 32 bit integer then int a = 14 then output will be like [...] read more
c
kernel
hex
1vote
1answer

How to Edit COM Library to Provide Method Access

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
c++
com
interop
1vote
1answer

Accessing COM Interface from C++ COM Server that doesn't register via C#

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
c#
c++
visual-studio-2012
com
1vote
1answer

Android player WOWZA server RTSP stream issue

I am streaming rtsp stream from wowza server. My android player is ending up is error many times. I am getting error after playing few seconds or minutes. Here is the error log: 05-26 15:47:27.339: WARN/NEXTREAMING(1458): ERR0:2167 _iConfigLen 0, pVDI- >ebdq.nFilled 0 05-26 15:47:27.339: ERROR/QCvdec(1458): Omx Flush issued when vdec [...] read more
android
streaming
video-streaming
android-videoview
wowza
0votes
0answers

"TPM Storage is not available" and other TPM issues

Three days ago I completely reinstalled Windows, including formatting my drives. Two days ago I installed the Windows Cumulative Update, KB4338819. After doing so, I got a TPM reset request on boot. I eventually did so, but Windows still reported an error. Here is the TPM log from that day: [...] read more
windows-10
windows-10-v1803
tpm
0votes
0answers

Windows 8 doesn't boot: Error 0x0000000e

My Windows 8 does not boot. I get the error 0x0000000e. I already tried to fix the MBR with this tutorial: Every time I run bcdedit.exe /create or bootrec.exe /rebuildbcd I get the error Requested system device cannot be found I can't reinstall Windows 8 because I only have the [...] read more
windows
windows-8
boot
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

Mongodb closed connection after some time with exception: MongoSocketOpenException: Exception opening socket

Os is Windows 10 x64. I'm using db and Spring REST services on localhost. Mongodb closed connection after some time (few minutes or 30 minutes, I don't know what the trigger for closing connection). It mins that my services make CRUD actions with DB till mongodb will close connection with [...] read more
mongodb
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
0answers

Confused about Y86 assembly code memory storage

I've been using an online compiler but I'm not sure why the memory is being split the way it is It's coming out as: 00a8 0000001d 00ac 01000000 when 00a8 should just hold the whole hex value as 0000011d. .pos 0 irmovl $1, %eax # int i = 1 irmovl [...] read more
memory
y86
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
0answers

How to resolve mongodb suddenly close issue

I have started mongodb using this(mongod) command.Then i have opened mongodb compass community.Then if do anything suddenly mongodb closed and getting below the error.I did not use any close script for mongodb in my code.But i am getting below the error.How to resolve this issue. I am using 4.2.8 current [...] read more
mongodb
mongoose
mongodb-query
0votes
0answers

Android studio - exp4j - problem with Equal

I want to create Calculator Application, and I just want to make Equal function with exp4j that will calculate string of characters, but I have problem with this. I don't know exp4j too much and I just don't what to changa, or add to work propertly. bEqual.setOnClickListener(new View.OnClickListener() { @Override [...] read more
java
android
android-studio
0votes
1answer

IDispatch::Invoke pass pointer of typedef struct as argument

I need call function GetRect whose argument is pointer of structure EdmRect which has no GUID: typedef struct tagEdmRect { long mlLeft; long mlTop; long mlRight; long mlBottom; } EdmRect; [ odl, uuid(60F6AEB0-7AEA-49F5-A4EF-DCBB1F2E6284), helpstring("IEdmState7 Interface"), dual, oleautomation ] interface IEdmState7 : IEdmState6 { [id(0x0000000e), helpstring("GetRect")] HRESULT GetRect([out] EdmRect* poRect); }; [...] read more
c
windows
winapi
com
0votes
2answers

Android NDK crazy dependany : needed shared library has a path in it

I am building a ndk code base. I figured out what are the libraries needed and in my android.mk file I have mentioned the same by using LOCAL_LDLIBS += -l$(BASE_PATH)/libicuuc.so and few of them. It builds fine, but when I load it in the android appliation, it says "ucnv_open_52" symbol [...] read more
android
android-ndk
0votes
1answer

C# COM client (RTD)

I'm working with a real time data server (a trading terminal) that has a COM interface for ticker updates. From Excel, I'm able to subscribe to the ticker updates using this - RTD(progId,,topic1,topic2, ...) I'm trying to build an application that will receive these ticker updates without any dependency on [...] read more
c#
com
rtd
0votes
1answer

Add a dependency to an existing shared object library

Say that I have three libraries: libMissingSymbol.so, libMiddle.so, and libSymbolHaver.so. libMissingSymbol contains a symbol defined in libSymbolHaver, but only has a dependency on libMiddle. libMiddle is supposed to have a dependency on libSymbolHaver, but it doesn't. I don't have the source code or unlinked object files that these libraries were [...] read more
c++
linker
ld
0votes
1answer

Python-Pandas Parser for Text Records arranged in non-uniform number of Rows-Lines

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
python
parsing
pandas
text
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

Cannot Enable Autoexposure via V4L2

I am using an ELP-USBFHD01M-L21 camera. It claims to have autoexposure support and when I plug it into my Mac it appears to be so. I downloaded a sample application on OS X that someone wrote that uses the USB Video Class commands to enable/disable autoexposure and it seems fine. [...] read more
python
v4l2
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

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

Cocos2d background sound not playing a second time C++/Win10 UWP

I'm using cocoss2d with c++ on windows 10 and I'm trying to play background music. It works the first time I debug the game but on the second time I hit run it throws these exceptions Exception thrown at 0x765F3E28 (KernelBase.dll) in MiniGolf.exe: 0x000006BA: The RPC server is unavailable. Exception [...] read more
c++11
cocos2d-x
windows-10
0votes
3answers

Java EXCEPTION_ACCESS_VIOLATION while executing batch update from Servlet

I wanted to insert multiple records in MS Access file from java Servlet. The batchupdate runs perfectly for first 10 records but the next batch update gives the following error: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6966ef76, pid=5688, [...] read more
java
sql
exception
servlets
0votes
0answers

the Binary Bomb Phase 5

I'm currently working on the binary bomb lab and I'm very confused. I tried asking my friends and searching online but it seems like that my bomb is different. Dump of assembler code for function phase_5: 0x08048d7e <+0>: push %ebp 0x08048d7f <+1>: mov %esp,%ebp 0x08048d81 <+3>: push %edi 0x08048d82 <+4>: [...] read more
assembly
x86
0votes
1answer

understanding assembly and stack %ebp above vs below

if my assembly code ... 0x08048cc4 <+0>: push %ebp 0x08048cc5 <+1>: mov %esp,%ebp 0x08048cc7 <+3>: push %esi 0x08048cc8 <+4>: push %ebx 0x08048cc9 <+5>: sub $0x20,%esp 0x08048ccc <+8>: lea -0x10(%ebp),%eax // input 3 0x08048ccf <+11>: mov %eax,0xc(%esp) 0x08048cd3 <+15>: lea -0xc(%ebp),%eax // input 2 0x08048cd6 <+18>: mov %eax,0x8(%esp) 0x08048cda <+22>: movl [...] read more
assembly
gdb
stack
0votes
1answer

Failed to setup audio file in apple sample code "AVCaptureToAudioUnit"

I am unfamiliar with Objective-C and audioUnit. I want to make the iOS app which can save the audio signal from the microphone through some audioUnit effects that sound in the device. so now I am trying to study apple's sample code "AVCaptureToAudioUnit" https://developer.apple.com/library/ios/samplecode/AVCaptureToAudioUnit/Introduction/Intro.html (build with Xcode 6.1 and simulator [...] read more
ios
objective-c
xcode
core-audio
audio-recording
0votes
1answer

Goertzel algorithm giving infinite result

I have a sinewave at 20hz - 1 amplitude that I have created using Audacity software. It is also only 500ms. I am using following algorithm to detect the frequency. All I want to detect if tone amplitude passes a threshold and gives me positive result at 20 hz frequency [...] read more
ios
c
audio
signal-processing
dft
0votes
0answers

gcc static libstdc++ for redistributing a library

I've run into a problem using OpenNao from Aldebaran's Gentoo (2.1.2.17) version. It uses gcc-4.5.3 and refuses to upgrade to a newer GCC version via emerge. However, both ROS and our framework relies on C++11, and has features which C++0x doesn't cover. I've downloaded, built and installed in a home [...] read more
c++11
gcc
static-libraries
static-linking
0votes
2answers

Dynamic .so vs so.NUMBER libraries loading on Android/Linux

I was compiling gstreamer 1.4.4 from source, by using configure --host=arm-linux-androideabi flag to get the ARM .so and .a binaries. Then I used gst-android 0.10 build tools to link libraries into gstreamer_android.so. That works fine. The problem is that I don't know how to deploy the gst-rtsp-server.so on Android. All [...] read more
android
linux
gcc
shared-libraries
0votes
1answer

Test value of LPTSTR

I have two strings I want to compare. I was following the named piper server/client example of this page: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365592%28v=vs.85%29.aspx Anyhow, in my "GetAnswerToRequest" I define a string like so LPTSTR option = TEXT("THIS IS A TEST"); and then I try to compare it to the pchRequest parameter, which is [...] read more
c
winapi
0votes
2answers

WinDbg with dump files when you have a classic ASP app which uses a lot of .Net via interop

Ok, first please don't ask why this application is the way it is. This is a classic ASP application which in several areas uses .Net and COM and some of that .Net also reaches into COM! It's all to do with code reuse really, at some point .Net was introduced [...] read more
.net
memory-leaks
asp-classic
windbg
0votes
1answer

import error running picam on a raspberry pi

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
python
raspberry-pi
importerror
0votes
1answer

Why would app try to save to PLSharedManagedObjectContext?

The following is a crash report I received from my crash reporting service, HockeyApp. The reason for the failure is a failure to save in PLSharedManagedObjectContext. I (think) I am doing all of my saves in the main app delegate managedObjectContext. Why is the PLSharedManagedObjectContext the one being saved to? [...] read more
core-data
ios7
uiimagepickercontroller
photolibrary
managedobjectcontext
0votes
1answer

MIPS assembly program ERROR Exception 4 [Address error in inst/data fetch]

I am trying to convert MIPS code into ARM code, this is not an issue its that I am getting a gnarly exception I'm hoping someone can explain whats wrong and what to do about it. the program is passed a0 which is a pointer to the mips binary instruction [...] read more
mips
0votes
1answer

cocos2d duplicating sprites bug

i have an app using cocos2d, Im moving some sprites and having animations when touched, it works fine until i load another view and come back again, then when I move the sprites some random sprite will get duplicated when moved, Please note the button that goes to the other [...] read more
ios
cocos2d-iphone
sprite
-1votes
1answer

Defusing a Binary Bomb: phase_5

Here is my understanding of what the code is doing, and how I'd like to solve it: First I need to find a string, and then reverse engineer that string, based on the 16-byte lookup table that I have found. I do know that the values of these "offsets" must [...] read more
assembly
x86
reverse-engineering
-1votes
3answers

c, obj c enum without tag or identifier

im learning cocos2d [open gl wrapper for objective C on iPhone], and now playing with sprites have found this in a example, enum { easySprite = 0x0000000a, mediumSprite = 0x0000000b, hardSprite = 0x0000000c, backButton = 0x0000000d, magneticSprite = 0x0000000e, magneticSprite2 = 0x0000000f }; ... -(id) init {... /second sprite TSprite [...] read more
objective-c
c
ios
enums
-2votes
1answer

How to install mongodb for windows 10

I am trying to install mongodb in my windows 10 system.But i am getting this error.I have downloaded mangodb 4.2.8 as a zip and i tried to install.Also i have tried with mongodb.exe file but no use same error getting again.So i am not able to install. If anyone knows [...] read more
mongodb
mongodb-query
-2votes
1answer

why cc "real time" >> "real time"?

I am having a problem with c compiler When compiling a simple hello world, user time is >>> real time. Here the comparison of times between two machines. It should be noted that the machine is not performing any other task, and the other operations run quickly (even other compilers) [...] read more
c
compiler-construction
solaris
cc
-3votes
1answer

Memory addresses

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
c
debugging
gdb
buffer-overflow

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