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.
I'm looking for the fastest way to take an image frame received from the MediaCodec decoder and draw it to the Android device screen. The important constraints and explanations are: 1. Cannot use MediaPlayer. No intermediate app allowed. 2. Must draw output frames from the MediaCodec decoder to the screen [...] read more
I'm in the (very) early stages of developing a UAV flight controller on a BeagleBone Black. I should mention that I'm quite the novice when it comes to the BBB, Linux and embedded systems.My academic focus has been on control theory - this is my first attempt at a practical [...] read more
I am trying to make a usable setup for gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 on windows. Something happens at dynamic link: $(CC)-gcc -o test main.c -Wall -lc The program compiles fine, but when deployed to ARM shows: "No such file or directory" Searching the issue, seems that static build works but executable is huge: [...] read more
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
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
I'm working on tracking down some difficult to find memory leaks in my iPhone program. I'm running a quick test on an app which leaks an NSString object with the following intentionally -incorrect- code: -(void)applicationDidFinishLaunching:(NSNotification *)notification; { NSMutableString *test = [[NSMutableString alloc] init]; [test appendString:@"Testing 1"]; [test appendString:@"\nTesting 2"]; NSLog(@"%@", [...] read more
I have an enum type with 1223 elements. I had a function with 1222 cases and a default case in a switch block. If I want to modify some elements in the enum type, I also need to modify that function. Worse, I may have more than one function with [...] read more
I've run into a problem (repetitively) with various company's' embedded linux products where GPL source code from them does not match what is actually running on a system. It's "close", but not quite right, especially with respect to the standard C library they use. Isn't that a violation of the [...] read more
I have a Windows 7 Professional x64 machine that no longer works with a Brother all-in-one printer/scanner when I try to scan. This happened seemingly out of nowhere. Printing still works, but when I try to scan from Photoshop, Photoshop crashes. When I try to scan from Devices and Printers [...] read more
I'm trying to migrate LPAR from a power to another. Since my company doesn't have any IBM licence for their migration solution I have to do it trough SAN (using IBM SVC and brocade SAN switches). A quick view of the current structure : .-----------------. .-----------------. | OLD_POWER | | [...] 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'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'm using the following code to get the filepath to save to for use with tinyxml2: OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.hwndOwner = NULL; ofn.lpstrFilter = (LPCWSTR)L"XML Files (*.xml)\0*.xml\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | [...] read more
I'm having a really hard time understanding why I keep getting an exception, when my function returns the value with ease, but once i try to printf the result it gives me an unhandled exception error(see below) I'm new to C so I've been looking at everything from a java [...] read more
I've built an RPM using redline rpm library for java. When I try to uninstall the rpm it says it was removed but when I do a list it is still there and says it is still installed. Here is the results of my uninstall with as much debug as [...] read more
I have a CPIO archive with the Linux image on it. With binwalk I can see that there are the following chunks: DECIMAL HEXADECIMAL DESCRIPTION -------------------------------------------------------------------------------- 0 0x0 ASCII cpio archive (SVR4 with no CRC), file name: "kernel", file name length: "0x00000007", file size: "0x00000000" 120 0x78 ASCII cpio archive [...] 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'm setting an enumeration "A" of possible commands in my Python code. I would also create another enumeration "B" listing some specific commands "A". Thus I tried : class all_commands(IntEnum): SET_ELEMENT_A = 0x00000001 GET_ELEMENT_A = 0x00000007 GET_ELEMENT_B = 0x0000000E SET_ELEMENT_C = 0x00000010 GET_ELEMENT_C = 0x00000011 GET_ELEMENT_D = 0x00000015 class getter_commands(IntEnum): [...] read more
I am a beginner in binary exploitation, and I'm training for the exploitation of buffer overflows. I made a useless short C program: #include <stdio.h> #include <stdlib.h> int main(void) { setbuf(stdout, NULL); char buffer[64]; puts("\nWELCOME TO THE REMOTE TEMP CLEANER SERVICE\n"); printf("Please enter a password: "); gets(buffer); puts("\n"); if(strcmp(buffer, "securepassword1234") [...] 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
Some of the users are getting following access denied error upon looking in sharepoint logs. These users were earlier able to access the SharePoint site. But all of sudden they are getting "An Unexpected error has occured". PermissionMask check failed. asking for 0x00000005, have 0x400000300C231061 PermissionMask check failed. asking for [...] read more
I am doing cross compile debugging. My build server CPU is amd64. My device CPU is MIPS. When I am trying to do debug the elf file compiled by myself. The gdb can only show ld.so.1 (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x7704f9c0 0x7706c490 Yes (*) [...] read more
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've been asked to integrate with an already-shipped product that is a COM server. Along with this product was provided a .tlb file. I've used tlbimp to export the tlb to primary assembly and I've included that in my C# project. When I attempt to execute my COM client I [...] read more
I'm writing an app that uses sqlite3. For some very bizarre reason, it crashes only on some machines. I was unable to reproduce the error, but a couple beta testers are reporting it. When the app is opened it automatically quits. It says it crashed because of a bus error. [...] read more
Whenever I try to launch any of my java apps that display a gui, I get an error. I have tried with both java 6 and java 7. Neither of these work, I have tried older and newer nvidia drivers. I'm not sure if this is an issue with Java [...] read more
<?php /* File : smppclass.php Implements : SMPPClass() Description : This class can send messages via the SMPP protocol. Also supports unicode and multi-part messages. License : GNU Lesser Genercal Public License: http://www.gnu.org/licenses/lgpl.html Commercial advertisement: Contact info@chimit.nl for SMS connectivity and more elaborate SMPP libraries in PHP and other languages. [...] read more
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using Microsoft.Win32; using System.Runtime.InteropServices; [Flags] public enum ExitWindows : uint { LogOff = 0x00, Force = 0x04, } [Flags] enum ShutdownReason : uint { MajorApplication = 0x00040000, MajorHardware = 0x00010000, MajorLegacyApi = 0x00070000, MajorOperatingSystem [...] read more
I am using AdWhirl in my app and got a suspicious crash mid-game. It appears to crash in the animationDidStop:finished: function which I didn't create. Could this be a bug in AdWhirl? I can't find this file referenced in the log: (MMHTMLAdView.m:123) This is the log: Date/Time: 2010-10-21 09:54:14.861 +0200 [...] read more
I'm trying to cross-compile dropbear for android. The files appear to compile find, but when executed give "program : not found." I did a find and the libraries marked NEEDED appear to be located in the cross-compile environment. I have compiled other programs with this toolchain. arm-none-linux-gnueabi-readelf -d dropbear Dynamic [...] read more
recently i want to make a bootable disk for my flashdisk. I've done this ton of times, but today while doing so my flashdisk is ejecting by it self. Rufus is stuck at extracting so i cancel the operation. ( still around 400 mb ). But now my flash disk [...] read more
I have an one year old ASUS laptop, which originally shipped with Win 8.1. When Windows 10 was released I upgraded without hassle to Windows 10. Trying to update to November update (Threshold-2) or more recently Redstone just doesn't work. The upgrade starts and finally Windows is restarting. Then after [...] read more
I can not write the array correctly. I don't know why python has such a issue. import sys,os import numpy as np from PIL import Image from bitmap import BitMap src=os.getcwd() #get the current working diretory print(src) path=src+"\\Se.bmp" img=Image.open(path,"r") width, height=img.size print(f"width={width}") print(f"height={height}") #turn it into RGB vlaue array array=np.array(list(img.getdata())) [...] read more
I have a problem with Postgres that others seem to have found but the solutions that are given somehow do not work for me. I explain: WHAT I USE * MacOS 10.15.6 * Installed through Homebrew * PostgreSQL 12.2 on x86_64-apple-darwin, compiled by Apple LLVM version 6.0 (clang-600.0.54) (based on [...] read more
I'm running qemu on an Ubuntu 18.04 x64 host and trying to do user emulation of dynamic binaries built for Android (for aarch64 or i386) using the Android NDK, but I always get a segfault. For example: Build $ i686-linux-android28-clang hello_world.c -o hello_world Check dependecies and paths $ file ./hello_world [...] read more
I am having some difficulty porting the following MIPS32 assembly program to a 64-bit equivalent. The main issue that I am facing is the following line: bgtz $s2, loop ; Branch from "loop" on "$s2" greater than zero. I am not sure why this line causes an error? The instruction [...] read more
I am trying to use a microphone sensor on my esp32 microcontroller. Currently, it is running the ESP-IDF framework. The microphone is the sph0645lm4h-b. I am using the I2S protocol to connect to the sensor. I2S config is shown below: void i2s_init() { i2s_config_t i2s_config = { .mode = I2S_MODE_MASTER [...] read more
Some (~4 of many) of our customers have the problem that while trying to print some documents (pdfs) with our software that the application crashes without any exception. The problem occurs only on windows and I can't find any coherences. All in all it's a very curious bug. Here is [...] 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 will try to explain this the best that I can. I currently have a program that at the moment just cycles through menus by clicking some button graphics that I have created. I am also using CE emulator to have an emulation of what the program will be on. [...] read more
I am trying to replicate a bug in my app which is happening for users occasionally. I have the below crash report. Am I right in thinking the app is crashing due to an NSDictionary not having a value for a specific key ? And is there anything else I [...] read more
I am using address book framework for my application and I have got crashes on that code. That code is shown below +(NSMutableArray *)getcontactdetails { [self current_function_name:@"Inside getcontactdetails"]; NSMutableArray *list = [[NSMutableArray alloc] init]; ABAddressBookRef addressBook; CFArrayRef allSources; addressBook = ABAddressBookCreate(); ABRecordRef source = ABAddressBookCopyDefaultSource(addressBook); allSources = ABAddressBookCopyArrayOfAllPeopleInSourceWithSortOrdering(addressBook, source, kABPersonFirstNameProperty); [...] read more
I just really need some help deciphering this crash report: Process: Farm Hand [616] Path: /Applications/Farm Hand.app/Contents/MacOS/Farm Hand Identifier: Farm Hand Version: 1.0 (1) Code Type: X86-64 (Native) Parent Process: Instruments [386] Responsible: Instruments [386] User ID: 501 Date/Time: 2014-10-12 00:13:17.116 +0100 OS Version: Mac OS X 10.10 (14A388a) Report [...] read more