segmentation-fault

When using a coredump in gdb how do I know exactly which thread caused SIGSEGV? [duplicate]

生来就可爱ヽ(ⅴ<●) 提交于 2021-01-18 05:56:48
问题 This question already has an answer here : How to find which thread caused SEGFAULT in a post-mortem gdb session? (1 answer) Closed 6 years ago . My application uses more than 8 threads. When I run info threads in gdb I see the threads and the last function they were executing. It does not seem obvious to me exactly which thread caused the SIGSEGV. Is it possible to tell it? Is it thread 1? How are the threads numbered? 回答1: When you use gdb to analyze the core dump file, the gdb will stop at

When using a coredump in gdb how do I know exactly which thread caused SIGSEGV? [duplicate]

六月ゝ 毕业季﹏ 提交于 2021-01-18 05:56:04
问题 This question already has an answer here : How to find which thread caused SEGFAULT in a post-mortem gdb session? (1 answer) Closed 6 years ago . My application uses more than 8 threads. When I run info threads in gdb I see the threads and the last function they were executing. It does not seem obvious to me exactly which thread caused the SIGSEGV. Is it possible to tell it? Is it thread 1? How are the threads numbered? 回答1: When you use gdb to analyze the core dump file, the gdb will stop at

Why should I close or keep Redis connections open?

我的梦境 提交于 2020-12-26 07:21:09
问题 I'm using Redis in a PHP project. I use phpredis as a client. Sometimes, during long CLI-scripts, I experience PHP segmentation faults. I've experienced before that phpredis has problems when the connection times out. As my Redis config is configured to automatically close idle connections after 300 seconds, I guess that causes the segmentation fault. In order to be able to choose whether to increase the connection timeout or default it to 0 (which means "never timeout"), I would like to know

Buffer overflow Attack (The Attack Lab phase 2)

六月ゝ 毕业季﹏ 提交于 2020-12-09 08:37:25
问题 I have a buffer overflow lab I have to do for a project called The Attack Lab. I'm on phase 2 of the lab, and I have to inject code as part of my exploit string in order to make the program point to the address of the function touch2(). I've gotten to the point where the output says that its a valid solution for phase 2, but then it says I caused a seg fault and then says I failed the phase. This is the error message I receive cookie: 0x2d6fc2d5 Type string:Touch2!: You called touch2

How to fix Git Segmentation fault error on Centos

爷,独闯天下 提交于 2020-12-06 12:30:17
问题 I am getting Segmentation fault error, and could not pull the code on server (Centos 7) This is how i got to the error, by using below command to verify if my server authenticate with the bitbucket:- ssh -T git@bitbucket.org When i use git pull command, i get the following error:- Please make sure you have the correct access rights and the repository exists What i have already done to solve this issue:- My SSH key is perfectly added to bitbucket account and same does exist on the server. SSH

npm throws a segmentation fault with Ubuntu 16.04 and Node 6.0.0

雨燕双飞 提交于 2020-12-03 17:16:37
问题 I've installed the newest version of node (6.0.0) on Ubuntu 16.04, but when I tried to install Yeoman (or any other npm module for that matter) globally, it throws out a Segmentation fault ~$ node -v 6.0.0 ~$ npm -v 3.8.6 ~$ sudo npm install -g yo normalizeTree → headers ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) ~$ sudo npm install -g npm normalizeTree → 200 ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) I've

npm throws a segmentation fault with Ubuntu 16.04 and Node 6.0.0

社会主义新天地 提交于 2020-12-03 17:16:12
问题 I've installed the newest version of node (6.0.0) on Ubuntu 16.04, but when I tried to install Yeoman (or any other npm module for that matter) globally, it throws out a Segmentation fault ~$ node -v 6.0.0 ~$ npm -v 3.8.6 ~$ sudo npm install -g yo normalizeTree → headers ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) ~$ sudo npm install -g npm normalizeTree → 200 ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) I've

npm throws a segmentation fault with Ubuntu 16.04 and Node 6.0.0

偶尔善良 提交于 2020-12-03 17:15:00
问题 I've installed the newest version of node (6.0.0) on Ubuntu 16.04, but when I tried to install Yeoman (or any other npm module for that matter) globally, it throws out a Segmentation fault ~$ node -v 6.0.0 ~$ npm -v 3.8.6 ~$ sudo npm install -g yo normalizeTree → headers ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) ~$ sudo npm install -g npm normalizeTree → 200 ▌ ╢░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░╟ Segmentation fault (core dumped) I've

caught segfault - 'memory not mapped' error in R

别说谁变了你拦得住时间么 提交于 2020-12-01 08:57:29
问题 I have a problem running some R scripts on our cluster. The problems appeared suddenly (all the scripts were working just fine but one day they started giving a caught segfault error). I cannot provide reproducible code because I can't even reproduce the error on my own computer - it only happens on the cluster. I am also using the same code for two sets of data - one is quite small and runs fine, the other one works with bigger data frames (about 10 million rows) and collapses at certain