Windows error 0x00000012, 18

Detailed Error Information

NO_MORE_FILES[1]

MessageThere are no more files.
Declared inwinerror.h

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

TRAP_CAUSE_UNKNOWN[2]

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

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 Code18 (0x0012)

Questions

15votes
4answers

Android - failure on loading library

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
java
android
jni
native
14votes
4answers

Unhandled Exception in Rad Studio Debugger Thread

I have a large application that recently started exhibiting rather strange behavior when running in a debugger. First, the basics: OS: Windows 7 64-bit. Application: Multithreaded VCL app with many dlls, bpls, and other components. Compiler/IDE: Embarcadero RAD Studio 2010. The observed symptom is this: While the debugger is attached [...] read more
c++
exception
dll
c++builder
c++builder-2010
8votes
0answers

Fixing crashes Windows Phone apps with crashinfo of dev dashboard

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

ARM Assembly backtrace PC offset

The ARM manual mentions that: > During execution, PC does not contain the address of the currently executing instruction. The address of the currently executing instruction is typically PC-8 for ARM, or PC-4 for Thumb. Does this apply for PC values in crash backtraces as well? For example, if I [...] read more
android
assembly
arm
stack-trace
7votes
1answer

Generating IL for double arrays

I’m writing some IL institutions for creating int and double arrays using System.Reflection.Emit name space. For creating int array I’m using following code. LocalBuilder arr = gen.DeclareLocal(typeof(int)); gen.Emit(OpCodes.Ldc_I4_1); gen.Emit(OpCodes.Newarr, typeof(int)); gen.Emit(OpCodes.Stloc, arr); gen.Emit(OpCodes.Ldloc, arr); gen.Emit(OpCodes.Ldc_I4_0); gen.Emit(OpCodes.Ldc_I4, 500); gen.Emit(OpCodes.Stelem_I4); gen.Emit(OpCodes.Ldloc, arr); gen.Emit(OpCodes.Ldc_I4_0); gen.Emit(OpCodes.Ldelem_I4); gen.Emit(OpCodes.Call,typeof(Console).GetMethod("WriteLine",new Type[]{typeof(int)})); It’s working as expected and prints [...] read more
c#
il
6votes
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++
jni
native
6votes
2answers

Cross-Compiled GNU ARM (BeagleBoneBlack) from Windows. Runtime Error on *.elf: "No such file or directory"

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
c++
linux
cross-compiling
beagleboneblack
toolchain
6votes
2answers

Why does this method throw a Segmentation fault?

I am using the jsmn JSON parser (source code) to get some text from a JSON. jsmn stores the data in tokens, but the tokens do not hold any data, they just point to the token boundaries in JSON string instead. For example, jsmn will create tokens like: * Object [...] read more
c
json
parsing
segmentation-fault
token
6votes
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
6votes
1answer

How to compile library with source code with NDK tools?

How to compile library with source code ? I am developing the native library with android ndk. Sometimes I got the crash dump messages from logcat. 06-18 15:24:58.545: INFO/DEBUG(24667): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 06-18 15:24:58.545: INFO/DEBUG(24667): Build fingerprint: [...] read more
android
android-ndk
objdump
5votes
1answer

How to use SetupIterateCabinet with C#

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

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
4votes
4answers

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

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

Source column numbers in DWARF line table

For any element in a C/C++ source file, I would like to be able to determine the corresponding memory location within its compiled executable. Compiling with debug, and using the resulting DWARF information goes a long way towards this, but falls just short of my goal. GCC seems to generate [...] read more
c
debugging
gcc
dwarf
4votes
1answer

libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary

I have been testing prior to submission of an update... from iOS4, and have run into the following... 1) creating PDFs from my app. 2) appears to be inconsistent, as I can create new PDFs without issue in most cases. 3) the crash log indicates a crash at line 341 [...] read more
ios6
crash-reports
core-text
core-foundation
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
1answer

EXC_BREAKPOINT (SIGTRAP) On Application Startup

I have an application that pulls in some RSS Feeds. I first load the app delegate which in turn loads a SplashScreenViewContoller which then figures out which feeds to pull in based on date. This is all great. Everything has been working fine in the Simulator/iPad when running in Debug [...] read more
objective-c
ios
xcode
ipad
crash
4votes
1answer

simple callback in visual c++

I'm a Linux programmer and new to COM programming and I've inherited a program which I'm now trying to modify. I've got an IDL file with the following dispinterface and I'm trying to set up a callback in C++. I've been searching the web and I've found some stuff with [...] read more
events
visual-c++
com
event-handling
callback
3votes
1answer

Upgrade from Windows 7 Enterprise to Windows 8 Enterprise

I tried to upgrade a Windows 7 Enterprise to Windows 8 Enterprise, however it fails a quarter of the way through the initialization process. Could this have something to do with the Assembly cache? This is the error: Error MigGather caught exception: Win32Exception: Falscher Parameter. [0x80070057] void __cdecl Mig::CGACRootEnum::Reset(void) Error [...] read more
windows-7
windows-8
upgrade
3votes
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
3votes
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
3answers

