Summary: | use libtool --mode=install install instead of cp command | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | hirose31 |
Component: | support | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | takashi.asfbugzilla |
Priority: | P2 | Keywords: | FixedInTrunk |
Version: | 2.5-HEAD | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Attachments: | patch for build/instdso.sh |
*** Bug 41989 has been marked as a duplicate of this bug. *** Committed in r47951. Thanks for the report and the patch. fixed in 2.4.1 |
Created attachment 24352 [details] patch for build/instdso.sh apix -i do copy mod_foo.so with cp command (libtool --mode=install cp). copying mod_foo.so with cp command cause httpd process segmentation fault. Because cp command overwrites existing mod_foo.so file. On the other hand, install command do unlink(2) mod_foo.so before copy module file. This is safe. so if user has install command, it is better to use install command (libtool --mode=install install) instead of cp command. see also attached patch file. thanks.