Browsing articles tagged with "segfault - Admins Goodies"
Jan 18, 2013
tom

How to get a core dump from apache when segfaulting

I’ve followed instructions from many locations online on how to get a core dump from apache when it is producing a segfault, but it still refuses to generate the dump. I have: Added the CoreDumpDirectory directive into the httpd.conf file and set it to /tmp Executed ulimit -c unlimited Provided the pattern for dumps using echo ‘/tmp/core-%e.%p’ > /proc/sys/kernel/core_pattern Also ran echo 0 > /proc/sys/kernel/core_uses_pid Httpd has been restarted, but still no dumps created. I’m [...]

Continue Reading »
Apr 14, 2012
tom

SSH broken, segfault error 4

i cannot connect to my server via ssh, it throws me a “server unexpectedly closed connection” after entering the password. in var/log/messages the only noteable message is: Apr 14 17:41:23 s15410270 kernel: sshd[3602]: segfault at c0 ip 7f0801acbdb0 sp 7fff0adff860 error 4 in libc-2.8.so[7f0801a87000+14f000] Apr 14 17:41:29 s15410270 kernel: sshd[3606]: segfault at c0 ip 7f75f9463db0 sp 7fff027971f0 error 4 in libc-2.8.so[7f75f941f000+14f000] This message appears after a log in attempt via ssh or via sftp Its [...]

Continue Reading »
Aug 22, 2011
tom

Can you get any program in Linux to print a stack trace if it segfaults?

If I run a program from the shell, and it segfaults: $ buggy_program Segmentation fault It will tell me, however, is there a way to get programs to print a backtrace, perhaps by running something like this: $ print_backtrace_if_segfault buggy_program Segfault in main.c:35 (rest of the backtrace) I’d also rather not use strace or ltrace for that kind of information, as they’ll print either way… There might be a better way, but this kind of [...]

Continue Reading »
Aug 18, 2011
tom

segfault with mod_wsgi / mod_python after Python upgrade on Gentoo

I’m having a problem after upgrading from Python 2.5 to 2.6 I’m using Gentoo and running a Django app with Apache 2 and mod_python. After the upgrade I started getting a segfault when I try to access the site, Apache starts fine and can serve static pages. I’ve tried moving the site to mod_wsgi and still get the segfault. I’ve tried reinstalling Apache, Apr, mod_python, mod_wsgi. I’ve tried revdep-rebuild, python-updater. I’ve removed Python 2.5 from [...]

Continue Reading »
Aug 18, 2011
tom

Is segfault signal always sent to application

My application usually crashes and prints stack to log if received segfault signal. But in some environment the ‘dmesg’ shows segfault messages related to my application, but application uptime is much older. Can segfault be suppressed and application doesn’t receive signal? Or what errors from dmesg can mean ? It is possible for an application or to ignore or do some special handling for the segmentation fault signal. The manual page for signal and related [...]

Continue Reading »
Aug 17, 2011
tom

I’m having problems restarting httpd server due to segfault in libapr

My httpd server has stopped working, within /var/log/messages I got the following error: May 10 08:08:30 linuxbox kernel: httpd[25353]: segfault at b7fb7991 ip 009ca63b sp bfec3d50 error 7 in libapr-0.so.0.9.12[9af000+1f000] Can anyone shed light on how to fix this, i’ve tried ghosting the drive, then removed apr and re-installed, but the error keeps coming up. For anyone having the same problem in the future, check out /usr/lib/httpd/modules as one possibility, I found that some of [...]

Continue Reading »
Aug 17, 2011
tom

Solaris cc segfaults when compiling rsync on intel platform

I am trying to compile rsync-3.0.7 on Solaris 5.10 on an Intel chipset. When running ./configure I see the following (obviously erroneous lines): checking size of int… 0 checking size of long… 0 checking size of long long… 0 checking size of short… 0 checking size of int16_t… 0 checking size of uint16_t… 0 In config.log I see the following lines: configure.sh:5448: /tool/sunstudio12.1/bin/cc -xc99=all -o conftest -g -DHAVE_CONFIG_H conftest.c >&5 “conftest.c”, line 123: warning: statement [...]

Continue Reading »
Aug 16, 2011
tom

sendmail segmentation fault

We are using debian lenny on a server & we are using it for monitoring server & sending email for reporting. We are using sendmail to send emails. We found the following error when we did not receive mail. Error :- debian kernel: [3029475.124022] sendEmail[15688]: segfault at 0 ip 00000000 sp bfffe15c error 4 in perl[8048000+131000] Please help me too find the issue. Is this could be the problem with hardware??? Thanks in advance. Assuming [...]

Continue Reading »
Aug 16, 2011
tom

postfix/local: bad command startup (segfaults)

Since upgrading a Gentoo box from postfix 2.5.5 to 2.6.6, local mail delivery does no longer work. Virtual mailboxes still work. Here’s the log: Jul 14 13:07:05 weser postfix/master[15825]: warning: process /usr/lib/postfix/local pid 20065 killed by signal 11 Jul 14 13:07:05 weser postfix/master[15825]: warning: /usr/lib/postfix/local: bad command startup — throttling Jul 14 13:07:05 weser postfix/qmgr[15829]: warning: private/local socket: malformed response Jul 14 13:07:05 weser postfix/qmgr[15829]: warning: transport local failure — see a previous warning/fatal/panic logfile [...]

Continue Reading »
Aug 14, 2011
tom

exploit.so dmesg errors

A server (which has since been pulled offline and is scheduled to be wiped) was compromised through ssh brute force. No root/su/sudo access was gained but I started observing these errors (pasted below). I am curious if anyone has ever seen them, can make any sense of them, or point me in the right direction to where to learn more/understand the information being given to me here. [20973226.383007] i2[1348]: segfault at 18 ip 0804888c sp [...]

Continue Reading »
Pages:12»