Windows error 0x00000017, 23

Detailed Error Information

CRC[1]

MessageData error (cyclic redundancy check).
Declared inwinerror.h

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

CID_HANDLE_DELETION[2]

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

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 Code23 (0x0017)

Questions

15votes
4answers

Android - failure on loading library

I have a similar problem to this question, but slightly different. I have compiled a .so library to use with JNI. Because it is large (15 MB), I am putting it on the SDCard instead of in the standard application place. The file is called libSample.so and it's located at [...] read more
java
android
java-native-interface
native
8votes
0answers

android error dynamically loading libc++.so native library

I am trying to build a proof-of-concept android application which uses OpenSSH code to establish a SSH session with a server. For that I am using android sources to build the required libraries and then pull them up to an AndroidStudio native project where everything should be packed and installed [...] read more
android
c++
java-native-interface
native
8votes
3answers

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

I have notice that Android NDK (r6b in my case) produce unreasonable big resulting .so files. For example, in my case I have ~150-200 lines of C++ code (6 native methods and 3 C++ simplest classes) and this native code produce 60kb (!) .so with enabled exceptions and RTTI or [...] read more
android
android-ndk
7votes
1answer

UnsatisfiedLInkError Linking to FFMPEG with NDK

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

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

I'm in the (very) early stages of developing a UAV flight controller on a BeagleBone Black. I should mention that I'm quite the novice when it comes to the BBB, Linux and embedded systems.My academic focus has been on control theory - this is my first attempt at a practical [...] read more
c++
linux
cross-compiling
beagleboneblack
toolchain
6votes
4answers

Crashing with ASIHTTPRequest and NSOperationQueue when cancelling operations

I'm having a really hard time when trying to cancel requests in an NSOperationQueue. Before deallocating my 'engine' object, I call a cancelOperations method to cancel everything in the queue, so this will include in flight ASIHTTPRequests and queued ones... e.g. Engine.m -(void)getContent { if (![self queue]) { [self setQueue:[[[NSOperationQueue [...] read more
iphone
objective-c
asihttprequest
nsoperationqueue
5votes
4answers

gcc arm executable "no such file orr directory", wrong dynamic lib

I am trying to make a usable setup for gcc-linaro-arm-linux-gnueabihf-4.8-2013.11 on windows. Something happens at dynamic link: $(CC)-gcc -o test main.c -Wall -lc The program compiles fine, but when deployed to ARM shows: "No such file or directory" Searching the issue, seems that static build works but executable is huge: [...] read more
gcc
5votes
1answer

Source column numbers in DWARF line table

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

Thread 0 crashed with X86 Thread State (32-bit): in cocoa Application

I am doing crash fixing in an OS X application. The crash report shows Date/Time: 2012-05-01 16:05:58.004 +0200 OS Version: Mac OS X 10.5.8 (9L31a) Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000545f5f00 Crashed Thread: 8 Thread 8 crashed with X86 Thread State (32-bit): eax: 0x140e0850 ebx: 0x00060fc8 ecx: [...] read more
objective-c
macos
cocoa
osx-leopard
4votes
3answers

Android virtual devices crash immediately on Mac OS X after SDK update

I just updated my Android SDK packages on my MacBook Pro, and all of my Android virtual devices started crash immediately. The error log is as follows: Process: emulator [583] Path: /Users/dannychia/android-sdk-macosx/tools/emulator Identifier: emulator Version: ??? (???) Code Type: X86 (Native) Parent Process: eclipse [500] Date/Time: 2014-03-19 22:45:21.124 -0700 OS [...] read more
android
avd
4votes
6answers

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

I've compiled a shared library with android-cmake and the NDK against libstdc++, and as per android-ndk-r7/docs/CPLUSPLUS-SUPPORT.html I'm trying to load gnustl_shared before loading my library: static { System.loadLibrary("gnustl_shared"); System.loadLibrary("MathTest"); } I can see this being done for instance here but I get an exception: 01-03 20:02:42.307: E/AndroidRuntime(569): Caused by: java.lang.UnsatisfiedLinkError: [...] read more
android
stl
android-ndk
4votes
4answers

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

