Windows error 0x0000000C, 12

Detailed Error Information

INVALID_ACCESS[1]

MessageThe access code is invalid.
Declared inwinerror.h

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

MAXIMUM_WAIT_OBJECTS_EXCEEDED[2]

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

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 Code12 (0x000c)

Questions

34votes
4answers

Indexing .PDF, .XLS, .DOC, .PPT using Lucene.NET

I've heard of Lucene.Net and I've heard of Apache Tika. The question is - how do I index these documents using C# vs Java? I think the issue is that there is no .Net equivalent of Tika which extracts relevant text from these document types. UPDATE - Feb 05 2011 [...] read more
.net
asp.net
lucene
solr
lucene.net
11votes
3answers

GLSL uniform only being updated by unrelated calls

I have an extremely basic GLSL program which is failing to properly update a uniform value after the first draw call. No errors are received from glGetError, no errors are reported in the info logs when compiling and linking the shaders, and all uniform locations are valid. Vertex shader: #version [...] read more
opengl
glsl
9votes
1answer

sem_release(): failed to release key 0xc: Invalid argument

I'm using semaphore to synchronize some parts in my application. On releasing of the semaphore (sem_release) I'm getting this warning: > sem_release(): failed to release key 0xc: Invalid argument First I don't know whether the semaphore released, but since I'm not getting "true" as result, I guess it's not releasing. [...] read more
php
semaphore
ipcs
6votes
1answer

Restoring Printer Settings

We're trying to standardise our printing environment to provide consistent settings across our various print queues. To do this, we would like create a settings file per model of printer so that they can be used to quickly deploy new Windows print servers and queues with standard settings. We've used [...] read more
windows
configuration
printing
settings
6votes
1answer

Can't get STM32F103RB usart1 to communicate with hc-05

I am unable to connect USART_1 with bluetooth hc-05. The Microcontroller is STM32F103RB. Here's the code (I am not using any library) #define APB2_FREQ 72000000 void USART1_Send(char* data) { unsigned int length = 0; while(data[length] != '\0') ++length; int i = 0; while(i < length) { while((USART1_SR & 0x00000080) == [...] read more
stm32
uart
keil
hc-05
6votes
2answers

SO_ATTACH_REUSEPORT_CBPF socket option unexpected behavior

