Windows error 0x0000001C, 28

Detailed Error Information

OUT_OF_PAPER[1]

MessageThe printer is out of paper.
Declared inwinerror.h

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

PFN_REFERENCE_COUNT[2]

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

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 Code28 (0x001c)

Questions

13votes
2answers

ARM bootloader: Interrupt Vector Table Understanding

The code following is the first part of u-boot to define interrupt vector table, and my question is how every line will be used. I understand the first 2 lines which is the starting point and the first instruction to implement: reset, and we define reset below. But when will [...] read more
arm
interrupt
bootloader
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
1answer

Using JSGF grammar instead of DMP language model (use -jsgf instead of -lm) in CMU Sphinx (pocketsphinx)

I need to train CMU Sphinx offline in my android app. I downloaded this project that use this parameter but when I start it I have this error: Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1). This error I also have when Sphinx can not find the accoustic model. I found [...] read more
java
android
speech-recognition
cmusphinx
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
2answers

Accessing ELF symbol table in C

I'm writing a program to mimic elfdump -ecps It currently prints out the elf header, program headers, and section headers correctly, but I'm stuck on the last few parts of the symbol table. the desired output is in the format of: Symbol Table Section: .dynsym index value size type bind [...] read more
c
elf
symbol-tables
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
5votes
1answer

"Anomaly" in signed integer in C

I'm currently writing a lecture on ARM optimization, specifically on vector machines such as NEON as the final target. And since vector machines don't fare well with if-else slaloms, I'm trying to demonstrate how to get rid of them by bit-hacking. I picked the "saturating absolute" function as an example [...] read more
c
optimization
integer
arm
bit-manipulation
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
3answers

InvalidOperationException with MediaLibrary pictures

I have a windows phone app and get sometimes InvalidOperationExceptions but not sure why and how to avoid them. The problem function from the error report is Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].get_Item and i get this stacktrace "Frame Image Function Offset 0 Microsoft.Xna.Framework.ni.dll Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].get_Item 0x0003e4d8 1 Microsoft.Xna.Framework.ni.dll Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].System.Collections.IEnumerator.get_Current 0x00000006 2 Microsoft.Xna.Framework.ni.dll Microsoft.Xna.Framework.Media.MediaLibraryEnumerator_1[[System.__Canon,_mscorlib]].System.Collections.Generic.IEnumerator_T_.get_Current 0x0000001c 3 [...] read more
c#
asynchronous
windows-phone-8
invalidoperationexception
5votes
1answer

Why does the Android emulator browser just exit to the home screen when I enter a url and press enter?

A couple days ago I installed the Android SDK on my work laptop. I created an AVD for 4.0.3. I ran it with proxy information on the command line. When it started up I ran the browser app and it successfully displayed the Google home page. I then clicked in [...] read more
android
emulation
4votes
4answers

Android WebView: crash after url loading

