FAQ Database Discussion Community


c++ issue passing information to pthreads

c++,pthreads,corruption
The issue I am having is that printf debug statements in showData() will give me nonsensical numbers. i.e.: the thread_id is -1781505888. If I insert the printf statements in createThreads() right after I set the values of thread_id, startIndex, and stopIndex then the values will print correctly. Somehow data is...

Android Studio build file R broken

java,android,build,corruption
I am working on an android app which has worked and been tested many times. Today, however, in attempting to run the application for further testing, I have encountered the following error message: C:\Users\1000\AndroidStudioProjects\WarofSol\app\build\generated\source\r\debug\com\blacktentdigital\warofsol\R.java Error:(1251, 32) error: identifier expected Error:(1251, 34) error: illegal start of type Error:(1251, 35) error: identifier...

How to check SQL Compact Auto Shrink setting?

c#,sql-server,database,sql-server-ce,corruption
Quick context of my problem, some of our compact databases in production are going corrupt and we need to do investigate the cause. I found some great pointers here, one of them being "Turn off Auto-Shrink". So my question is How do I check what my Auto Shrink level is...

Saving an image using FileStream sometimes results in corrupt files

c#,filestream,corruption,bitmapsource,jpegbitmapencoder
I have an application where by I take a picture and press a save button and save the image to the computer. This works fine the majority of the time. But I am seeing some of my users with corrupt images. These images are about the right number of bytes...