Windows error 0x00000018, 24

Detailed Error Information

BAD_LENGTH[1]

MessageThe program issued a command but the command length is incorrect.
Declared inwinerror.h

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

REFERENCE_BY_POINTER[2]

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

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 Code24 (0x0018)

Questions

13votes
3answers

speex support in android

Can anybody help me on how to use speex or jspeex in android? I have searched a lot but could not able to find anywhere.There are many issues regarding this in code.google.com/android but none have answered it. Here also this question did not got a good response as my another [...] read more
java
android
android-ndk
speex
jspeex
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
1answer

When using ExitWindowsEx, logoff works, but shutdown and restart do not

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
c#
winforms
5votes
3answers

Fatal signal 11 (SIGSEGV)

I have a weird error and I can't find where it comes from. The only thing that appears in the logcat is : 01-10 17:07:10.665: A/libc(20449): Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1) I don't get this error right away when I run my app, I get it after a [...] read more
android
android-ndk
java-native-interface
4votes
0answers

Using SymbolicC++ to solve systems of equations symbolically

I am looking for a way to programmatically solve systems of (not necessarily linear) equations, symbolically. My main focus has been on SymbolicC++, but I was unable to find much documentation, and I am unable to get it working. The code below yields a == 1/2*(-4*b^(2)+4*c^(2))^(1/2), which is clearly not [...] read more
c++
symbolic-math
3votes
1answer

How to call NtOpenFile?

I'm trying to call NtOpenFile, and it's failing with error: > STATUS_OBJECT_PATH_SYNTAX_BAD = NTSTATUS($C000003B); > > Object Path Component was not a directory object. The basic gist is: //The file we'll test with filename: UnicodeString := 'C:\Windows\Explorer.exe'; //23 characters //Convert the filename to counted UNICODE_STRING cs: UNICODE_STRING; cs.Length := Length(filename) [...] read more
delphi
winapi
3votes
1answer

Starting Redis on Windows failing

I'm trying to start Redis on Windows 10. When I run redis-server.exe I get the following message though: C:\Program Files\Redis>redis-server.exe [4680] 01 Jun 19:57:30.844 # The Windows version of Redis allocates a memory mapped heap for sharing with the forked process used for persistence operations. In order to share this [...] read more
windows
redis
redis-windows
3votes
0answers

"ld: 32-bit RIP relative reference out of range" on Mac OSX

I am trying to compile a Fortran 90 code that basically solves a very large system of differential equations (around 5000 ODEs). In order to increase the precision of the solver, I have to increase the size of the solution arrays, and I am running into a problem. I am [...] read more
gcc
compiler-errors
fortran
gfortran
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

how to correctly store the address of a procedure in a register x86_64 nasm?

I want to store the address of a procedure in a register as follows : extern _printf section .text global _foo _foo : mov rax, [rel _printf] call rax ret but i get this error when compiling with a main written in C : ld: warning: PIE disabled. Absolute addressing [...] read more
nasm
linker-errors
2votes
0answers

Understand assembly code in a C function on x86

Let's say I have a C function: char* func(char* cp1, int i1, char* cp2, int* ip1); Questions: 1. the address cp1 pointing is passed in in RDI, value of i1 in RSI, address cp2 pointing in RDX, and address of ip1 in RCX? 2. if it is true that RDX [...] read more
c
assembly
x86-64
calling-convention
2votes
1answer

QEMU registers and eip are destroyed after moving 0x18 in ds

