Skip to main content
701 votes
31 answers
520k views

How to automatically generate a stacktrace when my program crashes

I am working on Linux with the GCC compiler. When my C++ program crashes I would like it to automatically generate a stacktrace. My program is being run by many different users and it also runs on ...
KPexEA's user avatar
  • 16.8k
769 votes
31 answers
337k views

How do I obtain crash-data from my Android application?

How can I get crash data (stack traces at least) from my Android application? At least when working on my own device being retrieved by cable, but ideally from any instance of my application running ...
595 votes
38 answers
1.1m views

Node.js heap out of memory

Today I ran my script for filesystem indexing to refresh RAID files index and after 4h it crashed with following error: [md5:] 241613/241627 97.5% [md5:] 241614/241627 97.5% [md5:] 241625/...
Lapsio's user avatar
  • 7,054
2 votes
2 answers
12k views

How can I run code in a background thread and still access the UI?

I made a file search program in visual studio on windows 10 using .net lang, My problem starts from form1 with a "dim frm2 as form2 = new form2" call, after the new form being shown i start a while ...
burgil's user avatar
  • 395
237 votes
24 answers
265k views

Android Room - simple select query - Cannot access database on the main thread

I am trying a sample with Room Persistence Library. I created an Entity: @Entity public class Agent { @PrimaryKey public String guid; public String name; public String email; ...
Devarshi's user avatar
  • 16.7k
145 votes
26 answers
273k views

Android Studio - How to increase Allocated Heap Size

I've been using Android Studio for 3 months now and one of the apps I started on it has become fairly large. The memory usage indicated at the bottom right of the program says my allocated heap is ...
zafrani's user avatar
  • 4,101
38 votes
7 answers
112k views

Possible causes of Java VM EXCEPTION_ACCESS_VIOLATION?

When a Java VM crashes with an EXCEPTION_ACCESS_VIOLATION and produces an hs_err_pidXXX.log file, what does that indicate? The error itself is basically a null pointer exception. Is it always caused ...
sk.'s user avatar
  • 6,406
56 votes
9 answers
56k views

iOS crash log catch, debug info.. Catch and send via email to the Dev team

Recently we came across a situation where we wanted to see the debug info from the app which a user has on his device. So, what I am looking for is a way to find the log on the device, paste it as ...
Mobilewits's user avatar
  • 1,763
52 votes
7 answers
37k views

What does 8badf00d mean?

Sometimes my iPhone application crashes with a weird crashlog, that reads exception code is 0x8badf00d. The stacktraces show random snapshots of app execution, but nothing suspicious. This happens ...
Vlad Grigorov's user avatar
4 votes
2 answers
7k views

How to do animations using images efficiently in iOS

How can i do animation in iOS with out consuming much memory(or efficiently) as i am currently facing crash problems? For an single animation I am having a sequence of 100 images and each image is ...
prajul's user avatar
  • 1,216
95 votes
7 answers
46k views

ViewController respondsToSelector: message sent to deallocated instance (CRASH)

Ok, here is the deal, I hate putting out questions about my debugging and crashes. Because I usually handle them myself, but I just cannot get my way around this, even after viewing multiple questions ...
MCKapur's user avatar
  • 9,157
92 votes
4 answers
25k views

presentViewController: crash on iOS <6 (AutoLayout)

This is a weird crash I am getting. The crash happens when I press a button that goes to a certain ViewController. The line which it crashes on is: DestinationInformationViewController *info = [[...
MCKapur's user avatar
  • 9,157
38 votes
10 answers
31k views

Java ProcessBuilder: Resultant Process Hangs

I've been trying to use Java's ProcessBuilder to launch an application in Linux that should run "long-term". The way this program runs is to launch a command (in this case, I am launching a media ...
Matt D's user avatar
  • 1,506
34 votes
16 answers
68k views

readRDS(file) in R

Whenever I try to install a package in R, I get the following error: Error in readRDS(file) : unknown input format This just started occurring after I had a system crash. I am running 32 bit R 2.13....
Zach's user avatar
  • 30.3k
192 votes
10 answers
157k views

How do I prevent node.js from crashing? try-catch doesn't work

From my experience, a php server would throw an exception to the log or to the server end, but node.js just simply crashes. Surrounding my code with a try-catch doesn't work either since everything is ...
TiansHUo's user avatar
  • 8,639

15 30 50 per page
1
2 3 4 5
82