[FIXED] port_getn: No such file or directory (trevent.c:221)

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
oh_noes
Posts: 15
Joined: Wed Dec 08, 2010 9:02 am

[FIXED] port_getn: No such file or directory (trevent.c:221)

Post by oh_noes »

Hi Transmission BT team,

I have compiled and install Transmission-Daemon on Solaris 10 U9. Now when I run it, I get the following debug output to stdout:


(I get 5-10 of these every second)

$ /usr/local/transmission/bin/transmission-daemon --config-dir /export/home/transmission/info --log-debug --foreground
<stuff>
port_getn: No such file or directory (trevent.c:221)
port_getn: No such file or directory (trevent.c:221)
port_getn: No such file or directory (trevent.c:221)

I'm assuming it's linked to libevent, I have installed it from sunfreeware, version 1.4.13. Compiled and linked through.

Any idea what this error means?
Last edited by oh_noes on Wed Dec 22, 2010 5:27 am, edited 1 time in total.
Jordan
Transmission Developer
Posts: 2312
Joined: Sat May 26, 2007 3:39 pm
Location: Titania's Room

Re: port_getn: No such file or directory (trevent.c:221)

Post by Jordan »

Looks like libevent generates this error message in evport_dispatch() if its call to port_getn() fails and sets errno to something that's not EINTR, EAGAIN, or ETIME.

However, port_getn() doesn't indicate that it returns ENOFILE.

This sounds like it's a libevent 1.4 bug. You might try asking the libevent devs if they have any thoughts about this error message.
oh_noes
Posts: 15
Joined: Wed Dec 08, 2010 9:02 am

Re: port_getn: No such file or directory (trevent.c:221)

Post by oh_noes »

Thanks. Your post was exactly what pointed me in the right direction.

My version was 1.4.13, which had THIS BUG. Upgrading to 1.4.14b fixed this problem.

I still wish I could run transmission-daemon 2.13 on my Solaris 10 U9 x86 server without getting a segfault :/

Cheers
Post Reply