When loading an url with my webView, application crashes after few seconds (without error log...). My Code : wv = new WebView(this); wv.clearCache(true); wv.clearHistory(); wv.getSettings().setJavaScriptEnabled(true); wv.getSettings().setJavaScriptCanOpenWindowsAutomatically(true); wv.setDownloadListener(new DownloadListener() { @Override public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimetype, long contentLength) { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setType(mimetype); intent.setData(Uri.parse(url)); [...] read more
javascript
java
android
webview
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
3votes
1answer

C - Double underscore inside of #define macro

I have done some searching and have consulted a friend of mine, but also want to get the StackExchange's communities input. To preface I'm mainly a HW person who has been slammed into low-level firmware land, so forgive me for anything that seems as common knowledge. I have done C [...] read more
c
3votes
1answer

Stream from IP Camera very jittery on VLC

This question is a prologue to the one I previously asked here. I'm working on an IP camera project that is based on TI OMAP-L138. All in all, the H264 encoded video is streamed via live555 libraries over RTSP. For Live555 I'm using deviceSource based framed source. However, when I [...] read more
c++
algorithm
h.264
live555
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
2votes
1answer

Best way to transpose sed regex from Shell to Python script

I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 Using a shell script, the hex values from line starting with F Blocks: can be extracted using the line below : blocks="$(sed -nE 's/F Blocks:[\t ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)[ ]+(0x)?([0-9a-f]+)/0x\2 0x\4 0x\6/p' [...] read more
python
regex
sed
subprocess
pipe
2votes
1answer

Filter Arp-Replies

I'am writing an network library in C from scratch. I already implemented the Ethernet protocol and now I want to get ARP working. Sending Requests/Replies works fine but receiving isn't working well. When I send an send an Request and wait for the Reply after it, recvfrom() just takes the [...] read more
c
networking
arp
2votes
1answer

SQLCLR: How to add assembly Npgsql.dll to database?

I'd like to execute PostgreSQL commands from SQCLR procedure. When I am adding Mono.Security.dll I receive error: Msg 6218, Level 16, State 2, Line 33 CREATE ASSEMBLY for assembly 'Mono.Security' failed because assembly 'Mono.Security' failed verification. Check if the referenced assemblies are up-to-date and trusted (for external_access or unsafe) to [...] read more
c#
sql-server
postgresql
mono
sqlclr
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

OpenCV - Write access violation

I've been struggling for days to run this simple piece of code (that is part of a bigger project but this is the only part I'm running now). This code runs flawlessly in Xcode on macbook but not on my Windows 10 PC in Visual Studio 2015. The code is [...] read more
c++
opencv
visual-studio-2015
2votes
1answer

PocketSphinx own keyword spotting in Android

I want to implement a keyword spotting based on PocketSphinx for an Android app. PocketSphinx is new for me. I started with the PocketsphinxAndroidDemo from their repo. Then I have imported the project in Eclipse and have build and deployed the demo app on my phone. The demo recognized the [...] read more
android
eclipse
speech-recognition
cmusphinx
keyword-spotting
2votes
1answer

Fatal signal 11 (SIGSEGV) at 0x0000001c (code=1), thread 18178

I am trying to use navigation in Skobbler maps. It was working well when route is created using 'creatRoute' but then i get this error list as shown below when i use 'createRouteWithPoints': 05-16 09:33:16.948 27932-27932/com.wolfmatrix.navz E/SKRouteManager: GPX track navigation is available for commercial use with a enterprise license 05-16 [...] read more
android
android-studio
navigation
skmaps
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

Linux syscall in vmlinux and virtual memory

I have find the sys_open code from vmlinux binary: c1143c20: 55 push ebp c1143c21: 89 e5 mov ebp,esp c1143c23: 83 ec 10 sub esp,0x10 c1143c26: 89 5d f4 mov DWORD PTR [ebp-0xc],ebx c1143c29: 89 75 f8 mov DWORD PTR [ebp-0x8],esi c1143c2c: 89 7d fc mov DWORD PTR [ebp-0x4],edi **c1143c2f: e8 [...] read more
linux
memory
linux-kernel
reverse-engineering
system-calls
2votes
2answers

Why iPhone app crash on device, not on simulator?

I'm developing an iPhone app that uses third party libraries (openEars in specific) and I'm experiencing an issue when running it on the device (iPhone 4 with 5.0.1). The application works fine on the simulator but always crash at the same point when running on device. This is the crash [...] read more
iphone
ios-simulator
2votes
1answer

iOS app crash only if run from instrument (Automation)

My app do not crash on device. No leaks no memory warning. I was living happily. But recently I was doing some UI testing with Instrument(Automation). Boom Boom. App crashes after using it like 8 min. Looping around like 30 times. And it keep crashing but after different durations but [...] read more
objective-c
crash
automation
instruments
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
0answers

How to debug native side of Android stack?

Below given is the logcat of the signal11 obtained from our stack: __ratelimit: 20 callbacks suppressed Cpu0[.tel.tv.watchtv:1644:0x7ef12814:0xdeadbaad] no fix-ups. I/ActivityManager( 1422): Process com.tel.tv.watchtv (pid 1600) has died. I/WindowManager( 1422): WIN DEATH: Window{34ad9f10 com.tel.tv.watchtv/com.tel.tv.watcem8xxx0 [/relea se/android_mrua_dcchd_SMP8644_3_8_2/mrua/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:865] em8xxx_r elease: unclean exit (37 entries) htv.WatchTv paused=false} I/WindowManager( 1422): WIN DEATH: Window{34adba60 SurfaceView paused=false} [...] read more
android
native
1vote
3answers

Disassemble instruction set for 8051 microcontroller

I have the following hex opcode sequence for a 8051 microcontroller 785679107A247BFD7C347D407E51745568F869F96AFA6BFB6CFC6DFD6EFE I found this repo that converts hex to instruction sequences https://github.com/anarcheuz/8051-disassembler. Using that I was able to get the following assembly instructions x00000000: 37 38 MOV 38 (R0,#immed) 0x00000002: 35 ANL A,@R0 0x00000004: 37 39 MOV 39 (R1,#immed) [...] read more
assembly
reverse-engineering
microcontroller
disassembly
8051
1vote
1answer

ESP32 cam keeps rebooting when PIR sensor is triggered

So some background - I have a esp32 cam with a PIR sensor. The esp is in deep sleep, then is waken up by a PIR sensor (GPIO 13) and the esp takes an image. What I want it to do is then monitor for another 15s for movement. If [...] read more
arduino
camera
esp32
1vote
2answers

When using overloading in C++, how can I put the overloading function in the lhs?

I am a new learner of C++. I want to define a class 'ap_uint'. The goal is to conveniently implement the bit-wise operation. For example: I define an unsigned int value inside the class 'ap_uint'. I want to implement both read and write as below. my_ap_uint(4, 2) = 7; // [...] read more
c++
overloading
1vote
0answers

Zephyr and amazon web services failing at mqtt_input

I am trying to use MQTT library to connect to Amazon IOT Service /* * Copyright (c) 2019 Intel Corporation * * SPDX-License-Identifier: Apache-2.0 */ #include <logging/log.h> LOG_MODULE_REGISTER(aws_mqtt, LOG_LEVEL_DBG); #include <zephyr.h> #include <net/socket.h> #include <net/mqtt.h> #include <net/net_config.h> #include <net/net_event.h> #include <net/sntp.h> #include <sys/printk.h> #include <string.h> #include <errno.h> #include "dhcp.h" #include [...] read more
c
mqtt
zephyr-rtos
1vote
1answer

How to fix 'Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled' caused by registerForNotify()

I am trying to connect two ESP32 via Bluetooth, while one is serving as the server and one as a client. Connecting the client to the server works just fine and discovering the characteristic works too. But when I try to register the characteristic for notify, I get an error [...] read more
esp32
arduino-c++
1vote
1answer

Incorrect memory access: why is my kernel *not* crashing

I wanted to show to somebody an exemple of incorrect memory access (kernelspace trying to access userspace memory leading to a bug). Thus, I took an old tutorial as a POC, the important part is : static ssize_t dev_write(struct file *filep, const char *buffer, size_t len, loff_t *offset){ sprintf(message, "%s(%zu [...] read more
c
linux
memory-management
linux-kernel
kernel
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
2answers

Arduino ESP32 how to assign BLEUUID object into string

Currently we are developing an android app that can advertise itself from the BLE(bluetooth low energy) to ESP32 devices. ESP32 collects the MAC address, device name, and service UUID and send the data to MySQL server. So far ESP32 can send the device name and MAC address but somehow, we [...] read more
c++
arduino
bluetooth-lowenergy
esp32
1vote
0answers

Defining two different callbacks for BLE on ESP32

I'm developing a joint work Android app/ESP32 application to communicate via BLE. The goal is to be able to advertise, and to manage connections to exchange specific data for each android phone. On my ESP32, I want to be able to have a callback for GATT characteristic, and another one [...] read more
android
bluetooth-lowenergy
esp32
1vote
1answer

Cannot write to serial

I am using the ESP32 DevKitC-v1 (clone) with FreeRTOS and attempting to write bytes to the serial port. My code (below) causes the following exception: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled. Core 0 register dump: PC : 0x400ea8fe PS : 0x00060730 A0 : 0x800eb825 A1 : [...] read more
c++
c
freertos
rtos
esp32
1vote
1answer

LPC4088 checksum value for Thumb?

In the LPC4088 user manual (p. 876) we can read that LPC4088 microcontroler has a really extraordinary startup procedure: enter image description here [https://i.stack.imgur.com/6fXvE.png] This looks like a total nonsense and I need someone to help me clear things out... In the world of ARM I've heard countless times to [...] read more
gcc
arm
cortex-m
thumb
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

How to run CMUSphinxAndroid example for voice recognition

I want to convert Audio file to text. So, I have found link Can CMU Sphinx be set up to recognize ~200 words to use CMUSphinx library to do this. Do this I followed the http://cmusphinx.sourceforge.net/2011/05/building-pocketsphinx-on-android/ and try to run android example. But I could not found sample project there.Is [...] read more
android
speech-recognition
cmusphinx
speech-synthesis
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
1answer

cortex-m3 can't debug. reason - SIGINT

I try to debug cortex-M3 microcontroller. There is SysTick interrupt enabled in firmware. So I can't debug program. There is what i get: C:\Users\al\Desktop\eclipse\arm-toolchain\bin>arm-none-eabi-gdb.exe ../../work_d ir/mdr1986be91_94_dev_board/Debug/mdr1986be91_94_dev_board.elf GNU gdb (Sourcery G++ Lite 2011.03-42) 7.2.50.20100908-cvs ... (gdb) target remote localhost:3333 ... (gdb) c Continuing. Program received signal SIGINT, Interrupt. 0x0000001c in ?? [...] read more
gdb
cortex-m3
1vote
1answer

uPP Device Driver is dropping data from buffer

I have written code for a uPP device driver to be used with an OMAPL138 based custom board for data acquisition through a camera lens. The code for my device driver is: /* * A device driver for the Texas Instruments * Universal Paralllel Port (UPP) * * Modified by: [...] read more
c
multithreading
arm
linux-device-driver
omap
1vote
0answers

peverify bugs fixed in .NET 4?

I have VS .NET 2010 installed, and a class library targeting .NET 3.5. The simple C# fragment below generates verifiable IL under .NET 4.0's peverify, but the IL does not verify using .NET 3.5's peverify. Were there any peverify bugs fixed in this transition? public static bool IsGenericTypeInstance(this Type typ) [...] read more
clr
cil
peverify
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
0answers

Esp32 AsynWebserver Websocket Crush

I'm trying to build async webserver with websocket using ESPAsycnWebserver lib. Everything works fine, but there is one moment: when i refresh multiple times: 13 or 29 it crushes and reboots. I think there is memory problem but dont know how to solve. Here is Console output and working code: [...] read more
websocket
webserver
esp32
arduino-esp32
0votes
0answers

guru meditation error: core 0 panic'ed (loadprohibited) while working with custom library

I am working on a median filter on the ESP32 board. This median filter is based on a circular buffer. I implemented the filter into the main.c and it worked just fine. However as I created a custom library and called the function from the main.c the ESP32 just reboots [...] read more
c
esp32
freertos
platformio
0votes
1answer

xQueue ESP32 can't send two command

I'm looking for help because I'm stuck on the problem for a long time. I have at home an ESP32 wrover kit that I have connected in uart to a Zigbee gateway module. I would like to send via uart some commands to the module, for that I put the [...] read more
queue
pthreads
esp32
freertos
0votes
1answer

ESP32 Guru Meditation Error: Core 0 panic'ed (LoadProhibited). when using BLE

I am developing on ESP32 WROOWER using Arduino IDE. When I use BLE in my sketch it bricks down, I dont know why. My sketch is big, 1416000 bytes and in Tool>Partition Scheme I selected "HUGE APP 3MB....". Here is the backtrace: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception [...] read more
arduino
bluetooth
bluetooth-lowenergy
esp32
decoder
0votes
0answers

According to the standard PCI bus scan but the result is abnormal

This is scanning code uint32_t pci_read_configd(uint8_t bus, uint8_t dev, uint8_t func, uint8_t offset) { uint32_t address; uint32_t lbus = (uint32_t)bus; uint32_t ldev = (uint32_t)dev; uint32_t lfunc = (uint32_t)func; address = (uint32_t)((lbus << 16) | (ldev << 11) | (lfunc << 8) | (offset & 0xfc) | ((uint32_t)1 << 31)); out_port32(0xcf8, [...] read more
c
operating-system
qemu
pci
pci-bus
0votes
1answer

ESP32: Getting Guru Meditation Error because having an extremly long string (~15.000 characters long)

I've written a little program, which in a loop first sends a POST-request to a special machine, the machine returns an other API-path in its response header, afterwards I can execute a GET-request on that API path and get an extremly long string (~ about 15.000 characters). This works pretty [...] read more
c++
string
runtime-error
stack-overflow
esp32
0votes
0answers

Guru Meditation Error: Core 0 panic'ed (LoadProhibited),(Interrupt wdt timeout on CPU1)

I was trying to record light intensity values for a Li-Fi project. This is my code: #include <soc/sens_reg.h> #include <soc/sens_struct.h> #include <driver/adc.h> #include <SD.h> #define ADC1_GPIO36_CHANNEL ADC1_CHANNEL_0 #include <adc_channel.h> const char filename1[] = "/part1.dat"; const char filename2[] = "/part2.dat"; File file1, file2; int local_adc1_read(int channel) { uint16_t adc_value; SENS.sar_meas_start1.sar1_en_pad = [...] read more
interrupt
esp32
arduino-ide
adc
0votes
0answers

Python program airnef not working on Canon 3000D

Sadly Canon doesn't provide the EOS Utility for the Canon 3000D camera for wireless real time image transfer to computer. I'm currently attempting to use the airnef software by testcams.com, its a open source python based application. It hasn't been updated since 2016 so hence its not working for the [...] read more
python
macos
wifi
photography
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

Issue with null key/value's when accessing a map/vector from a callback generated from ESP32 bluetooth library

I am trying to fire a function every time an ESP32 node receives a certain char. I can receive the data and parse the char out of a packet structure I have made. I register all my actions in a map of type <char,callback_function>, where typedef void (*callback_function)(void); The idea [...] read more
c++
arduino
bluetooth
microcontroller
esp32
0votes
1answer

ESP32-WROOVER randomly reboot with different reasons

Hardware: Board: ESP32 Dev Module, node32, ttgo Core Installation version: not sure IDE name: Arduino IDE Flash Frequency: 40Mhz PSRAM enabled: not Upload Speed: 115200 Computer OS: Windows 10 Hi, I am working on a project, which is to use GSM to connect MQTT, and send instant data such as [...] read more
arduino
esp32
0votes
1answer

C++ binary files not read correctly

I am reading a file that is written in high endian on a little endian intel processor in c++. The file is a generic file written in binary. I have tried reading it using open() and fopen() both but they both seem to get the same thing wrong. The file [...] read more
c++
io
endianness
0votes
0answers

How to make swift's symbol table not garbled?like Objective-c?

I imported the symbol table file.txt of swift project, Why is it not as intuitive as Objective-C? # Symbols: # Address Size File Name 0x1000017E0 0x00000090 [ 2] ___sanitizer_cov_trace_pc_guard_init 0x100001870 0x00000070 [ 2] ___sanitizer_cov_trace_pc_guard 0x1000018E0 0x00000090 [ 2] _printC 0x100001970 0x0000001C [ 2] _sancov.module_ctor_trace_pc_guard 0x100001990 0x00000080 [ 3] +[TestOCViewController load] [...] read more
llvm
llvm-clang
0votes
1answer

PrintDocument failed to print the second time

Here is the full code Imports System.Data.OleDb Public Class veterinarycgpa Private Sub veterinarycgpa_Load(sender As Object, e As EventArgs) Handles MyBase.Load Dim matricno, sessionad As String matricno = pretranscript.matric.Text sessionad = pretranscript.session.Text 'semester = checkresult.semester.Text Dim allunit, allwgp As Decimal Try Dim con As New System.Data.OleDb.OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0; Data Source=cgpa.accdb") Dim cmd As [...] read more
vb.net
visual-studio-2012
printing
printdocument
0votes
1answer

Same HTTP request passes with CURL_CLI but fails with LIBCURL

Am using libcurl to communicate with Amazon S3. GET calls are success whereas PUT (for uploading files) calls are failing with 403. PUT call with same headers when ran through CURL-CLI are success. I have disabled certificate checking. [[ curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0) ]] Using CURLOPT_DEBUGFUNCTION option as specified in https://curl.haxx.se/libcurl/c/CURLOPT_DEBUGFUNCTION.html, [...] read more
c
curl
libcurl
0votes
2answers

How to extract few hex numbers from a line?

I have a file containing these lines Entry : 12300000 F Blocks: 0x00000020 0x00000000 0x000a1b00 S Blocks: 0x00100000 0x0000001c 0x00000150 I would like to extract only the numbers associated to the line starting with F Blocks as string. Line can be easily extracted using : sed -n '/F Blocks:/p' filename [...] read more
regex
sed
0votes
0answers

ESP32 RC car project issue

im using nipplejjs like virtual joystick by sending json request to esp32 to remote a rc car with to dc motors the front motor is for direction and the back motor for speed the fonction rorat hendle the json request i retrive the (distance , angle , degree ,type ) [...] read more
loops
arduino
esp32
arduino-c++
0votes
1answer

Problems with HTTP client management on Waveshare e-paper ESP32 board

Goodmorning everyone. I am developing an application for an electronic Waveshare display, based on a version of ESP32 on IDE Arduino. The directive is to print on the display a bitmap image provided by a webservice at a specific address. Being a beginner, it is not clear to me how [...] read more
c++
http
arduino
httpclient
esp32
0votes
1answer

Data payload for ZigBee thermostat to change the system mode of the thermostat in API mode

Can anyone tell me what is the data payload to change the system mode of the ZigBee based thermostat? I have found the cluster ID and attribute ID for the system mode i.e 0x0201 (cluster ID) & 0x001C (attribute ID) but unable to frame the data payload. Zigbee walker output [...] read more
xbee
zigbee
nest-thermostat
0votes
0answers

How to implement poll function into Linux kernel module?

I'm trying to implement polling functionality into my simple Linux kernel module called gpio_driver for my Raspberry Pi which should notify the user space poll function about the change of state of one of the GPIO pins (button push). What I did in my gpio_driver is set the internal pull [...] read more
c
linux-kernel
linux-device-driver
polling
gpio
0votes
2answers

Create an Arduino ESP8266 library

I would like to create a Arduino library for an ESP8266or ESP32 microcontroller. I wrote a test library which running on an Arduino Nano board with no problem. Here the library cpp file: #include "Test.h" Test::Test(){ } uint32_t Test::libTest(strcttest* t){ uint32_t w; w = t->a; return w; } Here's the [...] read more
c++
arduino
esp8266
0votes
1answer

Problems uploading and debugging binaries on LPC4088 because of Boot ROM

I am trying to upload this simple assembly program: .global _start .text reset: b _start undefined: b undefined software_interrupt: b software_interrupt prefetch_abort: b prefetch_abort data_abort: b data_abort nop interrupt_request: b interrupt_request fast_interrupt_request: b fast_interrupt_request _start: mov r0, #0 mov r1, #1 increase: add r0, r0, r1 cmp r0, #10 bne [...] read more
debugging
gcc
embedded
lpc
0votes
2answers

GDB ARM assembler directives are compiled in a way I don't understand

I have ARM assembly source code: .global _start .text entry: b _start array: .byte 10, 20, 25 eoa: .align _start: ldr r0, =eoa ldr r1, =array mov r3, #0 loop: ldrb r2, [r1], #1 add r3, r2, r3 cmp r1, r0 bne loop stop: b stop Which is a simple [...] read more
gcc
assembly
arm
qemu
0votes
0answers

Access violation error at 0x1C

I have the following ARM code: AREA prog, code, READONLY ENTRY MOV r1, #0 ;division count MOV r2, #41 ;Fahrenheit SUB r2, r2, #32 ;r2=r2-32 ADD r3, r2, r2, LSL #2 ;r3=r2*5 LOOP ADD r1, r1, #1 SUBS r3, r3, #9 BLT LOOP END And I am getting the following [...] read more
assembly
arm
keil
0votes
2answers

MFC Ribbon crashes in windows 2008

I have an application that uses the MFC Ribbon. It is developed in Visual Studio 2010. I am facing a strange issue. The app works fine in Windows 7 and windows 2008 R2. However it crashes in windows 2008 when it tries to load the ribbon from resource. The exact [...] read more
c++
visual-studio-2010
mfc
windows-server-2008
ribbon
0votes
1answer

ARM, help LDR instruction

I am studying for an ARM test and I have this code AREA datos, DATA, READWRITE long EQU 7*4 serie DCD 1, 2, 4, 6, 8, 7, 9 resul DCB 0 AREA prog, CODE, READONLY ENTRY mov r0, #0 eor r1, r1, r1 ;result variable ldr r2, =serie **This one** [...] read more
assembly
arm
keil
0votes
1answer

Sort of an event driver

I am trying to make a Linux Kernel driver in the Raspberry pi 3 that turns on a led when a button in a joystick es pressed(Sets GPIO as an Output and then sets it on) and also reads the status of that GPIO port. My driver for turning on [...] read more
c
linux
linux-kernel
linux-device-driver
raspberry-pi3
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

Binary Search Tree - In-order Traversal

I am trying to make a crossword puzzle program utilizing BST's, i currently have the following words inserted into the tree: word, will, wyr, wale, wilt, apple, abs, wack(inserted in that order) but everytime i debug the program in visual studio, i get an error Exception thrown at 0x008DE28C in [...] read more
c++
binary-search-tree
tree-traversal
crossword
0votes
2answers

Android Cocos2d-x 3.7: how to get Application Context in cocos2d-x?

I use Android code cocos2dx call encountered a problem. I will not call in the Android cocos2dx Context, I'm not sure whether there is a problem with the following code, and then the following is the way I need to call in Android , as well as errors such calls [...] read more
android
cocos2d-x
android-context
0votes
0answers

pthread_mutex_lock locked but no owner or count set

There was a deadlock and found that pthread_mutex_lock is waiting to get the lock but the mutex lock is already locked with owner set to zero. p *(*spinLock)->lock $47 = {__data = {__lock = 1, __count = 0, __owner = 0, __kind = 0, __nusers = 0, {__spins = 0, [...] read more
c
locking
pthreads
mutex
deadlock
0votes
1answer

unhandled MPU fault on Cortex-M3 with uclinux and uclibc

This is a hard question but I hope someone could help ;) Here is the crash I have from simplest app which just calls pthread_create(): / # /opt/zpm_thread 00032 : pthread_initialize: initial thread stack bounds: bos=0x1, tos=0xffffffff 00032 : __pthread_initialize_manager: manager stack: size=8160, bos=0xa02fc008, tos=0xa02fdfe8 00032 : __pthread_initialize_manager: send REQ_DEBUG [...] read more
arm
cortex-m3
uclibc
uclinux
mpu
0votes
2answers

WinDbg with dump files when you have a classic ASP app which uses a lot of .Net via interop

Ok, first please don't ask why this application is the way it is. This is a classic ASP application which in several areas uses .Net and COM and some of that .Net also reaches into COM! It's all to do with code reuse really, at some point .Net was introduced [...] read more
.net
memory-leaks
asp-classic
windbg
0votes
0answers

Windows Phone C# - system.unauthorizedaccessexception

Hellllooooo guys! I have an app for Windows Phone 8. The crash report of my app lists one really big bug that often occurs (crash count is high). The funny (let's say sad) thing is that I can't reproduce this error on my phone or emulator. Can you help me, [...] read more
c#
windows-phone-8
unauthorizedaccessexcepti
0votes
0answers

Why do gcc and icc generated assembly contain tons of "extra" pseudo ops?

When I look at the assembly generated by gcc or icc there's a ton of pseudo-ops. Do they all do something? Here's the example that raised the question. I have two simple C++ files. One calls a function and the other does it. call.cpp: #include <iostream> void vadd(float* __restrict__ A, [...] read more
c++
gcc
assembly
icc
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
1answer

The identifer FT_DEVICE_LIST_INFO_NODE is undeclared

I am using libmpsse_spi.h for SPI communication through FT2232H. When I use this I get an error in the following program on the line: > FTDI_API FT_STATUS SPI_GetChannelInfo(uint32 index, FT_DEVICE_LIST_INFO_NODE > *chanInfo); This line is under Function Declaration. The error says that the identifier FT_DEVICE_LIST_INFO_NODE is undefined. What can be [...] read more
visual-studio-2010
0votes
2answers

iphone EXC_BAD_ACCESS (SIGBUS) on device

Well, I've taken the iOS stumbler app that was first made here and later here and added a whole bunch of functionality such as real time scanning on user defined intervals and etc etc. Well, everything runs fine except the actual scanning up to a point. Due to the nature [...] read more
iphone
xcode
exc-bad-access
jailbreak
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
1answer

Dereferencing pointer on heap, mscvp.dll error?? - crashes. C++

This is for a computer science data-structures class and we are making a "memory manager" aka something that mimicks the job of the heap. Basically, the user defines a number of bytes to have if they want to store things on the heap. To store things on the heap, they [...] read more
c++
memory
heap
0votes
1answer

How to get certificate from pkcs7 file

I have a pkcs#7 file with included signers certificate, CA certificate, CRL. Now, to verify signature from this file I get the certificate from it. I try to do: HANDLE hFile; if(!(hFile = CreateFile(L"c:\\users\\timur\\desktop\\sign_pkcs7.sig", GENERIC_READ, 0, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL))) { printf("Error opening file %d\n", GetLastError()); } HCERTSTORE hPkcsStore = [...] read more
c++
cryptoapi
pkcs#7
0votes
2answers

NSURLConnection sendSynchronousRequest: fails when using POST

I'm using a custom NSURLCache to intercept calls for certain web pages in order to modify them dynamically. Inside cachedResponseForRequest: I modify the request, then send it out using sendSynchronousRequest. This works very well until you attempt to submit a form. If there is post data it fails. If i [...] read more
iphone
nsurlconnection
exc-bad-access
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
-1votes
2answers

How to fix Guru Meditation Error: Core 1 panic'ed (LoadProhibited) error

I am trying to write code for the ESP32 chip where it takes in readings from a DHT22 sensor, packages it into a json file, and then sends it to a Flask server. Everything works just fine up until I try to POST, where I get the following error: Guru [...] read more
flask
arduino-ide
esp32
-1votes
1answer

Having trouble adding more than 2 objects to a vector

I'm working on a Parallax scrolling project, in which I need to get multiple sprites up on the screen at once. To do this, and to make the code remotely reusable, I am using some vectors to hold my ParallaxSegment objects. ParallaxSegment* seg; vector<ParallaxSegment> parsega; These are created as private [...] read more
c++
vector

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