crash

SerialPort.Close() problem - can't shut down the application with the taskmanager!

This is a major issue - I use a serial port in an application here and I poll the status of the attached device by opening and then closing the port again. If the device fails, SOMETIMES the SerialPort.Close() - method NEVER returns and this is really a show stopper. The worst thing is that even shutting down the application using the ...

Visual Studio 2010 crashes when trying to set CssClass property

Many times when I'm editing a .aspx file and type CssClass=, the Visual Studio IDE hangs then crashes with option to restart. Clearly this is happening while VS is trying to populate the Intellisense with available classes. Nine times out of ten I already know what class I want. Is there a way to disable Intellisense just on CSS classes?...

Are there advantages to a crashing on a secondary thread versus the main one?

I came across this code in a large codebase DWORD WINAPI ThreadFunc (LPVOID lpParam) { int *x = 0; *x = 1234; // Access violation return 0; } void Manager::Crash () { Log("Received a remote command to crash Server."); DWORD dwThreadId, dwThrdParam = 1; HANDLE hThread = ::CreateThread(NULL, 0, ThreadFunc, &d...

sizeWithFont in MultiThread Crash!

sizeWithFont crashed in multithread,this is the debug info: 1 0x00a0df8e in icu::RuleBasedBreakIterator::handleNext 2 0x00a0daff in icu::RuleBasedBreakIterator::next 3 0x00a0d174 in icu::RuleBasedBreakIterator::following 4 0x35879719 in WebCore::nextBreakablePosition 5 0x3587842a in -[NSString(WebStringDrawing) _web_drawInRect:withFont:...

MPMusicPlayerController: iPod stops sending notifications, when iPod App is terminated in background

I am using a music player property for iPod player controller. // .h @property (nonatomic, retain) MPMusicPlayerController *ipodPlayer; // .m ipodPlayer = [MPMusicPlayerController iPodMusicPlayer]; NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter]; [notificationCenter addObserver:self selector:@selector(...

UINavigationController crashing App when using setViewControllers

Hello everyone, I have a strange problem with the UINavigationController. I wrote an App to display data in three levels. (RootView: Select Data I, Second View: Select Data II, Third View: Display Data). This works great, no problems. The problem appears when a PushMessage arrives: In this case I'm trying to create a viewController St...

-[ImageScrollView index2]: unrecognized selector sent to instance

- (void)willAnimateRotationToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientat ion duration:(NSTimeInterval)duration { UIInterfaceOrientation o = self.interfaceOrientation; if ((o == UIInterfaceOrientationPortrait) || (o == UIInterfaceOrientationPortraitUpsideDown)) {D = 1;[self setPaging];} if ((o == UIInterfaceOrienta...

Debug With DROID 1 Crashes ADB.exe

Using the up to date drivers provided from the SDK I installed my DROID 1 onto my Windows XP PC. When I plug the phone into the computer it connects correctly and it displays as "Android Composite ADB Interface" under device manager. A few seconds after plugging it into the computer ADB crashes with the following error: adb.exe has en...

In my Android app, every other time I launch my app, it crashes with OutOfMemory Exception

I have an Android app that in the onCreate() method, preloads a lot of graphics. When I test my app on my HTC Aria and launch it, it runs fine. However, if I press the back button to exit my app, and then launch the app again, it crashes with an OutOfMemoryError: bitmap size exceeds VM budget. If I then launch the app for the third ti...

Unit tests crashes because unknown method defined in category in linked library

I have weird problem running logic unit test on my app. My app is build using some parts of three20 library. When I run the app in the Simulator, everything works well. But when I fire my unit tests, it crashes with exception "Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString md5Hash]: unreco...

How to insulate a job/thread from crashes

I'm working on a library where I'm farming various tasks out to some third-party libraries that do some relatively sketchy or dangerous platform-specific work. (In specific, I'm writing a mathematical function parser that calls JIT-compilers, like LLVM or libjit, to build machine code.) In practice, these third-party libraries have a t...

Android @+id in layout xml crashing app

Hi, Firstly, I am new to android development. My app has been working fine with a number of different activities up until today. I have been trying to add a new <Button /> element to one of my layout xml files. However, if I give it a new id (e.g., android:id="@+id/button_unique") my app crashes on load, presumably as the resources are...

StackOverflowException in .NET 4

The following code works fine until I upgrade to .NET 4 (x64) namespace CrashME { class Program { private static volatile bool testCrash = false; private static void Crash() { try { } finally { HttpRuntime.Cache.Insert("xxx", tes...

Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 Error

Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x00000000 What is Kernel protection error? Where can i find the details about Exception type and code clearly? ...

EXC_BAD_ACCESS on device, but fine on Simulator

I have a scroll view app which runs fine on the simulator, however, when installed on the device, it gives me an EXC_BAD_ACCESS, when i attempt to scroll one page. I have ran it through Instruments with Allocations and Leaks, but nothing is leaked and no zombies are messaged... i'm just curious what could cause such a difference in simul...

EXC_BAD_ACCESS in for loop

In this code, in the second for loop, i get an EXC_BAD_ACCESS if I use an identifier other than i and j. if (UIDeviceOrientationIsPortrait(deviceOrientation)){ numRows = 4; numCols = 3; }else { numRows = 6; numCols = 1; } for (int row = 0; row < numRows; row++){ for (int col = 0; col < numCols; col++) { ...

UISlider to modify NSTimer interval crashing application when moved

Heya again, I have been having problems creating a UISlider that can be used to modify a NSTimer I created. Essentially the slider is ment to modify the interger that the NSTimer is counting down from, but when I try to move the UISlider, the application crashes, I'm assuming this is because it is interfering with the countdown that is o...

motif application crashes while calling XtDestroyWidget

Hi All, We have a 32bit Motif Gui application. Now we ported the application from Solaris to Linux and the system is crashing very frequently. On our analysis we could find that this issue happened when we are closing the forms in our application. When the forms are closed we will delete the forms and will call the function XtDestroyWidg...

iPhone app crashes when coming to foreground

I have an application that is communicating to a device through the accessory port. When the device is spitting data (at a rate of one 13-byte packet every 20 ms, so not very quickly) to the iPhone, if I press the home button to send the app to the background, then open it again it will crash. I have added listeners to the UIApplicationD...

Android: Vibrator doesn't work. Foce Close emulator

hey Guys, I'm still an Android & Java noob, but everything I've seen is telling me this should totally work, but it doesn't! not in the emulator, not on the phone.. I'm trying to use the vibrator using vibrate(500); ..I get an " application stopped unexpectedly " error what am I missing? code below: package com.phys; import androi...