I am trying to load a shared library using: System.loadLibrary("sharedC"); sharedC is dependent on 2 other shared libraries sharedA and sharedB, all three were made using the standalone toolchain and are included as prebuilt shared libraries. I load sharedA and sharedB before sharedC and I know of no other dependencies. [...] read more
android
android-ndk
shared-libraries
4votes
2answers

Python C extension not threadsafe?

I made a c extension out of a python script that was fairly labour intensive. The code itself is well tested and simple. The c extension is called with a few large lists, and it then performs some clever arithmetic and returns a few new lists. The c extension is [...] read more
python
thread-safety
cpython
python-c-extension
3votes
4answers

Mac OS X: finder window keeps opening by itself and stealing focus

I have a Macbook with Mac OS X 10.4.11 here, with an annoying problem. After starting the computer and logging in, the finder keeps stealing focus. You can go back to your working app, but a minute later, it steals focus again. Even as I'm typing this message, I had [...] read more
mac
finder
focus
3votes
1answer

classic BPF on Linux: filter does not work

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

Updating SKMaps from 2.5.0 to 2.5.1

I have a problem due to updating SKMaps from version 2.5.0 to version 2.5.1. Something doesn’t seem to be right with the native .so library. I always have this error: 11-24 10:34:04.922 7463-7884/de.mypackage A/libc: Fatal signal 7 (SIGBUS) at 0x00000017 (code=1), thread 7884 (e.mypackage) And after that I get this [...] read more
android
signals
libc
skmaps
3votes
1answer

Change display format of DirectX "Object Table"

While debugging with VS 2012 Graphic's Debugger, I want to look at an index buffer, but the format that is showing it in is as float. This means the numbers are different than they would be with an int or short format. Does somebody know how to change this? Here [...] read more
visual-studio-2012
hlsl
directx-11
3votes
2answers

Why did this app crash while in the background?

My app uses background location for GPS updates. I've registered it for background location updates, and while it's running in background, it always crashes like this. Since I haven't written most of this code, I really have no idea what happened. I have checked the memory allocations and there doesn't [...] read more
iphone
objective-c
gps
core-location
background-process
3votes
2answers

EXC_BAD_ACCESS (SIGSEGV) crash

How do I trace the crash ? Process: iAddressGrabber [253] Path: /Users/egrabber/Library/Application Support/iPhone Simulator/User/Applications/DB3B2896-258C-4EC2-A490-802B1190A675/iAddressGrabber.app/iAddressGrabber Identifier: iAddressGrabber Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [64] Interval Since Last Report: 34544 sec Crashes Since Last Report: 1 Per-App Interval Since Last Report: 0 sec Per-App Crashes Since Last Report: [...] read more
iphone
2votes
0answers

juniper vpn network connect osx 10.6.8

Juniper Network Connect.app stopped working for me out of the blue, i made no upgrades recently. i see the following log, what else can i investigate? Process: ncproxyd [5322] Path: /usr/local/juniper/nc/7.1.0/ncproxyd Identifier: ncproxyd Version: ??? (???) Code Type: X86 (Native) Parent Process: Network Connect [5319] Date/Time: 2012-11-20 10:00:28.254 +0100 OS [...] read more
macos
vpn
juniper
2votes
0answers

Android NDK: Call to System.loadLibrary Results in SIGSEGV Code=1

I have a massive C/C++ library that I'm trying to use through JNI for an Android project. It's comprised of several classes that were originally written for MFC and we've ported them over for execution on the Android environment. The library builds fine (at least according to ndk-build). The size [...] read more
c++
android-ndk
java-native-interface
segmentation-fault
loadlibrary
2votes
0answers

Loading C library in Android

I have little to no understanding how low-level programming languages work, so please bear with me. I need to load compiled C (.so file) library into android 6.0+ (SdkVersion: 23+) Using: static { System.loadLibrary("dsdrv"); } I get an error: FATAL EXCEPTION: main Process: com.logicants.scanner3, PID: 11415 java.lang.UnsatisfiedLinkError: dlopen failed: "/data/app/com.logicants.scanner3-1/lib/arm/libdsdrv.so" [...] read more
android
c
android-ndk
2votes
0answers

Windbg - Tracking native cryptography leak in C++/VB6/C# application

