Why does this process crash?
See http://www.redhat.com/archives/rhl-devel-list/2005-May/msg00026.html
Example: ntpd, crashes immediately:
Install gdb and the debug symbols for the executable:
# yum install gdb
# yum install ntp-debuginfo
# yum install which (I needed that utility to use the execstack specifically)
# gdb
(gdb) set args -n -u ntp:ntp -p /var/run/ntpd.pid
(gdb) run
(gdb) run
Starting program: /usr/sbin/ntpd -n -u ntp:ntp -p /var/run/ntpd.pid
Program received signal SIGSEGV, Segmentation fault.
0x00cbed30 in vfprintf () from /lib/tls/libc.so.6
(gdb) bt
I used the execstack workaround.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=145258
Example: ntpd, crashes immediately:
Install gdb and the debug symbols for the executable:
# yum install gdb
# yum install ntp-debuginfo
# yum install which (I needed that utility to use the execstack specifically)
# gdb
(gdb) set args -n -u ntp:ntp -p /var/run/ntpd.pid
(gdb) run
(gdb) run
Starting program: /usr/sbin/ntpd -n -u ntp:ntp -p /var/run/ntpd.pid
Program received signal SIGSEGV, Segmentation fault.
0x00cbed30 in vfprintf () from /lib/tls/libc.so.6
(gdb) bt
I used the execstack workaround.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=145258
| ||||
I can confirm that whis bug exists in up2dated FC3. I think it can have | ||||
| ||||
Another workaround: | ||||
| ||||
Yet another workaround: |
0 Comments:
Post a Comment
<< Home