This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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:
http://cgi.sfu.ca/~jdbates/tmp/mod-gnutls/200809120/screenlog

I think that the module was built with debugging symbols. Here is the
output from "readelf -w":
http://cgi.sfu.ca/~jdbates/tmp/mod-gnutls/200809150/screenlog

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
modules@outoforder.cc:
http://lists.outoforder.cc/pipermail/modules/2008-September/000164.html

Thank you! Jack

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]