I'm currently attempting to track down a leak in a C++ service that loads VB6 modules that load .NET libraries using windbg, and as of now, feel like I'm so close to the answer, but can't seem to lock it in. Starting with !heap -s, I identify the heap in [...] read more
.net
windbg
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
3answers

Why is 0x1F segment special in OSX?

Some of the Mach-O executables have an LC_UNIXTHREAD command with the following initial register values: cmd LC_UNIXTHREAD cmdsize 80 flavor i386_THREAD_STATE count i386_THREAD_STATE_COUNT eax 0x00000000 ebx 0x00000000 ecx 0x00000000 edx 0x00000000 edi 0x00000000 esi 0x00000000 ebp 0x00000000 esp 0x00000000 ss 0x0000001f eflags 0x00000000 eip 0x00002788 cs 0x00000017 ds 0x0000001f es [...] read more
macos
2votes
2answers

C Returned char from GetSaveFileName() contains null characters

I'm using the following code to get the filepath to save to for use with tinyxml2: OPENFILENAME ofn; char szFileName[MAX_PATH] = ""; ZeroMemory(&ofn, sizeof(ofn)); ofn.lStructSize = sizeof(ofn); ofn.hwndOwner = NULL; ofn.lpstrFilter = (LPCWSTR)L"XML Files (*.xml)\0*.xml\0All Files (*.*)\0*.*\0"; ofn.lpstrFile = (LPWSTR)szFileName; ofn.lpstrFile[0] = '\0'; ofn.nMaxFile = MAX_PATH; ofn.Flags = OFN_EXPLORER | [...] read more
c++
char
savefiledialog
2votes
2answers

emulator crashes

I am setting up an Android environment for the first time on Eclipse. I have many years of Eclipse experience, but new to Android. This is being done on an Apple Mac Mini, running MacOSX 10.6.3. I am using the latest Eclipse Classic, version 3.5.2. I am trying to get [...] read more
android-emulator
2votes
1answer

UIWebView(DataDetectorsCore) Crash only in Simulator

I found a crash only in iphone simulator while loading the webpage but not in iphone,and i am not able to find the reason of the crash in my app. Here i am attached the crash log. Can any one please suggesting the fix regarding these crash. Process: Matador [28671] [...] read more
iphone
crash
webview
1vote
2answers

What's the cause of these crashing imapd processes?

We have a Mac OS X 10.5 Leopard Server mail server that recently started getting issues with IMAP mailboxes having "invalid format[s]" this weekend. It turned out that there were some bad block counts on the volume housing IMAP data and the issue has not resurfaced after repairing the volume [...] read more
mac-osx-server
imap
cyrus
1vote
2answers

Apps crashing with EXC_BAD_ACCESS when changing to a custom keyboard layout

I have a custom layout installed (svdvorak_mac6.keylayout). After a reboot another keyboard layout was selected, so I selected my usual one instead. This lead to a lot of apps suddenly starting to crash (Chrome, Skype, Adium etc). I can change to any other built in layout for OS X, but [...] read more
macos
crash
keyboard-layout
dvorak
1vote
0answers

Nativescript - iOS build fails with error code 2

I have been trying to build the iOS version using Nativescript sidekick for two days now without luck. It used to build just fine in the past. Environment information 1. Sidekick Version: 1.19.2-v.2019.11.18.2 (latest) 2. NativeScript CLI version: 6.2.2 3. CLI extension nativescript-cloud version: 1.19.3 4. CLI extension nativescript-starter-kits version: [...] read more
ios
nativescript
nativescript-angular
1vote
1answer

Linking error while cross compiling Qt5 for Beaglebone

Dear stackoverflow community. I'm cross-compiling Qt 5.12 for my Beaglebone Black with EGL support. The host OS is Ubuntu 18.04.1 LTS (x64) running in a VM. I have installed any possible dependcies (I could find in different posts) on the target (and some on the host as well) and copied [...] read more
linker
qt5
cross-compiling
beagleboneblack
1vote
1answer

Why I don't receive any packets using BPF with udp socket?

GOAL: write a BPF filter which allow just UDP packets from a specific src address and attach it to and UDP socket. PROBLEM: if I execute the program and I try to send udp packets from a VM which has the correct src IP I don't receive none of them [...] read more
c
sockets
udp
bpf
1vote
2answers

