[Modules] GnuTLSClientVerify segmentation fault

Jack Bates ms419 at freezone.co.uk
Fri Sep 12 14:31:46 EDT 2008


I am struggling a bit to use debugging symbols in mod_gnutls:

I tried building mod_gnutls with CFLAGS=-g like so:
http://cgi.sfu.ca/~jdbates/tmp/mod-gnutls/200809120/screenlog

However the first line of the backtrace is still: #0  0x00000050 in ??
()

How do I use debugging symbols in mod_gnutls?

On Tue, 2008-09-09 at 09:31 +0300, Nikos Mavrogiannopoulos wrote:
> It seems like an issue in mod_gnutls (the ?? in the top of the
> backtrace). Could you also use debugging symbols in mod_gnutls? I
> think I already identified the issue, but just to be sure.
> 
> regards,
> Nikos
> 
> 
> On Mon, Sep 8, 2008 at 9:18 AM, Jack Bates <ms419 at freezone.co.uk> wrote:
> > On Fri, 2008-09-05 at 21:21 +0300, Nikos Mavrogiannopoulos wrote:
> >> Jack Bates wrote:
> >> > I am trying to configure client certificate verification for a
> >> > particular path on my server. (Eventually I want to require client
> >> > certificate verification for access to my Subversion repository.)
> >> >
> >> > When this lead to segmentation faults, I tried debugging in gdb, however
> >> > I am struggling with this a bit.
> >> >
> >> > Attached is my test httpd.conf and a screenlog of my gdb session. When I
> >> > run Apache with this test httpd.conf, I confirm that accessing
> >> > https://localhost:8080/ works. (I am using Firefox and it apparently
> >> > makes a secure request and successfully displays the expected page.)
> >>
> >> Could you try the same but with a gnutls library that you compiled (so
> >> that it has the symbols?)
> >
> > Attached is an updated screenlog of my gdb session, with more detailed
> > backtrace.
> >
> > I tried the same, but after installing the Debian libgnutls26-dbg
> > package, which claims to contain the debugger symbols. I hope this is
> > enough - I will compile a GnuTLS library myself if it is not...
> >
> > Please let me know if I can debug further, or how I can provide more
> > information.
> >
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.outoforder.cc/pipermail/modules/attachments/20080912/36e9b790/attachment.bin 


More information about the Modules mailing list