From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8560 invoked by alias); 15 Sep 2008 18:30:54 -0000 Received: (qmail 8552 invoked by uid 22791); 15 Sep 2008 18:30:54 -0000 X-Spam-Check-By: sourceware.org Received: from shawmail.shawcable.com (HELO mail.shawcable.com) (64.59.128.220) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 15 Sep 2008 18:29:58 +0000 Received: from bpd2mi1no-svcs.prod.shawcable.com ([10.0.184.120]) by bpd2mo1no-ssvc.prod.shawcable.com with ESMTP; 15 Sep 2008 12:29:55 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=0 a=U1ntXoZbAAAA:8 a=n7p0rY2QAAAA:8 a=pcjr-TEJ8czGavYv7FAA:9 a=TLcEJ3joTfNd2IOWXekA:7 a=VcSfCZ-VIweCY161R3m6561kwnoA:4 a=uCxOGsWEqnNnAGQcU_MA:9 a=oGa-SZ101Zh1IM9HQCZT8rGuDZ4A:4 a=Cc16lVDYUzoA:10 a=xijdT_ChoGcA:10 X-IronPort-AV: E=Sophos;i="4.32,403,1217829600"; d="asc'?scan'208";a="62887961" Received: from unknown (HELO bpd2mi1no-cmts.prod.shawcable.com) ([192.168.183.120]) by bpd2mi1no-cmts.prod.shawcable.com with ESMTP; 15 Sep 2008 12:29:54 -0600 X-reinject: true Received: from unknown (HELO raf.campcoop.com) ([70.71.27.18]) by bpd2mi1no-dmz.prod.shawcable.com with ESMTP; 15 Sep 2008 12:29:54 -0600 Received: from [127.0.0.1] (tor.local [192.168.0.8]) by raf.campcoop.com (Postfix) with ESMTPA id E8335BFB2F for ; Mon, 15 Sep 2008 11:29:46 -0700 (PDT) Subject: module built with debugging symbols but backtrace: 0x00000050 in ?? () From: Jack Bates To: gdb@sourceware.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-X5vtlUnpty7S3X5YyK+M" Date: Mon, 15 Sep 2008 18:30:00 -0000 Message-Id: <1221503302.17538.14.camel@ket.lat> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2008-09/txt/msg00091.txt.bz2 --=-X5vtlUnpty7S3X5YyK+M Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 1211 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=3D0x81e5550, issuers_dn= =3D0x0,=20 issuers_dn_length=3D0, pk_algos=3D0x0, pk_algos_length=3D0) at auth_cer= t.c:430 #2 0xb782fd1b in _gnutls_server_select_cert (session=3D0x81e5550,=20 requested_algo=3D4294967295) 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 --=-X5vtlUnpty7S3X5YyK+M Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part Content-length: 197 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkjOqUIACgkQNCr2PwXllIRaqACgqdWwIoP4LyngM24P5Mh5LLwI J/0AnRpPkzI/lTJvBt8bUcAornrDs/II =iBBf -----END PGP SIGNATURE----- --=-X5vtlUnpty7S3X5YyK+M--