crash

iPhone app crashes with no justifiable reason ?

Hi all, I am developing an app in which I have a table. In the table cell I have an imageview ( the images are displayed via url ) and a textview/webview. I start threads for each row to get the images in the - (UITableViewCell *)tableView:(UITableView *)theTableView cellForRowAtIndexPath:(NSIndexPath *)indexPath method ( if image ...

MapKit/Location Manager crashes app when unloading view

I has a bug where my application crashed "EXC_BAD_ACCESS" when I hit the back key on my navigation bar and the view unloaded that had a MapKit (mapView) and used the Location Manager. Tried for days to fix the bug and finally came up with a fix for anyone that comes across this problem: Add this code to your dealloc (void)dealloc { ...

EXC_BAD_ACCESS when not using self.

I got nabbed by the following bug again and would like some clarification to exactly why it is a bug. I have a simple UITableView that loads some data: // myclass.h @property (nonatomic, retain) NSArray *myData // myclass.m @synthesize myData; - (void) viewDidLoad { ... myData = someDataSource // note the lack of self } - (UITab...

Is there any way a C/C++ program can crash before main()?

Is there any way a program can crash before main()? ...

HiShape leak or crash when releasing

Hello. I use HiShape as a "Region" class with coregraphics. Class: class CCGRegionMember { protected: HIMutableShapeRef m_ShapeRef; public: CCGRegionMember(); virtual ~CGRegioMember(); public: void Union(const Rect }; Constructor : CCGRegionMember::CCGRegionMember() { ResetMembers(); m_...

Catching a python app before it exits

I have a python app which is supposed to be very long-lived, but sometimes the process just disappears and I don't know why. Nothing gets logged when this happens, so I'm at a bit of a loss. Is there some way in code I can hook in to an exit event, or some other way to get some of my code to run just before the process quits? I'd li...

Adding OutputCache to an ASP.NET WebForm crashes my site :(

Hi folks, When I add either one of these ... <%@ OutputCache Duration="600" Location="Any" VaryByParam="*" %> or <%@ OutputCache CacheProfile="CmsArticlesListOrItem" %> (.. and this into the web.config file...) <caching> <outputCacheSettings> <outputCacheProfiles> <add name="CmsArticlesListOrItem" duration="...

threading problem (EXC_BAD_ACCESS)

Hi all, the following code crashes the application, and I don't know why. It crashes irregularly, that means that sometimes the imageview can be shown for example 30 times when a row is clicked, sometimes it chrashes the second time when I select a row. FYI: the activity indicator,the action sheet and the variable imageNr are defined g...

ASP.NET web application can't find an assembly

I deployed an ASP.NET web application last night and I when I woke up this morning it was very slow and would occasionally just throw a 'Service Unavailable' error. I checked the Event Viewer and it was filled up with these errors: An unhandled exception occurred and the process was terminated. Exception: System.Runtime.Seria...

How do I suppress the "notify Microsoft" crash dialogs when I call a command from Perl?

I am calling a command-line program from my Perl script. When these programs crash, I am prompted with a messagebox asking me if I want to notify Microsoft. Since this is an automated system it would be desirable if I could suppress that message and continue with other things in my script. Is this possible? ...

mysql table marked as crashed

I recently created a ajax based instant messaging application and after running for a while I got an error [table] is marked as crashed and should be repaired. How could this have happened and how do I go about preventing it happening again? ...

How is this plugin designed to crash IE6, crashing IE6?

Chad Smith came out with a jQuery plugin designed to crash the IE6 browser. ;jQuery.crash=function(x){for(x in document.open);}; What is this doing exactly to cause the problem? ...

Is anyone else experiencing weird debug + crash behavior with Silverlight?

I have noticed that after awhile of debug/tweakcode/debug etc that eventually Silverlight starts to crash all of my browsers (i.e. doesn't matter which i fire, they all just crash). If i then go to a site that has Silverlight, it works fine? so it has something to do with debugger + Silverlight not getting along? I then reboot and the p...

write() causes fatal crash when filedescriptor becomes invalid

I'm writing an iPhone App with a webserver in it. To handle a web request, I take the web request and write() to it the data that I want to send back. When I try to download a moderately sized file (3-6MB) it works fine, but if I cancel the download halfway through, the app crashes and leaves no trace of an error. I'm thinking that the ...

C++ MFC server app with sockets crashes and I cannot find the fault, help!

My program has one dialog and two sockets. Both sockets are derived from CAsyncSocket, one is for listening, other is for receiving data from client. My program crashes when client tries to connect to server application and server needs to initialize receiving socket. This is my MFC dialog class. class CFileTransferServerDlg : public C...

iPad application crash in Apple review - cannot replicate in simulator, have crash log

I am clearly missing something obvious here and would really appreciate some input. I have tried repeatedly to submit an application to Apple (iPad in this case) that is crashing on their end when testing but I cannot replicated the situation on my end (obviously I only have the damned simulator to work with at this point). The crash l...

Loading a UITableView From A Nib

Hi, I keep getting a crash when loading a UITableView. I am trying to use a cell defined in a nib file. I have an IBOutlet defined in the view controller header file: UITableViewCell *jobCell; @property (nonatomic, assign) IBOutlet UITableViewCell *jobCell; This is synthesised in the implementation file. I have a UITableViewCell cr...

NSString drawAtPoint Crash on the iPhone (NSString drawAtPoint)

Hey. I have a very simple text output to buffer system which will crash randomly. It will be fine for DAYS, then sometimes it'll crash a few times in a few minutes. The callstack is almost exactly the same for other guys who use higher level controls: http://discussions.apple.com/thread.jspa?messageID=7949746 http://stackoverflow.com/...

fputs crashing in C on Mac with Xcode

Hi, I have a command line app and have the code chdir("/var"); FILE *scriptFile = fopen("wiki.txt", "w"); fputs("tell application \"Firefox\"\n activate\n",scriptFile); fclose(scriptFile); and when I run it in Xcode I get an EXC_BAD_ACCESS when it gets to the first fputs(); call ...

UIAlertView crashing on undocumented method

Our app has been crashing with a frequency of roughly 1 in 1,500 launches due to a bug that is proving elusive. The relevant portion of the stack trace is included. It's being fired as a callback so I have no reference for where it's occurring in my own code. It looks like what's going on is there is a UIViewAnimationState object that...