I am trying use a port from two applications and have each of them receive the packet from a different set of IP addresses. In order to achieve this, I use the SO_REUSEPORT and SO_ATTACH_REUSEPORT_CBPF socket options. My code is as follows: parentfd = socket(AF_INET, SOCK_STREAM, 0); if (parentfd < [...] read more
linux
sockets
packet-capture
6votes
2answers

IOS 6 MKMapView crashes on [EAGLContext setCurrentContext]

We are developing an iPad application starting from map view with annotations. By using storyboard when We switch to another view which has an opengl based charting solution (shinobi). On return to the view with map it has no problem until a touch on the map to move it. As [...] read more
opengl-es
mkmapview
exc-bad-access
ios6
5votes
3answers

iOS: App crash "-[MFMailComposeInternalViewController _notifyCompositionDidFinish]"

according to crashlytic someone crash while using the iPad. The crash error they received is -[MFMailComposeInternalViewController _notifyCompositionDidFinish] I don't know how this could've occurred. Here is the exception Crashed: com.apple.main-thread EXC_BAD_ACCESS KERN_INVALID_ADDRESS at 0x0000000c Here is the raw data Thread : Crashed: com.apple.main-thread 0 libobjc.A.dylib 0x30fa4f46 objc_msgSend + 5 1 [...] read more
ios
objective-c
crash
mfmailcomposeviewcontroller
unrecognized-selector
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
4votes
0answers

CCID RDR_to_PC_DataBlock Error Problem 0xFE ICC_MUTE - Java Smart Card Reading

I am a beginner programmer and have problem about sending CCID Command to the Smart Card via Usb Host on Android mobile device. This time I sent PC_to_RDR_IccPowerOn CCID command PC_to_RDR_IccPowerOn to activate the card and received ATR response back. Next process I sent PC_to_RDR_XfrBlock CCID command to the card [...] read more
java
android
smartcard
apdu
smartcard-reader
4votes
0answers

Application gets crashed and displays a Error in Thread(Fatal Signal)

In LogCat : 12-16 01:49:49.139: A/libc(790): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 806 (Thread-93) 12-16 01:49:49.169: A/libc(790): Fatal signal 11 (SIGSEGV) at 0x0000000c (code=1), thread 824 (Thread-112) I wrote a code for creating Threads one by one when a button is clicked.It switches to multiple screens. when i [...] read more
android
multithreading
android-layout
thread-synchronization
4votes
1answer

What is the supported format for compressed 4-channel audio file in iOS?

First of all I'm a noob in both iOS and audio programming, so bear with me if I don't use the correct technical terms, but I'll do my best! WHAT WE WANT TO DO: In an iOS app we are developing, we want to be able to play sounds throughout [...] read more
ios
audio
3votes
3answers

Access violation reading location 0x0000000c

In my application I disable the Start menu using 'LowLevelKeyboardProc'. But i get the following error when i pressing the tab key continuously. The Error.. > Unhandled exception at 0x00352d58 in Timer_soosai.exe: 0xC0000005: Access > violation reading location 0x0000000c. > > 00352D58 mov eax,dword ptr [ecx+0Ch] /*This is the line [...] read more
c#
winforms
winapi
3votes
1answer

First-chance exception at ...: Access violation reading location ... when debugging using Visual Studio 2010

I try so hard to catch from legacy code access violation keep getting : First-chance exception at 0x57e77e1c in YouTubeLocal.exe: 0xC0000005: Access violation reading location 0x0000000c. My stack looks like this: Qt5Guid.dll!57e77e1c() [Frames below may be incorrect and/or missing, no symbols loaded for Qt5Guid.dll] Qt5Guid.dll!57e75604() Qt5Guid.dll!57ed520b() Qt5Guid.dll!57dcf18b() > msvcr100d.dll!_unlock(int locknum=0x00000004) [...] read more
c++
visual-studio-2010
thread-safety
access-violation
3votes
3answers

Pyshark: can only get first field value if same key name (field name) show multiple entries with different value

I am using Pyshark to parse Wireshark sniffer log, and I used exported Json format file (based on pcapny file) to find field names when use 'get_field_value' function to retrieve field value. For example, in order to get BSSID value: * In Json format file, this info is displayed as [...] read more
python
python-3.x
wireshark
wireshark-dissector
pyshark
3votes
1answer

AVPlayerPeriodicCaller crash

I’m getting crash, and I can’t figure out what is causing it. Here what I’m getting from crash report: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000c Triggered by Thread: 0 Thread 0 Crashed: 0 AVFoundation 0x2f271946 -[AVPlayerPeriodicCaller _effectiveRateChanged] + 418 1 AVFoundation 0x2f270fc8 __43-[AVPlayerTimelyCaller _timebaseDidChange:]_block_invoke + 232 2 [...] read more
ios
avfoundation
3votes
1answer

I'm trying to use AVQueuePlayer to create a seamless audio loop, however, I don't know why there is a small silent pause between loops?

I have a simple audio file in .wav format (the audio file is cut perfectly to loop). I've tried different methods to loop it. My first attempt was simply using AVPlayer and NSNotification to detect when audioItem ended to seek time at zero and play again. However, there was clearly [...] read more
ios
swift
avfoundation
avplayer
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

CREATE ASSEMBLY fails with "Unable to resolve token"

I am trying to upload some CLR code to an SQL Server 2016 (Developer edition) instance. Overall, the structure is like this: * One CLR UDF depends on assembly A * Another CLR UDF depends on assembly B * Both A and B depend on assembly C The target framework [...] read more
.net
sql-server
.net-assembly
sqlclr
sql-server-2016
3votes
1answer

AUGraph FormatConverter (AUConverter) render notify contains NULL ioData buffer

I am working on a iOS project and need to capture input from the microphone and convert it to ULaw (to send out a data stream). I am using an AUGraph with a converter node to accomplish this. The graph is created successfully and initialized, however in my render notify [...] read more
ios
core-audio
2votes
1answer

Subversion, connection reset

I am having a great deal of difficulty performing "history" oriented operations in subversion. Installed version is 1.6.x on a LAMP Ubuntu server. I am using Eclipse as a SVN client but I've also tried it with SVNx, and Tortoise on a Windows instance. The error I am getting when [...] read more
eclipse
svn
2votes
1answer

How should I initialise my stm32 ( f215 )

I am trying to make an extremely minimal stm32f215 firmware to teach myself its boot-up intricacies. As it is now I have this dump which, to my knowledge, should write the stack address to r0 and loop forever: firmware-d: file format elf32-littlearm Disassembly of section .isr_vector: 08000000 <vector>: 8000000: 20002000 [...] read more
arm
embedded
cortex-m3
2votes
1answer

Capturing PTP packets with Linux raw socket

I want to implement a C program that captures all the Precision-Time-Protocol (PTP) frames on the Ethernet, so I created a raw socket and attached a filter for PTP, I use recvmsg() to read data from the socket. The first issue is that I wasn't receiving any PTP frames so [...] read more
linux
ethernet
raw-sockets
bpf
2votes
2answers

Supported OpenSL ES Features in Android

Android is supposed to support 3D audio via the OpenSL es API which is accesible via the NDK. That more or less works, I managed it to play sound via a created player and an output mix. But when I try to realise a listener with a 3D location interface [...] read more
android
c
audio
android-ndk
opensl
2votes
1answer

Control AMIS-30543 with STM32F030R8 via SPI

I'm attempting to get my STM32 board to control a stepper motor (using an AMIS-30543 driver, 26M024B2B stepper motor) using SPI. I'm using Keil uVision 5 and taking a bare-metal approach in C. My problem is that the motor is not spinning and I'm unsure where the error(s) are hiding. [...] read more
c
embedded
stm32
bare-metal
cmsis
2votes
2answers

CubeMX-generated USB HID device sends wrong data when both endpoint and PMA address are changed

I'm debugging a problem with a composite device that I'm creating, and have recreated the issue in freshly-CubeMX-generated HID-only code, to make it easier to resolve. I've added small amount of code to main() to let me send USB HID mouse-clicks, and flash an LED, when the blue-button is pressed. [...] read more
usb
stm32
cubemx
stm32f3
2votes
2answers

Why static final int is used in android standard classes avoiding enum?

In standart android classes static final int vars is used to represent different flags. For example, View visability flags: /** @hide */ @IntDef({VISIBLE, INVISIBLE, GONE}) @Retention(RetentionPolicy.SOURCE) public @interface Visibility {} /** * This view is visible. * Use with {@link #setVisibility} and <a href="#attr_android:visibility">{@code * android:visibility}. */ public static final [...] read more
java
android
enums
2votes
2answers

change in endianness while ethernet transmission

I work with zedboard and vivado v2017.3. I am trying to send data stored in a register(slv_reg0 in PL section of Zynq) pointed by baseaddr_p in the following program. I use lwip echo server application to read this address and send it to the PC via Ethernet. This part of [...] read more
c
vivado
zynq
2votes
1answer

Opendaylight Can't Connect to HP Aruba SDN Switch

My lab recently procure an HP (Aruba) 2920 24G and I was told to test it out on an OpenDaylight controller. First, I setup the OpenDaylight Carbon (0.7.2) with dlux features, odl-mdsal-apidocs, odl-restconf, and odl-l2switch-switch installed. The Opendaylight can communicate with my other switches including an SBC running an Open [...] read more
sdn
opendaylight
2votes
2answers

Qt Application throws an Access violation exception during startup

I have a Qt Application that works in Debug mode without any problems. Since two days I'm trying to make it work in Release mode. After some Project property modification I managed to compile without errors. But unfortunalty the application crashes before even reaching the main method. That's my environment: [...] read more
qt
release
startup
access-violation
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
1answer

LDMIA instruction not working correctly on external SRAM in cortex M4

I am using STM32L486ZG board in thumb mode. I am running a simple bare-metal application without any RTOS. I have external SRAM connected to the board using FSM. The external SRAM is located at address 0x60000000. The system is initialized and running at 72MHz (i have tried this issue with [...] read more
gcc
memory
arm
ram
cortex-m
1vote
1answer

dhclient lease renewal occasionally breaks DNS resolution

I have a set of ec2 instances (ubuntu trusty 14.04) that I have never done any special dhcp configuration with. It's on a VPC with the default dhcp options. For some reason, roughly ever 25 minutes, I see this in my logs (IP's and xid are scrubbed) DHCPREQUEST of 172.16.1.111 [...] read more
dns
dhcp
amazon-web-services
amazon-ec2
1vote
0answers

Why upgrading to Windows 10 anniversity edition fails

After running upgrade Windows 10 to anniversity edition screen in blank. After computer restart windows 10 restores its previous version. Tried two times but problem persists. How to upgrade ? Earlier Windows 10 works OK, all windows 10 uodates are installed. C:\$WINDOWS.~BT\Sources\Panther\setuperr.log contains: 2016-08-06 11:20:32, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
1vote
1answer

How to debug an RPM that will not uninstall

I've built an RPM using redline rpm library for java. When I try to uninstall the rpm it says it was removed but when I do a list it is still there and says it is still installed. Here is the results of my uninstall with as much debug as [...] read more
rpm
1vote
1answer

Windows registry -- Malware

I wanted to analyse some malware but I'm stuck with the registry of windows, and was wondering if some of you could help me to understand some of it. It actually modified some values in the registry such as: > HKLM\SYSTEM\ControlSet001\Control\ServiceCurrent\: 0x0000000A > HKLM\SYSTEM\ControlSet001\Control\ServiceCurrent\: 0x0000000C > HKLM\SYSTEM\CurrentControlSet\Control\ServiceCurrent\: 0x0000000A > HKLM\SYSTEM\CurrentControlSet\Control\ServiceCurrent\: [...] read more
windows-xp
windows-registry
malware
malware-removal
1vote
1answer

Error in configuring SQL server in WSL

Windows 10: Version 1709 (OS Build 16299.19) WSL: Ubuntu 16.04 Following the guide here. I get an error in Step 4 when running sudo /opt/mssql/bin/mssql-conf setup ➜ x git:(master) ✗ sudo /opt/mssql/bin/mssql-conf setup [sudo] password for devlin: Locale en_GB not supported. Using en_US. Choose an edition of SQL Server: 1) [...] read more
sql-server
ubuntu
windows-subsystem-for-linux
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

