Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11690 closed Other (rejected)

Cannot get priority range for scheduling policy 0.

Reported by: Thomas Klausner Owned by:
Priority: normal Component: FileZilla Client
Keywords: Cc:
Component version: Operating system type: BSD
Operating system version:


Whenever I start filezilla (currently 3.33.0) on NetBSD, I get a modal popup that says:

"Cannot get priority range for scheduling policy 0."

with only an "OK" button to confirm.
I wonder about the usefulness of the dialog and if it perhaps should be disabled (or at least on NetBSD?).

Change History (3)

comment:1 by Tim Kosse, 5 years ago

Resolution: rejected
Status: newclosed

This message comes from wxWidgets. It happens if either sched_get_priority_min or sched_get_priority_max return -1, indicating an error. The only error the NetBSD manpages for these function specify is EINVAL, invalid scheduling policy.

On NetBSD, policy 0 is SCHED_OTHER, which is a valid scheduling policy.

This suggests it's a bug in NetBSD itself, it shouldn't fail on a valid policy.

Please contact NetBSD support for further assistance.

comment:2 by Tim Kosse, 5 years ago

I just saw the latest commits to wx, thank you for following up on this issue.

Note: See TracTickets for help on using tickets.