Im currently learning to build my own bootloader. I was able to setup a gdt and get into protected mode. But when i tried to move 0x18 (third segment in gdt) into ds most of my registers are destroyed and eip gets something random Code that causes error: (im already [...] read more
assembly
x86
qemu
bootloader
protected-mode
2votes
1answer

Sql server conversion issues from Binary Data type to Numeric data

I am trying to persist values from one of the Sql server CDC table, which has column data type as "Binary(10)". I want to convert it into "Numeric" format and then convert it back to "Binary(10)". For e.g. declare @binary_data binary(10),@binary2 as binary(10) select @binary_data = 0x000000180003727C0006 Select Convert(int,0x00000018) as [...] read more
sql
sql-server
sql-server-2008
tsql
cdc
2votes
4answers

Segfault when using time.h

Ok I've been trying just about everything I know to get this program to stop crashing, but I just can't see why. I was able to isolate the problem to code with ctime, and just made a small program to demonstrate what's wrong. This code compiles without a problem. #include<iostream> [...] read more
c++
segmentation-fault
undefined-behavior
localtime
2votes
1answer

Error A/libc: Fatal signal 11 (SIGSEGV) at 0x00000018 (code=1) in SkPath

I am getting the following error when I tap on a button in my application: A/libc: Fatal signal 11 (SIGSEGV) at 0x00000018 (code=1), thread 11024 signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000018 eax 00000000 ebx b7d117e8 ecx 00000001 edx b84242d8 esi b84242d8 edi 00000000 xcs 00000073 xds 0000007b [...] read more
android
android-canvas
fatal-error
segmentation-fault
skia
2votes
2answers

Startup code for -- linux IRQ interrupt hander for ARM

For last few days i am studying a lot about linux chapter 10 book ldd3. I have some doubt please clarify them. Some are my analysis please suggest if they are wrong. > > For ARM there is one interrupt vector table address for -- IRQ interrupt -- > > [...] read more
linux
arm
linux-device-driver
interrupt-handling
2votes
2answers

How multiple interrupt handler share address 0x00000018

I am reading about how Interrupts are handled in ARM and came to know whenever any Hardware interrupts comes instruction at an address 0x00000018 is executed which is generally a jump to respected interrupt handler but there could be many interrupt handler for different modules . Then,how these different handlers [...] read more
linux-kernel
arm
linux-device-driver
interrupt-handling
2votes
2answers

IE9 Crashes when hiding table row or tbody in specific CSS circumstance: colspan > 1, border-collapse:collapse, border:0 !important

(Related to other post with minor refinements and perhaps slightly different use case then that one?). This took hours to narrow down what specifically in my page's HTML/CSS combination was causing IE9 to crash with the "Internet Explorer has stopped working" error (if I choose to debug, the specific error [...] read more
crash
internet-explorer-9
2votes
1answer

STL map allocation error in vc6

I'm using a map to merge duplicates and sort items in a dll. It's not exposed in the interface of the dll. The simplified code is as follows. UINT GetInfo(UINT request, LPVOID data) { //... switch (request) { case COUNT_RES: { CountRes* countRes = (CountRes*)data; ZeroMemory(countRes, sizeof(CountRes)); try { //... [...] read more
dll
map
access-violation
visual-c++
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

gcc --- __attribute__((interrupt( irq )))

i started with device driver for arm ... there i saw for each handler mention --- __attribute__((interrupt( irq ))) -.I am confused how this attribute will place a call to our driver routine ..?? IRQ of arm have following Vector address--- 0x00000018 (or 0xFFFF0018) As there can be many interrupt [...] read more
gcc
arm
linux-device-driver
embedded-linux
2votes
2answers

Fatal Error has been detected by java runtime environment.... cannot understand why?

My code is given below. Its a program that adds leaves to the database.I am getting the Fatal Error has been detected by java runtime environment and I am not understanding why. I am new to Java, so I am very confused about this. Can anybody tell me why is [...] read more
java
swing
jdbc
oracle10g
2votes
1answer

request size problem in apache + weblogic with mod_wl.so

We´re using apache (2.0, with ssl) to proxy the requests to a web service installed on weblogic. We have mod_wl.so installed, and all works fine with small requests. However, with larger requests (say, 300 KB), the apache stalls and display this error message: "Failure of server APACHE bridge: No Backend [...] read more
apache
weblogic
2votes
6answers

Vector push_back Access Violation

This is probably a silly error, but it's driving me nuts trying to fix it. I have a struct: struct MarkerData { int pattId; unsigned short boneId; Ogre::Matrix4 transToBone; Ogre::Vector3 translation; Ogre::Quaternion orientation; MarkerData(int p_id, unsigned short b_id, Ogre::Matrix4 trans) { pattId = p_id; boneId = b_id; transToBone = trans; [...] read more
c++
stl
vector
push-back
1vote
1answer

ESP32 crashes when I call WiFi.mode(WIFI_MODE_APSTA) from within a Interrupt ISR

Summary: On my ISR routine I call a function that tries to set the WiFi mode to APSTA in a ESP32, and it crashes with the following dump: Scanning for Modules... OK1 Guru Meditation Error: Core 1 panic'ed (Interrupt wdt timeout on CPU1) Core 1 register dump: PC : 0x4008b7cc [...] read more
crash
wifi
interrupt
esp32
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
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
2answers

Outlook calendar item clipboard format documentation?

SHORT VERSION Is there any documentation on the Outlook RenPrivateAppointment clipboard format used to transfer appointments? LONG VERSION As a reminder, for anything on the clipboard, the source application can present you the data in a number of different formats. The receiver can go through the list, in order, and [...] read more
winapi
outlook
clipboard
clipboard-interaction
1vote
1answer

The SetupData object could not be released while closing the script

When I save my setup object for the first time the custom properties get saved. When I launch the setup again, I can read the custom properties from it. The data seems to get saved correctly. This is an example code of my RunUI method public KfxReturnValue RunUI() { FrmSetup [...] read more
c#
kofax
1vote
2answers

Recieving 0xC0000005: Access violation reading location storing new pointer in pointer array

I am writing a basic Asteroids program, using the SFML graphics library, and am receiving errors/crashes when debugging the program. This happens only when I am attempting to fire a "photon torpedo" out of my ship, via the spacebar. Here is a snippet of the code. //check for keypress if [...] read more
c++
pointers
graphics
logic
sfml
1vote
0answers

Beaglebone Black and Qt5.10

I am using Beaglebone Black Rev C with BB-View CapeManager as follow: 1. Latest kernel version: "Linux arm 4.15.0-bone2.1 #1 Tue Jan 30 11:48:09 GMT 2018 armv7l GNU/Linux" 2. BBB fire up correctly and screen work correctly 3. Build Qt-everywhere package 5.11 fro io.qtdownload site 4. The Qt for ARM [...] read more
c
linux
qt
ubuntu
beagleboneblack
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

iOS app crashes when published, but not in test and not in Apple review

Rather a strange one and one that I am at a loss to solve. My IOS app runs on all my devices from Xcode. I then submitted it for testing by three external people using TestFlight. The app works as expected. I then submitted it for publication on the iTunes [...] read more
ios
exc-bad-access
1vote
0answers

opencv cli app crashes on windows 10

I'm working on a visual studio project(CLI app) that does some image processing over frames captured using opencv's videocapture class. The project works fine on my Windows 7 computer, but when I try to deploy it on Windows 10 the program crashes and the following is being thrown to the [...] read more
c++
windows
opencv
visual-studio-2013
video-capture
1vote
0answers

Ionic: App crashes on emulator

My Ionic app randomly crashes on an emulator with Android 4.3.1, works fine on a real device with 6.0.1 These are my logs of 3 different crashes, any idea? E/chromium(10153): [ERROR:xwalk_autofill_client.cc(121)] Not implemented reached in virtual void xwalk::XWalkAutofillClient::OnFirstUserGestureObserved() W/cr_BindingManager(10153): Cannot call determinedVisibility() - never saw a connection for the pid: [...] read more
android
ionic-framework
crash
1vote
0answers

Restaurant Queue Simulation marking error in function

I'm creating a restaurant simulation for my data structures class using a queue, and have a good idea for how to do this, but my program keeps throwing an error and marking my function that increments the "wait time" variable of all "customers" in the queue. Sometimes my program will [...] read more
c++
data-structures
queue
simulation
1vote
1answer

Random crash when calling glDrawArrays

I am making an iOS app which can render big number of textures which I stream from disk on the fly. I use a NSCache for LRU cache of textures. There is one screen with a 3D model and one screen with a full screen detail of a texture where [...] read more
ios
opengl-es
exc-bad-access
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
1answer

Under Xcode 6.1, in unit tests using OCMock, the instance to create a partial mock from is prematurely released

After migrating to Xcode 6.1, unit tests that make use of OCMock's partial mocks have started failing. The exception is an "unrecognized selector sent to instance" when calling the method to the mock. Trying to debug the issue, it looks like the instance being mocked has actually been released at [...] read more
objective-c
unit-testing
xcode6
clang
ocmock
1vote
1answer

Wrong hash output in C implementation of sha2 256

I've implemented sha2 256 based on the rfc spec found at: https://tools.ietf.org/html/rfc4634. My implementation: #include <stdio.h> #include <stdlib.h> #include <stdint.h> #include <string.h> #include <errno.h> uint32_t K[] = { 0x428a2f98,0x71374491,0xb5c0fbcf,0xe9b5dba5, 0x3956c25b,0x59f111f1,0x923f82a4,0xab1c5ed5, 0xd807aa98,0x12835b01,0x243185be,0x550c7dc3, 0x72be5d74,0x80deb1fe,0x9bdc06a7,0xc19bf174, 0xe49b69c1,0xefbe4786,0x0fc19dc6,0x240ca1cc, 0x2de92c6f,0x4a7484aa,0x5cb0a9dc,0x76f988da, 0x983e5152,0xa831c66d,0xb00327c8,0xbf597fc7, 0xc6e00bf3,0xd5a79147,0x06ca6351,0x14292967, 0x27b70a85,0x2e1b2138,0x4d2c6dfc,0x53380d13, 0x650a7354,0x766a0abb,0x81c2c92e,0x92722c85, 0xa2bfe8a1,0xa81a664b,0xc24b8b70,0xc76c51a3, 0xd192e819,0xd6990624,0xf40e3585,0x106aa070, 0x19a4c116,0x1e376c08,0x2748774c,0x34b0bcb5, 0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3, 0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208, 0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2, }; uint32_t CH(uint32_t x, uint32_t y, [...] read more
c
hash
sha256
sha2
1vote
1answer

receiving from remote server giving junk characters?

I am trying to write a telnet client to connect to following server: 198.182.241.14 (hosted by: Pittsburg State University, Kansas, USA) - login: library I have successfully connected through following code; sd = socket(AF_INET, SOCK_STREAM, 0); struct sockaddr_in sin; memcpy(&sin.sin_addr.s_addr, host->h_addr, host->h_length); sin.sin_family = AF_INET; sin.sin_port = htons(portno); if (connect(sd, [...] read more
c++
c
linux
telnet
1vote
2answers

dalvik segfault on embedded linux

all. I'm trying to get dalvikVM running on embedded linux. I use xilinx-linux for zynq-zc702 running on qemu. I followed this tutorial: http://www.bolatdinc.com/?p=336&cpage=1 I ported ashmem and logger to my linux kernel and compiled dalvik for armv7-a architecture. But when I run /system/bin/dalvikvm I get segfault with folowing strace: execve("/system/bin/dalvikvm", [...] read more
android
embedded-linux
dalvik
disassembly
bionic
1vote
1answer

Cereal - multiple de-serialization

I am very new to Cereal, and I have a (possible simple) question: Is there a way to deserialize multiple objects when I don't know the number of objects inside the (XML) archive? I tried something like: std::ifstream is("c:\\data.xml"); cereal::XMLInputArchive archive(is); while (is.good() && !is.eof()) { try{ ObjectIn oIn; archive(oIn); [...] read more
c++
serialization
cereal
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
0answers

Java Swingworker Fatal Error Crash

I have this desktop application that renders PDF into different images per page. But sometimes everything works fine, sometimes not. Using the same file. I don't know if this is due to some swing implementation or native code, or the jna wrapper. here is the log file # A fatal [...] read more
java
swing
jvm-crash
1vote
1answer

long long int values are incorrectly printed

When I cross compile an application for target with an Armv7 core, variables with 'long long int' are incorrectly printed. typedef long long int vmm_int64; typedef unsigned long long int vmm_uint64; int main(int argc, char *argv[]) { vmm_int64 a, b, result; a = 5; b = 24; result = 0; [...] read more
c
embedded
arm
gcc4.7
1vote
1answer

Why ffdec_h264 not give debug information in gstreamer?

I'm working on multimedia application debugging on gstreamer and I'm using GST_DEBUG options to produce debug. For example the following command GST_DEBUG=filesrc:5, qtdemux:5, ffdec_h264:5 gst-launch filesrc location=data/bdmp4/rihanna0.mp4 ! qtdemux name=demuxer demuxer. ! queue ! faad ! audioconvert ! audioresample ! autoaudiosink demuxer. ! queue ! ffdec_h264 ! ffmpegcolorspace ! autovideosink [...] read more
c
plugins
h.264
gstreamer
1vote
1answer

.NET Activex control access violation in MFC application

Background: I developed an Activex control in .NET, but found it was causing stability issues in various applications that used it. I managed to find a series of steps, from sample applications, similar unstabilities outlined below. I have a sample Activex control that I've downloaded from the Dev-Center website called [...] read more
c#
c++
.net
mfc
activex
1vote
2answers

Error in my logout section of my program in C#, can i get some help?

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
c#
.net
windows
winapi
logout
0votes
0answers

How to extract an elementary video stream from Avigilon .ave container?

I would like to figure out how to extract a H.264 video stream from an Avigilon .ave custom container. Unlike with here where they are using ffmpeg to extract the elementary video stream, when I try to do it with ffmpeg it responds: moov atom not found error which probably [...] read more
video
ffmpeg
codec
h.264
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
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

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

ESP32 WIFI connection generates CORE 1 panic / reboot

I'm using this code on an ESP32 to connect to my home WiFi network: #include <Arduino.h> #include <WiFi.h> char text[80]; uint8_t connectTCP(void) { char ctr = 0; const char *ssid= "*********"; const char *pwd = "*********"; WiFi.begin(ssid, pwd); Serial.print("Connecting to WiFi: ***"); // Wait for connection or time-out in 5 [...] read more
c
wifi
core
android-wifi
esp32
0votes
1answer

Exception on using ctypes with tesserac-ocr TessPageIteratorBoundingBox

import ctypes import os os.putenv("PATH", r'C:\Program Files\Tesseract-OCR') os.environ["TESSDATA_PREFIX"] = r'C:\Program Files\Tesseract-OCR\tessdata' liblept = ctypes.cdll.LoadLibrary('liblept-5.dll') pix = liblept.pixRead('test.png'.encode()) print(pix) tesseractLib = ctypes.cdll.LoadLibrary('libtesseract-5.dll') tesseractHandle = tesseractLib.TessBaseAPICreate() tesseractLib.TessBaseAPIInit3(tesseractHandle, '.', 'eng') tesseractLib.TessBaseAPISetImage2(tesseractHandle, pix) # text_out = tesseractLib.TessBaseAPIGetUTF8Text(tesseractHandle) # print(ctypes.string_at(text_out)) tessPageIterator = tesseractLib.TessResultIteratorGetPageIterator(tesseractHandle) iteratorLevel = 3 # RIL_BLOCK, RIL_PARA, RIL_TEXTLINE, RIL_WORD, RIL_SYMBOL tesseractLib.TessPageIteratorBoundingBox(tessPageIterator, iteratorLevel, ctypes.c_int(0), [...] read more
python
c++
c
tesseract
ctypes
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
3answers

How Linkers Resolve Global Symbols with the same name Defined at Multiple Places

i am new in programming and i started with c . i am learning in the point How Linkers Resolve Global Symbols Defined at Multiple Places. so i made a small program which says: //main.c #include <stdio.h> void b(void); int x; int a=10; int y =500; int x1 = 2016; [...] read more
c
0votes
0answers

When I open a scene my Unity crashes. How do I fix this?

Error logs. Unity is not running. > Unity.exe caused an Access Violation (0xc0000005) in module Unity.exe at > 0033:41ac1fd9. Full log: Unity Editor [version: Unity 2017.2.3p1_b4bae9093154] Unity.exe caused an Access Violation (0xc0000005) in module Unity.exe at 0033:41ac1fd9. Error occurred at 2018-06-12_191314. C:\Program Files\Unity\Editor\Unity.exe, run by Hemal Dedhia. 23% memory in [...] read more
c#
unity3d
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
1answer

Unknown key for a START_OBJECT in [layers]

When trying to send my json formatted tcpdump to elasticsearch, I get the following error: curl -X PUT --data-binary @myjson 'localhost:9200/_bulk?pretty' { "error" : { "root_cause" : [ { "type" : "parsing_exception", "reason" : "Unknown key for a START_OBJECT in [layers].", "line" : 1, "col" : 95 } ], "type" [...] read more
json
elasticsearch
jq
tcpdump
tshark
0votes
1answer

Spliting .csv add additional column to each new .csv

I use following code to split .csv file depends on main .csv column 8: import csv import pandas as pd def spliteCsv(input,output): print(input) data=set() with open (input) as csvfile: file = csv.reader (csvfile,delimiter=',') next (file,None) for row in file: if row[7] =='': data.add (-1) else: data.add (int(row[7])) data = list(data) [...] read more
python-3.x
pandas
csv
0votes
1answer

Python-Pandas Parser for Text Records arranged in non-uniform number of Rows-Lines

I'm very new to Python and pandas and I would like to parse a very big text file (200-500 MB) which has the information displayed as Records, with each record containing data fields as rows/lines rather than columns, and such Records having different number of lines (as they provide different [...] read more
python
parsing
pandas
text
0votes
1answer

32-bit pointer overflow in 64-bit gcc code - fails in compile

I am compiling a very large legacy Fortran 90 code (screamer) with gFortran on a Mac (2.2 GHz Intel Core i7) running Yosemite. (gFortran V5.1.0) I have 16 GB of RAM. The code is memory intensive and I am trying to increase array sizes to solve larger problems. I have [...] read more
pointers
gcc
compiler-errors
fortran
gfortran
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

Modifying elements of a binary tree c++

I have a problem concerning modifying the elements of a binary tree. This is the error I get: Access violation reading location 0x00000018. I think I'm accessing a null pointer but I don't know how to solve the problem. This is the code that I used: void modifyStatus(nod* root) { [...] read more
c++
binary-tree
0votes
1answer

core dump analysis gdb: print return address and arguments

I am trying to debug core dump using gdb as below $ sudo gdb /usr/sbin/ietd /tmp/ietcore/CoreDump This GDB was configured as "x86_64-linux-gnu". Reading symbols from /usr/sbin/ietd...(no debugging symbols found)...done. [New LWP 5978] Core was generated by `/usr/sbin/ietd'. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fdb77c0da03 in _IO_vfprintf_internal (s=<optimized out>, [...] read more
c
linux
gdb
kernel
coredump
0votes
1answer

How to properly Apply Post processing effects when you have multiple cameras?

Hi I am having so much trouble in applying post effects when you have 3 cameras active in one frame. First camera - which renders game play section of the game. Second Camera - GUI layer. Third Camera - Back Ground and animations. Here I am trying to apply post [...] read more
c++
ios
camera
game-engine
0votes
1answer

Identifying Crash in Symbolized Crash Report

I've had a crash within my native iOS App (which runs fine on simulator, only error on a device) I've been unable to identify the issue. The crash happens while the splash screen is shown, before the initial view controller is shown. Here are the 3 steps I've done thus [...] read more
ios
xcode
0votes
3answers

I can't run openCV2.3.1 with VS2010

I can't run openCV with VS2010. I downloaded OpenCV-2.3.1-win-superpack and extract openCV2.3.1 in C:\opencv and use CMake buide project into C:\opencv\vs2010. Next, I set include all module and lib to C:\opencv\build\x86\vc10\lib and set Additional Dependencies to opencv_core231d.lib opencv_highgui231d.lib opencv_imgproc231d.lib opencv_features2d231d.lib opencv_calib3d231d.lib After that I copy from C:\opencv\build\x86\vc10\bin to folder Debug [...] read more
visual-studio-2010
visual-c++
opencv
0votes
1answer

Neither Application.ThreadException nor AppDomain.CurrentDomain.UnhandledException are respected

First, within the Program.Program() static constructor I have this code: AppDomain.CurrentDomain.UnhandledException += (s, eargs) => LogException((Exception)eargs.ExceptionObject); Application.ThreadException += (s, eargs) => LogException(eargs.Exception); Then, if I deliberately do (for example) a divide-by-zero, it's caught. However, none of the other exceptions from within the thread loop are caught, like this one - [...] read more
c#
exception-handling
0votes
1answer

Not able to load Images from pList

I am porting my game on Windows 8 phone. Its already live on iOS and Android. Its crash when I try to load images from a plist. Unhandled exception at 0x69B76451 (libcocos2d.dll) in WickedChicks.exe: 0xC0000005: Access violation reading location 0x00000018. My code is simple: CCSpriteFrameCache::sharedSpriteFrameCache()->addSpriteFramesWithFile ("CommonObjects.plist"); My CommonObjects.plist and its [...] read more
cocos2d-x
0votes
1answer

How to run basic OpenCL face detection code

I tried running the OpenCL basic face detector code which is in "samples/ocl/facedetect.cpp". Before compiling the face detect code I followed the below steps to compile OpenCV with OpenCL enabled. 1. I downloaded OpenCL SDK by Intel from Intel SDK for OpenCL Applications 2013 and installed it. 2. Using CMake, [...] read more
opencv
image-processing
computer-vision
opencl
face-detection
0votes
1answer

Problems in reading images in Open CV 2.4.7

I recently started to work with OpenCV in Microsoft Visual Studio 2013. I wrote a simple code to open an image located on the project folder and I'm getting an error. This is the debug output: 'OpenCV_Test.exe' (Win32): Loaded 'C:\Users\Lucas\Documents\Visual Studio 2013\Projects\OpenCV_Test\Debug\OpenCV_Test.exe'. Symbols loaded. 'OpenCV_Test.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Symbols loaded. [...] read more
c++
opencv
computer-vision
0votes
1answer

Published apk crashes, while manually installed signed don't

I'm trying to publish an application of mine. All wen't fine, but when I downloaded from Google Play, it simply crashed. I'm using the apk expansions, which are downloading, and they are in their right place. Doing the exact same thing when I manually install the exported signed apk on [...] read more
android
apk-expansion-files
0votes
0answers

OpenCv error when initializing camera with VisualStudio C++ 2010

I'm new to opencv programming, so maybe my question will be very stupid. But i have such problem, i took one sample code, which should enable laptop webcamera to show image in desktop. #include <opencv\cv.h> #include <opencv\highgui.h> using namespace cv; int main() { Mat image; //create Matrix to store image [...] read more
c++
visual-studio-2010
opencv
0votes
2answers

Error in assigning a value to an element in an array of struct

I get this error in visual studio when running the code: Unhandled exception at 0x0028457b in fileIO_experiment.exe: 0xC0000005: Access violation reading location 0x00000018 I am trying to allocate an array of structs inside one of my functions. The pointer to this array is declared in main, but passed on and [...] read more
c++
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

Java application crash when uses icepdf library

In my application I use the library icepdf. when you create a class of applications is broken and creates a log file. Help in solving problems Log file: # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d034bee, pid=3304, tid=3364 # [...] read more
java
jvm
java-native-interface
jvm-crash
icepdf
0votes
1answer

Create struct with boost graph

I whant to use this structure that I've created with a graph: typedef struct type_INFOGRAPH { boost::adjacency_list < boost::listS, boost::vecS, boost::undirectedS, Node, Line > graphNetworkType; map<int,graph_traits<graphNetworkType>::edge_descriptor> emymap; map<int, graph_traits<graphNetworkType>::vertex_descriptor> vmymap; }INFOGRAPH; But when I trie to construct the graph with a function: INFOGRAPH *infograph = NULL; infograph->graph = CreateGraphFromDataset3(file); I [...] read more
c++
boost
graph
struct
0votes
1answer

Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: ç at 0x3ec3b04c Crashed Thread: 0

HI got the this crash report on device log and I am using the ad hoc build. I didn't find where it was crashed "0 ??? 0x3ec3b04c 0 + 1053012044" Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x3ec3b04c Crashed Thread: 0 Thread 0 name: Dispatch queue: com.apple.main-thread Thread 0 [...] read more
iphone
objective-c
ios4
-1votes
1answer

c++ tree within an array

I'm trying to make an array that hold splay trees. I tried: SplayTree<Node> splayArray[]; Then initializing it with: splayArray[10]; However, when I try to insert using: splayArray[0].insert(nodeObject); It doesn't work, I keep getting this error: 0xC0000005: Access violation reading location 0x00000018 Note that everything works fine if I just make [...] read more
c++
arrays
tree
-1votes
1answer

Crash on iOS7, but works fine on iOS6 devices

Team, I am upgrading the application to iOS7. I am seeing inconsistent crashes in my application when I pushed my app to background and play around with other apps and bring my application to foreground and then perform some actions, it crashes.. I am not able to reproduce the crash [...] read more
ios
ios7.1
-1votes
1answer

sometime application crash at the launch time in 3.1.2

here is the crash log Date/Time: 2010-08-31 18:16:52.646 +0530 OS Version: iPhone OS 3.1.2 (7D11) Report Version: 104 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 Crashed Thread: 0 Thread 0 Crashed: 0 libobjc.A.dylib 0x00003ec0 objc_msgSend + 24 1 HybridMobile 0x00006f3a 0x1000 + 24378 2 CoreFoundation 0x0003963a -[NSObject release] [...] read more
iphone

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