Ubuntu 16.04 fatal JRE error

Since yesterday all my IntelliJ applications quit running due to a JVM fatal error. This it the error I get everytime: # # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0xa7b55215, pid=23009, tid=0x7fa5db40 # # JRE version: OpenJDK Runtime Environment (8.0_121-b13) [...] read more
java
intellij-idea
runtime-error
fatal-error
1vote
0answers

Why can't I stop this thread from the Linux kernel?

Edit: Clarification -- This is Linux kernel code. I send SIGSTOP to a thread and then call wait_task_inactive to make sure it stopped. But the CPU RCU-stalls judging by the kernel log. I have no spin-lock acquired and I should have root privileges. I should also mention that the thread [...] read more
c
linux
linux-kernel
kernel
posix
1vote
1answer

UART Communication Between STM32F03 and ESP-8266-01

I'm attempting to get a smartphone app to communicate with an MCU (STM32F030R8). The step I'm currently on is getting the WiFi module to talk with the MCU. I'm able use the AT firmware to configure the ESP when using an Arduino Uno/PC terminal, but want to essentially do the [...] read more
c
stm32
esp8266
cmsis
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
0answers

SIGSEGV on JNIEnv->CallStaticObjectMethod

I'm trying to create a JThrowable in C code when an error value is returned from a native library. A SIGSEGV is generated when I call (*env)->CallStaticObjectMethod(env, exceptionClass, mid, errCode);. This is the C code that creates the exception: jthrowable makeGPIOException(JNIEnv *env, int errCode) { printf("makeGPIOException %d\n", errCode); jclass exceptionClass [...] read more
c
kotlin
raspberry-pi
java-native-interface
segmentation-fault
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