Method causing a weird crash

I am building this app and I am encountering some issues I haven't seen before. 1. the app crashes when I run the method below which is connected to a UIButton for a trigger. so when I hit the button it does the print and then the simulator crashes to [...] read more
objective-c
xcode
methods
crash-reports
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
1answer

Receiving "Illegal Instruction" when executing glibc's ld-2.6.1.so

Background "OS": Stripped down Linux, very customized, no internet access (no yum, apt-get, etc) Kernel: 2.6.19.1 Target: 32-bit, armv5te Current LibC: 2.3.6 Target LibC: 2.6.1 Issue Received an .ipk from a 3rd party vendor containing an updated version of glibc. Started by investigating the compatibility of the shared objects contained [...] read more
linux
ld
glibc
illegal-instruction
1vote
1answer

C Application crashes using GetOpenFileName. DEP stops the crash

We have a C application which is using the GetOpenFileName common dialog to get the user to select a file. We have been having crashes on Windows2008R2. I figured out that if we put an DEP exception on our application the crashes stop However, I cant figure out what we [...] read more
windows-server-2008-r2
c
winapi
1vote
1answer

Xcode 7 code coverage littering project directory with GCDA files

I'm running my unit tests in Xcode 7 for the first time, after refactoring my Swift code for 2.0 and fixing all of the various new compiler warnings and errors. I'm seeing a few different behaviors, though, which are probably all related. 1. As the unit tests conclude, I get [...] read more
objective-c
xcode
macos
code-coverage
xcode7
1vote
1answer

Cross Compiling GSL for Android

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

Can't launch Android emulator

I'm trying to launch the Android emulator, but it never opens. I tried to launch the "emulator" executable manually, but I get a bus error. Every time I try to launch it, I get a new crash log with always the same content. Process: adb [55871] Path: /Applications/Android SDK/sdk/platform-tools/adb Identifier: [...] read more
android
adb
emulation
osx-snow-leopard
bus-error
1vote
1answer

Bus error when running Android 1.5 emulator on Mac OS X 10.5.6

I have removed all Input Managers that were added, but it's still happening. Here is the crash report. Any ideas? Process: emulator [460] Path: /usr/local/dev/android/android-sdk-mac_x86-1.5_pre/tools/emulator Identifier: emulator Version: ??? (???) Code Type: X86 (Native) Parent Process: bash [275] Date/Time: 2009-04-20 20:03:44.786 -0400 OS Version: Mac OS X 10.5.6 (9G55) Report [...] read more
android
macos
terminal
1vote
1answer

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

I've been asked to integrate with an already-shipped product that is a COM server. Along with this product was provided a .tlb file. I've used tlbimp to export the tlb to primary assembly and I've included that in my C# project. When I attempt to execute my COM client I [...] read more
c#
c++
visual-studio-2012
com
1vote
2answers

Insert a new section to a binary file?

I try to coding a program to insert a empty (as the first step) phdr struct to any elf binary, so I coding like below: cat add_phdr.c #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> #include <unistd.h> #include <elf.h> #include <sys/mman.h> #include <stddef.h> static void calc_dyntables(void [...] read more
c
linux
nasm
elf
1vote
1answer

sqlite3 bus error

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
c
macos
cocoa
sqlite
bus-error
1vote
1answer

tcpdump -dd output doesn't match pcap_compile_nopcap

When I create a packet filter (eg for only tcp traffic) with tcpdump -dd tcp the packet filter output is { 0x28, 0, 0, 0x0000000c }, { 0x15, 0, 2, 0x000086dd }, { 0x30, 0, 0, 0x00000014 }, { 0x15, 3, 4, 0x00000006 }, { 0x15, 0, 3, 0x00000800 }, [...] read more
linux
pcap
libpcap
packet-capture
1vote
2answers

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

I have been creating a set of shared libraries to run on an android phone. When I try to load them in they are failing and it looks to me as if the libraries that my shared library depends on have been named with their major number. I should explain [...] read more
android
gcc
linker
android-ndk
1vote
2answers

Cross-compiling for Android

