Opened 17 months ago

Closed 17 months ago

Last modified 16 months 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:

Description

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 Changed 17 months ago by Tim Kosse

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 Changed 16 months ago by Tim Kosse

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

Note: See TracTickets for help on using tickets.