Interpreting Output of CAShow in Core Audio

I've created a simple AUGraph - Remote IO, mixer and one callback (to write the mic input to a file) - however I don't think it's configured the way I think it is. I'm trying to use CAShow() to understand what I've actually created, but I'm struggling to reconcile its [...] read more
ios
core-audio
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
1answer

Problem compiling IDL created with OleView

To correct a problem with the name of the value for the enum, after searching, that I need to modify the TLB file of my DLL. The first step that I need to do is to create the IDL file. So I use Oleview to create the file. Before doing [...] read more
idl
typelib
midl
oleview
1vote
0answers

application creating muant handles and never frees them

My c++ application is creating mutant handles. I couldn't find where the handle is being created, so I used Windbg and with !htrace. It doesnt give the exact function name. All my symbol files are loaded and the application is built in debug mode. !htrace shows open handles but the [...] read more
windbg
handle
resource-leak
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

Windows Subsystem for Linux: Error while installing MSSQL Server

I've just downloaded and installed Microsoft SQL Server into my WSL environment. Everything went smoothly as I ran sudo /opt/mssql/bin/mssql-conf setup. I was prompted for the install version (eg Developer), install Language, and administrator password. When prompted to confirm, this happens: Enter the SQL Server system administrator password: Confirm the [...] read more
sql-server
linux
windows-subsystem-for-linux
1vote
1answer

