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
0answers
6 views
I cant sign in to my stackoverflow account
I created an account here and used my work e-mail. stackoverflow kept me signed in so I never had to enter my password.
Is there anyway to keep my old account and reputation?
Do I make a new ...
0
votes
1answer
18 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
471 views
StackOverflowError Java 1.8
First time asking a question on here, I've been lurking for a while attempting to search for the answer to this issue but I can't seem to find a proper solution.
Information:Using javac 1.8.0_31 to ...
0
votes
0answers
26 views
How to increase the devices stack size in Android?
Morning, I'm using Android Studio 2.2 and a Galaxy TAB A 2016.
I have a method that calculates the FFT of a digital signal. There are a lot of recursive calls and the Memory runs out really quick. ...
0
votes
1answer
72 views
Why doesn't this cause stackoverflow?
In 8.hs I define
digitProduct [] = 1
digitProduct (c:rest) = (read [c] :: Int) * digitProduct rest
Then inside ghci, I run
digitProduct $ take 10000 $ repeat '9'
And it produces a result:
-...
0
votes
0answers
31 views
Buffer overflow using environment variable (Linux/GDB)
My ow my I spent almost two days finding a solution for the following ->
A binary is run with setuid privileges and the trick is to get a shell using shellcode placed in an environment variable.
I ...
0
votes
2answers
59 views
Java Word Ladder Program output Stack Overflow Error
I have to write the code in java for a word ladder program. The instructions are as follows:
Write a program using recursion to find the word ladder given a
start word and an end word, or ...
0
votes
1answer
29 views
Lisp Stack overflow recursive function
I am creating a heuristic function and it returns what it is supposed to but also there is a stack overflow problem and I can't understand where is the problem. Here is the code of the functions i ...
-2
votes
1answer
4k views
error occured : “Cannot call methods on nvarchar.”
I wrote a query to find answers related to a specific question, but I received this error when runing this code.
Cannot call methods on nvarchar
select Posts.Id as Answer, ParentId as question, ...
-2
votes
0answers
29 views
Stack Overflow Attack Return Address Strange Behavior
I'm working on a basic implementation of a stack over flow attack. The idea is to have a text file scanned onto the program's stack, which then overwrites the return address, causing the program to ...
-1
votes
0answers
25 views
Buffer overflow exploit jump to function with arguments intact [C]
int a(char *string){
---define some string here
val= strcmp (validString, string) == 0;
return val? 1 : 0;
}
int b(int a) {
do some stuff here
}
void main(int argc, char *...
0
votes
0answers
38 views
Stack overflow exploit, calling system
I am working on a class assignment to exploit the stack overflow vulnerability.
In this particular scenario, ASLR is turned off but code can not run on stack.
Therefore I came up with the following ...
5
votes
0answers
64 views
Stack overflow when starting spark streaming from a checkpoint
When restarting spark streaming from a checkpoint I got this exception.
Because it's not related to any code I had produce I have no idea what can cause this problem.
Any idea?
Exception in thread "...
-1
votes
0answers
16 views
Stack overflow failed because of stack size
#include <stdio.h>
// 23byte shellcode from http://shell-storm.org/shellcode/files/shellcode-827.php
char sc[] = "\x31\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69"
"\x6e\x89\xe3\x50\x53\...
5
votes
2answers
63 views
Fatal Python error: Cannot recover from stack overflow. During Flood Fill
I've come to a dead end, and after excessive (and unsuccessful) Googling, I need help.
I'm building a simple PyQt4 Widget where it lies out a grid of 60x80 squares, each initialized to None. If the ...
1
vote
1answer
41 views
I got a Stack Overflow Error here, but I don't know why
I have a binary search tree and want to find the node with the specified value. This is my code for this, but I get a Stack Overflow Error. I hope, someone can tell me why.
My code:
public TreeNode ...
-1
votes
0answers
36 views
I found a JavaScript stack-based overflow, how can I execute shellcode?
I am testing this vulnerability on my PS4, I know a segmentation-fault occurs. I want to try to execute code before this occurs. To be honest, I have little idea of what I'm doing. All I know is: ...
-1
votes
0answers
35 views
IE11 Out of Stack Space - Aurelia
I have an Aurelia application that is failing to load in IE11 but is fine on Chrome and Firefox. The error I receive is:
The first code snippet is the line that is referenced in the stack trace ...
-1
votes
1answer
28 views
StackOverflowError in a recursive method
The program below should sum up all even numbers from n to 0 (negative) or from 0 to n (positive).
I should not use other methods or *; *=
The problem is that the program does not stop after zaehler(...
1
vote
0answers
29 views
How does StackExchange solve having a single login for all its domains/sites?
If I've previously registered for multiple StackExchange sites and I'm logged out of all of them and then log into say StackOverflow and then open a tab and go to say SuperUser I find that I'm logged ...
-3
votes
0answers
16 views
5
votes
3answers
4k views
Is there any way to bypass SSP (StackSmashing Protection)/Propolice?
After some research i haven't found any paper describing method to do this (no even an unreliable one). It seems that SSP (StackSmashing Protection)/Propolice
2
votes
1answer
66 views
Stack space overflow error in Haskell with a very small stack size
The Haskell program
main=main>>main
fails with
2mem: Stack space overflow: current size 33624 bytes.
2mem: Use `+RTS -Ksize -RTS' to increase it.
33k seems quite small. The OS (via top) is ...
1
vote
0answers
33 views
Bypass StackGuard protection in order to have buffer overflow without altering the canaries and get root access
Hello eveyone I am new to cyber security student and i'm trying to solve an exploit problem. So, we are having the following C program which is compiled with StackGuard and we have to gain root access....
-1
votes
0answers
26 views
Avoiding stack overflow in hetero recursion type-safely
By "hetero[geneous]" i mean a mutual recursion with varying return types.
Notation
Little explanation to the pseudo-code that i use:
comment : -- blabla
type annotation : value : Type
function ...
1
vote
3answers
29 views
How do I get the correct output for my clock created with java?
My Teacher has given me this assignment. She gave us a ClockTester.java main program and we have to create a public class that declares the objects and methods to use in the Clock Tester. Below is the ...
6
votes
2answers
186 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.
Inside my web application I am executing some power-shell scripts to get some hardware info about some servers and ...
-1
votes
1answer
28 views
StackOverFlowException: Value is either too small or too large for int 32 in MS TextBox
I have created a simple application with MS TextBox control and DataBinding has been done to the TextBox. If I try to enter the double value into the TextBox, then I got
“StackOverFlowException: ...
0
votes
0answers
20 views
Stack Exchange Search API
I want to use search feature of StackExchange for my application.
I have observed that using "/search" API I can specify the string to be searched only as part of title and not as part of the body.
...
0
votes
0answers
24 views
StackOverflowException Deserialize to Object Recursion Error
On my development machine I do not get an error, I deployed to another machine with remote debugged and it throws a StackOverflowException error when Deserializing the xml to a class object. I am ...
2
votes
1answer
20 views
Encoding clone $this in JsonSerializable
This simplified case is resulting in a PHP segfault (exit 127):
class Datum implements \JsonSerializable{
public function jsonSerialize(){
return clone $this;
}
}
echo json_encode(new Datum);
...
76
votes
11answers
105k views
How to increase the Java stack size?
I asked this question to get to know how to increase the runtime call stack size in the JVM. I've got an answer to this, and I've also got many useful answers and comments relevant to how Java handles ...
-3
votes
0answers
16 views
Why stackoverflow community vote down questions which posted to get ideas? Wasnt that cruel? [closed]
First of all I have to tell that Stackoverflow is a great site and the developers in here helped us lot. Appreciate the service Stackoverflow doing to the community.
But I have a big problem.
Not ...
0
votes
1answer
18 views
An unhandled exception of type 'System.StackOverflowException' occurred in App_Web_1wvcoe1q.dll
I have an ASP.Net MVC application. Recently it worked correctly and now when I run it and enter login credentials it hangs long time and says
An unhandled exception of type 'System....
0
votes
1answer
19 views
$esp register not found
I am learning debugging with gdb and registers, but I am stuck in one point. As an instruction, I should print
print $esp
result: $1 = -9008
but I was expecting such result:
$2 = (void *) ...
0
votes
1answer
22 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)
...
0
votes
1answer
65 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) ...
1
vote
1answer
75 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 ...
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
16 views
can't send file with filezilla to ubuntu server 14.04 [closed]
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
33 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
54 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
13 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
15 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
39 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
0answers
20 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 ...