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.
0
votes
1answer
18 views
Java StackOverflowException in GUI
so I have this little snake game and I get StackOverflow error which looks like so:
Exception in thread "main" java.lang.StackOverflowError
at java.awt.Component.setBackground(Component.java:1835)
...
-1
votes
0answers
41 views
Buffer overflow error 0xc0000409 during linking
I have a Visual Studio 2015 solution autogenerated using Premake5. The build process uses Fastbuild to invoke the regular platform tools.
There are several dozen DLLs that are built as part of the ...
0
votes
0answers
8 views
Jongo with Play Framework: StackOverflowError when trying to insert
I have yet another problem. I am trying to use the Play Framework 2.5 together with MongoDB using the Jongo plugin for Play.
First of all, Im not quite sure if I've implemented it correctly. Here is ...
0
votes
1answer
54 views
Scala partial tail recursion
Because I am defining an interpreter with a lot of variables, I am writing this:
type Context = Map[String, Int]
abstract class Expr
case class Let(varname: String, varvalue: Expr, body: Expr) ...
0
votes
0answers
25 views
An unhandled exception of type 'System.StackOverflowException' occurred in VimService55.XmlSerializers.dll
i am working on an asp.net mvc-5 web application and i am using ap.net version 4.5.
now inside my web application i am executing some power-shell scripts to get some hardware info about some servers ...
1
vote
1answer
65 views
Spring Data Repository StackOverflow
guys! Found some strange behavoir when working with Spring Data Repositories.
I wrote these classes and interfaces:
@Transactional(readOnly = true)
public interface UserRepository extends Repository&...
0
votes
0answers
27 views
stackoverflow lost reputation points on one answer [migrated]
I recently started participating in answering questions on stackoverflow and helping other users for gaining a higher reputation, it looks like i lost 15 reputation points on this subject and i am ...
0
votes
0answers
14 views
Increasing rep by answering own questions, on purpose, good or bad thing? [on hold]
Would it be a good thing to post some questions you know the answers of. Or not only questions but topics to talk about in general.
(as long as they aint duplicates of course)
Only by the intention ...
1
vote
0answers
18 views
StackOverflowError inserting data into Perst database
I have a long-running process which consumes data from multiple clients and stores that data into a Perst database. The Perst database is embedded and stores the data to the disk. However, after ...
-3
votes
0answers
14 views
can't send file with filezilla to ubuntu server 14.04 [on hold]
i have some trouble in FTP. i can't send file from my filezilla to my ubuntu server.
I use ubuntu server that I install and configure vsftpd.
i have this messages :
Command: PASV
Response: 227 ...
-2
votes
1answer
32 views
Can someone help me understand this Stack overflow error
I am not the best coder so if you could explain to me why and what I should do to solve this problem it would be greatly appreciated.
When I run the program I am able to input everything but at the ...
0
votes
1answer
53 views
Randomized quicksort C#
I am trying to analyze the quick sort algorithm with a random pivot on C#. This is the code I am trying to use this portion of code:
//begeeben.wordpress.com/2012/08/22/randomized-quick-sort-in-c/ ...
0
votes
0answers
12 views
RuntimeError: maximum recursion depth exceeded in comparison when using requests_requests_ntlm auth
I have a problem while trying to build an executable for my Python script.
I searched a lot on this but unfortunately no answer could solve my problem.
I'm using requests module to connect with ...
0
votes
2answers
13 views
stack-protect equivalent in clang compiler?
Most of the mature compilers appear to have good support for stack variable clobbers.
GCC: -fstack-protector
xlC: -qstackprotect
intel: -fstackprotector
windows: /RTC
For clang I've found -fsanitize=...
0
votes
1answer
32 views
only native call stack shown
My .NET application is crashing. Upon generating full crash dump using Debug Diag, dump file is created named after 'stackoverflow' and i guess there is a stack overflow exception with some thread.
...
4
votes
8answers
3k views
Recursive functions in OCaml
I have a little problem: I want to solve this problem with OCaml,
so I tried this ->
-> let rec somme x = if ( nor (bool_of_int (x mod 3)) (bool_of_int (x mod 5))) then x + (somme x-1) else (somme ...
0
votes
1answer
20 views
how to remove stackoverflow exception in my project [closed]
hi i am doing my MS thesis in asp.net , my project is related to workstation .
whenever i enter job info of 10 workstations it gives me stackoverflow exception at job#6
error image
jobinfo page ...
0
votes
0answers
13 views
android studio open project stackoverflowerror
in android studio when I try to open a project the ide give me stackoverflowerror. when I click on link it list me some lines like below:
when I try to report it give me another error (Error Report
...
-1
votes
1answer
44 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
29 views
Getting “Exception in thread ”main“ java.lang.StackOverflowError” and a lot of errors [duplicate]
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
52 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
46 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
21 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
70 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
10 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
26 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
39 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
87 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
118 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
57 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
578 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
53 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
18 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
60 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
401 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
76 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;
}
....
...