Skip to main content
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
1 answer
90 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
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
1 answer
162 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
0 votes
0 answers
117 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
-3 votes
2 answers
245 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
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
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
0 votes
1 answer
68 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
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
2 answers
145 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
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
1 vote
1 answer
92 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
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
0 votes
0 answers
97 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
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
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
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
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
-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
39 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
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
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
1 vote
1 answer
55 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
-2 votes
1 answer
480 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

1
2 3 4 5
86