GDB command 'info sharedlibrary' can't show all the libraries

I am doing cross compile debugging. My build server CPU is amd64. My device CPU is MIPS. When I am trying to do debug the elf file compiled by myself. The gdb can only show ld.so.1 (gdb) info sharedlibrary From To Syms Read Shared Object Library 0x7704f9c0 0x7706c490 Yes (*) [...] read more
c
debugging
gdb
cross-compiling
1vote
2answers

No luck compiling __thread using ndk clang 3.4/3.5

I am trying to use __thread in this small program without luck. Any idea if this TLS is supported in ndk 10c clang 3.4/3.5? The same program compiles fine with ndk gcc 4.8/4.9 and native clang/gcc compilers. -------------------------------------------------------------------------------- Here is the program and compile line - __thread int counter; int [...] read more
android
c++
android-ndk
clang++
thread-local-storage
1vote
1answer

Reverse enginering a Linux based USB camera

I bought an IP camera on which is installed proprietary software (no HTTP server). This prevents me to integrate it into my home network. I want to replace the software (ELF closed source) by the motion package I already use and add some features. I have no particular system competence [...] read more
arm
reverse-engineering
embedded-linux
u-boot
buildroot
1vote
2answers

Different results between step debugging and running program on tiva c

I have a TIVA tm4c123G I have been trying to create a communication between it and my ADXL345 sensor using I2C protocol which I succeeded in writing and reading from the accelerometer the readings of the device address and the register values that I just wrote to which means everything [...] read more
c
arm
embedded
accelerometer
i2c
1vote
1answer

Convert CAF to WAV, channel layout iOS

I'm using a recorder to record sound from the iPhone in caf format. Then, I want it to be in wav format. So I convert it with a code found on the net : AudioChannelLayout channelLayout; memset(&channelLayout, 0, sizeof(AudioChannelLayout)); channelLayout.mChannelLayoutTag = kAudioChannelLayoutTag_Mono; NSMutableDictionary *outputSettings = [NSMutableDictionary dictionaryWithObjectsAndKeys: [NSNumber numberWithInt:audioFormat], AVFormatIDKey, [...] read more
ios
audio
converter
wav
audiotoolbox
1vote
1answer

How to fix Can't retrieve group information for user IIS APPPOOL\DefaultAppPool

In Windows 10 Visual Studio Community Edition is used. ASP.NET MVC 4 applications are running from it in Debug Mode using IIS Express installed by Visual Studio. Upgrading to Windows 10 anniversity edition fails with error 0xc1900101 - 0x30018 The installation failed in the FIRST_BOOT phase with an error during [...] read more
asp.net-mvc
visual-studio
iis
visual-studio-2015
iis-express
0votes
0answers

Upgrading to Windows 10 fall creator fails

This is the setuperr.log. 2018-01-23 16:43:24, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IMoSetupDlpAction> > > >::Suspend(1066): Result = 0xC1800104 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteInstallMode(723): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::ExecuteDownlevelMode(347): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupManager::Execute(237): Result = 0x800705BB 2018-01-23 16:43:24, Error MOUPG CSetupHost::Execute(375): Result = [...] read more
windows-10-v1703
0votes
0answers

Windows 10 1607 upgrade issues

Sorry there's a lot of issues, they could be related so I will list them in one question. The issues are:- 1. As posted previously here Windows Update is failing to install the anniversary update. 2. I've since turned off Windows Update, until I can resolve issue #1 and now [...] read more
windows
windows-10-upgrade
sql-server
0votes
0answers

Win 10 doesn't upgrade to November update or Redstone

I have an one year old ASUS laptop, which originally shipped with Win 8.1. When Windows 10 was released I upgraded without hassle to Windows 10. Trying to update to November update (Threshold-2) or more recently Redstone just doesn't work. The upgrade starts and finally Windows is restarting. Then after [...] read more
windows-10
windows-10-upgrade
windows-10-v1607
0votes
2answers

JVM crash :- Problematic frame: # V [libjvm.so+0x546720]

