Re: How to debug " AH00051: child pid 31929 exit signal Segmentation fault (11), possible coredump in /apps/httpd2.4"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have been encountering a problem trying to work with the core dump file.
After I decompress the lz4 file and then try to use gdb (gdb /apps/httpd2.5/bin/httpd <core file>), I am getting an error msg in GDG:

Reading symbols from /apps/httpd2.4/bin/httpd...done.
"/var/lib/systemd/coredump/core.httpd.1001.9e14cb0299404a82a8df5c73ceab0e83.53762.1739305624000000" is not a core dump: file truncated

If I run 'file' on the core file I get:
[root@localhost coredump]# file /tmp/core.31929
/tmp/core.31929: ERROR: ELF 64-bit LSB core file, x86-64, version 1 (SYSV) error reading (Invalid argument)

Does anyone know what might be causing this?

I even worked with one of my colleagues and we tried increasing limits, etc., but to no avail.

Thanks!
Jim

Virus-free.www.avast.com

On Tue, Feb 11, 2025 at 8:30 AM o haya <ohaya1001@xxxxxxxxx> wrote:
Ahh... so something like this?

 gdb /apps/httpd2.4/bin/httpd -c /tmp/core.31929
.
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /apps/httpd2.4/bin/httpd...done.
"/tmp/core.31929" is not a core dump: file truncated

Do you know why it is it saying it isn't a core dump?


Virus-free.www.avast.com

On Tue, Feb 11, 2025 at 8:18 AM Eric Covener <covener@xxxxxxxxx> wrote:
No, you're expected to extract it and look at it with gdb.

On Tue, Feb 11, 2025 at 8:17 AM o haya <ohaya1001@xxxxxxxxx> wrote:
>
> Here's an example of the coredumpctl - is the the only info that the coredump can provide?
> [root@localhost coredump]# coredumpctl dump 31929 --output /tmp/core.31929
>            PID: 31929 (httpd)
>            UID: 1001 (orcladmin)
>            GID: 1001 (orcladmin)
>         Signal: 11 (SEGV)
>      Timestamp: Tue 2025-02-11 06:54:34 EST (1h 20min ago)
>   Command Line: /apps/httpd2.4/bin/httpd -k start
>     Executable: /apps/httpd2.4/bin/httpd
>  Control Group: /
>          Slice: -.slice
>        Boot ID: 9e14cb0299404a82a8df5c73ceab0e83
>     Machine ID: f12d5da85f9443838815a7764fc748c0
>       Hostname: localhost.localdomain
>        Storage: /var/lib/systemd/coredump/core.httpd.1001.9e14cb0299404a82a8df5c73ceab0e83.31929.1739274874000000.lz4 (truncated)
>        Message: Process 31929 (httpd) of user 1001 dumped core.
>
> Virus-free.www.avast.com
>
> On Tue, Feb 11, 2025 at 7:56 AM Eric Covener <covener@xxxxxxxxx> wrote:
>>
>> coredumpctl list and confirm it has an entry for the affected PID
>>
>> Extract the core file to a location with enough space: coredumpctl dump $PID --output /tmp/core.$PID



--
Eric Covener
covener@xxxxxxxxx

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux