Windows error 0x0000000F, 15

Detailed Error Information

INVALID_DRIVE[1]

MessageThe system cannot find the drive specified.
Declared inwinerror.h

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

SPIN_LOCK_ALREADY_OWNED[2]

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

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 Code15 (0x000f)

Questions

75votes
5answers

How to stop MinGW and MSYS from mangling path names given at the command line

On Windows, I'm cross-compiling a program for ARM/Linux using CodeSourcery's cross-compiler suite. I use MinGW MSYS as my command interpreter, and very often it will mangle my paths and pathnames. For example, to build my program, I invoke arm-none-linux-gnueabi-gcc.exe -Wall -g \ -Wl,--dynamic-linker=/usr/lib/myrpath/ld-linux.so.3 \ -Wl,-rpath=/usr/lib/myrpath \ -I../targetsysroot/usr/include \ myprogram.c -o [...] read more
gcc
mingw
cross-compiling
rpath
codesourcery
35votes
16answers

Fast divisibility tests (by 2,3,4,5,.., 16)?

What are the fastest divisibility tests? Say, given a little-endian architecture and a 32-bit signed integer: how to calculate very fast that a number is divisible by 2,3,4,5,... up to 16? WARNING: given code is EXAMPLE only. Every line is independent! Just obvious solution using modulo operation is slow on [...] read more
c++
c
math
assembly
bit-manipulation
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
34votes
1answer

How VPN works in Android and List of APIs available? (lollipop)

REFERENCE: Android 4.0 has an API to build VPN services. 1. VPNService (Android Docs) 2. VPNService.Builder (Android Docs) 3. Arne Schawbe's Implementation of OpenVPN for Android (github) One such app with a VPN service is NetMotion Mobility® (Google Play) Beginning with the "Lollipop" version, Android come with a new VPN [...] read more
java
android
ip
vpn
tunneling
23votes
3answers

rpath=$ORIGIN not having desired effect?

I've got a binary "CeeloPartyServer" that needs to find libFoundation.so at runtime, on a FreeBSD machine. They're both in the same directory. I compile (on another platform, using a cross compiler) CeeloPartyServer using linker flag -rpath=$ORIGIN. > readelf -d CeeloPartyServer |grep -i rpath 0x0000000f (RPATH) Library rpath: [$ORIGIN] > ls [...] read more
gcc
linker
freebsd
rpath
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
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
6votes
7answers

Why Does C++ Support Hex Assignment, But Lack Binary Assignment? How best to store flags?

I have a set of bit flags that are used in a program I am porting from C to C++. To begin... The flags in my program were previously defined as: /* Define feature flags for this DCD file */ #define DCD_IS_CHARMM 0x01 #define DCD_HAS_4DIMS 0x02 #define DCD_HAS_EXTRA_BLOCK 0x04 ...Now [...] read more
c++
binary
inline
variable-assignment
flags
5votes
4answers

Why memcpy/memmove reverse data when copying int to bytes buffer?

So, my question is pretty simple: I need to fill a char/unsigned char array with some information. Some values in the middle are taken from short/int types and this is what happens: Code: int foo = 15; //0x0000000F unsigned char buffer[100]={0}; .. memcpy(&buffer[offset], &foo, sizeof(int)); //either memmove ... Output: ... [...] read more
c++
c
5votes
1answer

Python IDLE crash only on second monitor. Tcl/Tk compatibility issue?

OS X 10.10.1 Python 3.4.2 ActiveTcl 8.5.17 Hi All, Have a strange issue with IDLE crashing when using open parenthesis '(', specifically when using it after 'input'. It only seems to occur when the IDLE window is on my second monitor (LG IPS226). I can safely type the same characters [...] read more
python
macos
tkinter
python-idle
5votes
2answers

Where is const data stored?

For example: In the file demo.c, #inlcude<stdio.h> int a = 5; int main(){ int b=5; int c=a; printf("%d", b+c); return 0; } For int a = 5, does the compiler translate this into something like store 0x5 at the virtual memory address, for example, Ox0000000f in the const area so [...] read more
c++
5votes
0answers

watchOS2 Notification Simulator

I encountered a strange bug from simulator of watchOS2 on XCode. I handled a notification using UILocalNotification and modified storyboard of static notification. But when I check a value "Wants Sash Blur" and build, It makes an error related with "Carousel.app"(like an unexpectedly stopped.) However, When I turn off that [...] read more
ios
xcode
swift
watchos-2
5votes
3answers

