Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Aug 2006 11:33:03 +0200
From:      "=?ISO-8859-1?Q?Andreas_Wider=F8e_Andersen?=" <wodfer@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Need help! Apache core dumps when running startssl
Message-ID:  <23ed14b80608080233o66d59c61we388414adf9b067@mail.gmail.com>
In-Reply-To: <1155028768.44d8572024fb8@196.22.132.16>
References:  <20060808072303.21211.qmail@web35603.mail.mud.yahoo.com> <1155022022.44d83cc7014d8@196.22.132.16> <23ed14b80608080036g2c16d81er14de304febdda768@mail.gmail.com> <1155022747.44d83f9b6c0a9@196.22.132.16> <23ed14b80608080102h473f04bep7df472e060f79cab@mail.gmail.com> <1155025150.44d848feb0d28@196.22.132.16> <23ed14b80608080203s17c8089fi278b9338df37f39b@mail.gmail.com> <1155028768.44d8572024fb8@196.22.132.16>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/8/06, cknipe@savage.za.org <cknipe@savage.za.org> wrote:
>
> Quoting Andreas Wider=F8e Andersen <wodfer@gmail.com>:
>
> > On 8/8/06, cknipe@savage.za.org <cknipe@savage.za.org> wrote:
> > >
> > > Quoting Andreas Wider=F8e 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 i=
s
> 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.

Best regards,
Andreas



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23ed14b80608080233o66d59c61we388414adf9b067>