module built with debugging symbols but backtrace: 0x00000050 in ?? ()

Jack Bates
Mon Sep 15 18:30:00 GMT 2008

I am trying to debug an Apache module. I compiled it with "-g", however
the first line of my backtrace is:

(gdb) bt
#0  0x00000050 in ?? ()
#1  0xb782f852 in call_get_cert_callback (session=0x81e5550, issuers_dn=0x0, 
    issuers_dn_length=0, pk_algos=0x0, pk_algos_length=0) at auth_cert.c:430
#2  0xb782fd1b in _gnutls_server_select_cert (session=0x81e5550, 
    requested_algo=4294967295) at auth_cert.c:1811

Here is a complete log of compiling and debugging the module:

I think that the module was built with debugging symbols. Here is the
output from "readelf -w":

I apologize - I am a gdb novice - my question is: If the module was
built with debugging symbols, why can't I tell from the first line of
the backtrace, where in the module's source code is this segmentation
fault? Why is the first line of the backtrace: 0x00000050 in ?? () -
instead of something more descriptive?

Here is the tread discussing this segmentation fault on

Thank you! Jack
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the Gdb mailing list