And bitwise operation gets negative value

I have this code: int code = 0x92011202; int a = (code & 0xF0000000) >> 28; int b = (code & 0x0F000000) >> 24; // .. int n = (code & 0x0000000F); But if most significant bit of code is equal to 1 (from 9 to F) a comes negative [...] read more
java
4votes
5answers

how to replace given nibbles with another set of nibbles in an integer

Suppose you have an integer a = 0x12345678 & a short b = 0xabcd What i wanna do is replace the given nibbles in integer a with nibbles from short b Eg: Replace 0,2,5,7th nibbles in a = 0x12345678 (where 8 = 0th nibble, 7=1st nibble, 6=2nd nibble and so [...] read more
c
bit-manipulation
bitwise-operators
bit-shift
bitmask
4votes
1answer

Wicked PDF silently fails on OS X

With the same code and gem versions, it works just fine in Ubuntu (14.04, 64bit). Currently I am using: * wkhtmltopdf-binary gem v0.9.9.1 * wicked_pdf gem v0.10.2 * Rails 4.1.1 * Ruby 2.1.3 * OS X 10.10, 64-bit When I tried to generate PDF from Rails, i get the error [...] read more
ruby-on-rails
macos
wicked-pdf
3votes
1answer

Configuring UART1 in lpc 2468

I am working on lpc2468 ARM-based microcontroller. I am not able to configure the UART1 of the controller. Previously I was using UART0 for the same purpose, but due to some changes in hardware now I have to use UART1. I want to connect GPRS module (SIMCOM 300) to the [...] read more
arm
3votes
5answers

Trailing Zeros - C

I need a program that returns the number of trailing zeros in the binary rapresentation of a number. I found online a function written in C but I don't understand how it works This is the function: unsigned tzr(unsigned x) { unsigned n; /* number of bits */ n = [...] read more
c
bitwise-operators
trailing
3votes
1answer

classic BPF on Linux: filter does not work

I'm trying to test classic BPF for packet filtering by attaching it to raw socket. I want to catch TCP packets with first byte of source port == 8 (tcpdump 'tcp[1:1] = 0x50'), but I see no incoming packets on the socket. Without filter my code works OK. Here is [...] read more
c
linux
sockets
networking
bpf
2votes
1answer

Why is paging not working and getting physical address not available error on Bochs

I have the following assembly code to set up paging for long mode. org 0x7e00 bits 32 mov eax, 0x08000008 mov cr3, eax pml4t: mov dword [0x8000], 0x0900000f mov dword [0x8004], 0x0 pdpt: mov dword [0x9000], 0x0a00000f mov dword [0x9004], 0x0 pdt: mov dword [0xa000], 0x0b00000f mov dword [0xa004], 0x0 [...] read more
assembly
x86
paging
bootloader
2votes
4answers

STM32F4 USART1 doesn't work correctly and return garbage data

I am trying to work with STM32F407 USART1 peripheral but it doesn't work correctly. I have read the datasheet for many times but i couldn't find any solution. I use FTDI232 for the communication. My connections are correct, i use this connection on MSP430. In the code, i don't use [...] read more
stm32
uart
stm32f4discovery
stm32f4
usart
2votes
3answers

How do I cast int** to void**?

With the following snippet: int n = 11; int* c = &n; void** v = &c; I receive the following error in visual studio: > the value of type int** cannot be used to initialize an entity of type void > **. This works fine: int n = 11; int* [...] read more
c++
casting
void
void-pointers
2votes
1answer

Static linking of OpenSSL Crypto in CMake

I need to make a cross-compiled OpenSSL for a MIPS device. I've tried following the documentation. Set OPENSSL_USE_STATIC_LIBS to true and set target_link_libraries to the library files you need. CMakeLists.txt: compileAsC99() if(NOT ${use_http}) message(FATAL_ERROR "program being generated without HTTP support") endif() set(program_c_files ... ) set(program_h_files ... ) include_directories(...) add_executable(program ${program_c_files} [...] read more
cmake
openssl
static-linking
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
0answers

Getting error while connecting to restcomm server bind 0x0000000F: "System ID invalid"

I have two different systems running restcomm smsc gw. I'm trying to configure one as a server side and other as client side. Logs for both PC are given below: SERVER ERROR 10:40:32,975 INFO [SmppServerConnector] (SmppManagement) New channel from [172.31.130.126:33712] 10:40:33,020 INFO [UnboundSmppSession] (SmppManagement.UnboundSession.172.31.130.126:33712) received PDU: (bind_transceiver: 0x0000002F 0x00000009 0x00000000 [...] read more
restcomm
2votes
0answers

apple watch notification scene is not opening in simulator in xcode 7.0

I am working on apple watch app..Main Watch App & glance scene are loading perfectly in simulator but when i try to open Notification scene, simulator is getting crashed with error Carousel quit unexpectedly..I am not able to fix this issue..following is crash report i get..thanks in advance Process: Carousel [...] read more
ios9
xcode7
apple-watch
watchos-2
2votes
3answers

Weird iOS crash

I'm having a very intermittent crash happen in release build on device only. Here's the relevant part of the crash log: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000f Crashed Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 Crashed: 0 libobjc.A.dylib 0x357c6fbc objc_msgSend + 16 1 CoreFoundation [...] read more
iphone
ios
crash
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
1answer

What information does new[] save?

I have read here How does delete[] "know" the size of the operand array? that before the allocated memory it is saved how much memory it was allocated. I allocated an array of integers, set each element to value 15 and inspected the heap. First I allocated an array with [...] read more
c++
gdb
1vote
0answers

static network connection between two debians

I am having a big trouble in setting a simple static connection between two computers (two Debians, say A and B). I know, in principle, how to do it, and have done properly for computers B and C (all Debians). However, configuring A is the main goal. Whenever I connect [...] read more
debian
static-ip
static-routes
1vote
5answers

Why no effect of calling functions with void keyword?

I need to write quite simple program which makes LED diode flashes using processor ARM AT91SAM9263. I need to run this code using QEMU emulator, which is installed on my Ubuntu machine. I am trying to write a program with 4 functions, which are initializing LED ports and Buttons ports, [...] read more
c
ubuntu
arm
qemu
atmel
1vote
2answers

a write function throwing the exception of read access violation in visual studio c++

I tried writing to a file and I am unable to write to it due to "Access violation reading location 0x0000000F" I am able to isolate the problem here is the sample code: void test_1() { std::fstream fio{ "xyz.dat",std::ios::in | std::ios::out | std::ios::binary | std::ios::app }; if (!fio) { std::cerr [...] read more
c++
visual-c++
c++17
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
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

No View Found for ID while adding fragment even though findViewById returns fine

I am getting this error while adding a fragment to GridLayout. The method getFieldContainer searches an existing layout or inflates a new one for the category name and then returns its GridLayout container. findViewById returns a valid layout but still fragment is unable to find the view with the same [...] read more
android
android-fragments
1vote
2answers

svnX not working on MAC, Its always crash while opening

I am using svnx 1.3.4 on MAC , From yesterday it stopped working. I am getting below error. Let me know whats worn there. Process: svnX [750] Path: /Applications/svnX.app/Contents/MacOS/svnX Identifier: com.lachoseinteractive.svnX Version: 1.3.4 (1.3.4) Code Type: X86 (Native) Parent Process: launchd [182] Responsible: svnX [750] User ID: 501 Date/Time: 2014-04-01 [...] read more
macos
svnx
1vote
1answer

Convert OS X code to iOS

I'm trying to write OS X code to iOS Objective-C. I have code written for OS X and I want to use that code in iOS. I am not sure how to write the below code for iOS. I converted below code but I am getting warnings can only one [...] read more
ios
objective-c
macos
1vote
0answers

Processing .ELF with multiple headers for ARM Dissembler

I'm writing a simple ARM dissembler which takes an ELF file and reverts it back to its ARM instructions. I'm having an issue with processing the ELF files which contain multiple program headers I have an example .elf file to demonstrate this but I’m unsure where to upload it. I [...] read more
assembly
arm
elf
disassembly
1vote
0answers

silverlight on mac oob

I try to launch oob demo of microsoft silverlight and it hangs on 100% (on mac safari) when i click on silverlight preferences it crashes with the following error: what is the exact problem? what should i do to make it happen? very frustrated Process: Silverlight Preferences [589] Path: /Library/Internet [...] read more
.net
macos
silverlight
1vote
1answer

Wrong SHA-1 hash

I'm planning to use AVR-Crypto's SHA-1 implementation for HMAC. However, I can't seem to generate the correct SHA-1 sum. For instance, if I call the function with the following unsigned char sha1sum[20]; char *msg = "FFFFFFFFFF"; sha1( sha1sum, msg, strlen(msg)); I get 000000000000000000002C002312290000000029 rather than the expected c1bb92851109fe950a2655fa1d4ba1d04719f6fb. Does anyone [...] read more
c
encryption
cryptography
sha
1vote
0answers

Spark datagrid crash on sort column only in release (updated with temporary fix)

Having some trouble for some time with this, wondering if some more eyes on the problem will help. This is a standalone Air application for Windows/Mac UPDATE: I can get the release version to actually sort and not crash! If I add the compiler flag (-optimize=false) it works as intended. [...] read more
actionscript-3
apache-flex
datagrid
air
flex-spark
1vote
0answers

Build is Crashing on Start

How can I get to the bottom of what's going on in this crash report? Is there something specific that might point to what I might have done wrong? It runs fine in Unity when I play it. Where might be a good place to start debugging things? Process: RollBallRoll [...] read more
c#
macos
unity3d
crash
unity5
1vote
1answer

Eclipse Android project SVN checkout: folder locked

Trying to check out my Android project from an SVN repository, I got the following error: 0x0000000f: The folder 'E:\workspace\mc-01-02\project.properties' is locked by some external process. Please unlock the folder and try to check out the project again. project.properties actually is a file, not a folder. As a test, I [...] read more
android
eclipse
directory
subversive
locked
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
2answers

Cocos2d-x 3.2 Physic Engine: Physic Bodies contact not exactly

I'm a newbie of Cocos2d-x 3.2 Physic Engine (as Cocos2d-x said, this engine is base on Chipmuk). I made a sample "Egg shooting" game of Popcap. When detecting contact of 2 eggs, I met a problem, dynamic 'egg' seems sink to static 'egg' when contact event is throwed. I set [...] read more
cocos2d-x
game-physics
cocos2d-x-3.0
0votes
0answers

Please explain what the Error with OS X 10.10.2 and MacWinDjVu (does not open any more) is and how to solve it

Please explain what the Error with OS X 10.10.2 and MacWinDjVu (does not open any more) is and how to solve it. I use DjVu regularly, and until today I did not have any problem. I just turned on my MacBook Pro, tried to open a .djvu file and this [...] read more
macos
crash
osx-yosemite
djvu
0votes
1answer

Linux: How can I run multiple wine versions in a multilib enviroment?

I'm running Slackware 64 14.0 with 32 bit multilibs. Numerous sites have explained that it is impossible to run multiple versions of wineserver and that the solution is to kill the old version of wineserver to use the new version. A select few sites have mentioned that it is possible [...] read more
linux
64-bit
wine
0votes
0answers

Windows Time service won't synchronize

I'm posting my problem here because even with all the post I could read to fix this, the w32tm still give me the same error message when trying to synchronize the computer time with a local NTP server (which is a PLC). Here's a quick explanation of the situation : [...] read more
windows
synchronization
windows-services
wireshark
ntp
0votes
0answers

32-Bit LFSR Encryption on a String in C++

I am trying to implement a LFSR to encrypt a string, but the catch is is that only on the 8th step of the LFSR is when the lowest byte is collected. My current code encrypts correctly (I believe), but not in the format I would like. I have to [...] read more
c++
algorithm
lfsr
0votes
5answers

How to fix error “SQL Server (MSSQLSERVER) stopped automatically?

I am not able to login in my SQL server. I am getting this error message when I am trying to connect it. > A network-related or instance-specific error occurred while establishing a > connection to SQL Server. The server was not found or was not accessible. > Verify that [...] read more
sql-server
sql-server-2014
0votes
1answer

How to get EndRecurrenceDate using microsoft graph api

I am trying to get EndRecurrenceDate using ms graph api by referring this documents .link 1 none of followings didn't work for me . what could be the reasons https://graph.microsoft.com/v1.0/me/events/{event-id}==?$expand=singleValueExtendedProperties($filter=id eq 'String {6ED8DA90-450B-101B-98DA-00AA003F1305} Id 0x0000000F') . I chnaged expand query but it also does not give any value for singleValueExtendedProperties [...] read more
microsoft-graph-api
mapi
microsoft-graph-calendar
extended-properties
0votes
1answer

Read a packed decimal (Comp-3) number value which is 8 characters; but holds a 13 digit number and convert to 13 digits numeric value

I am seeking code to read a text file which is in packed decimal (Comp -3) numeric value which was created in main frames system and is 8 characters, but holds a 13 digit number in packed decimal format. I came across below code private Decimal Unpack(byte[] inp, int scale) [...] read more
c#
.net
comp-3
packed-decimal
0votes
0answers

Problem: Raspberry Pi to NXP MPC5744p over SPI

I am currently trying to get SPI data transfer between the MPC5744p and a Raspberry Pi 4 to work. I'm using the SPIdev python toolkit to send the value 26 over to the MPC, using the following SPItest.py script. import spidev import time spi = spidev.SpiDev() spi.open(0,0) spi.max_speed_hz = 7629 [...] read more
c
raspberry-pi
embedded
spi
powerpc
0votes
1answer

ARM Assembly increasing number with push button

I want to ask you a question about ARM Assembly, .global _start _start: .equ COOL, 0x393f3f38 .equ KEY_BASE_ADRESS, 0xFF200050 .equ S_SEGMENT_BASE_ADRESS, 0xFF200020 LDR R1, =KEY_BASE_ADRESS LDR R2, =S_SEGMENT_BASE_ADRESS MOV R8, #0x0000000F // Register that holds the number MOV R5, #0// R5 holds the number obtanined from player CHECK_SWITCH: LDR R6, [...] read more
assembly
arm
0votes
1answer

Getting PidLidEndRecurrenceDate value using Ews

What is the correct way of getting PidLidEndRecurrenceDate values using Ews. below code does not give proper result. property details that i am looking is https://docs.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-oxprops/816378cf-07ef-4926-b7d2-53475792403d ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2013_SP1); service.Credentials = new WebCredentials("X@X.com", "XXX"); service.Url = new Uri("https://outlook.office365.com/EWS/Exchange.asmx"); ItemView view = new ItemView(10); Guid MyPropertySetId = new Guid("{6ED8DA90-450B-101B-98DA-00AA003F1305}"); [...] read more
exchangewebservices
ews-managed-api
0votes
1answer

How do I create multiple common FPGA structures in kristen?

I am trying to use Kristen to generate FPGA host verilog and a C++ source software to access the FPGA host. The problem is that I have a several chunks of common registers for controlling several neurotrophic processor instances (which are parametrizable) and I don't want to just make copies [...] read more
verilog
fpga
0votes
0answers

PHP RSA public encrypt not matching C# encrypt

I Am trying to replicate the RSA public key encryption a C# project is using with PHP I am using this code using C# and a public key. public static RSACryptoServiceProvider DecodeX509PublicKey(byte[] x509key) { byte[] SeqOID = { 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x01 }; MemoryStream ms [...] read more
c#
php
openssl
rsa
0votes
1answer

MPICH mpiexec (MPI) process terminating upon error, unable to debug in lldb

EDIT I had a typo in my command to launch lldb (see comment below) and I'm updating the post to get to a different larger issue I'm trying to debug my MPI application in lldb and upon an error (e.g., segv or abort). Here's how I'm invoking my mpi run: [...] read more
mpi
lldb
mpich
0votes
0answers

Why does address range 0xC0000000 ~ 0xFFFFFFFF always give 0x00 or 0xFF after switching to protected mode before enabling paging?

I'm making a custom boot loader, and currently in the stage of enabling paging after switching to protected mode. I tried to check all memory range is usable from 0x00000000 to 0xFFFFFFFF to make sure my kernel has full control over memories. Checking is done by copying value to the [...] read more
x86
nasm
memory-address
bootloader
osdev
0votes
1answer

Controlling brushless dc motor with using stm32f407 board

By the way, I am so sorry about my english if I couldn't explain properly what I am doing .I am making a project that controls brusless dc motor with stm32f407 development board. First, I controlled brushless dc motor with arduino and observed pwm output pin on the oscilloscope screen. [...] read more
c
stm32f4discovery
0votes
1answer

I need to use stm uart module

I would like to use usart communication on STM by using following code. I take this code from website.There are two buffers that stores rx and tx values. I can transmit data from tx buffer but when I connect GPIOB10 and GPIOB11(rx and tx pins) each other. I couldn't see [...] read more
c
uart
stm32f4discovery
0votes
1answer

comprehension to change nested list to list of dictionaries

I've massaged the data into the list structure… [['keychain: "keychainname.keychain-db"', 'version: 512', 'class: 0x0000000F ', 'attributes:\n long string containing : and \n that needs to be split up into a list (by newline) of dictionaries (by regex and/or split() function) '], ['keychain: "keychainname.keychain-db"', 'version: 512', 'class: 0x0000000F ', 'attributes:\n long [...] read more
python
list
dictionary
list-comprehension
dictionary-comprehension
0votes
0answers

NASM assembly modification guidance

I am trying to figure out how to modify the following code and need to also modify the code. I am unsure how to do, as we have not covered this topic in my classes. I could really use some explanation on how to modify the code to meet the [...] read more
assembly
x86
nasm
0votes
3answers

T-SQL convert INT to BOOLEAN array

I have an int type data (an INT number like 15). To convert this into a 5 bits boolean array it becomes [1,1,1,1,0] I have tried SELECT CAST(15 AS binary(5)) But I get a hex value instead: 0x0000000F I would like to be able to select the corresponding bits, so [...] read more
arrays
sql-server
tsql
int
boolean
0votes
1answer

How to run app linked with glibc.so on android

compiler is gcc-linaro-5.5.0-2017.10-i686_arm-linux-gnueabihf.tar.xz, app run on armv7 android4.4 device My C code is test.c, #include"stdio.h" int main(void) { printf("starting...\n"); return 0; } If i compile it use command: arm-linux-gnueabihf-gcc -o test_s test.c -g -Wl,-rpath=.:./lib -Wl,-rpath=.:./lib -Wl,-q -Wl,-dynamic-linker=ld-2.21.so -static it can work well: root@test:/data/mine # chmod 555 test_s root@test:/data/mine # ./test_s [...] read more
gcc
glibc
0votes
0answers

SQL Server 2016 Error: 18456, Severity: 14, State: 38

While trying to install SQL server 2016 in my machine I came across following error: > Msg 18456, Severity: 14, State: 38 Please have a look at the log: 2017-10-12 11:24:15.51 Server Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64) Oct 28 2016 18:17:30 Copyright (c) Microsoft Corporation Express [...] read more
sql-server
0votes
1answer

Does Unsigned interger is playing a crucial role here in this code?

I am trying to find number of trailing zero's in a number in java. I got this code from hacker's delight. But can't understand it. As per hackers delight(Section 5-4) this should give the number of Trailing zeros. int numOfTrailingZeros=32-numOfLeadingZeros(~(n&(n-1))) I tried for 56 its giving me 32. Here is [...] read more
java
bit-manipulation
bitwise-operators
0votes
1answer

Trouble understanding registers x86

I've been trying to teach myself how to accomplish certain tasks in assembly. Right now, I am working on trying to detect palindromes. I know I could use a stack, or possibly compare strings using Irvine's library, but I'm trying to do it via registers. The problem is, when it [...] read more
assembly
x86
irvine32
0votes
1answer

`cgpdftoraster` failure on Mac 10.11.6

I am trying to resolve a printing error for a relative's Mac. The OS is 10.11.6, and I infer from her story that the printer (Epson Artisan 730) stopped working around the time of 10.11.6's release. When I attempt to print, the print queue shows the job with a "Filter [...] read more
macos
printing
0votes
1answer

Difference between Sign-extends the immediate vs Zero-extends the immediate

To my understanding: Zero-extends the immediate- will pad the immediate with zeros from left, so: ori $t1, $0, 0xF result: 0x0000000F Sign-extends the immediate - will pad the immediate with the most significant bit, so: addi $t1, $0, 0xF result: 0xFFFFFFFF I am obviously wrong, but why? read more
assembly
mips
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

CGLayerRef turns out empty only in OS X 10.11 (El Capitan)

I have an image editing application, that has been working through 10.10, but in 10.11 a bug came up When I view a CIImage created w/ -imageWithCGLayer, it shows as an empty image (of the correct size) only in 10.11 CGSize size = NSSizeToCGSize(rect.size); size_t width = size.width; size_t height [...] read more
objective-c
cocoa
cgcontext
ciimage
osx-elcapitan
0votes
1answer

FMOD Debian libfmod.so.8: cannot open shared object file: No such file or directory

I'm trying to install and validate fmod on my raspberry pi 1 model b with debian by running the provided example program play_stream. The compilation works fine however when I try to run the built executable it fails with the error > error while loading shared libraries: libfmod.so.8: cannot open [...] read more
c++
raspberry-pi
debian
linker-errors
fmod
0votes
6answers

c++ mysql sqlstring crashes 0xC0000005 unable to read memory

I've been looking for this error in several places and the only thing I found is maybe is a wild pointer problem, but don't know how to solve. The question is c++ connector works fine (after hard working) connects to mysql database, retrieves information, but every time that uses string [...] read more
c++
mysql
string
0votes
2answers

What is the purpose of this bitwise operation? (mWidth + 0x0000000F) & ~0x0000000F;

Here is the line of code I'm confused at: mMaskRowBytes = (mWidth + 0x0000000F) & ~0x0000000F; ~ is the NOT operator right? Let's say mWidth is 960, or 1111000000 So what we get here is 00000000000000000000001111001111 & 11111111111111111111111111110000 which would just result in 00000000000000000000001111000000 Right? Is the purpose to convert [...] read more
bit-manipulation
bitwise-operators
0votes
1answer

Boost ini_parser - Singleton DLL issue

I have a singleton (this lies in a VS2008 DLL/Lib which is being used with the header in a VS2015 project) UtilIniFile &UtilIniFile::GetIniFile() { static UtilIniFile s_IniObject; if (/*check if file has been loaded*/) { s_IniObject.Load(s_IniObject.m_fullfile); } return s_IniObject; } the load function is called and the ini file is [...] read more
c++
boost
dll
visual-studio-2008
visual-studio-2015
0votes
1answer

Why is my function returning wrong values?

> Possible Duplicate: > question about leading zeros As in stackoverflow.com/questions/3232534/question-about-leading-zeros. Number of trailing zeros, binary search from Hacker's Delight: #include <iostream> using namespace std; int ntz(unsigned x){ int n; if ( x==0) return 32; n=1; if ((x & 0x0000FFFF))==0) {n=n+16; x=x>>16;} if ((x & 0x000000ff)==0) {n=n+8;x>>=8;} if ( x [...] read more
c++
0votes
1answer

iOS app crash - SIGBUS - BUS_ADRALN

My app is crashing on iPhone 4 iOS 7.1.3. On iOS 9 and iP6 everything is ok. It's caused by instantiating rather complex generic class with two generic types. I can provide details about implementation but the class has several hundreds lines. Code: override init() { chartFrameManager = CDFM<ChartDataPointStructure, ChartDataPointStructureLegend>() [...] read more
ios
iphone
swift
crash
sigbus
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

`-drawInRect` seems to be different in 10.11? What could have changed?

Edit: I got a downvote, and I just wanted to make sure it was because I didn't ask the dev forums (which I did, https://forums.developer.apple.com/thread/11593, but haven't gotten any response). This is a pretty big issue for us so I figured it'd be best to cast a wide line out, [...] read more
objective-c
cocoa
osx-elcapitan
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

Command Line Parser Library: Parse a hex string into UInt32

I have a console application that needs to take in arguments. The app uses the Command Line Parser Library to parse the arguments. The application needs to be able to take in hexadecimal arguments, and convert them to unsigned integers. For example, if this is the Option class public class [...] read more
c#
parsing
command-line-arguments
command-line-parser
0votes
2answers

Can't checkout an android project in STS 2.9.1 and Subversive on Windows 7

THE PROBLEM I have a strange problem with SpringSource Tool Suite 2.9.1 Release and Subversive plugin, running on Windows 7 Home Premium x64. I'm trying to checkout an android project from an SVN repository. Here's what I'm doing: 1. File > Import > SVN > Project From SVN 2. I [...] read more
android
svn
windows-7
sts-springsourcetoolsuite
subversive
0votes
0answers

Xcode 5.02 crash on opening any xib - Yosemite

I am running Yosemite 10.10.4 on a Macbook Air. I have a number of Xcode projects that worked successfully under Xcode 6.4. However, I downloaded Xcode 5.02 from Apple in order to use the Big Nerd Ranch book "IOS Programming" which is written for Xcode 5. Any time I open [...] read more
xcode
0votes
1answer

Windows Phone App crashes after Launcher.LaunchFileAsync when downloaded from store

I have a strange problem, if I deploy my app through visual studio as debug or release version all is working well. But if I publish it to the store and download it from there the app crashes after Launcher.LaunchFileAsync or FileOpenPicker. When my app launches for example the default [...] read more
windows-phone
windows-phone-8.1
windows-phone-store
0votes
0answers

Usage of renderscript to implement bouncycastle's BlockCipher on android is slow vs. pure-java

I've been using bouncycastle and its AESEngine to perform crypto operations in keepshare, but I've noticed that it's somewhat slow. renderscript is an attractive solution to the problem as it's able to implement various algorithms in a semi-native fashion. So, I took a simple aes implementation in C from bradconte.com [...] read more
android
scala
encryption
renderscript
0votes
1answer

Defining composite static character strings

In my job I end up writing code that contains static const character strings, usually sql queries and/or absolute file names, etc. In the latest piece of code I'm writing, I have two strings that are made up of a shared string (a date). Something like this: #include <iostream> using [...] read more
c++
string
0votes
1answer

Unity3d OSX build crash when usage memory over 700mb

I build my Unity3d application for OSX. But after sometime application crash when memory usage over 700 mb. It exist limit memory usage for OSX applications? Can I receive memory warnings for OSX applications? Crash log: Crashed Thread: 20 Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: [...] read more
macos
unity3d
0votes
0answers

elf rpath not working (cannot open shared object file: No such file or directory)

I'm trying to get my executable to load some shared libraries from its own directory, so I decided to add . to the rpath. But when I try to run it, it doesn't find the .so. Here is the interested part of the result of readelf -d myexec : Tag [...] read more
c
linux
shared-libraries
rpath
0votes
1answer

InDesign is crashing when opening a file from the book

Edited shorter version: I am trying to close an open book in InDesign and run some functionality after. It looks like the next step starts before the book is fully closed myBook.close(); alert("Book closed"); I have the alert displaying with the open book still on the background. If I try [...] read more
adobe-indesign
extendscript
0votes
1answer

HockeyApp crash report

I have an app with HockeyApp integrated for crash reporting. yesterday i have recieved a crash report stated below. Incident Identifier: B797B4D3-EA8D-4226-8B0E-11149ADC20B7 CrashReporter Key: 55E9EBD1-9990-44EF-98E8-C0A000955CED Hardware Model: iPhone5,2 Process: AppName [1375] Path: /Users/USER/AppName.app/AppName Identifier: ---------------------------- Version: 1.0.0 Code Type: ARM Parent Process: launchd [1] Date/Time: 2013-10-21T18:04:47Z OS Version: iPhone OS [...] read more
objective-c
ios7
xcode5
crash-reports
hockeyapp
0votes
1answer

Overloading enum boolean comparison?

I have a enum that I am trying to create operator overloads. I am struggling with the boolean comparison operator. Here is what I have: enum class TraceLevel : uint32_t { // Basic logging levels (may be combined with trace level) All = 0xFFFFFFFF, None = 0x00000000, Info = 0x00000001, [...] read more
c++11
enums
overloading
0votes
1answer

trying to make continuous FIFO data stream

I am using XILINX ZC702 FPGA with Vivado 2014.3 along with SDK (software development kit). I want to create FIFO data stream, which is not less than 20 i.e. under flow and not higher than 500 i.e. over flow. I have used AXI4 Stream FIFO IP for this purpose, in [...] read more
c
sdk
fpga
xilinx
fifo
0votes
1answer

Return double array through FORTRAN (DLL) to process further in python

I have been struggling with this issue for a while now, and search queries / applicable documentation did not yield any viable results either; hence posting it here. What do I want to accomplish: * I have some program written in FORTRAN77 which takes some arguments and returning a double [...] read more
python
dll
fortran
ctypes
fortran77
0votes
3answers

Google Chrome crashing on launch, OS X Yosemite Public Beta 2

Just recently updated to the 2nd release of OS X Yosemite's public beta. A few hours into using it, I had Chrome crash, and refuse to start up subsequently. The strange thing is, Eclipse isn't working now either, and both are throwing similar crash reports (Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception [...] read more
google-chrome
beta
osx-yosemite
-1votes
2answers

bitwise operator on half a byte C#

I am working on a project which outputs to an odd circuit and need to invert half the byte I am sending. So for example, if I am sending the number 100 as a byte, it comes out in the chip as 01100100, nice and easy. The problem is that [...] read more
c#
-1votes
1answer

RCC_AHB2PeriphClockCmd

I'm beginner in Embedded programming. I'm programming in STM 32F407ZG. While programming the demo codes, i just came across the code RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOF, ENABLE); what is this?, explain it. #include "stm32f4xx.h" #include "stm32f4xx_rcc.h" void delay() { for(int i=0;i<0x3FF;i++) for(int j=0;j<0x3FF;j++); } void mx_pinout_config(void) { GPIOG->ODR = 0x00000000; RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOF, ENABLE); GPIOF->MODER = [...] read more
embedded
microcontroller
-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
-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