I'm trying to cross-compile dropbear for android. The files appear to compile find, but when executed give "program : not found." I did a find and the libraries marked NEEDED appear to be located in the cross-compile environment. I have compiled other programs with this toolchain. arm-none-linux-gnueabi-readelf -d dropbear Dynamic [...] read more
android
0votes
2answers

iTunes crashes with "Attempt to allocate 1073741824 bytes for NS/CFData failed" error

This is a pretty common occurrence. Every two days or so iTunes will crash on me with this error. FYI, 1073741824 is 2^30, which is gigabyte. The crash log is below if you're interested. -------------------------------------------------------------------------------- Process: iTunes [40778] Path: /Applications/iTunes.app/Contents/MacOS/iTunes Identifier: com.apple.iTunes Version: 9.0.1 (9.0.1) Build Info: iTunes-9010901~2 Code Type: [...] read more
macos
itunes
0votes
2answers

Problem with macbook pro default iSight(built-in iSight)

I have many trouble with my iSight, in skype in show green video instead of my video, in "image capture" iSight was not recogonized , just it was recognized in "photo Booth". When I wanted to switch to ooVoo. I downloaded and installed it without any problems, but when I [...] read more
macos
skype
isight
0votes
4answers

MacBook OS X applications crashing on startup

Closed my computer last night, went home. Opened it and it had restarted. Now when I open a couple programs such as Adobe Fireworks or Appcelerator Titanium they throw up a nasty error like below. Other programs (Chrome, Firefox, Textmate, Versions) work fine. Any thoughts on this? I haven't owned [...] read more
macos
crash
0votes
0answers

Firefox Plugin Process quit unexpectedly on MacBook

Some plugin on my Firefox 4.0.1 'quits unexpectedly' /almost/ everytime I close my Firefox on my Macbook. Any idea which plugin may be causing this? 'Process: plugin-container [666] Path: /Applications/Firefox.app/Contents/MacOS/plugin-container.app/Contents/MacOS/plugin-container Identifier: org.mozilla.plugincontainer Version: ??? (1.0) Code Type: X86 (Native) Parent Process: firefox-bin [653] Date/Time: 2011-05-18 14:23:20.759 -0400 OS Version: Mac [...] read more
firefox
plugins
0votes
0answers

Having issues with a Frida gadget on an emulated Android device

I am trying to inject a Frida gadget into an Android App which is already installed on an emulated (MEmu) Android 7.1 rooted system. When I connect to the device using adb, I can see that the files are store here: ASUS_Z01QD:/data/app/com.turtle.foo.bar-1 # ls base.apk lib oat split_config.armeabi_v7a.apk The MEmu [...] read more
android
arm
apk
emulation
frida
0votes
0answers

How to toggle on/off Qt video subtitles

I want to know whether I can toggle on/off subtitles of video using PyQt5. To enable subtitles I added import os os.environ["QT_GSTREAMER_PLAYBIN_FLAGS"] = str(0x00000017) before importing QGuiApplication. But we can't toggle it on/off while code is running. Is there any fix? I can change the subtitle streams using these commands: [...] read more
python
python-3.x
pyqt
pyqt5
qmediaplayer
0votes
0answers

C Structs mnemonics in Linux Socket Filter. trying to make sense

I am trying to discover details about C Linux Socket filter or C Linux BPS sockets. The network filter for socket on this link and other places on this link https://www.kernel.org/doc/Documentation/networking/filter.txt is something like this /* From the example above: tcpdump -i em1 port 22 -dd */ struct sock_filter code[] [...] read more
c
linux
networking
firewall
raw-sockets
0votes
1answer

Segfault in qemu user emulation of Android binary

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
android
segmentation-fault
emulation
qemu
0votes
0answers

Striped down kernel take long time to load on Raspberry Pi 4

I'm just trying to customize the kernel configuration for Raspberry Pi 4B, to achieve a compact system image and quick startup, but as we can see in the logs there's approximate ~4.0s to start executing my 4.2MB kernel. * Logs: 23:20:06.198 -> 23:20:06.198 -> PM_RSTS: 0x00001000 23:20:06.198 -> RPi: BOOTLOADER [...] read more
linux-kernel
buildroot
raspberry-pi4
0votes
1answer

Write packet filtering program in ebpf

