Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 377669 - sys-apps/openrc - /etc/init.d/apache2 start: segmentation fault in /sbin/rc
Summary: sys-apps/openrc - /etc/init.d/apache2 start: segmentation fault in /sbin/rc
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-04 08:42 UTC by wzg
Modified: 2011-08-06 10:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wzg 2011-08-04 08:42:51 UTC
(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Core was generated by `/sbin/runscript /etc/init.d/apache2 status'.
Program terminated with signal 11, Segmentation fault.
#0  0x00007f472dbb3b62 in rc_runlevel_starting () from /lib64/librc.so.1
(gdb) bt
#0  0x00007f472dbb3b62 in rc_runlevel_starting () from /lib64/librc.so.1
#1  0x0000000000410ffc in runscript ()
#2  0x000000000040a143 in run_applets ()
#3  0x0000000000411ef8 in main ()
(gdb) 

Reproducible: Didn't try

Actual Results:  
produces core-file apache can not start

Expected Results:  
apache can start normally

First,/sbin/rc is  /sbin/rc: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
Second, /sbin/rc should be  a /sbin/runscript script text executable,but not .I do not know what change /sbin/rc?
Thrid, where is source code of /sbin/rc?
Comment 1 wzg 2011-08-04 10:12:19 UTC
i am sorry ,i find the reason of this question.the file /lib64/librc.so.1 is bad!
rc need this file.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-08-05 21:55:59 UTC
1) Please post your `emerge --info' too.
2) What runlevel are you in when that happens?
Comment 3 William Hubbs gentoo-dev 2011-08-06 02:46:12 UTC
Please re-assign to us once the info is posted.

Thanks,

William