A stack overflow occurs when too much memory is used on the call stack. NOTE: 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
4
votes
0answers
341 views
R: stack overflow error with randomForest on large dataset (48-512 GB RAM)
I am attempting an R randomForest analysis in R on a wide genetic dataset(662 x 35350). All variables except the outcome are numeric and 99% of them are binary 0/1. I am quite familiar with R ...
4
votes
0answers
964 views
Android : GreenDroid-GoogleAPIs fails with StackOverflow Exception during Import
I just tried to Import the GreenDroid-Librarys for my new Android Application.
Now, I encounter a confusing Error. I first Import the GreenDroid-Core Library and everything is fine.
But when I, ...
4
votes
0answers
251 views
Using a Constrained Execution Region to Handle StackOverflowExceptions
Having read this article (and others) on .NET reliability features, I am led to believe that the following code should handle StackOverflowExceptions:
class Program
{
private static int ...
3
votes
0answers
62 views
Problems with big fixed-width flat files
I'm trying to read a fixed-width flat file with JRecordBind. Each line can be a subrecord of the previous one and the first line and the last one are header and footer of root record.
Example:
...
3
votes
0answers
89 views
Haskell: Stack overflow when finding max on a large list
I have the following implementation of problem 1-4 of the Matasano Cryptopals Challenge, to find one line in a file that is a text string xor'd with a single byte. It works well enough for large ...
3
votes
0answers
75 views
Why doesn't code trying to catch a StackOverflowError run?
This question extends from try-finally block prevents StackOverflowError.
If I add a catch block, why catch block codes never runs?
public static void foo() {
try {
foo();
} ...
3
votes
0answers
97 views
disable writing to a page of memory, per thread on linux on x86_64
Is there a way a process can mark one of its memory pages as unwriteable for a specific set of threads on Linux?
Background
I'm attempting to debug a tricky pointer problem in an OpenMP-enhanced C++ ...
3
votes
0answers
862 views
Werror=frame-larger-than error
I found what I believe to be a bug in the 4.6.2 compiler. If I compile with the flag -Werror=frame-larger-than=1024 flag, it generates error:
arch/mips/bcm963xx/irq.c:553:1: error: the frame size of ...
2
votes
0answers
56 views
Scala [2.11.6] Compile Stackoverflow error (appears resistant to advice found thus far)
scalaVersion := "2.11.6"
I have of course tried clean many times as well as update -- unsure if there is a clean-deeper to refresh the jar (libraries).
What is really bizarre is that this occurred ...
2
votes
0answers
126 views
Increase Stack Size in Dev C++ permanently
In order to implement DFS on a huge graph in Dev c++ on a Windows 7 machine, I needed to increase the default stack size of 1 MB to 16 MB. I accomplished the same by creating a bat file in the folder ...
2
votes
0answers
59 views
EntityFramework StackOverflowException calling Dbset.Attach
We are hitting a StackOverflowException when using EntityFramework in production, but not in our testing suite. When we increase the stack size from 1MB to 50MB, the stack overflow disappears, but we ...
2
votes
0answers
57 views
.NET exception handler causing stack overflow on Visual C++ 6.0 exceptions
I have a plugin for an old application written in C++ 6.0. The files are connected in the following fashion:
Starts with: C++ 6.0 .exe (third party application)
loads: C++ 6.0 simple loader .dll ...
2
votes
0answers
50 views
AVL tree in java
The program that I am writing simulates a road charging system which reads several lines of inputs, each one representing a different command until I reach the EOF (\n).
This commands simulate a road ...
2
votes
0answers
131 views
How to avoid StackOverflowError NOT directly caused by recursion
I have a Java application which reads Microsoft Word Documents (*.docx) and creates new stuff from their contents. It is in many ways a straightforward batch application. It works from a list of ...
2
votes
0answers
217 views
Neo4j java.lang.StackOverflowError
I'm trying to create a relatively small Neo4j db on a PC (or, more precisely, a MacBookPro 10.9.2, running Neo4j 2.1.0), consisting of 1400 CREATE statements. When I load the graph file via the ...
2
votes
0answers
191 views
StackOverflowError with Hibernate
I'm getting a StackOverflowError when I try to merge with the EntityManager. Sorry that I only post the stacktrace and the entity I'm trying to persist, but I'm not very experienced with this, please ...
2
votes
0answers
259 views
Strange StackOverflow when using SlidingMenu
I have an activity that uses a simple ViewPager to navigate through different fragments. However, whenever I call setCurrentItem with the smooth scrolling set to true the app lags for a few seconds ...
2
votes
0answers
118 views
NHibernate Stackoverflow exception in composite relationship
I get a stackoverflow exception when trying to remove a composite object from a collection (but only when i wrap it inside a transaction). However getting the object and deleting it on the session, ...
2
votes
0answers
107 views
StackOverflowException - query result set is too big?
My query below checks through over 2000 categories categoriesToCheck and find articles within those categories. I guess it is too big to add to a generic list?
I'm getting an error from this line ...
2
votes
0answers
952 views
Error: C stack usage is too close to the limit in Windows environment
I'm doing geostatistical interpolations in R on a 5600 x 5700 matrix and, despite having available memory, I'm getting the error "C stack usage is too close to the limit."
There are a few SO ...
2
votes
0answers
207 views
SetEventWinHook crashes WPF application with Stack Overflow
I am running into a problem where my application is crashing a WPF application due to EventHooking. Below is simple code that I tried and was still able to recreate the crash. This is only when ...
2
votes
0answers
468 views
rhino + env.rhino.js StackOverflowError on Android
I read reports of others successfully using env.rhino.js on Android. I also got rhino working fine in an Android app and executing simple scripts, passing arguments both ways between Java and ...
2
votes
0answers
156 views
Eclipse + Python: Stack overflow during debug - not run
I have the following Python code in Eclipse which causes stack overflow when debugging:
v = ogr.Feature(layer.GetLayerDefn())
The method calls are part of the GDAL/OGR library and the Error message ...
2
votes
0answers
807 views
java.lang.StackOverflowError in RAD for JUnit-JMockit tests
When running a JUnit test that are mocked with JMockit, we are receiving the following error in RAD from few developer machines. The test runs fine in other machines and in our continuous integration ...
2
votes
0answers
557 views
The process was terminated due to stack overflow error on one server not another
we are getting the above error when our web service is called on a particular server but not on another. Here is the code that is used....
foreach (Service service in serviceSetup.Services)
{
if ...
1
vote
0answers
23 views
How can I embed CodeMirror into WordPress comment?
I am developing a plugin which will allow user to add code snippets into the comment(Same like Stackoverflow when we post answers or questions). So for that I am using CodeMirror. But here problem is ...
1
vote
0answers
97 views
StackOverflow on Lambda
I have the following lambda expression:
public static ArrayList<Sample> getSamplesWithFeatureValueGT(List<Sample> samples, FeatureLabel feature, int value) {
return ...
1
vote
0answers
52 views
OpenMP Stack overflow diagnosis
I'm running a program with an OpenMP threaded function. It works for a smaller problem size, but gives a segfault at some point as I increase the problem size.
I've read that this has to do with ...
1
vote
0answers
37 views
default free stack space for C - finding safe maximum
I'm just curious as to how much stack space I can use in my C program.
But in order for me to know that and to create something OS independent, I want to know the default stack space users generally ...
1
vote
0answers
40 views
Buffer Security Check (/GS) expected cookie doesn't match its own complement
I have some crash dump that was caused by a stack overrun. The driver was compiled with /GS, so when the security cookie gets corrupted, it triggers a bugcheck. No surprise there. However, the ...
1
vote
0answers
80 views
How to solve 'protection stack overflow' issue in R Studio
I'm trying to build a model with the glmnet package, but I'm getting the following error when I run the following line:
#library('glmnet')
x = model.matrix(response ~ ., data = ...
1
vote
0answers
81 views
Why does allocating temporary pointers seem to be causing stack overflow?
In the example below, when using GCC version 4.3.3 based target powerpc compiler, it seems every Add method call increases the used size of the stack. What I have known until today is that,
after that ...
1
vote
0answers
15 views
Firebug and Bootsrap3 tab, conflict
I am using that kind of tab to built my website, everything works but as soon as I open Firebug I can not click on the tabs anymore, they do not seem to switch anymore (I don't get any errors) (Chrome ...
1
vote
0answers
88 views
Quick sort stack overflow error
I've been working on a project that requires empirical analysis of the elapsed time of a selection sort, quick sort, and java's quick sort(arrays.sort). Everything works fine in the program except for ...
1
vote
0answers
58 views
Simulating function return in kernel space
I am trying to set the instruction point (regs->ip) to a return address of a function in a loadable kernel module (for Linux 3.13). However, it throws stack smashing detection. My question is how ...
1
vote
0answers
30 views
Stack overflow error with Symbolic C++
The simplest version of the problem is this:
Symbolic x("x");
Symbolic y("y");
Symbolic a("a");
Symbolic ans;
a = 1.1;
ans = a ^ (x + y);
std::cout << ans;
Basically this begins an infinite ...
1
vote
0answers
86 views
clojure: stack overflow over range
I am trying to solve problem 60 at 4clojure.com
sequence reductions
my solution works for the last two cases but fails for the first case in handling range.
here is my solution
(fn reds
([func ...
1
vote
0answers
34 views
Java Crashes when Oracle NODE FailOver occurs
Hi Everyone,
My application crashes when we do the oracle node failover. Java version is 1.8.025. Below is the java crash log. Can you help me understand what is the root cause for ...
1
vote
0answers
121 views
Modern stack-overflow (stack smash) exploit in C on Linux?
In small words I would like to do a simple, really basic exploit by executing the desired address on the stack.
For this purpose I did some research:
dissable randomize protection on linux:
echo 0 ...
1
vote
0answers
48 views
Java Quicksort Book's Partition Stack overflow
So i'm getting a stack overflow when i'm just over 10,000 to sort.
I'm doing a book's partition with a random pivot.
public static void QuickSortbookRand(int[]a, int low, int high) //random ...
1
vote
0answers
176 views
An unhandled exception of type 'System.StackOverflowException' occurred in Oracle.DataAccess.dll
I query Oracle database version 11.2.0.1.0 using Oracle.DataAccess (4.112.3.0) library but I have this error on the command.executeReader after several requests:
An unhandled exception of type ...
1
vote
0answers
111 views
Stackoverflow Exception while saving to database (NHibernate)
As the title says, I am getting this exception while trying to save my object to database using Fluent NHibernate, and it occurs in NHibernate OpenSession.
Here is how I am saving.
House house = ...
1
vote
0answers
364 views
Newbe Trouble Running Grails 2.4.4
I'm a Grails newbe and cannot get Grails to run. I'm using Grails 2.4.4 and JDK version 7 (on Windows 7). When I run grails or grails -version on the command line, I get a ...
1
vote
0answers
76 views
PlayFramework routes StackOverflowError
I'm using the Play framework 2.2.1.
When I compile the project, I got a StackOverflowError. I check my route file and I found that some routes that used assets to files cause the problem.
GET ...
1
vote
0answers
35 views
sbt cross configuration dependencies
what is the reason SBT won't allow me to have dependencies between different configurations of different projects in a multi-project build?
consider the following setup in the main build.sbt file:
...
1
vote
0answers
21 views
Stackoverflow Exception rasing only without Visual Studio
Good day. I have a dificult WPF applection, wich work with PTL, many third-party libraries and network. In developer workstation its work fine (in release mode too), but when i run it in client ...
1
vote
0answers
105 views
inflater.inflate(R.menu.main, menu) getting StackOverFlowError at this line in ICS Android
Getting StackOverFlow at this line in some Specific device, i have tested it on MOTOG and it works, but when i am testing it on Micromax Canvas Old it gives:
StackOverflowError "09-03 ...
1
vote
0answers
134 views
Hibernate - Many to Many with additional column - StackOverFlowException in refresh operation
I'm developing a solution with a relationship Many-To-Many (between User-Context) and an additional column (isAdmin) to kwon if the User is the administrator of the context.
I followed this tutorial: ...
1
vote
0answers
43 views
Deserializing objects from file in java (ObjectInputStream)
I want to store several steps within my processing chain as object within a binary file.
So I let the object classes implementing the serialize interfaces and wrote the ArrayList of my objects into a ...
1
vote
0answers
301 views
Netbeans 8.0 JavaDoc java.lang.StackOverflowError
I have a problem with JavaDoc.
I try to generate the JavaDoc for my project, but Netbeans 8 returns this error:
This is the error code: http://paste2.org/XaGpfs0t
I'm on Ubuntu 14.
any idea?
...