This is probably not the correct interpretation of this error.
The Win32 error above is more likely to indicate the actual problem.
Flags
Severity
Success
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.
Sometimes, once I have requested the cancellation of a pending task with CancellationTokenSource.Cancel, I need to make sure the task has properly reached the cancelled state, before I can continue. Most often I face this situation when the app is terminating and I want to cancel all pending task gracefully. [...] read more
This was triggered by another question I was looking at. It might be too long to read, so please bear with me. Apparently, CoWaitForMultipleHandles does not behave as documented on MSDN. The code below (based upon the original question) is a console app, which starts an STA thread with a [...] read more
My app crashes, it is a problem that arises from the AddressBook API, it only happens with some contacts. Here is the log: Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x00000102, 0x316ebd38 Crashed Thread: 0 Thread 0 Crashed: 0 CoreFoundation 0x00001cfe CFRetain + 90 1 AddressBook 0x00004b2c ABCMultiValueCopyValueAtIndex + 28 2 [...] read more
I'm using the Python standard library modules and the pythoncom and win32com.client modules from the PyWin32 package to interact with Microsoft Excel. I get a list of the running Excel instances as COM object references and then when I want to close the Excel instances I first iterate through the [...] read more
I am getting a crash with an iPad app that is (at least to me) non-specific. It's an Exception Type: EXC_BREAKPOINT. I am thinking a double memory release or attempting to access a released variable but I hoping someone can shed more light as I hunt through the code. The [...] read more
I have an application that pulls in some RSS Feeds. I first load the app delegate which in turn loads a SplashScreenViewContoller which then figures out which feeds to pull in based on date. This is all great. Everything has been working fine in the Simulator/iPad when running in Debug [...] read more
I am using Docker with docker-mailserver on one of my servers. Very strange trouble appeared after migrating some services from legacy Debian Jessie server to Ubuntu 16.04 LTS server. Parameters of servers: Legacy: someuser@legacyserver:~$ uname -r 3.16.0-4-amd64 someuser@legacyserver:~$ dpkg -l | grep systemd ...215-17+deb8u7... someuser@legacyserver:~$ cat /proc/cmdline root=ZFS=rpool/ROOT/debian-1 ro boot=zfs [...] read more
I wish to check if multiple bits in a 32-bit register are set or cleared for the purpose of manipulating hardware. I adopt the following approach to check if the desired bits (bit 8 and bit 1) of an uint32_t-variable called statusRegister are set: if ((statusRegister & 0x00000102) == 0x00000102) [...] read more
I'm programing with the linux kernel SD/MMC driver, and I know few about it . The kernel print the regesters logs below . From the dump regester log , I cannot detect what's the problem of the MMC driver or MMC hardware . If there's anyone fimiliar about it and [...] read more
I am trying to boot a custom build of Appleās XNU kernel (sources). The boot is dying due to an unhandled page fault. I have traced the cause of the crash to the BootPDPT symbol. The job of the BootPDPT is to point to the page-table entries in the BootPDT [...] read more
I have a small x86-64 assembly program which I compiled and linked in 2018. I am now trying to reproduce the build, but at the point of linking I get different results in the final binaries. Both files were assembled and linked using the following command: $ nasm -f elf64 [...] read more
I'm currently using NASM to take some assembly code commands, make a .o file, and then using ld to link it to an ELF executable. My assembly file ok.asm: section .text global _start ;must be declared for linker (ld) _start: ;tells linker entry point mov edx,len ;message length mov ecx,msg [...] read more
Hello I am trying to run userspace process using call_usermodehelper_exec from tasklet that is created in kernel module for ARM board (from Olimex) with Allwinner SOC. my code is prety simple: #include <linux/kernel.h> #include <linux/module.h> char my_tasklet_data[]="tasklet executed"; static int umh_test(void) { struct subprocess_info *sub_info; char *argv[] = { "/usr/bin/logger", [...] read more
In C# program I have an implementation of the following function: int Test(); Which is defined in the native part of a program (which is written in C++) as follows: HRESULT Test(); or possibly: DWORD Test(); So while implementing the functions I need to return HRESULT and other standard Windows [...] read more
I have a microSd card with an adapter and suddenly it was inaccesible in my computer... I would like to recover the data and the micro sd card :( the output of dmesg command: [ 3431.211177] mmc0: error -110 whilst initialising SD card [ 3441.240046] mmc0: Timeout waiting for hardware [...] read more
With VS2017, I have created a SQL CLR dll (for SQL Server 2014) that indirectly uses BouncyCastle.Crypto.dll, but am unable to CREATE ASSEMBLY for it. It gives a warning (I hope) but fails with > Msg 10332, Level 16, State 1, Line 85 > Assembly "BouncyCastle.Crypto" was built using version [...] read more
Quick background: I'm developing drivers for our hardware compression engine. One driver handles the PCI interactions, many thousands of 32K packets per second. That driver is working solidly. Now I'm working on a character driver and that's looking pretty good, my test app is running hundreds of threads without issues [...] read more
Update: This issue was fixed in Redemption 5.2: > Previously, named MAPI properties in the "string" namespace specified in the > DASL format ... always assumed to be of string type (PT_UNICODE or > PT_STRING8). > > It is now possible to explicitly specify the property type, e.g. PT_LONG (=3): [...] read more
<?php /* File : smppclass.php Implements : SMPPClass() Description : This class can send messages via the SMPP protocol. Also supports unicode and multi-part messages. License : GNU Lesser Genercal Public License: http://www.gnu.org/licenses/lgpl.html Commercial advertisement: Contact info@chimit.nl for SMS connectivity and more elaborate SMPP libraries in PHP and other languages. [...] read more
I'm running two OS's using Oracle VM Virtual Machine. One has Windows 7 Pro x64, the other Windows Vista Business x86. I have to try and connect a printer installed via USB and shared inside of the Windows 7 VM using Vista, and so far, I can get Vista to [...] read more
My English skill is poor because I'm not a native English speaker. Please understand. I compiled some test code that operating alright in IAR with LLVM infra but the generated code was not operated on my test board. Detail are as follows. TEST GOAL I want to see operating the [...] read more
Recently I had copied this code (Thanks CristiFati): Python- How to communicate with printer While its working on its own, I can't figure out how can I get total page counting to work, I added it to DEFAULT_FIELDS var and to NotifyData method, without luck as follow: def NotifyData(self): if [...] read more
I'm writing a baremetal kernel, and I have trouble understanding the output of ld in the case of a NOLOAD section. I am declaring symbols that only exists with MMU activated, so the VMA and LMA are not the same. I used to declaring such a section like this: _foobar_start [...] read more
What i'm trying to do is write text to gzip.exe StdIn and redirect its StdOut to a file, all this using WINAPI functions and visual Foxpro 9. The problem is that I always get "Stdin: Bad file descriptor" error and no output. What I expect to have is the file [...] read more
I am writing a driver for an LCD display. According to the application note, I need to write a dummy SPI write to the command periodically to maximize its contrast. To accomplish this, I set up a timer and attempt to write the contrast-maximizing 2-byte dummy command from the timer [...] read more
I use embedded hardware (by TI : Piccolo Control Stick xxx69) which uses FTDI usb to serial converter hardware. On PC, I have simple VC++ application which tries to communicate to hardware over Virtual COM port (VCOM : typically COM7). * I am able to connect to port properly. * [...] read more
I have a strange problem. this method is called without any problem on the simulator but when on real device it cashes at: [self presentViewController:twitter animated:YES completion:nil]; this is the method: - (IBAction)DeveloperTwitter:(id)sender { NSString* tweet = @"some tweet goes here.."; if ([TWTweetComposeViewController canSendTweet]) { TWTweetComposeViewController *twitter = [[TWTweetComposeViewController alloc] [...] read more