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, rather use this tag in reference to the error - Stack Overflow - which occurs when too much memory is used on the call stack.

learn more… | top users | synonyms (2)

-1
votes
0answers
25 views

VS 2015 profiling instrumentation hit stack overflow [on hold]

Error Message: Unhandled exception at 0x00007FFDC41C3484 (VSPerf140.dll) in OculusViewer.exe: 0xC00000FD: Stack overflow (parameters: 0x0000000000000001, 0x000000BB96A03FD8). Call Stack: infinite ...
-2
votes
0answers
15 views

Receiving Exception in thread “main” java.lang.StackOverflowError. Cannot figure out why [duplicate]

So I can't figure out why I'm receiving this error, and I was wondering if anyone could offer some insight.(A lot of it is not flushed out because building it up I ran into this hiccup) my driver ...
0
votes
2answers
38 views

How to avoid the circular dependency in this scenario?

The current program results in stackoverflow exception which i know why. How could I avoid the circular dependency here. How can i make the three classes independent of each other though the classes ...
0
votes
0answers
12 views

404 Error when visiting a Microsoft link in Firefox while Logged in to Stackoverflow [on hold]

We are sorry, the page you requested cannot be found. The URL may be misspelled or the page you are looking for is no longer available. I get the above error when attempting to visit the following ...
0
votes
0answers
19 views

Stackoverflow search box is not validated with empty and trim [on hold]

When I click on search button without entering the data it is navigating to blank page and empty spaces are not validated. Search button should validate the input fields.
-2
votes
0answers
11 views

Stackoverflow's new theme/style [migrated]

How can I change the theme of the site back to the normal black bar and all of the rest? It just changed right now without any warning and I want it back. How it looks now:
2
votes
2answers
72 views

Java StackOverflowError caused by recursion when running program for long periods of time

I am working on a project to try and create a neural net that will learn how to play checkers using NEAT. In my checkers game, I use recursion to find all the available moves a specific piece can make....
1
vote
1answer
46 views

Exception thrown using filter

I have DataTable and its filter by DataView and RowFilter using string. Its working fine. But when sting create a huge line then got stackoverflow exception in DataView row filter. dv.RowFilter = ...
0
votes
1answer
62 views

stackoverflow when using two components Dagger2

I have two Components for Dagger : @GithubListActivityScope @Component(modules = { GithubListActivityModule.class, GlideActivityModule.class }) public interface GithubListActivityComponent { ...
0
votes
0answers
55 views

Matching large regular expression gives stack overflow error

I'm trying to match a long string with below regular expression 100(\\n|\\r\\n)13(\\n|\\r\\n)150(\\n|\\r\\n)17((\\n|\\r\\n)205(\\n|\\r\\n)206((\\n|\\r\\n)209){1,7}((\\n|\\r\\n)300){1,4}((\\n|\\r\\n)...
1
vote
0answers
43 views

Stack Overflow for regular expression (How to make it lazier) [duplicate]

I have the regular expression: #ifdef FEATURE(\n.*?)*?#endif \/\/ end of FEATURE which Works just fine when I use a regexr compiler. My script states a stack overflow since I strip too big files. ...
0
votes
0answers
20 views

Stackoverflow Error TextView.onDraw only on Asus Devices

I am getting the following crash only on Asus Devices. Following is the stacktrace monitored on our App. Fatal Exception: java.lang.StackOverflowError at android.text.TextLine.measureRun(...
0
votes
1answer
21 views

Stack overflow error on Recursive Syntax lab homework

A lot of posts exist on this assignment - most wanting to know how to do it. Please let me figure out the rest of this on my own - I'm just looking for one or two bits of help, not someone to do my ...
3
votes
1answer
59 views

Large VLA overflow

Based on a comment of someone in another thread: VLAs introduce more problems than they solve, because you never know if the declaration is going to crash for x being too large for the stack. ...
0
votes
1answer
27 views

How to prevent stack overflow when serializing a recursive graph structure with boost::serialization?

I am trying to serialize a large (geometric) graph structure with the boost serialization library. I store my graph as an adjacency list, that is, my structure is as follows: class Node { double x,...
1
vote
1answer
57 views

Call Stack size?

Greetings from Michigan, I have a program that runs continuously (logging data) where it runs inside a While loop within one Sub ("logging data" Sub), then when the log file becomes "full", it jumps ...
0
votes
3answers
31 views

calling a method through an instance is throwing a stackOverFlow Error

I am working on the following scenario where I create an instance of a class and call a method on that instance.It ends up giving me a stackOverFlow Error. My code: public class test { test t = ...
1
vote
1answer
27 views

What is the stack limit when MATLAB calls function in DLL

I am trying to figure out, what is the stack size limitation, when MATLAB calls function in DLL. Is there a way to configure the limit? I am using loadlibrary, and calllib functions to call function ...
2
votes
2answers
62 views

Scala Stream filter function call without “.” vs using “.”

Can someone help me understand what is going on here. I have this definition for generating primes: def primes: Stream[Long] = { 2 #:: 3 #:: 5 #:: 7 #::Stream.iterate(11L)(_ + 2).filter { ...
0
votes
0answers
43 views

StackoverflowError from recursion method

I need help for my homework. The homework is to write a recursion method, which solve every simple level from the game "Sokoban". It should be done with the Cloneable interface and hashSets. That is ...
2
votes
2answers
37 views

Finding potential stack overflow issues in templates

I traced a recent crash in my application to a stack overflow problem, and having fixed the problem, I thought I'd do a re-check on the code for any similar potential bugs using the visual studio code ...
0
votes
1answer
61 views

Java, StackOverflowError when extending a class, or instantiating

Okay, at first, I know why I am getting this error, but just don't how to solve it. I have a couple classes, a main class, a layout class and a buttonClick class. The problem is in the buttonClick ...
0
votes
1answer
46 views

Pointer initialization string literals

Let's say I have a function that I need to call a couple of times which takes a string literal as its first and only parameter. Like so: func( "things_i_like\\turtles\\fresh_water" ); /* some code */...
1
vote
1answer
25 views

Eclipse Neon “Customize perspective” provokes a “StackOverflowError”

Eclipse "Customize perspective" provokes a "StackOverflowError" (see partial stacktrace below), the screen will never show and Eclipse can become unstable and may not start again. This happens on ...
0
votes
1answer
44 views

Tail recursion (@tailrec) recursive function vs non-recursive function scala stack overflow error?

My use-case is more complicated but basically below is the simplified example of what I am trying to achieve (my original code is for akka-stream): offset := 0 //pump data def pump(): Unit = { ...
-1
votes
0answers
37 views

Java DFS StackOverflow

I am trying emulate a game of backgammon, and use a branching dfs to generate data for a machine learning algorithm. I am trying to limit the branching as a way to reduce computational time, but for ...
0
votes
0answers
6 views

Who verifies correct answers on stack overflow? [migrated]

Is there anyone who checks the answers on stack overflow? I have seen several correct answers downvoted, even though i could verify the answers by copy-pasting the code into an IDE and running it. ...
0
votes
1answer
60 views

How do I resolve StackOverflow Error? [duplicate]

I wrote the code that pulls all the links on a web page. I check with Arraylist to prevent the same link from appearing. But I get stackoverflow error if there are too many links on the site. I keep ...
0
votes
0answers
29 views

Trying to login to SO with curl. 'Object moved'

I am trying to login into SO with Curl request. I did 'copy as curl' in Chrome Devtools but looks like not working. The Curl request is: curl 'https://stackoverflow.com/users/login?ssrc=head&...
1
vote
0answers
47 views

Stack Overflow when AutoMapper project a circular reference object

I have the folowing class and its dto: public class Node { public int NodeId { get; set; } public virtual ICollection<Node> ChildrenNode { get; set; } public virtual Node ...
72
votes
3answers
6k views

Why doesn't this statement throw a StackOverflowError?

I just saw this weird piece of code in another question. I thought it would result in a StackOverflowError being thrown, but it does not. public class Node { private Object one; private ...
0
votes
1answer
52 views

Stack differences between a signal handler being called directly and by raise()?

I'm trying to modify the return address on the stack within a segment fault handler, so that it skips over the faulting instruction. However, I get a segment fault whenever I try to modify the return ...
0
votes
0answers
10 views

Stackoverflow user id appears in search box? [migrated]

When i click on my stackoverflow reputation(profile) icon as shown in the below image the user id appears into the search box automatically, isn't it looks odd? or is this is expected.?
2
votes
2answers
100 views

Build project in VS2015: “csc.exe” exited with code -1073741571

I was using Visual studio 2013. Yesterday, I installed VS2015(enterprise update 3). The build process for my solution crashes in VS2015 for one of the projects. The same exception occurs with VS2017 ...
1
vote
1answer
118 views

JSON.NET StackOverflowException while serialization

My C# program is running into StackOverflowException, when I try to serialize object with similar structure like this: Object has members which reference each other can't be try catched (idk why) if ...
0
votes
1answer
46 views

Clisp “Program stack overflow. RESET” on a (cadr). How? [duplicate]

I'm (still) porting code from Franz Lisp to Common LISP. Now I seem to have pushed the interpreter into a strange corner where it blows up. [11]> (setq fff (cadr contextstack)) *** - Program ...
0
votes
0answers
26 views

Automatic shellcode doesn't work but manual shellcode works

I created (copied!) this simple example called nopattack.c #include <stdlib.h> #define DEFAULT_OFFSET 0 #define DEFAULT_BUFFER_SIZE 512 #define NOP 0x90 char shellcode[] = "\...
0
votes
1answer
24 views

Object pooling in C# throwing StackoverFlow Exception

I am trying to implement object pooling in C#. My requirement is to have a pool which can hold 100 active SqlConnection objects. If the pool is already having 100 connections and if user requests a ...
-1
votes
0answers
37 views

Java - Javax Swing - ActionListener -> StackOverFlowError [duplicate]

Why does my code give an StackOverflow error? The error occurred when I added the ActionListener to my buttons. Everything worked out fine before I added the ActionListeners, and I cannot tell where ...
0
votes
1answer
55 views

Can not find return address in gdb

I wrote that program in C (just for debugging purposes): void return_input(void) { char array[10]; gets(array); printf("%s\n", array); } main() { return_input(); return 0; } ...
1
vote
1answer
31 views

Java - StackOverflowError - access HashMaps

I am getting a java.lang.StackOverflowError when attempting to call a method within another class. I think the problem is due to each class being instantiated within each other but I'm not sure as to ...
-1
votes
1answer
69 views

static readonly field causes StackOverflowException

In ASP.NET website I have static readonly XGeoPhone provider = new XGeoPhone();. Inside of XGeoPhone class I have static readonly XPhoneInfo[] phoneInfo = new[] { new XPhoneInfo(......), ... 250000 ...
0
votes
0answers
11 views

java.lang.StackOverflowError error occor when using ArrayAdapter list view in tabhost

my activity code public class ActivityBarber extends TabActivity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ...
0
votes
1answer
26 views

Stack Overflow in Depth First Search

I'm writing a DFS connected component labelling, basic idea is really simple, just applying DFS to FOUR neighbours(left,right,up,down) recursively. The problem is that when the connected area is too ...
1
vote
1answer
35 views

PostSharp stackoverflow on aspect

Aspect class looks like this: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Diagnostics; using ...
3
votes
0answers
89 views

Large array, stack overflow, and dynamically allocated

I am wondering how could I create and initiate this large array without resorting to vector. Basically, I have been trying to create a large 1D array whose each element is a cell of a cubic with side ...
3
votes
4answers
176 views

What does typically happen in C due to stack overflow?

In Java there will be a stacktrace that says StackOverflowError and the whole system won't crash, only the program. In C I'm aware that an array index out of bounds will produce a segmentation fault....
-1
votes
1answer
51 views

StackOverflowError with Maven 3.3.9, Java 8 and Scala 2.12

I get an java.lang.StackOverflowError when I try to compile and package my code with mvn package and Java 1.8.0_112. My code compiles well with Java 7. I tried to set JAVA_OPTS=-Xss512m and tried ...
0
votes
1answer
27 views

Jmeter - Unknown Error Writing Event

I got an output error while running a JMeter test: Logging Error: Unknown error writing event. I've seen these before but they usually relate to Java being out of memory. However, this time the ...
2
votes
3answers
101 views

Initialize C++ struct on the heap instead of the stack

For reasons that I do not want to get into here, I have to integrate some code written elsewhere into our program with minimal changes to their code. The code has a constructor that creates a struct ...