OpenTransport leaking sockets on 10.5
OpenTransport leaking sockets on 10.5
- Subject: OpenTransport leaking sockets on 10.5
- From: Rosyna <email@hidden>
- Date: Sat, 17 Nov 2007 17:41:09 -0700
On 10.5 I've been noticing a program I use is constantly giving
errors about the maximum number of open files being reached. Looking
at lsof for the program, there is a hugely huge number of open
sockets listed (partial list):
Eudora 28022 rosyna 74u IPv4 0x4531a68 0t0 TCP
192.168.1.5:52557->example.com:pop3s (TIME_WAIT)
Eudora 28022 rosyna 75u IPv4 0xda5066c 0t0 TCP
192.168.1.5:52561->example.com:pop3s (TIME_WAIT)
Eudora 28022 rosyna 76u IPv4 0xaf1f270 0t0 TCP
192.168.1.5:52562->example.com:pop3s (TIME_WAIT)
Eudora 28022 rosyna 78u IPv4 0xda50e64 0t0 TCP
192.168.1.5:52563->example.com:pop3s (TIME_WAIT)
Eudora 28022 rosyna 79u IPv4 0xda50a68 0t0 TCP
192.168.1.5:52564->example.com:pop3s (TIME_WAIT)
And in the console, I see a huge number of NSAutoreleaseNoPool errors
being logged (partial list):
11/17/07 5:24:29 PM Eudora[28022] *** _NSAutoreleaseNoPool(): Object
0xc699650 of class NSConnection autoreleased with no pool in place -
just leaking
Stack: (0x91a74178 0x919a20f8 0x919d6338 0x919d61fc 0x919dbdac
0x919d8860 0x919b2c40 0x919dbefc 0x919d8860 0x919cf844 0x919dbefc
0x919d8860 0x919df8d0 0x919d7f24 0x96520870 0x96520998 0x94f98064
0x94f97c54 0x94cbdd0c 0x94cbcea4 0x94cbccc0 0x94d0c118 0x94d0bd80
0x94d0bf38 0x94d0bbd4 0x94d0bb14 0x94d4798c 0x94d4cffc 0x94d24e74
0x94d90204 0x4f3840 0x4f321c 0x4fc7b8 0x9136232c 0x91362024
0x92f44bfc)
11/17/07 5:24:29 PM Eudora[28022] *** _NSAutoreleaseNoPool(): Object
0xc699650 of class NSConnection autoreleased with no pool in place -
just leaking
Stack: (0x91a74178 0x919a20f8 0x919d6338 0x919d61fc 0x919e20c8
0x919b19f8 0x919dbefc 0x919d8860 0x919b2c40 0x919dbefc 0x919d8860
0x919cf844 0x919dbefc 0x919d8860 0x919df8d0 0x919d7f24 0x96520870
0x96520998 0x94f98064 0x94f97c54 0x94cbdd0c 0x94cbcea4 0x94cbccc0
0x94d0c118 0x94d0bd80 0x94d0bf38 0x94d0bbd4 0x94d0bb14 0x94d4798c
0x94d4cffc 0x94d24e74 0x94d90204 0x4f3840 0x4f321c 0x4fc7b8
0x9136232c 0x91362024 0x92f44bfc)
If I break on _NSAutoreleaseNoPool, I get this backtrace (only partial posted):
#13 0x94db8188 in EventAvail ()
#14 0x0052df24 in ?? ()
#15 0x0052e670 in ?? ()
#16 0x003f9b9c in ?? ()
#17 0x004f5f68 in ?? ()
#18 0x004f4ac0 in ?? ()
#19 0x005558ec in ?? ()
#20 0x9563d4f0 in BIO_read ()
#21 0x95b2cdd0 in ssl3_read_n ()
#22 0x95b2d7bc in ssl3_read_bytes ()
#23 0x95b2b9cc in ssl3_read_internal ()
#24 0x0055719c in ?? ()
#25 0x004d77c8 in ?? ()
#26 0x0048d328 in ?? ()
#27 0x004904bc in ?? ()
#28 0x00490400 in ?? ()
#29 0x0048f62c in ?? ()
#30 0x0048e134 in ?? ()
#31 0x003f1c88 in ?? ()
#32 0x003ef5fc in ?? ()
#33 0x003eeff0 in ?? ()
#34 0x004fb6fc in ?? ()
#35 0x91362014 in CooperativeThread ()
#36 0x92f44bfc in _pthread_start ()
How can I track down exactly what is leaking the sockets (knowing
this is a closed source CFM application that has been abandoned by
its developer)?
As soon as the program reaches the open file limit, many bad things
happen. So if this is a bug in Mac OS X (since it never happened in
10.4.x), I'd like to find out more so I can file a proper bug.
However, it could just be a normal bug in the program itself that's
only a problem in 10.5.
--
Sincerely,
Rosyna Keller
Technical Support/Carbon troll/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
It's either this, or imagining Phil Schiller in a thong.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden