Date: Tue, 8 Aug 2006 16:15:58 +0200 From: "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" <wodfer@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: [SOLVED] Need help! Apache core dumps when running startssl Message-ID: <23ed14b80608080715u27fec8fcg8db49b497c73ecfb@mail.gmail.com> In-Reply-To: <23ed14b80608080715x4a61453cq599f46b90d17f631@mail.gmail.com> References: <23ed14b80608080233o66d59c61we388414adf9b067@mail.gmail.com> <20060808100315.10997.qmail@web35605.mail.mud.yahoo.com> <23ed14b80608080715x4a61453cq599f46b90d17f631@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 8/8/06, Andreas Widerøe Andersen <wodfer@gmail.com> wrote: > > > > On 8/8/06, Girish Venkatachalam <girish1729@yahoo.com> wrote: > > > > > > > > --- Andreas Wider�e Andersen <wodfer@gmail.com> > > wrote: > > > > > On 8/8/06, cknipe@savage.za.org > > > < cknipe@savage.za.org> wrote: > > > > > > > > Quoting Andreas Wider�e Andersen > > > <wodfer@gmail.com>: > > > > > > > > > On 8/8/06, cknipe@savage.za.org > > > <cknipe@savage.za.org> wrote: > > > > > > > > > > > > Quoting Andreas Wider�e Andersen > > > < wodfer@gmail.com>: > > > > > > > > > > > > > (no debugging symbols found)...(no debugging > > > symbols found)...(no > > > > > > debugging > > > > > > > symbols found)... > > > > > > > Program received signal SIGPIPE, Broken > > > pipe. > > > > > > > 0x2810b1e8 in writev () from > > > /usr/lib/libc.so.4 > > > > > > > (gdb) > > > > > > > > > > > > And there's your problem. Some library did > > > not link to libc > > > > properly. Do > > > > > > a > > > > > > backtrace and a step, it will tell you which > > > module is failing. > > > > > > > > > > > > I've had numerous problems like this in the > > > past (mostly with mod_php > > > > > > though), > > > > > > recompiling the modules that gave errors > > > sorted them out. > > > > > > > > > > > > I doubt this is a mod_ssl issue. > > > > > > > > > > > > > > > Thanks. How do I find out which module is > > > creating these problems? and > > > > can I > > > > > just recompile? I mean, what if it's a system > > > module... > > > > > > > > As I said, use a backtrace > > > > > > > > gdb httpd httpd.core > > > > run -X -DSSL > > > > bt > > > > step > > > > > > > > It should show you right up to the very line of > > > code in the module that is > > > > causing the crash... > > > > > > > > > This is what I get now: > > > > > > (gdb) bt > > > #0 0x283d1d61 in bn_mul_add_words () from > > > /usr/local/lib/libcrypto.so.4 > > > #1 0x8 in ?? () > > > Error accessing memory address 0x55b7d3a2: Bad > > > address. > > > (gdb) step > > > Single stepping until exit from function > > > bn_mul_add_words, > > > which has no line number information. > > > > > > Program terminated with signal SIGSEGV, Segmentation > > > fault. > > > The program no longer exists. > > > (gdb) bt > > > No stack. > > > > OpenSSL shared libraries are the culprit. Try > > installing some other version of openssl and please > > remember to build shared objects, IIRC it is > > ./config --enable-shared > > or something. > > > > That shud take care of ur problem. > > > > Best, > > Girish > > I went into /usr/ports/security/openssl and did a make deinstall and then make reinstall and it worked! Now things are back normal again. Thanks a lot for all your help. Very much appreciated!!! Best regards from sunny Norway, Andreas
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23ed14b80608080715u27fec8fcg8db49b497c73ecfb>
