(fwd) tin crashes on MacOS 10.4

Urs Janßen <[email protected]> Tue, 29 Dec 2009 18:08:09 +0100
Newsgroups gmane.network.tin.devel
Message-ID <[email protected]>
----- Forwarded message from Dennis Grevenstein <[email protected]> -----

MacOS 10.6.2
i386-apple-darwin10.2.0
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)

and

MacOS X 10.4.11
Xcode 2.5
gcc version 4.0.1 (Apple Computer, Inc. build 5370)

sh-3.2# ./tin.dSYM
tin 1.9.4 release 20090211 ("Rieclachan") [UNIX] (c) Copyright
1991-2009 Iain Lea.
Connecting to 192.168.2.1...
tin.dSYM: signal handler caught SIGSEGV signal (11).
tin.dSYM 1.9.4 20090211 ("Rieclachan") [UNIX]: send a DETAILED bug
report to [email protected]
Abort trap
(gdb) run
Starting program: /private/var/root/tin-1.9.4/src/tin.dSYM
Reading symbols for shared libraries ++++. done
tin 1.9.4 release 20090211 ("Rieclachan") [UNIX] (c) Copyright
1991-2009 Iain Lea.
Connecting to 192.168.2.1...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
0x000000010004234f in nntp_open () at ./nntplib.c:447
447			def.h_addr_list[0] = (char *) &defaddr;
(gdb) bt
#0  0x000000010004234f in nntp_open () at ./nntplib.c:447
#1  0x00000001000364b5 in main (argc=<value temporarily unavailable,
due to optimizations>, argv=<value temporarily unavailable, due to
optimizations>) at ./main.c:197

and

tin 1.9.4 release 20090211 ("Rieclachan") [UNIX] (c) Copyright
1991-2009 Iain Lea.
Connecting to 192.168.2.1...
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x0003fd68 in get_tcp_socket (machine=0xc2d58 "192.168.2.1",
service=0xbffff7a8 "nntp", port=119) at ./nntplib.c:447
447                     def.h_addr_list[0] = (char *) &defaddr;
(gdb) bt
#0  0x0003fd68 in get_tcp_socket (machine=0xc2d58 "192.168.2.1",
service=0xbffff7a8 "nntp", port=119) at ./nntplib.c:447
#1  0x0003fb54 in server_init (machine=0xc2d58 "192.168.2.1",
cservice=0xd7 <Address 0xd7 out of bounds>, port=119, text=0xbffff908
"2???", mlen=512) at ./nntplib.c:235
#2  0x00040f08 in nntp_open () at ./nntplib.c:1266
#3  0x00033ed4 in main (argc=1, argv=0x0) at ./main.c:197
(gdb)

----- End forwarded message -----

IIRC we didn't change the related code or years, anyone willing to look at
this?

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus