On 07/07/2008 13:24, Benny Prijono wrote: > On Mon, Jul 7, 2008 at 12:01 PM, Filippo Zangheri <filippo.zangheri at yahoo.it> > wrote: > >> ./aconfigure CFLAGS='-g' >> >> And it worked fine. >> >> The problem is that I can't seem to be able to debug, because gdb >> doesn't find debugging symbols: >> > > Sorry about the CFLAGS. Have you rebuilt everything after running configure? > > $ ./aconfigure CFLAGS='-g' && make clean && make Yes, the problem was that I ran gdb with '-e' option. Debugging info: (gdb) run Starting program: /home/filippo/tesi/pjsip/debug/pjproject-0.9.0/pjsip-apps/bin/samples/stateful_proxy-i686-pc-linux-gnu [Thread debugging using libthread_db enabled] [New Thread -1211930944 (LWP 23669)] 13:29:34.620 os_core_unix.c pjlib 0.9.0-release for POSIX initialized 13:29:34.621 pjlib select() I/O Queue created (0xb7bf4098) 13:29:34.621 sip_endpoint.c Module "mod-msg-print" registered 13:29:34.621 sip_endpoint.c Module "mod-tsx-layer" registered 13:29:34.621 sip_endpoint.c Module "mod-stateful-util" registered 13:29:34.651 udp0x80a2b60 SIP UDP transport started, published address is 82.59.213.185:5060 13:29:34.651 sip_endpoint.c Module "mod-msg-logger" registered Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1211930944 (LWP 23669)] 0x08077908 in if_enum_by_af (af=2, p_cnt=0xbfe7a298, ifs=0xbfe7a2e0) at ../src/pj/ip_helper_generic.c:93 93 if (ad->sa_family != af) { (gdb) Thank you. Best regards. PS: Is there a pjsip IRC channel? -- Filippo Zangheri GPG key ID: 0x6C1F2F2F -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: OpenPGP digital signature Url : http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080707/81a4b978/attachment.bin