C++ Align by structure size or largest alignment requirement among its members?

Take this structure for example: struct Packing { int x; // 4-byte align int y; // 4-byte align short int z; // 2-byte align char m; // 1-byte align; char _pad[1]; // explicit padding }; The sizeof this structure is 12-bytes. So should store this struct in addresses multiples of [...] read more
c++
memory
2votes
1answer

Programming and configuring the U-boot

First of all, this question is related to the creation of embedded Operating System and, to be exact, with Linux Kernel + u-boot + FSBL + device tree + FS compiled to run on an arm A9. Context: After booting this (just created) OS upon a Zynq device (specifically, a [...] read more
linux-kernel
embedded-linux
hardware
u-boot
device-tree
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
jni
sigsegv
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

mipi csi2 can not receive data correctly! error on capturing video with ov9724 camera and imx6dl microcontroller

I am trying to interface omnivision's ov9724 camera with imx6dl microcontroller. The camera has only mipi interface with a single lane, and I am using only one lane for communication (one differential data lane and a differential clock lane). iMx6dl pin OV9724 pin CSI0_MCLK(P4) - XCLK -> Source clock: **24 [...] read more
android
c
linux-kernel
camera
imx6
2votes
1answer

binary not running on debian wheezy

I am compiling the following assembly program on debian wheezy, but it will not run giving me the error: -bash: ./power: cannot execute binary file CODE .section data .section text .global _start _start: # do first calc and save the answer pushl $3 pushl $2 call power addl $8, %esp [...] read more
assembly
compilation
ld
cpu-architecture
2votes
0answers

cross compilation from ubuntu to Raspberry Pi error: undefined symbol

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

Access Violation (Delphi) - except the first run

I have a POS application written in Delphi, which has been working fine until now. I had to add a webservice client to have some documents validated by the goverment, and even though I had never worked with WebServices/Encryption before, I managed to do it (thanks to the internet really). [...] read more
web-services
delphi
soap
dll
access-violation
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
2votes
1answer

Using sed and awk together to create replacement maps

I'm attempting to reverse engineer some software to gain a better understanding the lower-level workings of the OS. I want to replace the raw address dumps from objdump -d with the corresponding values from objdump -t, something that even the -Dslx option seems to miss. the output from objdump -t [...] read more
bash
shell
sed
awk
objdump
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

libiconv.so.2 could not be loaded

I have problem with Samba on AIX. When I try to run /opt/pware64/sbin/smbd -V I get this error: Could not load program /opt/pware64/sbin/smbd: Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded. Member libiconv.so.2 is not found in archive The result of ldd /opt/pware64/sbin/smbd: /opt/pware64/sbin/smbd needs: /opt/pware64/lib/libldap.so /opt/pware64/lib/liblber.so /opt/pware64/lib/libgssapi_krb5.so /opt/pware64/lib/libkrb5.so /opt/pware64/lib/libk5crypto.so /opt/pware64/lib/libcom_err.so [...] read more
aix
samba
libiconv
1vote
3answers

how to pack mix of (up to 4) uint_8t and int8_t into one uint32_t?

How to write set of macros to pack mix of signed and unsigned byte values (max 4 of them) to one 32-bit variable -------------------------------------------------------------------------------- Motivation: I have (third party) library, which offers function with uint32_t agument, which defacto contains 1-4 bytes, each of them can be signed ot unsigned, depending [...] read more
c++
macros
avr-gcc
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
1answer

Why does interface implementation in Emit with explicit overload behave different for public and non-public?

I've been working with Reflection.Emit for a long time, but this time it just doesn't make sense... Somewhere in my program, I'm implementing interfaces using emit. E.g.: typeBuilder.AddInterfaceImplementation(intf); Because I'm implementing multiple interfaces and interfaces can inherit from other interfaces, I de-duplicate methods/interfaces. (While it isn't related here I'm going [...] read more
c#
.net
reflection
reflection.emit
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
0answers

COM call : OverflowError: Python int too large to convert to C long

I'm trying to call a COM Method using win32com Python (v3.3) library. This method accepts an address and a data to write to that address. SWDIOW(IN addr, IN data) Problem is: accepted size for data is 32bits. When I call this method with such parameters there is no problem: swdiow(0x400c0000, [...] read more
python
com
win32com
1vote
2answers

Can not load shared libraries because major number is given as a part of the library dependency

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
android
gcc
linker
android-ndk
1vote
2answers

Error in my logout section of my program in C#, can i get some help?

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
c#
.net
windows
winapi
logout
1vote
2answers

Cross-compiling for Android

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

xa_open failure with SQLCODE=-1032

I am using a Tuxedo(v12.2.2.0.0) on Linux(x64) to access DB2 on mainframe through DB2 Connect Server(v9.7). Now i meet a problem that the TMS_UDB can not start up。 From Tuxedo ULOG, it says: > ERROR: tpopen TPERMERR xa_open returned XAER_RMERR I checked db2dial log it shows: 2018-XX-XX-xxxx E4387E703 LEVEL: Error [...] read more
db2
0votes
1answer

GDB command 'info sharedlibrary' can't show all the libraries

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
c
debugging
gdb
cross-compiling
0votes
1answer

Why this assemble code occur Segmentation Fault?

Why this code gives segmentation fault? (It coded by Intel Assemble syntax) The result is like this. return value : 80 [Dump] eax : 0x00000012 ebx : 0x00000004 ecx : 0x00000400 edx : 0x4010a980 Segmentation fault (core dumped) I think I have enough code to prevent Segmentation Fault. Every function [...] read more
assembly
segmentation-fault
nasm
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
0answers

Linker script location counter invalid value

I am writing a linker script as: SECTIONS { . = 0x100000; .phys . : { *(.phys.text) *(.phys.data) . = ALIGN(4K); } .phys.bss . (NOLOAD) : { boot_stack_bottom = .; . = . + 4K; boot_stack_top = .; *(.phys.bss) } . = . + KERNEL_OFFSET; .boot . : AT(ADDR(.boot) - [...] read more
linker
x86-64
ld
osdev
linker-scripts
0votes
0answers

Attribute Type Invalid PyKCS11

I have python script that essentially mirrors what this Attribute Dump achieves. In my slot number 2 I have a smart card that is recognized by a card reader. The card contains an RSA keypair and an x509 cert, that can be displayed using openssl. There is no problem with [...] read more
python
encryption
digital-signature
pkcs#11
hsm
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
1answer

Cross Compiling GSL for Android

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

How to find out Interval from RecurrenceItem in EWS

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

IE11 crashs on html5-audio in Citrix XenApp7.6 on Ipad Air with iOS 8.1.3

I'm investigating a curious problem with crashing IE11. Our Environment is a website running in IE11 deployed via Citrix Xenapp to iPads with Citrix Receiver. * IE11 11.0.9600.17631 * XenApp 7.6 * Windows 2012 R2 * Citrix Receiver 5.9.4 * iOS 8.1.3 In approx. 10% the cases of opening the [...] read more
html5-audio
internet-explorer-11
citrix
xenapp
0votes
2answers

How can I get all frames of stack traces in "!htrace -diff" result?

It seems that "!htrace -diff" can only show 16 frames. How can I increase the frame counts in the stack traces? The following is one of the handles leaked detected by !htrace -diff. I can't read anything from it without a complete stack trace. Handle = 0x00000f7c - OPEN Thread [...] read more
memory-leaks
windbg
handle-leak
0votes
1answer

SetupDiEnumDeviceInterfaces() always returns false - C# WPF

I am trying to connect to a USB device that is detected as a CDC device on my system using the following code : (I have presented only the part of the code relevant to my problem) The code compiles fine and SetupDiGetClassDevs function runs ok too. But SetupDiEnumDeviceInterfaces always [...] read more
c#
wpf
usb
0votes
2answers

Stacktrace / Stackwalk for the current process and current thread with IDebug interfaces

I want to use the IDebugXXX interfaces to get stack traces for some functions in my local process (no remote attaching). Using this code the attach to the current process works, but the stack trace of the current thread alway contains only one frame like: ntdll!ZwGetContextThread+0x00000012 { IDebugClient* debugClient; IDebugControl4 [...] read more
windows
debugging
c++-cli
stack-trace
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
2answers

How to shift bits across array of ints

Alright, I'll keep this plain & simple. I'm working on a brute implementation of SHA-256 in Java, and to keep the class methods conducive to other classes in the app, I've decided to I/O the data as an array of 32-bit integers (int). Obviously, these kinds of uses rely heavily [...] read more
java
int
bit-manipulation
shift
sha256
0votes
3answers

How to make my Hexadecimal spit out 8 digits(including leading zeros)

So, I wrote a function converting a decimal number into a hexadecimal number by using recursion, but I can't seem to figure out how to add the prefix "0x" and leading zeros to my converted hexadecimal number. Let's say I pass the number 18 into the parameters of my function. [...] read more
c
recursion
decimal
hex
0votes
0answers

iOS App unknown crash issue - [SpeakCorrections key] unrecognized selector

I use BWQuincyManager to log my app's crash records. And I found there are a lot of crashes like this: Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[SpeakCorrections key]: unrecognized selector sent to instance 0x1f835a20' I dont know what "SpeakCorrections" is, it's not in my source code, or others [...] read more
iphone
ios
exception
crash
0votes
1answer

Objective-C, NSArray from executableArchitectures

I'm trying to determine the architecture of another file from my application. I'm using my application bundle and comparing it to a different bundle in my example. The methods are in place and they do return values to NSLog, although they are not the values I was expecting. Can anyone [...] read more
objective-c
nsbundle

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