t@1 (l@1) program terminated by signal SEGV (no mapping at the fault address) 0xfec65710: strlen+0x0030: movl (%eax),%ecx Current function is sockaddr_to_hostname (optimized) 682 NI_NAMEREQD | NI_DGRAM : NI_NAMEREQD); (dbx) where current thread: t@1 [1] strlen(0x0), at 0xfec65710 [2] getnameinfo(0x80477a8, 0x10, 0x8047300, 0x401, 0x0, 0x0, 0x4, 0x2e), at 0xfedf568b =>[3] sockaddr_to_hostname(sa = ???, salen = ???, hostname = ???, service = ???, socktype = ???) (optimized), at 0x8090b00 (line ~682) in "myaddrinfo.c" [4] smtpd_peer_init(state = ???) (optimized), at 0x806ec46 (line ~306) in "smtpd_peer.c" [5] smtpd_state_init(state = ???, stream = ???, service = ???) (optimized), at 0x806e76e (line ~161) in "smtpd_state.c" [6] smtpd_service(stream = ???, service = ???, argv = ???) (optimized), at 0x80669cc (line ~4128) in "smtpd.c" [7] single_server_wakeup(fd = ???) (optimized), at 0x8070528 (line ~257) in "single_server.c" [8] single_server_accept_inet(unused_event = ???, context = ???) (optimized), at 0x8070717 (line ~371) in "single_server.c" [9] event_loop(delay = ???) (optimized), at 0x808d027 (line ~1069) in "events.c" [10] single_server_main(argc = ???, argv = ???, service = ???, ... = ???, ...) (optimized), at 0x8071934 (line ~722) in "single_server.c" [11] main(argc = ???, argv = ???) (optimized), at 0x8066e9e (line ~4618) in "smtpd.c"