Do not use this tag to refer to the Stack Overflow website. If you have a question regarding the site, please go to http://meta.stackoverflow.com. A stack overflow occurs when too much memory is used on the call stack.

learn more… | top users | synonyms (2)

-1
votes
1answer
41 views

Simple game throws StackOverFlowError

I made this simple game where an image is drawn where the cursor is. For a while it works but soon it throws a StackOverFlowError Exception. public class Graphic extends JComponent { private ...
1
vote
1answer
19 views

Getting “Exception in thread ”main“ java.lang.StackOverflowError” and a lot of errors

I'm really new to programming, and I'm working on a java assignment for school and I know That i got most of the code I've written wrong, but it's the first time I've really attempted anything like ...
-2
votes
1answer
42 views

stack=java.lang.StackOverflowError: stack size 8MB

I'm getting this StackOverFlow error, i understand it fully, but the issue is im not dealing with big data, So how can this error be produced ? I have an activity, Framelayout, a fragment, 3 options....
0
votes
1answer
43 views

An unhandled exception of type 'System.StackOverflowException' occurred in Slate.exe

I'm working on an application in C# and unexpectedly I started getting this exception "An unhandled exception of type 'System.StackOverflowException' occurred in Slate.exe". Following are the ...
-5
votes
0answers
19 views

How does stackoverflow.com implement the notification feature? [duplicate]

When I am browsing stackoverflow.com, I found that the notifications will show up when I got new upvote or someone leave the comment on my question or answer. I am curious how stackoverflow.com ...
11
votes
1answer
9k views

Explanation of R: options(expressions=) to non-computer scientists

I have written a recursive function of the form foo=function(vars,i=2){ **do something with vars** if(i==length(vars)){ return(**something**) }else{ foo(vars,i+1) } } length(vars) is ...
0
votes
1answer
68 views

Application not rendering all particles. Exception in thread “main” java.lang.StackOverflowError

So I have a class project where we're supposed to use MVC to refactor code that animates a system of particles using Java Swing. We utilize Graphics2D to accomplish this. I can get one particle to ...
6
votes
1answer
7k views

Hibernate OneToMany java.lang.StackOverflowError

It's my first question here on stack, so please be gentle :D I'm trying to create hibernate OneToMany relationship. When I try to fetch some data from my DB, I'm getting StackOverflowError. But when ...
-1
votes
0answers
15 views

2016 Moderator Election [migrated]

Why ? Moderator elections are conducted in Stack Exchange (2016 Moderator Election ),how elected moderator helps the Stacker.
1
vote
3answers
1k views

Many returned records cause stackoverflow with Hibernate

If there are many return records from DB. It will get stackoverflow problem. User is a class, which has a one to many relationship (to 3 other classes). When I print out the SQL, i found that the ...
0
votes
0answers
8 views

Stackoverflowexception with xUnit and dotnet CLI - which test?

I'm using dotnet to run my unit tests in xUnit. In one of my unit tests I get a Stackoverflow. How do I determine which unit test causes this? Project.json (relevant parts): "dependencies": { "...
0
votes
0answers
24 views

How to gain more reputation points? [migrated]

Can any body please explain me , How to gain more reputaion points in stackoverflow? I can see almost all questions have been already asked! I am new to software developement and a budding software ...
0
votes
0answers
25 views

StackOverflowError play framework at compilation

I have a problem with Play framework, I don't know why... Impossible to compile my project ... When I compile (with "activator run") I have a "stackoverflow" error (see below for the link of the error)...
-3
votes
0answers
29 views

How to Delete Account [closed]

According to information => http://stackoverflow.com/help/deleting-account .Delete profile is under the Edit Profile.But I cant see it This is my profile page:
0
votes
1answer
45 views

StackOverflowError caused by class declaring subclass?

I am working on a project that uses a class and some subclasses. When I declare my Database class, I get this error: Exception in thread "main" java.lang.StackOverflowError at data....
-2
votes
0answers
10 views

How to import Stack Overflow dump xml data into mysql

The Stack Overflow dump file in xml format does not have the same column in each row. For example, in file Posts, some rows have attribute acceptedAnswerID, some ohter rows have parentID. I was ...
0
votes
0answers
76 views

Cannot find why Stack Overflow error appears

I am trying to make an octree for randomly distributed set of particles. I have been trying to find where Stack Overflow Error appears whole day, but it was in vain. Could you please help me? The ...
0
votes
0answers
20 views

How to pass an RDS object to the stackoverflow community

Suppose I want to ask a question about a code that uses an rds object containing a lot of information. For example, here you can download such an object (named "ITA_adm1.rds"). Locally I'll do: ... ...
3
votes
1answer
111 views

How can I get this function to be tail-recursive?

I'm still trying to implement 2-3 finger trees and I made good progress (repository). While doing some benchmarks I found out that my quite basic toList results in a StackOverflowException when the ...
3
votes
1answer
73 views

Fixing StackOverflowError in Java

I'm a bit new at stacks so I'm not quite sure I fully understand what the StackOverflowError entails. I did read that it mostly occurs in recursion that never ends. public double calculateLeibniz(...
0
votes
4answers
54 views

How come I got this error by using recursion?

If I enter 33333 I get this error. I check many times, but I don't know how to wrok it out. If I enter the number that is greater than 33333, and it works fine. What's wrong with 33333? My log: ...
17
votes
5answers
547 views

Maven with an explicit finalName won't work properly

1. Background My maven project has a lot of modules and submodules with jars and wars and everything works. I also can deploy it on server without any problem. I decided to follow this maven naming ...
0
votes
1answer
52 views

Getting a stack overflow/infinite loop crash out from this code, don't know why

I'm querying a database then building a HTML table with the results, but when I assign the returned string to InnerHtml of a container div, I get an "unhandled exception of type 'System....
-1
votes
0answers
27 views

Why is commenting reserved to 50 reputation? [migrated]

This is a question related to the comment concept of StackOverflow described here: http://stackoverflow.com/help/privileges/comment As a professional senior developer, I've been using StackOverflow ...
-1
votes
0answers
7 views

How to get SO links on a topic based on a weighted value of relevance by time and number of views

One of the caveats of landing into SO links from Google search is that most of the time, I stumble on links which have had most number of views (the reason why they are higher up) rather than being ...
2
votes
3answers
75 views

Will using setTimeout prevent the stack from growing?

Lets say I'm runnin some kind of long operation for a set of values. The function that starts this operation is startNext() and the very last line executed in it is to itself so its a recursive call ...
0
votes
1answer
17 views

Excel VBA 'Stack out of Space' when assigning named range for loop

I'm getting a "Stack out of Space" error (28) when this code runs. Generally it crashes Excel altogether, but sometimes I'm able to 'Debug' immediately upon opening the worksheet. When it does, the ...
0
votes
1answer
46 views

Why does this functional version of QuickSort break? And how do I fix it?

This implementation blows the stack on an array of any size: function quickSort(arr){ let pivot = arr[arr.length-1] return quickSort(arr.filter((num) => (num < pivot))) .concat(...
1
vote
1answer
58 views

Requery for Android, StackOverflow on select

I'm using Requery to persist data on my Android app. This is the code that creates the exception. @Override public Observable<Zone> retrieve(long id) { return db().select(Zone.class) ...
-2
votes
0answers
34 views

Is there a way to track your history in Stack Overflow? [closed]

It might be the early dementia but I probably read about a dozen Stack Overflow articles a day and seem to have issues trying to get back to an article I read three articles ago if I've closed the ...
0
votes
1answer
394 views

Reading/Writing errno or stack variable causes segfault. Why?

I have a really weird problem here, and haven't managed to find an answer online. It appears after debugging with printf statements that a segfault ocurred when trying to read errno. Commenting ...
-2
votes
2answers
68 views

what is stack smashing (C)?

Code: int str_join(char *a, const char *b) { int sz =0; while(*a++) sz++; char *st = a -1, c; *st = (char) 32; while((c = *b++)) *++st = c; *++st = 0; return sz; } .... ...
0
votes
0answers
23 views

MVC - What's causing break mode and exception when I save my .cshtml file while debugging?

I'm working in a medium sized MVC project. My typical workflow when I'm modifying a view is to start the debugger, edit the view, save the view and refresh the page in the browser. I think this is a ...
0
votes
1answer
29 views

StackOverFlowException IntNode

first of all and before the Explanation of the issue, You should see this simple class to understand my issue: class IntNode { public int value { get; set; } public IntNode next { ...
9
votes
3answers
6k views

Android: Increase call stack size

I have an application with very complex UI, containing many layouts nested one in another. While Creating another layout, I've caught a StackOverflowError Wondering, I've created two test examples: ...
0
votes
0answers
21 views

Buffer overflow attack with stack and buffer growing down

Consider a stack frame of a called function that has this local variable: char buf[12]; In this case the stack should look like: Note that the stack here grows down but the variable buf grows up. ...
1
vote
2answers
52 views

Recursion segmentation fault and StackGuard

Lets say I have a function that all it does is calling itself without any termination. myFunction(){ myFunction() } if I run a program containing this function, I will eventually get a ...
3
votes
1answer
105 views

How to debug a stack overflow exception?

I am working on a game, and everything was fine, until I added some features. I worked for about one month on this features, and unfortunately I wasn't wise enough to test smaller parts of the code, ...
-2
votes
0answers
15 views

Why can't I ask a meta Q?

So I wanted to ask a question about the workings of this site, but then I saw on the side it said: if your question is about the site instead, ask a question on the meta site. So I went there, and it ...
1
vote
1answer
124 views

onLocationChanged Fires Multiple Time and Causes Stackoverflows

OnLocationChanged keeps firing multiple times and causes stack overflow. Here is the imports: import com.google.android.gms.common.ConnectionResult; import com.google.android.gms.common....
-3
votes
0answers
17 views

stackoverflow while editing profile info [migrated]

Hey I was editing my profile on this site and where is says Career Where Do You Code there is an option that says Just <3 Code and in the input textbox beside it the Placeholder says Share a ...
5
votes
4answers
2k views

stackoverflow error at the beginning of the program in function main

I made a program, I want to debug it (or run) and before the first operator in function main it breaks with a message: Unhandled exception at 0x0020f677 in name.exe: Stack overflow. Why is this ...
0
votes
1answer
17 views

IIS Application Pool randomly crash cause by stack overflow

We have a .net web api application run on IIS 7.5 and Windows 2008 R2 SP1. Since this month our site randomly crash and automatic restart, and it always consecutive crash three times. There is no CLR ...
2
votes
2answers
644 views

System.Web.HttpcontextBase problems in Orchard 1.8 (possibly due to Visual studio 2015)

I'm running a website on Orchard 1.8. I tried Visual Studio 2015 RC and built my Orchard project using this version. Since then, my error logs are flooded with the Autofac errors saying that System....
0
votes
4answers
150 views

Using free on a struct that has a member of the same type

I am a noob learning C,I have been trying to augment Simple Object System. I have a struct that looks like this: struct Room { Object proto; Monster* bad_guy; struct Room *north; ...
1
vote
1answer
55 views

StackOverflowError from Custom Moshi Adapter

I created a moshi adapter to address null String values: public class NullStringAdapter { @FromJson public String stringFromJson(@Nullable String value) { if (value.equals(null)) { ...
0
votes
1answer
18 views

FreeRTOS stack size

I am using FreeRTOS and i want to use mac protocol which i made ! On a single task, I want to Send_Beacon() function(send beacon frame). When i call that function in task, there was a stack overflow....
-4
votes
0answers
20 views

how can I type the words like this ,please check picture [migrated]

I just wanna say ,the words detector is too strict. It seems I can't type anything .......I wanna cry . 蓝瘦 香菇
1
vote
2answers
99 views

Quick Sort Implementation (Test for failure) in C++

I've given an assignment to implement Quicksort in C++, and I've successfully written code that seems to work. As I tested my algorithm for failure, it crashed when I had it sort numbers in a binary ...
2
votes
0answers
46 views

Compare deeply nested lists safely?

The following simple comparison of pure lists explodes on me: a, b = [], [] for _ in range(1000): a, b = [a], [b] a == b Python 3.5.1: Traceback (most recent call last): File "<pyshell#17&...