This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
This code indicates success, rather than an error.
This may not be the correct interpretation of this code,
or possibly the program is handling errors incorrectly.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
i'm running Qt Creator 3.0.1 (Based on Qt 5.2.1 (GCC 4.8.2, 64 bit)) on Ubuntu 14.4 64bit on VirtualBox on Windows 7 64bit I'm trying to cross compile to Raspberry Pi and run very simple program: MainWindow.h: #ifndef MAINWINDOW_H #define MAINWINDOW_H #include <QMainWindow> namespace Ui { class MainWindow; } class [...] read more
I have read here How does delete[] "know" the size of the operand array? that before the allocated memory it is saved how much memory it was allocated. I allocated an array of integers, set each element to value 15 and inspected the heap. First I allocated an array with [...] read more
I 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
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
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
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
I need the bytes of a BIN file converted to a unsigned int, in this format (JavaScript): p.write4(shellcode.add32(0x00000000), 0x00000be9); p.write4(shellcode.add32(0x00000004), 0x90909000); p.write4(shellcode.add32(0x00000008), 0x90909090); p.write4(shellcode.add32(0x0000000c), 0x90909090); p.write4(shellcode.add32(0x00000010), 0x0082b955); p.write4(shellcode.add32(0x00000014), 0x8948c000); p.write4(shellcode.add32(0x00000018), 0x415741e5); p.write4(shellcode.add32(0x0000001c), 0x41554156); p.write4(shellcode.add32(0x00000020), 0x83485354); p.write4(shellcode.add32(0x00000024), 0x320f18ec); p.write4(shellcode.add32(0x00000028), 0x89d58949); p.write4(shellcode.add32(0x0000002c), 0x64b948c0); p.write4(shellcode.add32(0x00000030), 0x77737069); p.write4(shellcode.add32(0x00000034), 0x49000000); p.write4(shellcode.add32(0x00000038), 0x4120e5c1); p.write4(shellcode.add32(0x0000003c), 0x000200bc); p.write4(shellcode.add32(0x00000040), [...] read more
I am 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
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
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
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
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
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
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
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
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
CROSS COMPILING GSL FOR ANDROID I am attempting to cross compile the GNU Scientific Library (GSL) for Android 4.1 using Autotools. My build and host are as follows: build="i386-apple-darwin10.8.0" host="arm-linux-androideabi" Autotools versions: GNU Automake version 1.11.3 GNU Autoconf version 2.68 GNU Libtool version 2.4.2 My goal is to compile an [...] read more
I'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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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
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
I have to decode this assembly language for the bomb lab: Dump of assembler code for function phase_5: 0x08048e79 <+0>: push %ebx 0x08048e7a <+1>: sub $0x28,%esp 0x08048e7d <+4>: lea 0x1c(%esp),%eax 0x08048e81 <+8>: mov %eax,0xc(%esp) 0x08048e85 <+12>: lea 0x18(%esp),%eax 0x08048e89 <+16>: mov %eax,0x8(%esp) 0x08048e8d <+20>: movl $0x804a9de,0x4(%esp) 0x08048e95 <+28>: mov 0x30(%esp),%eax [...] read more
i've successfully cross compiled a c++ library to the android plateform using the android ndk standalone toolchain. i've created a new android application project into Eclipse with a jni dolder and Android.mk file and when i do an ndk-build the building goes well and it adds mylib.so to libs/armeabi folder [...] read more
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
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
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
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
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
I have a strange problem, if I deploy my app through visual studio as debug or release version all is working well. But if I publish it to the store and download it from there the app crashes after Launcher.LaunchFileAsync or FileOpenPicker. When my app launches for example the default [...] read more
I'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
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
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
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
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
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
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
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
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
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
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
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
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
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