Questions tagged [gdb]

25 questions
1
vote
4 answers

I need help debugging apache with gdb (no debugging symbols found)

I'm trying to debug a segfault in PHP/Apache running on RHEL4. This is a production server, so I'm trying to install a separate copy of Apache and PHP, and run apache through gdb. When I load httpd through gdb and then do run -X, I get the…
blockhead
  • 861
  • 1
  • 8
  • 13
1
vote
1 answer

Could running gcore increase resident memory (RSS) of the target process on Linux?

gcore attaches gdb to a process, runs through most of the virtual memory areas of a process and dumps them to disk. Does this mean that every piece of anonymous virtual memory will need to be paged into memory within that process and thus increase…
kgibm
  • 113
  • 5
0
votes
1 answer

PHP5-FPM on Nginx crash Zend/zend_language_scanner.c: no such file or directory

Our current configuration: Debian 8.6 Nginx web server PHP5-FPM v5.6.27-0+deb8u1 Zend Engine v2.6.0 with Zend OPcache v7.0.6-dev We use Phalcon framework v2.0.11 (and v2.0.13 on test environment, where we experience the same errors). In order to…
tobia.zanarella
  • 419
  • 3
  • 6
  • 11
0
votes
2 answers

View what file started a process in linux

One of my servers started sending spam in heavy amounts. The server is using ISPConfig 3 and one of the web users most likely has a security breach. I have identified the user and one file somehow starts a perl script that sends the spam. However i…
Alex
  • 1
  • 2
0
votes
0 answers

Debugging apache2 errors: exit signal Bus error

I'm hoping someone can help me debug my apache2 errors. For some reasons I'm getting a lot of errors lately on one of my systems: Sat Oct 10 16:49:24.101959 2015] [core:notice] [pid 18380] AH00051: child pid 2126 exit signal Bus error (7),…
Joost
  • 1
  • 1
  • 1
0
votes
2 answers

Apache segmentation fault: how to get more information with gdb?

I'm seeing the following error in apache's error_log. It's completely random but when it happens, it prints 10-20 lines in error_log. Apache: [core:notice] [pid ***] AH00052: child pid *** exit signal Segmentation fault (11) I'm running Apache…
Fernando
  • 1,189
  • 6
  • 23
  • 32
0
votes
2 answers

ssh client disconnected, after relogin, how can I recontrol my process or program?

as show below: Step 1: SSH Login to remote host. Step 2: Use gdb debug proc_a. Step 3: Use gdb subcommand (gdb) shell vi tes.c, edit the file. Step 4: The ssh client have something unknown error failure link (can not input any command to remote…
0
votes
1 answer

Automating GDB memory dumps

I'm trying to dump memory from a process on my Linux machine using GDB, but I'm trying to automate this using a script. So far I've been using the following commands (example): $ gdb --pid [pid] (gdb) dump memory dump_file 0x00621000 0x00622000 Is…
0
votes
0 answers

Howto dump loaded valid ssl cert's from running nginx, which was erased from disk by mistake?

I knew about gdb. I already dump memory of running nginx process. I see all txt *.conf configs in that dump. But! howto find, convert, etc... some of memory range from that dump to valid initial and erased ssl cert? (Now I can not nither reload or…
jack j
  • 1
-1
votes
1 answer

Want to install GDB on Fedora 7 machine

I want to install GDB GNU debugger for debugging C Programs, onto my fedora machine.. I installed the gzip file from gnu website, but it gives error during MAKE command.. I am doing all the steps correctly which reading from the readme file, and…
RBA
  • 283
  • 3
  • 6
  • 16
1
2