Production server has gone down and the preliminary analysis find that it has encountered a JVM crash. The jboss server log and GC log seems to be ok. And the jvm error log mention the “Problematic frame: # V [libjvm.so+0x546720]”. Configuration details:- The server is 64 bit machine having 32 [...] read more
jboss
0votes
0answers

Mobile Storage Host Controller. Power on/off state is ignored when reading from SD card

I'm afraid my question could be board- or SoC-specific. Anyway, I hope someone has experience in it. SoC: RK3308 (board: ROCK Pi S). I read from SD card in bare-metal environment: AArch64 EL3, DDR initialized, MMU/GIC disabled. Reading a block from SD card. I assumed, that BootROM will do all [...] read more
assembly
arm64
bare-metal
sdmmc
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
0answers

Computer crashed after attempting to start bettercap http/api server. I copied some errors from journalctl --system. The output baffles me

There is something strange going on here. In the log, it mentions two other private IPs that I definitely do not use. Especially since it's on a different IP subnet. I've noticed this the other day and was actually able to ping them. Still can. The other thing I seen [...] read more
crash
out-of-memory
httpserver
0votes
1answer

debugger: How to get address of class name in constructor

NOTE: I'm not trying to solve a programming problem; I'm trying to learn. Given this c++ code: #include <iostream> class class1 { public: int attr1 = 12; class1() { } // breakpoint }; int main() { class1 c1; } Using VS2019; breakpoint set per above. In Immediate Window: this 0x000000877f54fcf4 [...] read more
c++
visual-studio
debugging
immediate-window
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
0answers

Java or Solaris issue

so i have been tasked with migrating some machines mainly all windows and all has gone well until now with one machine giving us this error. As i am no software techie type and have never used Solaris or java for apps its puzzled me and I am wondering if [...] read more
java
oracle
solaris
0votes
0answers

debugging powerpc exe with lldb on x86 host

I want to compile and debug powerpc code compiler on ubutnu x86 host. * I installed powerpc gcc toolchain so I will be able to create an executable. * I build lldb and clang. * I wrote an hello world program and compiled with powerpc gcc. * Finally, I loaded [...] read more
lldb
llvm-clang
powerpc
0votes
1answer

Access violation writing location 0x0000000C

I'm struggling with one thing. I'm trying to call game's functions from python api via injected dll. It works sometimes but mostly throws an error: > Exception thrown at 0x1E07F731 (python27.dll) in Soria2.pl.exe: 0xC0000005: > Access violation writing location 0x0000000C the above is log from debugger. My code: std::vector<int> mobList() [...] read more
python
c++
0votes
1answer

GCC Posistion independent code: Variables are not loaded correctly

The Program works fine as a stand alone on CC2650 (M3). But it shall be used also as a firmware which is loaded over the radio channel. For this purpose the position independent code is needed. The problem is, all of the variables defined as described below are not set. [...] read more
c
gcc
position-independent-code
0votes
1answer

How to declare COM interface with properties in C++

I'm trying to call a registered COM interface (Inproc dll) in an Eclipse C++ environment (MinGW GCC toolchain). I therefore don't believe that I can simply import the dll typelib the way I typically would in Visual C++. I'm trying to define the interface myself to simplify the function calls [...] read more
c++
interface
com
idispatch
0votes
0answers

qemu run a bare-metal assembly program on xilinx-zynq-a9 machine

I am following this guide on setting up arm emulation setup. The guide is made taking connex machine as example. I want to follow the guide but using xilinx-zynq-a9 machine since I have some experience working with zynq boards. So I have made a .bin file by following the tutorial. [...] read more
assembly
arm
qemu
bare-metal
zynq
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
3answers

Treat a variable value as an address and assign this value to a pointer

I encounter a problem when I try to treat a variable value as an address and assign this value to a pointer. Here are what I did so far. 1. declare a pointer uint32_t *p; 2. declare and initialize two variables uint32_t a = 0x0000000C; uint32_t b = 0x0C00000B; 3. [...] read more
c
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
1answer

TrueType Font cmap table Format 0 not serializing

