Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
-2 votes
0 answers
12 views

I am new here, it's literally my first day here as a registered user. I struggled with one error for 2 week, and I found the same error on stackoverflow and tried suggestions from the answers, some of ...
KoraRiko's user avatar
-4 votes
0 answers
110 views

I'm working on an assignment where I need to overwrite the GOT table with the system call in order to execute a payload. The initial access is done via a stack buffer overflow. Here is the code of the ...
user29622040's user avatar
4 votes
1 answer
84 views

Before we begin, I'm running on a webpack-dev-server, and I'm building a to do list app. My goal is to improve my understanding of how accessors behave so that I can standardizing my writing style ...
Bryan Reamillo's user avatar
2 votes
2 answers
155 views

I have this ~20000 characters string and I want to make sure it is only composed of 4 or 5 long numbers, comma separated. ex : 12345,12345,1234,12345,1234,1234 I use the expression : ^\d{4,5}+(,\d{4,5}...
Calvarin Matthieu's user avatar
1 vote
0 answers
105 views

I was trying to integrate a basic network scanner using python into flutter. The scanner function returns a List in the format List[List, Int]. To call this I use MainActivity.kt like this package com....
Rockzy 77's user avatar
0 votes
0 answers
79 views

I need a structure that hold pretty big array. Something like that: struct Big { _data: [usize; 1_000_000_000], } impl Big { #[inline(always)] fn new() -> Self { Self { ...
Daniil Tutubalin's user avatar
0 votes
1 answer
161 views

How much stack space is required for saving the function context in Go 1.24? I wrote an go demo like this: func getStackUsage() { var recurse func(int) recurse = func(n int) { tmp := n ...
Kevin's user avatar
  • 47
1 vote
1 answer
48 views

Consider the following recursive data type: data Chain a = End | Link a (Chain a) By deriving a Generic instance for this recursive type, show can be defined in terms of genericShow: derive instance ...
jfMR's user avatar
  • 25.1k
0 votes
0 answers
116 views

constexpr int f(int idx) { constexpr auto arr = std::array<int, 1'000'000'000>{}; // stack overflow? return arr[idx]; } int main() { return f(1024); } Does arr occupy the stack ...
xmllmx's user avatar
  • 44.6k
0 votes
0 answers
55 views

Suppose I were trying to build lazy datastructures in a lazy language (Im currently using Typescript, but the specific language matters little). The obvious implementation is class Lazy<T> { ...
JSONMagic's user avatar
-3 votes
2 answers
244 views

I'm trying to implement a recursive power function in C++, but it fails with large n due to stack overflow. Here's the code: class Solution { public: double myPow(double x, int n) { long ...
Riya Kumari's user avatar
1 vote
1 answer
210 views

I have this issue where, upon sending ANY request from my frontend web app (Next.js) to my backend application in Spring Boot, I get a Stack Overflow Error, and not only that, but my application ...
Sleepless's user avatar
17 votes
2 answers
2k views

I've been reviewing ways to kill threads in Java, and the overwhelming conclusion is that it is never safe to stop code at arbitrary points - doing so may leave resources in messy intermediate states. ...
Edward Peters's user avatar
4 votes
1 answer
87 views

For context, I have a situation where less-than-trusted user code needs to run on a shared system. The code is subject to various static analysis passes and quality assurances, and some ways it can ...
Edward Peters's user avatar
1 vote
2 answers
145 views

Suddenly we faced the following problem that the allocation of the multidimensional array consumes more memory than it is required for the array itself. Minimal code to reproduce: type TConfig1 = ...
Z.B.'s user avatar
  • 1,235
16 votes
1 answer
164 views

I'm working on modernizing an older C++ code base that contains a simple graph structure. It originally looked like the following: struct node_value_t { ... }; struct dag_node { std::vector<...
Magnus Man's user avatar
0 votes
1 answer
66 views

How does the -Xss play a key role in java program? The size of the stack directly affects the program running. As I know -Xss decides the thread stack size of jvm, includ local variables, operand ...
MoXi's user avatar
  • 1
0 votes
1 answer
47 views

Below is my code: using GLMakie #Creation of constants a = 2 b = 5 c = 7 d = 9 # Creaiton of observables RadTheta2_2 = Observable(.523) RadTheta3_12 = Observable(-1.288) RadTheta4_12 = Observable(-2....
Volarus's user avatar
1 vote
1 answer
68 views

In a program I'm writing, I'm faced with a recursive type that I want to go through recursively (it seems necessary). Out of curiosity, I wanted to try and write a tail recursive version of my code, ...
Foxy's user avatar
  • 1,295
0 votes
1 answer
66 views

For this assignment I'm supposed to test my quicksort class using a variety of different pivots and a variety of ArrayLists in different arrangements. The class works fine with a random pivot, or a ...
Drake's user avatar
  • 19
0 votes
2 answers
143 views

I cannot find the reason why my code doesn't work. It keeps saying that there's a infinite recursion error. I'm basically trying to solve a maze recursively. The start and end of the maze are ...
Cool Dude's user avatar
2 votes
0 answers
185 views

I have an ASP.NET app running on .NET 4.8. I am getting a StackOverflowException. I have an action method that calls another method CallBackMethod where using ConfigureAwait(false) in a statement that ...
RKS's user avatar
  • 140
0 votes
0 answers
175 views

I would be very grateful for your help in explaining why this Pyside6 GUI crashes when making multiple calls to matplotlib's flush_events() method in quick succession. Minimal reproduceable code is ...
Tranquille's user avatar
0 votes
1 answer
122 views

I have created a search function following the BFS algorithm but found a problem, it works fine on other problem domains but on this problem domain I am only getting stack overflows. This specific ...
hrodric's user avatar
  • 435
1 vote
1 answer
89 views

Error java.lang.StackOverflowError occur if I don't explicitly set -XX:ThreadStackSize. As I do some research, the default value of ThreadStackSize is 1024K without explicitly set it. The confusing ...
Lonely Developer's user avatar
1 vote
2 answers
196 views

When I create a query on a DbSet with too many Concat or Where clauses, I get a stack overflow error. Essentially I have the problem where I have a list of thousands of AND clauses all connected with ...
Peter's user avatar
  • 11
0 votes
0 answers
64 views

My application throws a stack overflow exception, so I added the stacker crate, and put debug statements in various places that print the amount of stack space remaining. This narrowed down the ...
bikeman868's user avatar
  • 2,685
1 vote
1 answer
79 views

We are in the middle of a testing. On one specific setup, we see the following error: Servlet.service() for servlet [dispatcherServlet] in context with path [/] threw exception [Handler dispatch ...
Radoslav Mitev's user avatar
0 votes
0 answers
96 views

I am writing a kernel module in Linux, on aarch64 architecture, that has, as a global, a structure. I am working on a Pixel 8 device (shiba), with callyxos, AOSP (android open source project) kernel [...
Gal Kaptsenel's user avatar
0 votes
1 answer
111 views

Regarding the efficiency of CPU usage in Dockerized environments for monolithic applications compared to microservices-based designs. Specifically: Would running multiple threads within a single ...
Pintu Kumar's user avatar
0 votes
0 answers
46 views

When setting environment for integration tests I get StackOverflowException: 14:58:19.614 [Test worker] INFO o.s.b.t.c.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @...
Kamila Musialkowska's user avatar
1 vote
0 answers
66 views

Our AWT-based Java app is giving a StackOverflowError on Ubuntu Linux JDKs 11 to 23 frequently (but thread-stochastically). See 3 example stack traces below. Suggestions or commiseration? We've ...
Wayne Maddison's user avatar
1 vote
0 answers
28 views

import os import random import time import gc import librosa import soundfile as sf import logging import asyncio from scipy.signal import fftconvolve import nest_asyncio nest_asyncio.apply() # ...
M Elias Mi's user avatar
1 vote
1 answer
141 views

I have a large .NET solution (~25 projects) that runs and debugs without any issues in Visual Studio 2022. Recently, I tried switching to JetBrains Rider (version 2024.3.2). However, when I attempt to ...
G.Dimov's user avatar
  • 2,413
0 votes
1 answer
75 views

I am doing problem 234 from LeetCode. I have a function which takes as its input a linked list: impl Solution { pub fn is_palindrome(mut head: Option<Box<ListNode>>) -> bool { And ...
Stochastic Sanity's user avatar
1 vote
0 answers
134 views

I am facing stack overflow error when I am trying to solve numerically the fractional nonlinear Schrödinger equation using finite difference method in python. This nonlinear partial differential ...
prior123's user avatar
0 votes
1 answer
54 views

I have the following discriminated union type: type Value = | Float of float | Int of int | String of string | Function of (ContextStack -> Value -> Value) | Action of (unit -...
TimurTimergalin's user avatar
0 votes
1 answer
166 views

I want to parse recursive enum representing arithmetic expressions using Nom. I have the following code. #[derive(Debug, PartialEq, Eq)] enum ArithExp { Const(i32), Add(Rc<ArithExp>, Rc&...
cptkidd's user avatar
  • 37
-1 votes
1 answer
126 views

I'm trying to learn Golang so I'm writing a "game". The rooms in the game need to access each other for purposes of sending players to / from rooms. However, I am getting a stack overflow ...
Joey Stout's user avatar
0 votes
0 answers
55 views

I've attempted to create a webflux web client with built-in retry function for specific exceptions as for my use case, there are instances when the endpoint can be unavailable. With single failing ...
user4165421's user avatar
0 votes
0 answers
36 views

I'm developing a drawing app in Python, and everything works smoothly with mouse input. However, when I use a pressure-sensitive stylus, the application crashes after a short period with the following ...
Kazber's user avatar
  • 23
0 votes
1 answer
231 views

I have a Arduino script running for a few years now. Recently I wanted do some minor updates, but I've been running into problems ever since. Even when I run the older version (the version running ...
Paul Heuts's user avatar
0 votes
3 answers
144 views

I'm working on a Spring Batch project and I have a StackOverflowError with this Bean. @Bean @Primary public JtaTransactionManager transactionManager(UserTransaction userTransaction, ...
Chlamy's user avatar
  • 37
0 votes
1 answer
111 views

I'm working on developing a timer that performs some action every 30 ms. I want to do this using only LibreOffice Basic. I tried creating a recursion, but the stack overflowed. I also tried using ...
Антон Сибгатулин's user avatar
2 votes
2 answers
402 views

I'm practicing JUnit with Mockito, and trying to test a simple static method class LessSimpleCalculatorImp implements LessSimpleCalculator { @Override public int power(int x, int y) { ...
qwerty_99's user avatar
  • 798
2 votes
0 answers
102 views

sys.setrecursionlimit doesn't appear to affect functions declared using the @cache decorator: from functools import cache import sys sys.setrecursionlimit(100000) @cache def f1(n): if n == 1: ...
Zachary Barbanell's user avatar
1 vote
1 answer
54 views

I get a StackOverflowError when I try to build a struct object from another, previously existing one in which one of the parameters depends on the others. I define a type like the following: using ...
Carlos Payá's user avatar
0 votes
3 answers
133 views

I have encountered a problem while trying to resolve problem with sensitive info in application logs — we have quite large data class object that at some time in processing flow we log. Problem is ...
user avatar
-2 votes
1 answer
479 views

In my Keycloak setup, StackOverflow is configured as one of the login providers. Recently, I noticed that new users are unable to register on my site via StackOverflow because the returned email is ...
alexanoid's user avatar
  • 26.1k
0 votes
0 answers
94 views

When I select Project > Clean > [my_project], it gets about 40% through validation and consistently throws a StackOverflow error due to what appears to be infinite recursion after accessing a ...
SkylerA's user avatar

1
2 3 4 5
86