Windows error 0x0000001F, 31

Detailed Error Information

GEN_FAILURE[1]

MessageA device attached to the system is not functioning.
Declared inwinerror.h

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

SHARED_RESOURCE_CONV_ERROR[2]

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

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 Code31 (0x001f)

Questions

6votes
1answer

Merging of ETL files has failed (0x80071069) (Flags: 0x0000001f)

I am trying to profile my application using the built-in profiler in Visual Studio 2017: enter image description here [https://i.stack.imgur.com/Z3wFj.png] However when I close the application, this is what appears: Microsoft Visual Studio was unable to create a diagnostics report. Check Output window for errors. [https://i.stack.imgur.com/1dwYt.png] This is what I [...] read more
c++
visual-studio
visual-studio-2017
6votes
4answers

Crashing with ASIHTTPRequest and NSOperationQueue when cancelling operations

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

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

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

Bit order in struct is not what I would have expected

I have a framework which uses 16 bit floats, and I wanted to separate its components to then use for 32bit floats. In my first approach I used bit shifts and similar, and while that worked, it was wildly chaotic to read. I then wanted to use custom bit sized [...] read more
c++
endianness
bit-fields
4votes
3answers

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

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

Installing applet (Java Card) on J3A081

I've just created a very simple applet. It's a "hello world" in Java card technology. I pasted a code below. public class helloworld extends Applet { private byte[] echoBytes; private static final short LENGTH_ECHO_BYTES = 256; /** * Installs this applet. * * @param bArray * the array containing installation [...] read more
java
smartcard
javacard
globalplatform
4votes
2answers

PIC32 SPI ISR not being called when RXIF flag set?

I'm using a PIC32MX795F512L SPI3 module in slave mode. My master is sending data over the SPI line but my slave's interrupt service routine is never being called. The RX interrupt flag is being set in hardware on the slave side and I can read the SPI3BUF and get the [...] read more
embedded
microcontroller
interrupt
pic
spi
4votes
3answers

Launch PhoneGap-based iPhone app from email link

I just switched from Titanium to PhoneGap. All works well except that I have been unable to get the app to be launch-able from an email link. The iPad/iPod animates to start the app and then the app crashes. In this posting, the real app name has been changed to [...] read more
iphone
hyperlink
cordova
launching-application
4votes
2answers

Python C extension not threadsafe?

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

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

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

Storing multiple values via bitmask in c#

I'm trying to store four independent 5-bit values (0-31) inside a 32-bit int via bit mask but am having trouble getting the values correct to set and get the individual values from the masked int used for storage. Can anyone help me with this? Edit: Sorry for the external link [...] read more
c#
bitmask
bit-masks
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
3votes
1answer

Projection matrix causing inaccuracy in clip-space depth calculation?

Currently working with SlimDX's Direct3D 11 bindings and having significant difficulty with my shader, the source of which follows: /* * * * * * * * * * PARAM STRUCTS * * * * * * * * * */ struct VSPointIn { float3 pos : POSITION; float4 color [...] read more
c#
directx
direct3d
hlsl
slimdx
3votes
1answer

How to implement a conditional jump in asm *without* label?

In Visual C's __asm, I'd like to do a jump to a location that's stored in a register, but it doesn't seem to work for conditional jumps, e.g. JAE. Ordinarily this works fine (if you use a label). lea ecx, 0x0000001f[edx] ;jmp ecx ;ok ;jae EXIT_LOOP ;ok jae ecx ; [...] read more
visual-c++
assembly
3votes
2answers

EXC_BAD_ACCESS (SIGSEGV) crash

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

juniper vpn network connect osx 10.6.8

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

Should or shouldn't I mask the results of XGETBV before using them for XSETBV?

I am trying to execute some UEFI applications. I found this code crashes on VirtualBox (test success is not printed while test start is printed): #include <stdint.h> void* ConOut; uint64_t (*OutputString)(void* protocol, void* string); void printChar(int c) { unsigned char data[4] = { (unsigned char)c }; if (c == '\n') [...] read more
x86
x86-64
avx
bare-metal
2votes
4answers

How to disable 'interrupt watchdog' in ESP32 OR increase ISR time limit?

I am using ESP32 DEVKIT link and Adafruit VS1053 Codec + MicroSD Breakout - MP3/WAV/MIDI/OGG Play + Record - v4 link to record and then play the sound. I am using Arduino IDE for coding. I am facing an issue right now that the module uses hardware interrupt for playing [...] read more
arduino
arduino-ide
adafruit
esp32
2votes
2answers

Unable to set item datetime (as PT_SYSTIME) using PropertyAccessor in Outlook VSTO

Setting a datetime column in Outlook to a c# DateTime value with the following code documentItem.PropertyAccessor.SetProperty( "http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/TestDate/0x0000001F", documentItem.PropertyAccessor.LocalTimeToUTC(DateTime.Now)); converts the columnvalue to type PT_APPTIME, which can't be displayed, sorted etc. in an Outlook-Tableview. All my tries to set the value as a PT_SYSTIME (eg. creating my own PROPVARIANT struct, Marshal.StructureToPtr, [...] read more
c#
outlook
vsto
outlook-addin
2votes
0answers

"A device attached to the system is not functioning " error when using robocopy to move folder in sharepoint

We are using Sharepoint 2010. There is a requirement to archive folders/Subfolders from a given folder to Archive folder which is part of document library. So we used Robocopy from powershell environment. But we're getting error "A device attached to the system is not functioning". ERROR 31 (0x0000001F) Changing File [...] read more
powershell
sharepoint-2010
2votes
2answers

Failed to create assembly 'System.ServiceModel.Internals' in SQL

I am trying to create an assembly in SQL but I am not able to load the following DLL. System.ServiceModel.Internals create assembly [system.servicemodel.internals] from 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.ServiceModel.Internals.dll' with permission_set = safe; go I get this error: > Msg 6218, Level 16, State 2, Line 2 CREATE ASSEMBLY for assembly > 'System.ServiceModel.Internals' failed [...] read more
c#
clr
.net-assembly
sqlclr
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
3answers

Why is 0x1F segment special in OSX?

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

emulator crashes

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

UIWebView(DataDetectorsCore) Crash only in Simulator

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

How do I load Windows printer drivers on a Samba 4 print server?

Premise / status: I've set up Samba 4 as an AD controller, and, according to the instructions on the howto, have established a [print$] share that should allow me to "upload printer drivers for Point'n'Print driver installation." The printers are visible from the Windows client, but the server does not [...] read more
linux
samba
printing
cups
samba4
1vote
2answers

What's the cause of these crashing imapd processes?

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

Win10 upgrade to version 20H2 failed - how to determine the cause?

Question: Where can I find logs from Win10 upgrade and how to interpret them? I've attempted to apply the upgrade three times, and I'm trying to get a clue if there's anything I can fix, so that it succeeds next time. In particular, if the failures are caused by an [...] read more
windows-10
windows-update
windows-10-upgrade
1vote
2answers

Apps crashing with EXC_BAD_ACCESS when changing to a custom keyboard layout

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

Synergy 1.5 crash (OSX 10.6.8)

THANKS FOR TAKING THE TIME TO READ THIS I recently installed Synergy 1.5 r2278 (for Mac OSX 10.6.8) and was using it fine for most of the day, then it decided to stop working (the only thing I changed systemwise was the screensaver - and then after it started crashing [...] read more
synergy
1vote
1answer

FPGA Analog-to-Digital Conversion DE1-SOC

I have a DE1-SOC(Rev. C) running Linux. I am having problems accessing the onboard ADC. The input to all 8 channels is a 3V Pk-Pk sinusoidal signal. The onboard ADC is an AD7928 12-bit 8-channel ADC. The datasheet says that the ADC can handle bipolar signals, and gives the following [...] read more
c
linux
fpga
adc
1vote
2answers

Method causing a weird crash

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

VM entry (vmlaunch) with invalid control field

I am learning Intel VMX with a Linux based VMM. I found 'vmlaunch' instruction failed with vm instruction error of 7. I checked Intel's SDM, it means 'VM entry with invalid control field'. I double checked the VM_entry_control, VM_exit_control, VM_exec_control, but could NOT find anything wrong. I am using EPTP [...] read more
linux
virtualization
1vote
1answer

PIC32MX dma not triggered by adc

I’m trying to make a little application on the pic32mx795f512l but I can’t get it to work. What I want to achieve is that adc continuously gets the current analog value from channel 0 with the highest possible rate. If the 16 Word buffer is filled, it should trigger the [...] read more
embedded
microchip
dma
adc
pic32
1vote
1answer

Bits Manipulation MiPS Assembly

The program takes a user input key, extracts the rightmost 5 bits from that key, then replaces those bits in between bits 2 to 6. This is what I've tried. lw $s1, 0($s0) # extracts the first word in the array beq $s1, $zero, done # at the end of [...] read more
assembly
mips
bit-shift
bits
1vote
2answers

Querying "field" in Outlook RDOMail object

I have a piece of code that uses DASL queries to query values saved in the user property of items in an RDOFolder, something like this: rdoFolder.Items.Find("\"http://schemas.microsoft.com/mapi/string/{00020329-0000-0000-C000-000000000046}/MyUserPropertyName/0x0000001F\"='queryValue'" However, now I need to migrate data saved in my user properties into the Field property of RDOMail item. I'd like to know [...] read more
outlook
outlook-redemption
1vote
0answers

Can't launch Android emulator

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

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

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

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

sqlite3 bus error

I'm writing an app that uses sqlite3. For some very bizarre reason, it crashes only on some machines. I was unable to reproduce the error, but a couple beta testers are reporting it. When the app is opened it automatically quits. It says it crashed because of a bus error. [...] read more
c
macos
cocoa
sqlite
bus-error
1vote
1answer

Image conversion from 24 bpp to 16 bpp format

I have an image i.e. drawn using Windows GDI calls (24 bpp) and I need to convert this image to 16 bpp. This is on Windows Mobile. 24 bpp - RGB (rrrrrrrr gggggggg bbbbbbbb) 16 bpp - RGB (rrrrr gggggg bbbbb) For this I am using the below code for [...] read more
c++
windows
graphics
windows-mobile
gdi
0votes
2answers

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

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

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

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

MacBook OS X applications crashing on startup

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

Firefox Plugin Process quit unexpectedly on MacBook

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

Why CM_Register_Notification function not working

Using CM_Register_Notification function for receiving device change event. returning #define CR_INVALID_DATA (0x0000001F) I do not want to use RegisterDeviceNotification function for receiving device change event. So please do not suggest the above function. int main() { CM_NOTIFY_FILTER cmNotifyFilter = { 0 }; cmNotifyFilter.cbSize = sizeof(cmNotifyFilter); cmNotifyFilter.Flags = CM_NOTIFY_FILTER_FLAG_ALL_DEVICE_INSTANCES; cmNotifyFilter.FilterType = [...] read more
c++
windows
driver
visual-c++-2012
0votes
0answers

App Verifier Stop 00000900 using File Open Dialog

My C++/MFC program uses the CFileDialog class to retrieve a filename to open. If I comment out the DoModal() call, no Verifier Stops occur. If the dialog is opened (even if it is then simply Canceled), the stops are generated -- three in a row. So I tried the Common [...] read more
c++
memory-leaks
heap-memory
application-verifier
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
1answer

Using Find to find a user property in Outlook/Redemption

I'm trying to return a single calendaritem from Outlook from our C# windows desktop application. It keeps returning this error: Redemption.RDOItems Assertion failed: Number of fields == 1. I use similar code in an Outlook addin I created and it works fine. The main difference is the filterprefix. In the [...] read more
outlook
find
outlook-redemption
0votes
1answer

CEN/XFS - Invalid Pointer

i implementing new Service Provider with CEN-XFS, but it's returning error, (-26), equal this "WFS_ERR_INVALID_POINTER". I use java, more precisely JNA to communicate with the DLL (msxfs.dll). I Create service provider with REGEDIT on [HKEY_USERS.DEFAULT\XFS\LOGICAL_SERVICES\MyCurrencyDispenser] with values: Regedit image... My interface - WFSOpen (its part to LibraryMethods). public short WFSOpen(String [...] read more
java
dll
jna
cen-xfs
0votes
1answer

I need to use stm uart module

I would like to use usart communication on STM by using following code. I take this code from website.There are two buffers that stores rx and tx values. I can transmit data from tx buffer but when I connect GPIOB10 and GPIOB11(rx and tx pins) each other. I couldn't see [...] read more
c
uart
stm32f4discovery
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
0answers

how to measure time of encryption using key 256-bit in MARS cypher?

I'm developing a system that calculate the encryption time of method using different keys. the time works fine using the keys 128 and 192. but not the key 256. the output of the time using key 256 it shows as key 128-bit. this is part of the source code for [...] read more
java
encryption
key
0votes
1answer

C# custom control default value property

I have the following problem: I have built a custzom control with various properties. For easiert ui design I want to add default values to my properties. This works fine with objects but not with colors. This is my property: [Browsable(true)] [Category("Custom Colors")] [Description("Gets or sets the line color if [...] read more
c#
.net
properties
custom-controls
0votes
1answer

Outlook interop code throws "message has been changed" error the second time when the code tries to save a mail item

First of all, this problem only happens on a few client machines and I can not replicate it on any of my test machines. So I have the following test code in LINQPad: var application = new Application(); var session = application.Session; const string entryId = "arbitrary entry ID"; const [...] read more
c#
email
outlook
outlook-addin
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

Atmel Cortex-M0+ SAMC21 hangs after SysTick_Config

So, I have recently acquired a SAMC21 Xplained dev board to begin trying to learn to program for ARM. My previous experience is predominantly with PIC's. As an example application I have started an ASF Board project targeting the SAMC21 Xplained board and written the following main function: #include <asf.h> [...] read more
c
arm
microcontroller
atmel
cortex-m
0votes
2answers

nasm/ld failing to do %include on cygwin

I'm trying to assemble using nasm on Cygwin 32 bits (following Part IV of Dandamudi, Sivarama P. Guide to Assembly Language Programming in Linux. New York: Springer, 2005). However, I get the following errors: $ nasm -f win32 sample.asm $ nasm -f win32 io.mac $ ld -m i386pe io.obj -lc [...] read more
assembly
macros
include
cygwin
nasm
0votes
1answer

How to access a user property of a custom outlook mail item with Redemption in C#

I’m trying to write a C# application that opens up a outlook custom mail item and fill in multiple user properties. I was able to do so by using the Microsoft Outlook Interop. But I had the annoying security warning each time I tried to change some user property. I [...] read more
c#
outlook
outlook-redemption
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
1answer

Doxygen OS X app crashes on launch (10.6.8)

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

Publishing Flash to iOS app crashes when more than 45 swfs included

I'm experiencing the strangest problem. I've built an app in Flash CS6. The assets folder contains 70 swfs (no code just images and sprites). When I try to publish, Flash crashes. After many attempts, I discovered that the failure point is reached when I include more than 45 swfs e.g. [...] read more
ios
flash
flash-cs6
0votes
2answers

mathematics behind modulo behavor

Preamble This question is not about the behavior of (P)RNG and rand(). It's about using power of two values uniformly distributed against modulo. Introduction I knew that one should not use modulo % to convert a value from a range to another, for example to get a value between 0 [...] read more
math
random
statistics
probability
modulo
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

MIPS assembly program ERROR Exception 4 [Address error in inst/data fetch]

I am trying to convert MIPS code into ARM code, this is not an issue its that I am getting a gnarly exception I'm hoping someone can explain whats wrong and what to do about it. the program is passed a0 which is a pointer to the mips binary instruction [...] read more
mips
0votes
1answer

Setting int more than once causes crash

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

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

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

Memory leak with Texture2D

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

NSTextField binding causes EXC_BAD_ACCESS

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

Can anyone decipher a flash CS4 crash log?

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

NSMutableArray Crashes App

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

Do offsets in assembly represent addresses or bits?

I am a bit confused, will inc [esi + 8] (lets say [esi] points to 0x0000001F in 8-bit memory) increment 0x00000027 or will it affect 0x00000020? I have seen a video implying it will affect the latter whereas regular pointers in ram go by addresses, not bits. read more
assembly
x86
memory-address
addressing-mode
-1votes
2answers

C to MIPS translation: decoder

We're given the following code in C and asked to translate it into MIPS. We don't need to handle lo and hi; they're stored for us in $a0 and $a1: void decode_request(unsigned long int request, int* array) { // lo and hi are already stored for us in $a0 and [...] read more
c
mips
code-translation
-1votes
1answer

Access raw mail source of email body for Outlook 2013

I want to access the raw mail source of Outlook email. (Same as if you right click on any email and then click on "view source"). I have the header part using Mapi headers but not the whole body. Some links have suggested that using "https://schemas.microsoft.com/mapi/proptag/0x1000001E" and 0X0000001F can give [...] read more
c#
email
outlook
vsto
mapi
-1votes
1answer

XMM register storing

I am trying to store an XMM register into a certain location such as address line 4534342. Example: What I have done? I know that the xmm registers contain 128 bit values. So, my program has already produced allocated 16 bytes of memory. In addition, since the registers are aligned [...] read more
gcc
assembly
x86
inline-assembly
-2votes
1answer

C - "Invalid use of void expression" when trying to access a member of array

What I'm trying to do is to access the elements of an array that represent an image in RGB565 (16 bits) and trying to convert it to RGB888 (24 bits). The array is as follows: Code from the .h file UG_BMP logo_config_placas; Code from the .c file UG_BMP logo_config_placas = [...] read more
c
arrays
-3votes
1answer

Memory addresses

I am workin on Overthewire narnia2(ctf game). Currently I am learning how to use the gdb and I have a simple question. (gdb) x/200x $esp-0xac 0xffffd5a4: 0x08048534 0xffffd5c8 0xf7e5b7d0 0xffffd5c8 0xffffd5b4: 0xf7ffd920 0xf7e5b7d5 0x08048494 0x08048534 0xffffd5c4: 0xffffd5c8 0x6850c031 0x68732f2f 0x69622f68 0xffffd5d4: 0x50e3896e 0x89e18953 0xcd0bb0c2 0x41414180 0xffffd5e4: 0x41414141 0x41414141 0x41414141 0x41414141 [...] read more
c
debugging
gdb
buffer-overflow
-3votes
4answers

Why is this crashing....?

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

jvm crush with EXCEPTION_ACCESS_VIOLATION when executing writeUTF method

When i start my application and it happens this fatal error sometime, does anybody know what's the reason? The blow is the mainly trace, more details kindly see the link # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x028d5a8d, pid=9856, [...] read more
java
jvm
crush

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