segmentation-fault Questions
2
Solved
First off: this is no duplicate as the solution provided differs from any solution for similar questions and "[notice] child pid XXXX exit signal Segmentation fault (11)" in apache error....
Roundlet asked 23/2, 2019 at 11:50
7
I recently installed MinGW from MSYS2, and tested the program below:
#include<iostream>
using namespace std;
int main() {
cout << "Hello World";
return 0 ;
}
But I get a...
Projectionist asked 17/6, 2023 at 8:30
3
Solved
I'm implementing an A* pathfinding algorithm in C++ to solve a maze, but I'm encountering a segmentation fault (SIGSEGV) when the maze size is high (~10,000x10,000 or larger).
The error occurs in ...
Ringed asked 8/8 at 14:16
2
Solved
I am working on a program that decrypts some line of text in a file. First, another source code I created asks for shift and some text. Source code encrypts the text and writes it into a file.
Th...
Cuticle asked 26/5, 2019 at 21:16
1
Solved
Here is the code:
#include <vector>
#include <functional>
class TestClass {
public:
const std::vector<int> &getStuff() const {
return callback();
}
protected:
std:...
Redound asked 20/6 at 12:32
22
Solved
I'm trying to execute a Python script, but I am getting the following error:
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)
I'm using python 3.5.2 on a Linux Mint 18.1 S...
Nikola asked 21/3, 2018 at 19:14
3
Solved
i'm working with Opencv, trying to copy some frame that captured from web camera. when copying the frame, i'm getting segmentation fault in __memcpy_ssse3(), line 160 or 1675.
gdb shows:
0 __m...
Bistoury asked 16/7, 2012 at 15:39
1
Solved
When running and compiling a simple equation more than once using ExprTK, I encounter a segmentation fault or address boundary error. Surprisingly, the issue disappears when I exclude the exprtk::c...
Covin asked 21/1 at 15:46
4
I'm trying to install different software onto my Raspberry Pi with Debian Wheezy OS. When I run try to configure software I'm trying to install I get this output
checking for C compiler default o...
Soy asked 11/8, 2015 at 13:42
4
Solved
Project
I have a game project in C++ that I'm currently developing.
I compile every source file with -g3 -std=c++2a -Wall ... -fsanitize=address -fsanitize=leak to check for leaks and Segfaul...
Filigree asked 16/1 at 13:49
3
I I'm trying to use python with conda environment.
I create an environment using
conda create -n new_env3 python=3.9
Then when I start python terminal (just running 'python') I get:
Python 3.9.1...
Kronick asked 26/10, 2022 at 13:10
4
Oddly, in debug mode, if the script is stopped (via a breakpoint) where the segfault would normally occur (without the breakpoint), and then resumed, the segmentation fault will not happen. Very st...
Oblast asked 26/12, 2021 at 2:16
20
Solved
The following code receives seg fault on line 2:
char *str = "string";
str[0] = 'z'; // could be also written as *str = 'z'
printf("%s\n", str);
While this works perfectly well:
char str[] = "s...
Parallelogram asked 2/10, 2008 at 19:45
5
Solved
I have a php system running on AWS and a class that upload a xlsx file on external server using shh2 and sftp.
This code worked fine until last upgrade of aws package openssh-clients-6.6.1p1-31.62...
Uncounted asked 13/12, 2016 at 10:12
6
Solved
I'm not exactly sure how to properly debug this but have tried a few different approaches that have chewed up time, but not solved the problem. At least 4 other people in my office can execute this...
Tsarism asked 21/1, 2010 at 19:53
6
Solved
I Googled some segfault examples in Rust, but none of crash now. Is Rust able to prevent all segfaults now? Is there a simple demo that can cause a segfault?
Darned asked 11/7, 2020 at 2:43
3
Solved
I was wondering what differences and relations are between
segmentation fault and page fault?
Does segmentation fault only belong to segmented memory model?
Does page fault only belong to paged ...
Cacuminal asked 5/8, 2011 at 1:43
5
I am trying to compile a simple hello world function in c++. After I compile it, I run it and get "Segmentation fault". Can someone shed some light on this?
I am compiling this from a Linux comman...
Asthenosphere asked 25/1, 2010 at 10:37
3
Why am I getting segmentation fault when I am passing a string called name with contents joel into:
void person::setName(string newName)
{
personName = newName;
}
Header file:
class person {
publ...
Thermotensile asked 2/5, 2011 at 11:33
1
Solved
I have Ubuntu 20.04. My command line text editors such as nano or pico can no longer run as a user in the command line, I get
user@hostname:~$ nano
Segmentation fault (core dumped)
However, thing...
Parotid asked 29/3, 2023 at 0:51
1
Solved
I’m getting the following problem when executing a C program:
~$ ./a.out
zsh IOT instruction (core dumped) ./a.out
I’ve never seen this before, and I don’t know how to solve it. What is it?
Please...
Giordano asked 25/3, 2023 at 13:50
3
Solved
I have following code in my .zshrc:
TMOUT=1
TRAPALRM() { zle reset-prompt }
After triggering menu completion all items from menu, except highlighted one disappear after TRAPALRM triggers and whe...
Taxis asked 23/10, 2014 at 10:30
4
Solved
This is my code:
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
void main(int arge, char *argv[])
{
FILE *f1;
char ch,*fn="~/lyrics/";
strcat(fn,argv[1]);
strcat(fn...
Uda asked 16/12, 2012 at 12:18
2
The workaround to a crash upon exit given in this answer works in pyqt4.
But not using pyqt5, where there is often (more than half the times) a segmentation fault.
Only the import lines changed
...
Ency asked 23/8, 2016 at 17:56
1
I am new to assembly. I am trying to do this:
SECTION .data
SECTION .bss
SECTION .text
global _start
_start:
nop
mov rax, 067FEh
mov bx, ax
mov cl, bh
mov ch, bl
nop
Everytime I ru...
Venicevenin asked 19/1, 2015 at 4:22
1 Next >
© 2022 - 2024 — McMap. All rights reserved.