Here is the data I am using to construct the table: { version: { type: 'USHORT', value: 0 }, numTables: { type: 'USHORT', value: 1 }, platformID: { type: 'USHORT', value: 0 }, encodingID: { type: 'USHORT', value: 0 }, offset: { type: 'ULONG', value: 12 }, format: { type: [...] read more
fonts
truetype
0votes
0answers

bpf_asm returns single ' on compile

I am new to Berkeley Packet Filter . I am trying to learn how to hand roll my own bpf code and then compile it using the bpf_asm. I am working on ubuntu 16.04 with kernel 4.4.0-137. I have downloaded the source code and I am working my way through [...] read more
linux-kernel
bpf
0votes
2answers

DS-5 eclipse debug stuck at waitForTargetToStop

First I follow the DS-5 start demo and can debug my code correctly on the ARM FVP -> VE_Coretex_A9x1. Then I follow the link to enable NEON and it needs to set CPU target in the build, the axf file has been built correctly but the debugger stops to work. [...] read more
eclipse
arm
ds-5
0votes
1answer

Android Service with IPC

I have spent the last two days trying to figure this out. I have a service that I am creating to practice with services and IPC. I have checked the code against the book that I am reading it is almost exact only difference being identifiers. I get a ResourcesNotFoundException [...] read more
android
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

ARM car Head Unit - extract rootfs from cpio

Got an ARM powered head unit and im trying to get the rootfs (ramdisk) out of the kernel image. I found uImage header and was able to extract the zImage. Using binwalk i found gzip data in the zImage, which I also extracted. I get a file called 20C50.cpio, which [...] read more
linux-kernel
u-boot
firmware
cpio
0votes
0answers

PEVerify Defect: It reports "Type load failed" on valid class compiled with csc.exe for compact framework

A trivial class: public class TestClass : System.ServiceModel.Security.SecurityCredentialsManager { } When compiled using csc against the MS CompactFramework v3.5 will result in a dll that fails to pass peverify, resulting in a "Type load failure". It appears to be an issue with inheriting from the SecurityCredentialsManager class which is part [...] read more
c#
compact-framework
cil
csc
peverify
0votes
1answer

Call a python method from C/C++, and fail in access violation exception

We wanna call a c/c++ extension in python, and in the extension we need to callback one function in the python script. Here is the python code # -*- coding: UTF-8 -*- import sys reload(sys) sys.setdefaultencoding('utf-8') import ctypes class MyClass: def func(self): print "func" open("out.txt","w").write("func") print "func2" return mDll = [...] read more
python
python-c-api
0votes
0answers

python pip install not working, failed with error code 1

Nothing ive tried has worked and nothing ive found online has worked, including upgrading setuptools and a couple other things as well as installing visual studio. Heres what I get back, minus some because stackoverflow doesnt like it. C:\Users\ejhsc>py -m pip install pandas Collecting pandas #ifndef _NPY_NPY_CONFIG_H_ #error config.h should [...] read more
python
pip
installation
0votes
0answers

White border on maximized .hta file

I am making a fake BSOD from a .hta file. it is perfect except for the fact that there is a white border along the program. Im not sure what to do at this point, i cant find anything on the topic. Can anyone fix this? Here is the code: [...] read more
hta
0votes
1answer

Should we read BAR type before writing all F's to the BAR or before that?

I am working on a PCI express driver. I am reading the BAR of the root complex device to find the memory type and the size it requires. I know that to find the size of memory we need to write all F's to the BAR and read it back, [...] read more
driver
pci-e
0votes
1answer

Breakpoint not working in gdb with QEMU simulating cortex-a8

I am testing some simple code running in the ARM7TDMI, since I haven't found ARM7TDMI simulator on QEMU, I use Cortex-a8 instead (I am not sure if this will lead to bug, total newbie). This is how I run QEMU: qemu-system-arm -machine realview-pb-a8 -cpu cortex-a8 -nographic -monitor null -serial null [...] read more
c
gcc
arm
gdb
qemu
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

Access Violationg when retrieving h_addr_list[0] C++

I am trying to send a GET request and when I try to retrieve h_addr_list[0], I get an access violation error trying to read at location 0x0000000C. hostent* FAR hostname = gethostbyname(sDetails.host); serveraddr.sin_addr.s_addr = *(LPDWORD)hostname->h_addr_list[0]; sDetails.host is set to http://www.google.ca for testing. read more
c++
sockets
winsock
access-violation
0votes
0answers

PCEP error RP object missing

Note: this editor is messing up the text alignment of the wireshark capture Cisco IOS XR router send a PCEP request to ODL PCE for path computation and gets a PCEP Error message type 6 value 1: Mandatory object missing, RP Object missing. Wireshark shows that the PCEP client (the [...] read more
opendaylight
0votes
0answers

U-Boot uncontrollable debug stepping

I've been having some issues debugging U-Boot. I believe it is due to a RAM configuration error, but I would like to get some clarity on it. My methodology for testing is below, and is based on these instructions for the BeagleBone Black 1. Load board with no memory/image 2. [...] read more
u-boot
texas-instruments
jtag
0votes
0answers

Building & Running VLCLib Tutorial

https://wiki.videolan.org/LibVLC_Tutorial Trying to get a running tutorial of the VLC libraries but getting the Exception in Visual Studios 2017: "Exception thrown at 0x5A3EDF59(libvlc.dll) in Project1.exe: 0xC00000005: Access violation reading from location 0x0000000C." Following the above tutorial. All the code the same except for two places: m = libvlc_media_new_path (inst, "C:\bb.mp4"); [...] read more
c++
c
visual-studio
vlc
0votes
2answers

PIC32 UART Not recieving data

I am building a device using a PIC32MX250F128D. One of the systems requires use of the UART. Transmitting from the PIC to a putty terminal works fine. However, sending data in the other direction is not working, and I am out of ideas. I am using a cheap USB-UART adapter [...] read more
c
embedded
pic
uart
microchip
0votes
1answer

Cordova project with cordova-plugin-mfp plugin fails with error during runtime

Whenever i use cordova-plugin-mfp in my cordova project & try to build with command cordova build android --release, one of the cordova plugin which contains .so file goes down. But the same project works fine without cordova-plugin-mfp plugin. And the same project works fine with cordova-plugin-mfp plugin building with command [...] read more
android
java-native-interface
ibm-mobilefirst
0votes
1answer

C# COM client (RTD)

I'm working with a real time data server (a trading terminal) that has a COM interface for ticker updates. From Excel, I'm able to subscribe to the ticker updates using this - RTD(progId,,topic1,topic2, ...) I'm trying to build an application that will receive these ticker updates without any dependency on [...] read more
c#
com
rtd
0votes
0answers

Crash log from a published app

This is a log from a crash report of a published app. I don't have any more details about the crash except that it happened on an iPhone 5. I don't see Last Exception Backtrace block here so I don't know how to pinpoint the error and fix it. Any [...] read more
ios
swift
crash
0votes
1answer

New audio HAL not working with Nexus player

Android opens my Audio HAL's input stream and then immediately closes it. Please help me figure out what's missing. Background This is in continuation to work on Nexus 7 tablet discussed in a previous question here I was able to successfully load vloop audio hal into Nexus 7 and read [...] read more
android
audio
android-source
hal
-1votes
1answer

After STM instruction, why does R6 register hold memory location of 10, 11, 12?

In Wiley's Practical Reverse Engineering book, page 59, the following example is used to explain the LDM/STM instructions. Shouldn't line 30 show R6 with the values of r3, r4, r5? Doesn't line 10 store the values in R6 at the memory locations of the destination? 02: Breakpoint 1 at 0x8344 [...] read more
assembly
arm
-1votes
1answer

Defusing a Binary Bomb: phase_5

Here is my understanding of what the code is doing, and how I'd like to solve it: First I need to find a string, and then reverse engineer that string, based on the 16-byte lookup table that I have found. I do know that the values of these "offsets" must [...] read more
assembly
x86
reverse-engineering
-1votes
1answer

Overlapping memory addresses in x64 C function from PInvoke

We have a PInvoke as follows: [DllImport(DllName, EntryPoint = "ExternalName", CharSet = CharSet.Unicode, CallingConvention = CallingConvention.Cdecl)] public static extern IntPtr ExternalFunction(IntPtr state, IntPtr inputData, int inputIndex, int inputLength, int tailLength); With the C declaration as follows: void * __cdecl ExernalName(void* state, void* inputData, int32_t inputIndex, int32_t inputLength, int32_t tailLength); When [...] read more
c#
c
pinvoke
-2votes
2answers

C++ How to save char* into array of char* []

I have a byte* that I am saving into a char[] printing the char[] I get 0,1023,1023,1000;0,0,1023,1000;1023,0,0,1000;1023,1023,0,1000;0,1023,0,1000 I pass that to a function using strtok to split on ";", saving that value to char *colorsAtTick;, then I am trying to save that into the array char *colorsAtTickArray[] = {}; by [...] read more
c++
arrays

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