If I want to write a cBPF program which filter icmp packet I can do it by execute tcpdump with -dd option which > Dump packet-matching code as a C program fragment. ..see the example below How can I write the same program with eBPF instructions ? #include <sys/socket.h> #include [...] read more
packet
bpf
ebpf
0votes
1answer

Why this program which use BPF and RAW SOCKET just hangs?

GOAL: write a simple packet filter using BPF. The packet filter should allow you to choose the interface. PROBLEM: if I uncomment the third to last instruction in the code (where there is a call to recvfrom, the execution just hangs and I can't see no output (neither "buffer zeroed" [...] read more
sockets
bpf
0votes
1answer

v8. save & call JavaScript function from c++

I am trying to save JavaScript function in my c++ app and call it from another thread. But I got "Unhandled exception at 0x0101B5D5 in Console.exe: 0xC0000005: Access violation reading location 0x00000017." Saving the JavaScript function (in requestCallbacks vector): Handle<Value> HttpEngine::addListener(const Arguments& args) { Locker locker; HandleScope scope; HttpEngine* pThis [...] read more
c++
v8
embedded-v8
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

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

Is there an existing Java class to convert data stored little-endian to integers by offset and length?

I have a data file that is made up of various fields in little-endian order. I know what the offset and length are for each of the various fields. Is there an existing Java class that will convert by offset and length to an integer? For example: 17 00 00 [...] read more
java
converter
endianness
0votes
2answers

calling a function from a .h file

file1.c => includes file1.h file1.h => has a struct: typedef struct { unsigned char *start; unsigned int startInt; }debugPrint; file1.c => creates a struct object: debugPrint dp; file1.c => an int is given into struct: dp.startInt = 10; file1.c => has a function: void function1(debugPrint dp) { printf("%d", dp.startInt); } [...] read more
c
function
struct
0votes
1answer

Doxygen OS X app crashes on launch (10.6.8)

Has anyone successfully launched Doxygen 1.8.7 on Snow Leopard 10.6.8? After following the simple "drag-to-applications-folder" installation, double-clicking causes the app to immediately crash (in DoxyWizard?) with no backtrace: Process: launchd [69602] Path: /Applications/Doxygen.app/Contents/MacOS/Doxywizard Identifier: org.doxygen Version: ??? (???) Code Type: X86 (Native) Parent Process: launchd [125] Date/Time: 2014-05-12 09:21:11.464 -0700 [...] read more
macos
doxygen
doxywizard
0votes
1answer

import error running picam on a raspberry pi

I am trying to run picam on my raspberry pi. Unfortunately I am not getting around the following import error: --------------------------------------------------------------------------- ImportError Traceback (most recent call last) <ipython-input-1-ae50f21e1c18> in <module>() ----> 1 import picam 2 import time /usr/local/lib/python2.7/dist-packages/picam/__init__.py in <module>() 1 # Copyright (c) 2013 Sean Ashton 2 # Licensed [...] read more
python
raspberry-pi
importerror
0votes
4answers

Passing content of float32 to a int32 in C

Problem: I would like to pass all the content of a float32 variable to a int32 however doing the following: float32 source; int32 destination; source = 23.59463; // Hex = 0x41BCC1CE destination = 0; // Hex = 0x00000000 destination = source; // Destination = 0x00000017 = 23 This does not [...] read more
c
embedded
0votes
1answer

Constant buffer members access the same memory

I'm using a constant buffer to pass data to my shaders at every frame, and I'm running into an issue where the values of some of the members of the buffer point to the same memory. When I use the Visual Studio 2012 debugging tools, it looks like the data [...] read more
c++
directx
buffer
hlsl
directx-11
0votes
2answers

UIView animateWithDuration causes app to crash

My snippet of code is given below. This causes the app to crash. Curiously, the app only crashes when I create an archive and load the archive on my device. If I run it on the device straight from XCode, it runs fine. for (int i = 0; i < [...] read more
ios
animation
uiview
segmentation-fault
0votes
1answer

Setting int more than once causes crash

I'm doing a CABasicAnimation and getting the value from a nested NSMutableArray. Everything is great the first time it runs but crashes when called again either with custom functions or viewDidLoad. I've isolated it down to this line int int1 = [[[locationsArray objectAtIndex:0] objectAtIndex:0 ]integerValue] ; I assume it's to [...] read more
objective-c
ios
int
nsnumber
0votes
3answers

iPhone - update the property of nth object of a NSMutablearray from touchesMovedwithEvent

In my earlier post in iPhone - update the property of nth object of a NSMutablearray i got something that worked in viewDidLoad but when i am trying to use almost the same code in -(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event then the application crashes. @interface int activeItem; int startFrom; NSMutableArray *iconsMutableArray; [...] read more
iphone
objective-c
0votes
2answers

Memory leak with Texture2D

I'm using Apple's Texture2D class from their CrashLanding example to draw dynamic text on the screen. Here's my method: - (void) drawText:(NSString*)textToDraw atX:(float)X andY:(float)Y { glColor4f(0, 0, 0, 1.0); Texture2D* _text = [[Texture2D alloc] initWithString:textToDraw dimensions:CGSizeMake(512, 512) alignment:UITextAlignmentLeft fontName:@"Arial" fontSize:11]; glBindTexture(GL_TEXTURE_2D, [_text name]); glEnableClientState(GL_TEXTURE_COORD_ARRAY); glEnableClientState(GL_VERTEX_ARRAY); glEnable(GL_TEXTURE_2D); glEnable(GL_BLEND); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); [_text [...] read more
iphone
objective-c
opengl-es
0votes
1answer

NSTextField binding causes EXC_BAD_ACCESS

I have an NSTextField which is bound to an int in an object that I have included in my nib. When the object changes its int, the text field follows suit, and everything looks fine. However, when I try to change it manually the program crashes as soon as I [...] read more
objective-c
cocoa
exc-bad-access
nstextfield
0votes
1answer

Can anyone decipher a flash CS4 crash log?

I have just updated to Snow Leopard and one of my important Flash files is now crashing every time I compile. I am hoping that someone can help decipher this crash log and offer any tips on what the problem might be. Flash does not give an error message, just [...] read more
flash
logging
crash
cs4
0votes
7answers

NSMutableArray Crashes App

I have a custom class "Person". Several Person objects have been created and added to an NSMutableArray called 'personArray'. I'm then going to pass one of these to the next view, called userView. These have all been Allocated and Initialised. The code I am using is: [userView setPerson:[personArray objectAtIndex:indexPath.row]]; The [...] read more
iphone
objective-c
cocoa-touch
nsmutablearray
-1votes
2answers

Get lines between starting and ending keywords in text file, then do post processing using python

I have a text file, I would like to extract the lines between starting (Socket:) and ending keywords (Socket:), then do a processing. Input: Socket: 1 Device ID: 0x0B028041 0xCC344007 0x10000834 0x00000011 CB: 3/ID: 0x445DDC13 BIBID: 0x65C A:0xB0000190 D:0x310020FF A:0xB0000194 D:0x00000000 A:0xB0000198 D:0x31002010 A:0xB000019C D:0x00000017 A:0xB00001A0 D:0x31002020 A:0xB00001A4 D:0x00000017 A:0xB00001A8 [...] read more
python
regex
python-2.7
-1votes
1answer

Exception thrown at 0x54FCC405 (sfml-system-d-2.dll) Access violation reading location 0x00000017

#include <SFML\Graphics.hpp> #include <string> using namespace sf; using namespace std; string calculate() { static Clock clock = Clock(); static float decimalTime = 0; decimalTime += clock.getElapsedTime().asSeconds(); int decimalTimeIntPart = floorf(decimalTime); if (decimalTimeIntPart > decimalTime) decimalTimeIntPart--; float decimalTimeFractionalPart = decimalTime - decimalTimeIntPart; string binaryTimeStr; int n = decimalTimeIntPart; while (n != [...] read more
c++
sfml
-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
-3votes
4answers

Why is this crashing....?

I am pushing a viewController on the navigation stack and when I reach the next view and come back and then relaunch the view it ends in a crash... here is the code.. SampleViewController *obj=[[SampleViewController alloc]initWithNibName:nil bundle:nil]; obj.delegate=self; self.title=@"TESTT"; [self.navigationController pushViewController:obj animated:YES]; [obj release]; but if I make the obj [...] read more
iphone
ios
memory-management
uinavigationcontroller

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